#[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: ovrPosefPosition and orientation.
AngularVelocity: ovrVector3fAngular velocity in radians per second.
LinearVelocity: ovrVector3fVelocity in meters per second.
AngularAcceleration: ovrVector3fAngular acceleration in radians per second per second.
LinearAcceleration: ovrVector3fAcceleration in meters per second per second.
_pad0: [u8; 4]\internal struct pad.
TimeInSeconds: f64Absolute 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 duplicate 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 moreSource§impl Debug for ovrPoseStatef
impl Debug for ovrPoseStatef
impl Copy for ovrPoseStatef
Auto Trait Implementations§
impl Freeze for ovrPoseStatef
impl RefUnwindSafe for ovrPoseStatef
impl Send for ovrPoseStatef
impl Sync for ovrPoseStatef
impl Unpin for ovrPoseStatef
impl UnwindSafe for ovrPoseStatef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more