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.
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.
bool IsHighConfidence[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.
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.
ParameterslinearVelocityThe current linear velocity in meters per second.
angularVelocityThe current angular velocity in radians per second.
ReturnsReturns true if velocities were successfully calculated, false otherwise.
bool GetRootPose ( out Pose 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.
ParametersposeWhen successful, contains the current pose in world space coordinates.
ReturnsReturns true if the pose was successfully retrieved, false if tracking is invalid or unavailable.