Component:GlowingSphereToggle

From Resonite Wiki
Component image 
Glowing Sphere Toggle component as seen in the Scene Inspector

The GlowingSphereToggle component can be used to toggle a boolean value when clicked.

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.
TargetField IField`1<Bool> The field to toggle.
FadeSpeed Float How fast to fade after being clicked.
CooldownTime Float How long the user has to wait before they can toggle it again.
Radius Float The size of the toggle sphere.
GlowColor ColorX What color the sphere should glow.
_emissiveColor field drive of ColorX The color to drive with the sphere color for emissive.
_rimColor field drive of ColorX The color to drive with the rim color.
_sphereRadius field drive of Float The field to drive with the sphere radius.
_sphereExtrude field drive of Float The field to drive with the sphere extrude value.
_colliderRadius field drive of Float The field to drive with the collider radius.

Usage

Attach to a slot and provide values as well as something to toggle for this component to work.

Examples

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

See Also