Created a page for the Touchable Events node. |
Fixed type on visual. Fixed descriptions. |
||
Line 14: | Line 14: | ||
|Globals= | |Globals= | ||
[ | [ | ||
{"Name":"EventSource", "Type":" | {"Name":"EventSource", "Type":"TouchEventRelay"} | ||
] | ] | ||
|}} | |}} | ||
Line 53: | Line 53: | ||
== Globals == | == Globals == | ||
=== EventSource ( | === EventSource ([[Component:TouchEventRelay|TouchEventRelay]]) === | ||
The TouchEventRelay component to read events from. | |||
[[Category:ProtoFlux:Interaction]] | [[Category:ProtoFlux:Interaction]] |
Latest revision as of 23:43, 3 June 2024
The Touchable Events
node takes in a global Event Source reference and will listen for events from that global reference. When it detects something happening, it will fire events depending on what happens, along with other data.
Outputs
OnEvent (Call)
Fires an Impulse when the event happens.
Hover (EventState)
The event state that defines this hover.
Touch (EventState)
The event state that defines this touch.
Point (float3)
The point in global transform in the world the user's cursor is at on the surface of the button during any of this node's Impulses. Also see: Coordinate spaces
Tip (float3)
The tip of the touchable.
Source (Component)
The source of the button press.
When using the laser on the button, this returns with RelayTouchSource
.
When physically pressing the button, this returns with TipTouchSource
.
Globals
EventSource (TouchEventRelay)
The TouchEventRelay component to read events from.