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

IController Interface

The primary interface through which Controller data is accessed.
Components consuming controller data should prefer to do so through this interface rather than the concrete Controller.

Properties

Handedness Handedness[Get]
float Scale[Get]
bool IsConnected[Get]
bool IsPoseValid[Get]
ControllerInput ControllerInput[Get]

Events

Action WhenUpdated

Member Functions

bool TryGetPose
( out Pose pose )
bool TryGetPointerPose
( out Pose pose )
bool IsButtonUsageAnyActive
( ControllerButtonUsage buttonUsage )
bool IsButtonUsageAllActive
( ControllerButtonUsage buttonUsage )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon