Struct ovr_sys::ovrPoseStatef
[−]
[src]
#[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, }
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
impl Debug for ovrPoseStatef
[src]
impl Copy for ovrPoseStatef
[src]
impl Clone for ovrPoseStatef
[src]
fn clone(&self) -> ovrPoseStatef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more