@galacean/engine-toolkit-auxiliary-lines

v1.3.9
Auxiliary Lines toolkit to draw auxiliary frame for collider, frustum, light and bounding box.

Auxiliary Lines

Auxiliary Lines toolkit to draw auxiliary frame for collider, frustum, light and bounding box.

Features

  • Camera: Camera Frustum
  • Light: SpotLight, DirectLight, PointLight
  • Renderer: BoundingBox of the renderer
  • ColliderShape: BoxColliderShape, CapsuleColliderShape and SphereColliderShape
  • Automatically update: Update auxiliary with transform modification automatically.

npm

The Auxiliary Lines is published on npm with full typing support. To install, use:

npm install @galacean/engine-toolkit-auxiliary-lines

This will allow you to import package entirely using:

import * as TOOLKIT from "@galacean/engine-toolkit-auxiliary-lines";

or individual classes using:

import { WireframeManager } from "@galacean/engine-toolkit-auxiliary-lines";

playground

The usage of this toolkit can be found in :

Links

License

The engine is released under the MIT license. See LICENSE file.

npm i @galacean/engine-toolkit-auxiliary-lines

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 9/24/2024

Downloads