Component:PlaneTranslationGizmo

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

The PlaneTranslationGizmo component is used to make the 3 plane axes on a translation gizmo for moving a slot using the dev tip. Used to move objects along a flat plane. Auto generated by the game.

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 move.
AutoPositionAtTargetSlot Bool Whether to auto position this gizmo at the specified slot.
_interactingComponent Component the component That is interacting with this.
_material OverlayFresnelMaterial The material being used to show this gizmo.
_toolPoint Slot The tool tip that is controlling this gizmo.
_activePoint Slot The point for this gizmo when using tip instead of projection for the interacting tooltip.
_lineRoot Slot The root slot of the visual being used when doing tip instead of Projection for the interacting tooltip.
_lineSegment SegmentMesh The mesh being used for the line visual.
_snapHighlight Slot The root of the snap highlight visual sphere.
PointSpace direct RootSpace The transform space of the field this is modifying.
TargetPoint direct RelayRef`1<IField`1<Float3>> The field this is targeting.
Normal Float3 The normal of where this plane gizmo should be pointing for its normal.
NormalSpace direct RootSpace The transform space the normal is defined in.
UseCustomVisual Bool Whether to use a custom visual for this gizmo.
_customVisualRoot Slot The root slot of the custom visual.
HandleSize Float2 The size of the plane used for interacting with this component.
HandleOffset Float2 The offset of the plane used for interacting with this component.
CreateUndoSteps Bool Whether to create Undo steps for interacting with this gizmo.
_visualRoot Slot The root slot of the visual of this gizmo.
_visualRotation field drive of FloatQ The rotation field of this Gizmos visual.
_visualPosition field drive of Float3 The position field of this gizmo's visual.
_boxSize field drive of Float3 The size of the box mesh being used for this visual.
_linesRoot Slot The root slot for the tip projection lines visual.
_line0 SegmentMesh The first line for this gizmo when interacting via tip instead of Projection with a dev tip.
_line1 SegmentMesh The second line for this gizmo when interacting via tip instead of Projection with a dev tip.
_collider reference drive of BoxCollider The collider for interacting with this gizmo.

Usage

See Gizmo

Examples

See Also