Class AxesViewer
Hierarchy
- AxesViewer
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Creates a new AxesViewer
Parameters
Optional 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
Optional lineThickness: number
The line thickness to use when creating the arrow. defaults to 1.
Returns AxesViewer
Properties
sceneSearch playground for scene
Gets the hosting scene
Accessors
scale Lines
Gets or sets a number used to scale line length
Returns number
Gets or sets a number used to scale line length
Parameters
value: number
Returns void
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
https://doc.babylonjs.com/toolsAndResources/utilities/World_Axes