API reference
API reference
Select your platform
No SDKs available
No versions available

ControllerDataAsset Class

The data asset used by DataModifier<ControllerDataAsset> to pipe data through the DataModifier<TData> stack, and contains controller state data.

Fields

Is the data in this asset considered valid.
Is the controller connected to the headset.
Is the controller being tracked by the headset.
Input state data such as button presses and axis state.
The root pose of the controller, which represents the canonical controller position.
See RootPoseOrigin for information on how this pose was created.
Information about how RootPose was created, for example whether it is the raw pose from tracking, or whether is has been filtered or modified in the DataModifier<TData> stack.
The pointer pose for the controller, which is generally used as the raycast source pose.
See PointerPoseOrigin for information on how this pose was created.
Information about how PointerPose was created, for example whether it is the raw pose from tracking, or whether is has been filtered or modified in the DataModifier<TData> stack.
True if this controller is associated with the dominant hand, as set by the system handedness.
This data object contains configuration data that is shuttled through the DataModifier<TData> stack.

Member Functions

Copies the provided ControllerDataAsset into the caller.
Parameters
source
The source to copy from.
Copies only pose and state data from a provided ControllerDataAsset into the caller.
Parameters
source
The source to copy from.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon