Component:SphereGizmo: Difference between revisions

From Resonite Wiki
add info
m typo
 
Line 27: Line 27:
|RelativeRadius|Float| The relative radius between the gizmo and this mesh.
|RelativeRadius|Float| The relative radius between the gizmo and this mesh.
|root|Slot| The root of this handle visual.
|root|Slot| The root of this handle visual.
|mesh|{{RootFieldType|DriveRef`1|[[Component:TorusMesh|TorusMesh]]}}| The torus mesh used for this visual.
|mesh|{{RootFieldType|DriveRef`1|[[Component:TorusMesh|TorusMesh]]}}|TypeAdv2=true| The torus mesh used for this visual.
}}
}}



Latest revision as of 00:43, 3 August 2025

Component image 
Sphere Gizmo component as seen in the Scene Inspector

The SphereGizmo component is used to control the radius of certain sphere elements.

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 should position at.
AutoPositionAtTargetSlot Bool whether the gizmo should auto position at TargetSlot
_interactingComponent Component the tool interacting with this component.
_material OverlayFresnelMaterial The material that is being used for the visual.
_toolPoint Slot The tool tip that is interacting with.
_activePoint Slot The active point slot for reference to an interacting tool.
_lineRoot Slot The line root from this gizmo to a tool tip.
_lineSegment SegmentMesh The line mesh from this gizmo to a tool tip.
_snapHighlight Slot The slot used for highlighting snap targets.
TargetRadius direct RelayRef`1<IField`1<Float>> The field this gizmo is editing (also known as the radius field)
RadiusSpace direct RootSpace The transform space the radius is in.
RimRadius Float The radius of the rim of the target radius.
RimRadiusDistanceScale Float How to scale the radius for the rim by distance.
_handles list of SphereGizmo.Handle a list of handles for this gizmo. usually a set of 3 rings.

Handle

Fields
Name Type Description
RelativeRadius Float The relative radius between the gizmo and this mesh.
root Slot The root of this handle visual.
mesh reference drive of TorusMesh The torus mesh used for this visual.

Usage

Not used directly by the user. May have been one of the first components Frooxius ever made for the game, considering that it doesn't follow some naming conventions that are never broken across all components, especially SphereGizmo.Handle on this page.

Examples

See Also