Component:TouchValueOption: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
No edit summary
 
Line 4: Line 4:
}}
}}
{{stub}}
{{stub}}
The TouchValueOption component allows you to set a field to a value on press, it can drive indicators for Active and Hovering.


== Usage ==
== Usage ==

Latest revision as of 20:08, 31 March 2024

Component image 
Touch Value Option`1 component as seen in the Scene Inspector


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


The TouchValueOption component allows you to set a field to a value on press, it can drive indicators for Active and Hovering.

Usage

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.
Target direct RelayRef`1<IField`1<T>>
Value T
ActiveIndicator field drive of Bool
HoverIndicator field drive of Bool
HoverVibrate VibratePreset
Vibrate VibratePreset
SetOnTouchBegin Bool
SetOnTouchStay Bool
SetOnTouchEnd Bool
AcceptOutOfSightTouch Bool
AcceptPhysicalTouch Bool
AcceptRemoteTouch Bool
EditModeOnly Bool
ActiveUserRootOnly Bool

Behavior

Examples

See Also