Touchable Events (LogiX node)
Touchable Events | ||
---|---|---|
Inputs | ||
TouchEventRelay | EventSource | |
Outputs | ||
Impulse | OnEvent | |
EventState | Hover | |
EventState | Touch | |
Float3 | Point | |
Float3 | Tip | |
TouchType | Type | |
Component | Source |
The Touchable Events node fires impulses when the input TouchEventRelay EventSource
is interacted with. It also outputs additional information about the type of interaction, the interacting Component
, and where the interaction occurred.
Usage
All output impulses are owned by the user interacting with the EventSource
.
The OnEvent
output fires a single impulse every frame when the EventSource
is hovered over with a user's interaction laser, touched physically with a user's hand, or touched via a laser primary fire press.
The Hover
output provides an EventState enum value which indicates whether the touch event was an interaction laser hover start, stay, or end. This value is only available for the duration of the impulse chain started by OnEvent
.
The Touch
output provides an EventState enum value which indicates whether the touch event was a physical touch / interaction laser press start, stay, or end. This value is only available for the duration of the impulse chain started by OnEvent
.
The Point
output provides the global position of the point where the touch interaction occurred. This value is only available for the duration of the impulse chain started by OnEvent
.
The Tip
output provides the global position of the slot with the Source
component which caused the touch event. This value is only available for the duration of the impulse chain started by OnEvent
.
The Type
output provides a TouchType enum value which indicates whether the touch event was a physical touch or remote laser interaction. This value is only available for the duration of the impulse chain started by OnEvent
.
The Touch
output provides an EventState enum value which indicates whether the touch event was a physical touch / interaction laser press start, stay, or end. This value is only available for the duration of the impulse chain started by OnEvent
.
The Source
output provides the Component which interacted with the EventSource
. This value is only available for the duration of the impulse chain started by OnEvent
.
Examples
Node Menu
Interaction / Touchable | ||||||
---|---|---|---|---|---|---|
Back | Touchable Events |