@galacean/engine-toolkit-auxiliary-lines

v0.0.0-experimental-shaderlab-thin.4

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@0.0.0-experimental-shaderlab-thin.4

Metadata

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

Downloads