Class AxesViewer
Hierarchy
- AxesViewer
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
-
Creates a new AxesViewer
Parameters
-
scene: Scene
defines the hosting scene
-
Optional scaleLines: number
defines a number used to scale line length (1 by default)
-
Optional renderingGroupId: Nullable<number>
defines a number used to set the renderingGroupId of the meshes (2 by default)
-
Optional xAxis: TransformNode
defines the node hierarchy used to render the x-axis
-
Optional yAxis: TransformNode
defines the node hierarchy used to render the y-axis
-
Optional zAxis: TransformNode
defines the node hierarchy used to render the z-axis
Returns AxesViewer
-
Properties
scale LinesSearch playground for scaleLines
Gets or sets a number used to scale line length
sceneSearch playground for scene
Gets the hosting scene
Accessors
x Axis
-
Gets the node hierarchy used to render x-axis
Returns TransformNode
y Axis
-
Gets the node hierarchy used to render y-axis
Returns TransformNode
z Axis
-
Gets the node hierarchy used to render z-axis
Returns TransformNode
Methods
create InstanceSearch playground for createInstance
-
Creates an instance of this axes viewer.
Returns AxesViewer
a new axes viewer with instanced meshes
disposeSearch playground for dispose
-
Releases resources
Returns void
The Axes viewer will show 3 axes in a specific point in space