Struct ovr_sys::ovrPoseStatef
source · #[repr(C)]pub struct ovrPoseStatef {
pub _align: [u64; 0],
pub ThePose: ovrPosef,
pub AngularVelocity: ovrVector3f,
pub LinearVelocity: ovrVector3f,
pub AngularAcceleration: ovrVector3f,
pub LinearAcceleration: ovrVector3f,
pub _pad0: [u8; 4],
pub TimeInSeconds: f64,
}
Expand description
A full pose (rigid body) configuration with first and second derivatives.
Body refers to any object for which ovrPoseStatef
is providing data.
It can be the HMD, Touch controller, sensor or something else. The context
depends on the usage of the struct.
Fields§
§_align: [u64; 0]
§ThePose: ovrPosef
Position and orientation.
AngularVelocity: ovrVector3f
Angular velocity in radians per second.
LinearVelocity: ovrVector3f
Velocity in meters per second.
AngularAcceleration: ovrVector3f
Angular acceleration in radians per second per second.
LinearAcceleration: ovrVector3f
Acceleration in meters per second per second.
_pad0: [u8; 4]
\internal struct pad.
TimeInSeconds: f64
Absolute time that this pose refers to. see ovr_GetTimeInSeconds
Trait Implementations§
source§impl Clone for ovrPoseStatef
impl Clone for ovrPoseStatef
source§fn clone(&self) -> ovrPoseStatef
fn clone(&self) -> ovrPoseStatef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more