Class BoneAxesViewer
Hierarchy (View Summary)
- AxesViewer
- BoneAxesViewer
Constructors
constructor
Properties
bone
Gets or sets the target bone where to display the axes viewer
mesh
Gets or sets the target mesh where to display the axes viewer
pos
Gets current position
scene
Gets the hosting scene
xaxis
Gets direction of X axis
yaxis
Gets direction of Y axis
zaxis
Gets direction of Z axis
Accessors
scale Lines
-
get scaleLines(): number
Gets or sets a number used to scale line length
Returns number
-
set scaleLines(value: number): void
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
The BoneAxesViewer will attach 3 axes to a specific bone of a specific mesh
See
demo here: https://www.babylonjs-playground.com/#0DE8F4#8