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.

Properties

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.
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.

Fields

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.
Parameters
linearVelocity
The current linear velocity in meters per second.
angularVelocity
The current angular velocity in radians per second.
Returns
Returns true if velocities were successfully calculated, false otherwise.

Member Functions

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.
Parameters
pose
When successful, contains the current pose in world space coordinates.
Returns
Returns true if the pose was successfully retrieved, false if tracking is invalid or unavailable.
Vector3 GetExternalVelocities ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon