Component:AxisRotationGizmo

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Axis Rotation Gizmo component as seen in the Scene Inspector

The AxisRotationGizmo component is used for one of the any 3 axies of rotation for a rotation gizmo that can be interacted with through the Dev Tool.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
TargetSlot direct TransformRelayRef The slot to translate and edit.
AutoPositionAtTargetSlot Bool Whether to automatically position this at the target slot.
_interactingComponent Component the component This is interacting with.
_material OverlayFresnelMaterial The material being used for the visual.
_toolPoint Slot The point that follows the interacting tool's tip.
_activePoint Slot The point that follows the gizmo visual.
_lineRoot Slot the root of the line visual from the gizmo to the interacting tool's tip.
_lineSegment SegmentMesh The segment mesh being used for the line visual.
_snapHighlight Slot the root of the snap highlight for snapping.
Axis Float3 The direction of the 2d axis this will rotate along.
AxisSpace direct RootSpace The coordinate space of Axis.
RotationSpace direct RootSpace The coordinate space of the TargetRotation drive target.
TargetRotation direct RelayRef`1<IField`1<FloatQ>> A field to drive with the target rotation
TargetValue direct RelayRef`1<IField`1<Float>> The field to drive TargetRotation with.
CircleRadius Float The radius of the rotation circle gizmo.
CircleThickness Float The thickness of the torus of the rotation gizmo.
_visualRoot Slot The root slot of the visual for interaction.
_visualRot field drive of FloatQ The rotation field of the visual.
_circle reference drive of TorusMesh The torus mesh being used to make the rotation gizmo interact visual.
_circleColliderMesh reference drive of TorusMesh The collider for the circle rotation gizmo visual.
_referenceLine reference drive of SegmentMesh The reference line mesh component.
_linesRoot Slot The root of the visuals for the lines.
_line0 SegmentMesh The line along the rotation plane to below the tooltip.
_line1 SegmentMesh The line from the end of _line0 to the tooltip.

Usage

Used for Gizmos.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also