Click or drag to resize
DigitalRuneDebugRendererDrawSkeleton Method (MeshNode, Single, Color, Boolean)
Draws skeleton bones, bone space axes and bone names of a MeshNode for debugging.

Namespace: DigitalRune.Graphics.Rendering
Assembly: 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
)

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