Share

skeleton_scope

Displays a skeleton's joints as a mesh and their transforms as strands arrows. Coloring parameters are available to debug and visualize various joint data with colors.

Inputs

skeleton

The skeleton to display.

show_rest_state

If enabled, the joint_pivot_matrix, meaning the rest state of the transforms, is used instead of joint_world_matrix, to display the joints.

display_joints

If enabled, displays the skeleton's joints as a mesh geometry.

default_joint_size

The default size to define the radius of the joints. This has effect only if the skeleton does not have a joint_size geo property with data of type array<float>.

adaptive_size

If enabled, calculates the ideal joint sizes based on the minimum distance between joints and their respective neighbors.

adaptive_size_profile

The fCurve to control the distribution of the adaptivity. The X axis represents how strong the adaptivity is, and the Y axis represents how much the initial joint sizes should blend to the ideal adaptive sizes.

coloring_mode

Defines the joint data to visualize as colors.

  • Constant Color Applies a unique color to all joints. The color input is used to define the resulting colors when using this mode.

  • Joint Index Applies a random color to all joints based on their indices. The min_color, max_color, and seed inputs are used to define the resulting colors when using this mode.

  • Chain Index Applies a random color to all joints based on the index of the chain they belong to. The min_color, max_color, and seed inputs are used to define the resulting colors when using this mode.

  • Joint Depth Applies a gradient color to joints based on their depth in the hierarchy tree. The start_color, mid_color, and end_color inputs are used to define the resulting colors when using this mode.

  • Joint Length Applies a gradient color to joints based on their absolute distance to their roots. The start_color, mid_color, and end_color inputs are used to define the resulting colors when using this mode.

color

The constant color.

min_color

The minimum random color.

max_color

The maximum random color.

seed

The random seed to randomize index based colors.

start_color

The starting color of the gradient.

mid_color

The mid-point color of the gradient.

end_color

The end color of the gradient.

display_transforms

If enabled, displays the skeleton's joints' transforms as strands arrows.

axes_shape

The type of geometry shader to apply on the resulting strands.

  • Wire: Displays the strands as thin lines 1px wide.

  • Ribbon: Displays the strands as flat strips, with a width relative to the scales of the transforms, and the axes_scale, arrowhead_size_ratio, and stem_width_ratio values.

  • Tube: Displays the strands as thick extruded tubes, with a radius relative to the scales of the transforms, and the axes_scale, arrowhead_size_ratio, and stem_width_ratio values.

axes_scale

A multiplier to increase or decrease the scale of the transform axes to display.

arrowhead_size_ratio

The size ratio of the arrowhead's width, relative to the scale of each transform axes. Assuming a transform with a scale of {1, 1, 1}, a value of 0.1 means that the arrowhead's would be 0.1 wide. Using the same value on a transform with a scale of {10, 10, 10}, the arrowhead would be 1.0 wide.

stem_width_ratio

The width of the stem relative to the widest portion of the arrowhead. A value of 0.1 means the width of the stem is one tenth the width of the arrowhead.

Outputs

diagnostic_geo

The resulting array of geometries, which can contain a mesh for the joint geometry as well as a strands for the transform axes.

Was this information helpful?