Component:ScaleGizmo

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

The ScaleGizmo component is used to allow scaling of a slot it is targeting.

See 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 this is scaling/targeting.
AutoPositionAtTargetSlot Bool Whether to auto position this gizmo at TargetSlot
_interactingComponent Component The component that is interacting with this component.
_material OverlayFresnelMaterial The material for the gizmo visual.
_toolPoint Slot The slot representing the interacting dev tool's tip.
_activePoint Slot The active point of the gizmo
_lineRoot Slot the root of the line visual going back to _toolPoint.
_lineSegment SegmentMesh The line segment for the line from gizmo center to _toolPoint.
_snapHighlight Slot The slot for a snap point highlight like a selected cube corner.
TargetScale IField`1<Float3> The scale field of what this is scaling.
HandleLength Float The length of the scale gizmo handles.
_xSlot Slot The scale gizmo for the x axis.
_ySlot Slot The scale gizmo for the y axis.
_zSlot Slot The scale gizmo for the z axis.

Usage

See Dev tool.

Examples

See Dev tool.

See Also