| DebugRendererDrawSkeleton Method (SkeletonPose, Pose, Vector3F, 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(
SkeletonPose skeletonPose,
Pose pose,
Vector3F scale,
float axisLength,
Color color,
bool drawOverScene
)
Public Sub DrawSkeleton (
skeletonPose As SkeletonPose,
pose As Pose,
scale As Vector3F,
axisLength As Single,
color As Color,
drawOverScene As Boolean
)
public:
void DrawSkeleton(
SkeletonPose^ skeletonPose,
Pose pose,
Vector3F scale,
float axisLength,
Color color,
bool drawOverScene
)
member DrawSkeleton :
skeletonPose : SkeletonPose *
pose : Pose *
scale : Vector3F *
axisLength : float32 *
color : Color *
drawOverScene : bool -> unit
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