Component:TouchButton: Difference between revisions

From Resonite Wiki
imported>Xekri
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=TouchButtonComponent.png |Name=Touch Button }} <!--T:2--> == Fields == {{Table ComponentFie..."
 
Automated: update Fields
 
(One intermediate revision by one other user not shown)
Line 18: Line 18:
|EditModeOnly|Bool|
|EditModeOnly|Bool|
|ActiveUserFilter|ActiveUserHandling|
|ActiveUserFilter|ActiveUserHandling|
|Pressed|WorldDelegate|
|Pressed|{{RootFieldType|SyncDelegate`1|[[Type:ButtonEventHandler|ButtonEventHandler]]}}|TypeAdv7=true|
|Pressing|WorldDelegate|
|Pressing|{{RootFieldType|SyncDelegate`1|[[Type:ButtonEventHandler|ButtonEventHandler]]}}|TypeAdv8=true|
|Released|WorldDelegate|
|Released|{{RootFieldType|SyncDelegate`1|[[Type:ButtonEventHandler|ButtonEventHandler]]}}|TypeAdv9=true|
|BeginPressVibration|VibratePreset|
|BeginPressVibration|VibratePreset|
|PressVibration|VibratePreset|
|PressVibration|VibratePreset|
|HoverVibration|VibratePreset|
|HoverVibration|VibratePreset|
|Label|IField`1|TypeString13=IField<string>|
|Label|'''[[Type:IField`1|IField`1]]&lt;[[Type:String|String]]&gt;'''|TypeAdv13=true|
}}
}}



Latest revision as of 21:34, 3 March 2024


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


Component image 
Touch Button component as seen in the Scene Inspector


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.
IsPressed Bool
IsHovering Bool
AcceptPhysicalTouch Bool
AcceptRemoteTouch Bool
AcceptOutOfSightTouch Bool
EditModeOnly Bool
ActiveUserFilter ActiveUserHandling
Pressed ButtonEventHandler
Pressing ButtonEventHandler
Released ButtonEventHandler
BeginPressVibration VibratePreset
PressVibration VibratePreset
HoverVibration VibratePreset
Label IField`1<String>

Usage

Examples

Related Components