| DebugRendererDrawSkeleton Method (MeshNode, Single, Color, Boolean) |
Draws skeleton bones, bone space axes and bone names of a
MeshNode for debugging.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void DrawSkeleton(
MeshNode meshNode,
float axisLength,
Color color,
bool drawOverScene
)
Public Sub DrawSkeleton (
meshNode As MeshNode,
axisLength As Single,
color As Color,
drawOverScene As Boolean
)
public:
void DrawSkeleton(
MeshNode^ meshNode,
float axisLength,
Color color,
bool drawOverScene
)
member DrawSkeleton :
meshNode : MeshNode *
axisLength : float32 *
color : Color *
drawOverScene : bool -> unit
Parameters
- meshNode
- Type: DigitalRune.Graphics.SceneGraphMeshNode
The mesh node. - axisLength
- Type: SystemSingle
The visible length of the bone space axes. - color
- Type: Color
The color for the bones and the bone names. - drawOverScene
- Type: SystemBoolean
If set to the object is drawn over the graphics scene (depth-test
disabled).
Remarks
This method draws the skeleton for debugging. It draws a line for each bone and the bone
name. At the bone origin it draws 3 lines (red, green, blue) that visualize the bone
space axes (x, y, z).
See Also