Trait script::dom::bindings::codegen::Bindings::GamepadPoseBinding::GamepadPose_Binding::GamepadPoseMethods
source · pub trait GamepadPoseMethods<D: DomTypes> {
// 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>;
}