Component:VectorGizmo

From Resonite Wiki
Component image 
Vector Gizmo component as seen in the Scene Inspector

The VectorGizmo component is used to allow editing a gizmo via 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 influence or a component this is on.
AutoPositionAtTargetSlot Bool Whether to position the gizmo at TargetSlot.
_interactingComponent Component The component like a Dev tool that is interacting with this gizmo.
_material OverlayFresnelMaterial The material being used for the gizmo visual.
_toolPoint Slot The slot to position at the interacting tool's tip slot.
_activePoint Slot The slot to position at the active point.
_lineRoot Slot The slot that stores the line segment for tip based movement rather than projected mode.
_lineSegment SegmentMesh The mesh being used for the line visual to the interacting tool tip.
_snapHighlight Slot The slot storing the gizmo snap highlight visual.
VectorSpace direct RootSpace The space to do edits to the vector in.
TargetVector direct RelayRef`1<IField`1<Float3>> The target vector field to modify.
TargetRotation direct RelayRef`1<IField`1<FloatQ>> The target vector rotation to modify.
FixMagnitude Bool whether to fix a magnitude during/after editing.
FixedMagnitude Float The value to fix the vector magnitude to if FixMagnitude is enabled.
VisualMagnitudeScale Float The magnitude scalar of the vector visual.
VisualThickness Float The thickness of the visual for the vector.
_colliderRotation field drive of FloatQ The rotation field of the visual collider.
_collider reference drive of CylinderCollider The collider used for the vector.
_mesh reference drive of ArrowMesh The arrow mesh being used to show the vector visual.

Usage

Examples

See Also