DVSpatialInputEvent class final

One input.

Either a ray the runtime picks along, or a node the platform already resolved. Gaze and voice can only be the second: the platforms forbid exposing raw eye-gaze, and this type cannot carry it, so no code path can hand an application where somebody looked.

Constructors

DVSpatialInputEvent.ray(DVSpatialInputAction action, DVSpatialInputSource source, {required DVVec3 origin, required DVVec3 direction})
A hand ray or controller ray, in the device's convention.
factory
DVSpatialInputEvent.target(DVSpatialInputAction action, DVSpatialInputSource source, String nodeId)
A node the platform resolved the input to.
factory

Properties

action → DVSpatialInputAction
final
direction → DVVec3?
final
hashCode → int
The hash code for this object.
no setterinherited
nodeId → String?
final
origin → DVVec3?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → DVSpatialInputSource
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited