Liking cljdoc? Tell your friends :D

web.vr.GamepadPose

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.)
raw docstring

angular-accelerationcljs

(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`
sourceraw docstring

angular-velocitycljs

(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`
sourceraw docstring

has-orientationcljs

(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`
sourceraw docstring

has-positioncljs

(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`
sourceraw docstring

linear-accelerationcljs

(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`
sourceraw docstring

linear-velocitycljs

(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`
sourceraw docstring

orientationcljs

(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`
sourceraw docstring

positioncljs

(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`
sourceraw docstring

set-angular-acceleration!cljs

(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`
sourceraw docstring

set-angular-velocity!cljs

(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`
sourceraw docstring

set-has-orientation!cljs

(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`
sourceraw docstring

set-has-position!cljs

(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`
sourceraw docstring

set-linear-acceleration!cljs

(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`
sourceraw docstring

set-linear-velocity!cljs

(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`
sourceraw docstring

set-orientation!cljs

(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`
sourceraw docstring

set-position!cljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close