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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.