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

Required Methods§

Implementors§