transform_scope
Displays the axes of an array of transform matrices as strands arrows. Multiple types are supported:
array<float4x4>
array<double4x4>
array<Transform>
When connecting an array<Transform>
to this port, their world_matrix
component are used to display the transform axes.
Inputs
transforms
The transforms to display.
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 theaxes_scale
,arrowhead_size_ratio
, andstem_width_ratio
values.Tube
: Displays the strands as thick extruded tubes, with a radius relative to the scales of the transforms, and theaxes_scale
,arrowhead_size_ratio
, andstem_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 strands geometry.