The GamepadPose interface of the Gamepad API represents the pose a WebVR controller at a given timestamp (which includes orientation, velocity, and acceleration information.)
The GamepadPose interface of the Gamepad API represents the pose a WebVR controller at a given timestamp (which includes orientation, velocity, and acceleration information.)
(angular-acceleration this)
Property.
The angularAcceleration read-only property of the web.vr.GamepadPose
returns an array representing the angular acceleration vector
the web.gamepad.Gamepad
, in meters per second per second.
var myGamepadAngAcc = gamepadPoseInstance.angularAcceleration;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularAcceleration
Property. The angularAcceleration read-only property of the `web.vr.GamepadPose` returns an array representing the angular acceleration vector the `web.gamepad.Gamepad`, in meters per second per second. `var myGamepadAngAcc = gamepadPoseInstance.angularAcceleration;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularAcceleration`
(angular-velocity this)
Property.
The angularVelocity read-only property of the web.vr.GamepadPose
returns an array representing the angular velocity vector of
web.gamepad.Gamepad
, in radians per second.
var myGamepadAngVel = gamepadPoseInstance.angularVelocity;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularVelocity
Property. The angularVelocity read-only property of the `web.vr.GamepadPose` returns an array representing the angular velocity vector of `web.gamepad.Gamepad`, in radians per second. `var myGamepadAngVel = gamepadPoseInstance.angularVelocity;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularVelocity`
(has-orientation this)
Property.
The hasOrientation read-only property of the web.vr.GamepadPose
returns a js.Boolean
stating whether the web.gamepad.Gamepad
track and return orientation information.
var hasItGotOrientation = gamepadPoseInstance.hasOrientation;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasOrientation
Property. The hasOrientation read-only property of the `web.vr.GamepadPose` returns a `js.Boolean` stating whether the `web.gamepad.Gamepad` track and return orientation information. `var hasItGotOrientation = gamepadPoseInstance.hasOrientation;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasOrientation`
(has-position this)
Property.
The hasPosition read-only property of the web.vr.GamepadPose
returns a js.Boolean
stating whether the web.gamepad.Gamepad
track and return position information.
var hasItGotPosition = gamepadPoseInstance.hasPosition;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasPosition
Property. The hasPosition read-only property of the `web.vr.GamepadPose` returns a `js.Boolean` stating whether the `web.gamepad.Gamepad` track and return position information. `var hasItGotPosition = gamepadPoseInstance.hasPosition;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasPosition`
(linear-acceleration this)
Property.
The linearAcceleration read-only property of the web.vr.GamepadPose
returns an array representing the linear acceleration vector
the web.gamepad.Gamepad
, in meters per second per second.
var myGamepadLinAcc = gamepadPoseInstance.linearAcceleration;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearAcceleration
Property. The linearAcceleration read-only property of the `web.vr.GamepadPose` returns an array representing the linear acceleration vector the `web.gamepad.Gamepad`, in meters per second per second. `var myGamepadLinAcc = gamepadPoseInstance.linearAcceleration;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearAcceleration`
(linear-velocity this)
Property.
The linearVelocity read-only property of the web.vr.GamepadPose
returns an array representing the linear velocity vector of the
in meters per second.
var myGamepadLinVel = gamepadPoseInstance.linearVelocity;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearVelocity
Property. The linearVelocity read-only property of the `web.vr.GamepadPose` returns an array representing the linear velocity vector of the in meters per second. `var myGamepadLinVel = gamepadPoseInstance.linearVelocity;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearVelocity`
(orientation this)
Property.
The orientation read-only property of the web.vr.GamepadPose
returns the orientation of the web.gamepad.Gamepad
, as a quarternion
var myGamepadOrientation = gamepadPoseInstance.orientation;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/orientation
Property. The orientation read-only property of the `web.vr.GamepadPose` returns the orientation of the `web.gamepad.Gamepad`, as a quarternion `var myGamepadOrientation = gamepadPoseInstance.orientation;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/orientation`
(position this)
Property.
The position read-only property of the web.vr.GamepadPose
interface
the position of the web.gamepad.Gamepad
as a 3D vector.
var myGamepadPosition = gamepadPoseInstance.position;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/position
Property. The position read-only property of the `web.vr.GamepadPose` interface the position of the `web.gamepad.Gamepad` as a 3D vector. `var myGamepadPosition = gamepadPoseInstance.position;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/position`
(set-angular-acceleration! this val)
Property.
The angularAcceleration read-only property of the web.vr.GamepadPose
returns an array representing the angular acceleration vector
the web.gamepad.Gamepad
, in meters per second per second.
var myGamepadAngAcc = gamepadPoseInstance.angularAcceleration;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularAcceleration
Property. The angularAcceleration read-only property of the `web.vr.GamepadPose` returns an array representing the angular acceleration vector the `web.gamepad.Gamepad`, in meters per second per second. `var myGamepadAngAcc = gamepadPoseInstance.angularAcceleration;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularAcceleration`
(set-angular-velocity! this val)
Property.
The angularVelocity read-only property of the web.vr.GamepadPose
returns an array representing the angular velocity vector of
web.gamepad.Gamepad
, in radians per second.
var myGamepadAngVel = gamepadPoseInstance.angularVelocity;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularVelocity
Property. The angularVelocity read-only property of the `web.vr.GamepadPose` returns an array representing the angular velocity vector of `web.gamepad.Gamepad`, in radians per second. `var myGamepadAngVel = gamepadPoseInstance.angularVelocity;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularVelocity`
(set-has-orientation! this val)
Property.
The hasOrientation read-only property of the web.vr.GamepadPose
returns a js.Boolean
stating whether the web.gamepad.Gamepad
track and return orientation information.
var hasItGotOrientation = gamepadPoseInstance.hasOrientation;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasOrientation
Property. The hasOrientation read-only property of the `web.vr.GamepadPose` returns a `js.Boolean` stating whether the `web.gamepad.Gamepad` track and return orientation information. `var hasItGotOrientation = gamepadPoseInstance.hasOrientation;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasOrientation`
(set-has-position! this val)
Property.
The hasPosition read-only property of the web.vr.GamepadPose
returns a js.Boolean
stating whether the web.gamepad.Gamepad
track and return position information.
var hasItGotPosition = gamepadPoseInstance.hasPosition;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasPosition
Property. The hasPosition read-only property of the `web.vr.GamepadPose` returns a `js.Boolean` stating whether the `web.gamepad.Gamepad` track and return position information. `var hasItGotPosition = gamepadPoseInstance.hasPosition;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasPosition`
(set-linear-acceleration! this val)
Property.
The linearAcceleration read-only property of the web.vr.GamepadPose
returns an array representing the linear acceleration vector
the web.gamepad.Gamepad
, in meters per second per second.
var myGamepadLinAcc = gamepadPoseInstance.linearAcceleration;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearAcceleration
Property. The linearAcceleration read-only property of the `web.vr.GamepadPose` returns an array representing the linear acceleration vector the `web.gamepad.Gamepad`, in meters per second per second. `var myGamepadLinAcc = gamepadPoseInstance.linearAcceleration;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearAcceleration`
(set-linear-velocity! this val)
Property.
The linearVelocity read-only property of the web.vr.GamepadPose
returns an array representing the linear velocity vector of the
in meters per second.
var myGamepadLinVel = gamepadPoseInstance.linearVelocity;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearVelocity
Property. The linearVelocity read-only property of the `web.vr.GamepadPose` returns an array representing the linear velocity vector of the in meters per second. `var myGamepadLinVel = gamepadPoseInstance.linearVelocity;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearVelocity`
(set-orientation! this val)
Property.
The orientation read-only property of the web.vr.GamepadPose
returns the orientation of the web.gamepad.Gamepad
, as a quarternion
var myGamepadOrientation = gamepadPoseInstance.orientation;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/orientation
Property. The orientation read-only property of the `web.vr.GamepadPose` returns the orientation of the `web.gamepad.Gamepad`, as a quarternion `var myGamepadOrientation = gamepadPoseInstance.orientation;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/orientation`
(set-position! this val)
Property.
The position read-only property of the web.vr.GamepadPose
interface
the position of the web.gamepad.Gamepad
as a 3D vector.
var myGamepadPosition = gamepadPoseInstance.position;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/position
Property. The position read-only property of the `web.vr.GamepadPose` interface the position of the `web.gamepad.Gamepad` as a 3D vector. `var myGamepadPosition = gamepadPoseInstance.position;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/position`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close