Skip to main content

GamepadPoseMethods

pub trait GamepadPoseMethods<D: DomTypes> {
    // Required methods
    fn HasOrientation(&self) -> bool;
    fn HasPosition(&self) -> bool;
    fn GetPosition(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>;
    fn GetLinearVelocity(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>;
    fn GetLinearAcceleration(
        &self,
    ) -> Option<RootedTraceableBox<HeapFloat32Array>>;
    fn GetOrientation(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>;
    fn GetAngularVelocity(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>;
    fn GetAngularAcceleration(
        &self,
    ) -> Option<RootedTraceableBox<HeapFloat32Array>>;
}

Required Methods§

Implementors§