The Viewer.
NavCubePlugin configuration.
ID for this Plugin, unique within its Viewer.
The Viewer that contains this Plugin.
Destroys this Plugin and removes it from its Viewer.
Logs an error message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Fires an event at this Plugin.
The event type name
The event parameters
Gets whether the Camera flies or jumps to each selected axis or diagonal.
Default is true, to fly.
Returns true to fly, else false to jump.
When flying the Camera to each new axis or diagonal, gets how long, in seconds, that the Camera takes to get there.
Default is 0.5.
Camera flight duration in seconds.
Gets whether the axis, corner and edge-aligned views will fit the view to the entire Scene or just to visible object-Entitys.
Entitys are visible objects when Entity.isObject and Entity.visible are both true.
True when fitting only visible object-Entitys.
Gets whether the NavCube switches between perspective and orthographic projections in synchrony with
the Camera. When false, the NavCube will always be rendered with perspective projection.
True when NavCube projection is synchronized with Camera.projection.
Gets if the NavCube is visible.
True when the NavCube is visible.
Logs a message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Subscribes to an event fired at this Plugin.
The event
Callback fired on the event
Sets whether the Camera flies or jumps to each selected axis or diagonal.
Default is true, to fly.
Set true to fly, else false to jump.
When flying the Camera to each new axis or diagonal, sets how long, in seconds, that the Camera takes to get there.
Default is 0.5.
Camera flight duration in seconds.
Sets whether the axis, corner and edge-aligned views will fit the view to the entire Scene or just to visible object-Entitys.
Entitys are visible objects when Entity.isObject and Entity.visible are both true.
Set true to fit only visible object-Entitys.
Sets whether the NavCube switches between perspective and orthographic projections in synchrony with
the Camera. When false, the NavCube will always be rendered with perspective projection.
Set true to keep NavCube projection synchronized with Camera.projection.
Sets if the NavCube is visible.
Whether or not the NavCube is visible.
Logs a warning message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Generated using TypeDoc
Viewer plugin that lets us look at the entire Scene from along a chosen axis or diagonal.