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

IPoseInputDevice Interface

Provides a unified interface for accessing pose and velocity data from input devices.
This interface is primarily used for implementing throwing mechanics and other physics-based interactions that require accurate tracking of position, rotation, and velocity.
See Oculus.Interaction.Throw.ControllerPoseInputDevice and Oculus.Interaction.Throw.HandPoseInputDevice for common implementations.

Fields

Vector3
Retrieves the current external velocities of the input device.
For hands, this calculates velocities based on finger joint movement. For controllers, this uses the device's built-in velocity tracking.
Signature
Oculus.Interaction.Throw.IPoseInputDevice.Vector3

Properties

IsHighConfidence : bool
[Get]
Indicates whether the current pose tracking has high confidence.
Returns true if the system has high confidence in the current pose tracking accuracy. For controllers, this checks if the pose is valid and controller are connected. For hands, this checks additional confidence metrics.
Signature
bool Oculus.Interaction.Throw.IPoseInputDevice.IsHighConfidence
IsInputValid : bool
[Get]
Indicates whether the current pose data from the input device is valid and can be used.
This should be checked before attempting to use pose data to ensure reliable tracking. Invalid poses might occur during tracking loss or device initialization.
Signature
bool Oculus.Interaction.Throw.IPoseInputDevice.IsInputValid

Methods

GetExternalVelocities ()
Signature
Vector3 Oculus.Interaction.Throw.IPoseInputDevice.GetExternalVelocities()
Returns
Vector3
GetRootPose ( pose )
Attempts to get the current root pose of the input device.
For hands, this returns the wrist root pose with palm offset applied. For controllers, this returns the controller's tracked pose.
Signature
bool Oculus.Interaction.Throw.IPoseInputDevice.GetRootPose(out Pose pose)
Parameters
pose: out Pose  When successful, contains the current pose in world space coordinates.
Returns
bool  Returns true if the pose was successfully retrieved, false if tracking is invalid or unavailable.