Click or drag to resize
DigitalRuneDebugRendererDrawSkeleton Method (SkeletonPose, Pose, Vector3F, 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(
	SkeletonPose skeletonPose,
	Pose pose,
	Vector3F scale,
	float axisLength,
	Color color,
	bool drawOverScene
)

Parameters

skeletonPose
Type: DigitalRune.Animation.CharacterSkeletonPose
The skeleton pose.
pose
Type: DigitalRune.GeometryPose
The pose (position and orientation) of the skeleton.
scale
Type: DigitalRune.Mathematics.AlgebraVector3F
The scale of the skeleton.
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