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

Properties

Link copied to clipboard
var id: Any

User-defined value returned when the primitive is picked.

Link copied to clipboard

Determines if this primitive will be shown.

Functions

Link copied to clipboard
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

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