@galacean/engine-toolkit-auxiliary-lines

v1.2.0-beta.6

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/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 6/6/2024

Downloads