DebugCameraPrimitive

Draws the outline of the camera's view frustum.

primitives.add(new DebugCameraPrimitive({
camera : camera,
color : Color.YELLOW
}));

See also

Constructors

Link copied to clipboard

Types

Link copied to clipboard
external interface ConstructorOptions

Properties

Link copied to clipboard
external var id: JsAny

User-defined value returned when the primitive is picked.

Link copied to clipboard
external var show: Boolean

Determines if this primitive will be shown.

Functions

Link copied to clipboard
external fun destroy()

Destroys the WebGL resources held by this object. Destroying an object allows for deterministic release of WebGL resources, instead of relying on the garbage collector to destroy this object.

Link copied to clipboard
external fun isDestroyed(): Boolean

Returns true if this object was destroyed; otherwise, false.