Component:TouchableData: Difference between revisions

From Resonite Wiki
m Add categories, update a link, and stub out the unbalanced translate tag which was preventing this from saving
template
Line 6: Line 6:
|Image=TouchableDataComponent.png
|Image=TouchableDataComponent.png
|Name=Touchable Data
|Name=Touchable Data
}}The TouchableData component can be used to create simple touch based interactions.  
}}
The '''TouchableData''' component can be used to create simple touch based interactions.  


== Fields ==
== Fields ==
Line 12: Line 13:
|Hovering|Bool|
|Hovering|Bool|
|Touching|Bool|
|Touching|Bool|
|AcceptOutOfSightTouch|Bool|
|AcceptOutOfSightTouch|Bool| {{Template:Touchable_AcceptOutOfSightTouch}}
|AcceptPhysicalTouch|Bool|
|AcceptPhysicalTouch|Bool| {{Template:Touchable_AcceptPhysicalTouch}}
|AcceptRemoteTouch|Bool|
|AcceptRemoteTouch|Bool| {{Template:Touchable_AcceptRemoteTouch}}
|OnHoverStartVibrate|VibratePreset|
|OnHoverStartVibrate|VibratePreset|
|OnHoverStayVibrate|VibratePreset|
|OnHoverStayVibrate|VibratePreset|
Line 33: Line 34:


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
[[Component:TouchButton]]
* [[Component:TouchButton]]


[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Touchable Data]]
[[Category:Components{{#translation:}}|Touchable Data]]
[[Category:Components:Transform:Interaction{{#translation:}}|Touchable Data]]
[[Category:Components:Transform:Interaction{{#translation:}}|Touchable Data]]

Revision as of 17:23, 21 January 2025


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

Component image 
Touchable Data component as seen in the Scene Inspector

The TouchableData component can be used to create simple touch based interactions.

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.
Hovering Bool
Touching Bool
AcceptOutOfSightTouch Bool Whether or not to allow interaction with this component if it is out of the user's view.
AcceptPhysicalTouch Bool Whether to allow Component:TipTouchSources to interact with/activate this component.
AcceptRemoteTouch Bool Whether this component allows interaction via the user's interaction laser.
OnHoverStartVibrate VibratePreset
OnHoverStayVibrate VibratePreset
OnHoverEndVibrate VibratePreset
OnTouchStartVibrate VibratePreset
OnTouchStayVibrate VibratePreset
OnTouchEndVibrate VibratePreset
EditModeOnly Bool
ActiveUserFilter ActiveUserHandling

Usage

Examples

See Also