m ProbablePrime moved page TouchToggle (Component) to Component:TouchToggle: Creating component Namespace |
template |
||
Line 16: | Line 16: | ||
|OnEvent|EventState| | |OnEvent|EventState| | ||
|OffEvent|EventState| | |OffEvent|EventState| | ||
|AcceptOutOfSightTouch|Bool| | |AcceptOutOfSightTouch|Bool| {{Template:Touchable_AcceptOutOfSightTouch}} | ||
|AcceptPhysicalTouch|Bool| | |AcceptPhysicalTouch|Bool| {{Template:Touchable_AcceptPhysicalTouch}} | ||
|AcceptRemoteTouch|Bool| | |AcceptRemoteTouch|Bool| {{Template:Touchable_AcceptRemoteTouch}} | ||
|Vibrate|VibratePreset| | |Vibrate|VibratePreset| | ||
|EditModeOnly|Bool| | |EditModeOnly|Bool| | ||
Line 33: | Line 33: | ||
<!--T:5--> | <!--T:5--> | ||
== | == See Also == | ||
</translate> | </translate> | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components{{#translation:}}|Touch Toggle]] | [[Category:Components{{#translation:}}|Touch Toggle]] | ||
[[Category:Components:Transform:Interaction{{#translation:}}|Touch Toggle]] | [[Category:Components:Transform:Interaction{{#translation:}}|Touch Toggle]] |
Revision as of 17:19, 21 January 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image 
Touch Toggle component as seen in the Scene Inspector

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. |
State
|
Bool | |
EventType
|
TouchEventType | |
ToggleEvent
|
EventState | |
OnEvent
|
EventState | |
OffEvent
|
EventState | |
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. |
Vibrate
|
VibratePreset | |
EditModeOnly
|
Bool | |
ActiveUserFilter
|
ActiveUserHandling | |
__legacyActiveUserRootOnly
|
Bool |