Component:CursorSettings: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Cursor Settings
|Name=Cursor Settings
}}
}}
{{stub}}
The '''CursorSettings''' component is used in the settings menu to allow the user to change the size of their cursor when it is under specific circumstances.


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|BaseCursorSize|Float|
|BaseCursorSize|Float| The cursor size by default.
|GrabMultiplier|Float|
|GrabMultiplier|Float| The amount to multiply the cursor size by when grabbing something
|InteractionMultiplier|Float|
|InteractionMultiplier|Float| The amount to multiply the cursor size by when pressing a button or interacting with something.
|TextMultiplier|Float|
|TextMultiplier|Float| How much to multiply the cursor size when highlighting an editable text field.
|SliderMultiplier|Float|
|SliderMultiplier|Float| The amount to multiply the cursor size when sliding a slider.
}}
 
== Sync Delegates ==
{{Table ComponentTriggers
}}
}}


Line 23: Line 19:


== See Also ==
== See Also ==
* [[Settings]]


[[Category:Components:Uncategorized{{#translation:}}|Cursor Settings]]
[[Category:Components:Uncategorized{{#translation:}}|Cursor Settings]]
[[Category:Components{{#translation:}}|Cursor Settings]]
[[Category:Components{{#translation:}}|Cursor Settings]]
[[Category:ComponentStubs]]

Latest revision as of 00:47, 23 December 2024

Component image 
File:CursorSettingsComponent.png
Cursor Settings component as seen in the Scene Inspector

The CursorSettings component is used in the settings menu to allow the user to change the size of their cursor when it is under specific circumstances.

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.
BaseCursorSize Float The cursor size by default.
GrabMultiplier Float The amount to multiply the cursor size by when grabbing something
InteractionMultiplier Float The amount to multiply the cursor size by when pressing a button or interacting with something.
TextMultiplier Float How much to multiply the cursor size when highlighting an editable text field.
SliderMultiplier Float The amount to multiply the cursor size when sliding a slider.

Usage

Examples

See Also