Liking cljdoc? Tell your friends :D

web.vr.VRPose

The VRPose interface of the WebVR API represents the state of VR sensor at a given timestamp (which includes orientation, position, and acceleration information.)

The VRPose interface of the WebVR API represents the state of
VR sensor at a given timestamp (which includes orientation, position,
and acceleration information.)
raw docstring

angular-accelerationcljs

(angular-acceleration this)

Property.

The angularAcceleration read-only property of the web.vr.VRPose returns an array representing the angular acceleration vector the web.media.VRDisplay at the current VRPose.timestamp, meters per second per second.

var myAngularAcceleration = VRPose.angularAcceleration;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration

Property.

The angularAcceleration read-only property of the `web.vr.VRPose`
returns an array representing the angular acceleration vector
the `web.media.VRDisplay` at the current `VRPose.timestamp`,
meters per second per second.

`var myAngularAcceleration = VRPose.angularAcceleration;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration`
sourceraw docstring

angular-velocitycljs

(angular-velocity this)

Property.

The angularVelocity read-only property of the web.vr.VRPose returns an array representing the angular velocity vector of web.media.VRDisplay at the current VRPose.timestamp, in radians second.

var myAngularVelocity = VRPose.angularVelocity;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity

Property.

The angularVelocity read-only property of the `web.vr.VRPose`
returns an array representing the angular velocity vector of
`web.media.VRDisplay` at the current `VRPose.timestamp`, in radians
second.

`var myAngularVelocity = VRPose.angularVelocity;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity`
sourceraw docstring

has-orientationcljs

(has-orientation this)

Property.

The hasOrientation read-only property of the VRPositionState returns a boolean indicating whether the VRPositionState.orientation is valid (i.e. if the hardware is currently registering a valid If it is false, the orientation property will return null.

var myHasOrientation = VRPositionState.hasOrientation;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/hasOrientation

Property.

The hasOrientation read-only property of the `VRPositionState`
returns a boolean indicating whether the `VRPositionState.orientation`
is valid (i.e. if the hardware is currently registering a valid
If it is false, the orientation property will return null.

`var myHasOrientation = VRPositionState.hasOrientation;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/hasOrientation`
sourceraw docstring

has-positioncljs

(has-position this)

Property.

The hasPosition read-only property of the VRPositionState interface a boolean indicating whether the VRPositionState.position property valid (i.e. if the hardware is currently registering a valid If it is false, the position property will return null.

var myHasPosition = VRPositionState.hasPosition;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/hasPosition

Property.

The hasPosition read-only property of the `VRPositionState` interface
a boolean indicating whether the `VRPositionState.position` property
valid (i.e. if the hardware is currently registering a valid
If it is false, the position property will return null.

`var myHasPosition = VRPositionState.hasPosition;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/hasPosition`
sourceraw docstring

linear-accelerationcljs

(linear-acceleration this)

Property.

The linearAcceleration read-only property of the web.vr.VRPose returns an array representing the linear acceleration vector the web.media.VRDisplay at the current VRPose.timestamp, meters per second per second.

var myLinearAcceleration = VRPose.linearAcceleration;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration

Property.

The linearAcceleration read-only property of the `web.vr.VRPose`
returns an array representing the linear acceleration vector
the `web.media.VRDisplay` at the current `VRPose.timestamp`,
meters per second per second.

`var myLinearAcceleration = VRPose.linearAcceleration;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration`
sourceraw docstring

linear-velocitycljs

(linear-velocity this)

Property.

The linearVelocity read-only property of the web.vr.VRPose returns an array representing the linear velocity vector of the at the current VRPose.timestamp, in meters per second.

var myLinearVelocity = VRPose.linearVelocity;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity

Property.

The linearVelocity read-only property of the `web.vr.VRPose`
returns an array representing the linear velocity vector of the
at the current `VRPose.timestamp`, in meters per second.

`var myLinearVelocity = VRPose.linearVelocity;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity`
sourceraw docstring

orientationcljs

(orientation this)

Property.

The orientation read-only property of the VRPositionState interface the orientation of the sensor at the current VRPose.timestamp, a quarternion value.

var myOrientation = VRPose.orientation;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation

Property.

The orientation read-only property of the `VRPositionState` interface
the orientation of the sensor at the current `VRPose.timestamp`,
a quarternion value.

`var myOrientation = VRPose.orientation;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation`
sourceraw docstring

positioncljs

(position this)

Property.

The position read-only property of the web.vr.VRPose interface the position of the web.media.VRDisplay at the current VRPose.timestamp a 3D vector.

var myPosition = VRPose.position;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position

Property.

The position read-only property of the `web.vr.VRPose` interface
the position of the `web.media.VRDisplay` at the current `VRPose.timestamp`
a 3D vector.

`var myPosition = VRPose.position;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position`
sourceraw docstring

set-angular-acceleration!cljs

(set-angular-acceleration! this val)

Property.

The angularAcceleration read-only property of the web.vr.VRPose returns an array representing the angular acceleration vector the web.media.VRDisplay at the current VRPose.timestamp, meters per second per second.

var myAngularAcceleration = VRPose.angularAcceleration;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration

Property.

The angularAcceleration read-only property of the `web.vr.VRPose`
returns an array representing the angular acceleration vector
the `web.media.VRDisplay` at the current `VRPose.timestamp`,
meters per second per second.

`var myAngularAcceleration = VRPose.angularAcceleration;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration`
sourceraw docstring

set-angular-velocity!cljs

(set-angular-velocity! this val)

Property.

The angularVelocity read-only property of the web.vr.VRPose returns an array representing the angular velocity vector of web.media.VRDisplay at the current VRPose.timestamp, in radians second.

var myAngularVelocity = VRPose.angularVelocity;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity

Property.

The angularVelocity read-only property of the `web.vr.VRPose`
returns an array representing the angular velocity vector of
`web.media.VRDisplay` at the current `VRPose.timestamp`, in radians
second.

`var myAngularVelocity = VRPose.angularVelocity;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity`
sourceraw docstring

set-has-orientation!cljs

(set-has-orientation! this val)

Property.

The hasOrientation read-only property of the VRPositionState returns a boolean indicating whether the VRPositionState.orientation is valid (i.e. if the hardware is currently registering a valid If it is false, the orientation property will return null.

var myHasOrientation = VRPositionState.hasOrientation;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/hasOrientation

Property.

The hasOrientation read-only property of the `VRPositionState`
returns a boolean indicating whether the `VRPositionState.orientation`
is valid (i.e. if the hardware is currently registering a valid
If it is false, the orientation property will return null.

`var myHasOrientation = VRPositionState.hasOrientation;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/hasOrientation`
sourceraw docstring

set-has-position!cljs

(set-has-position! this val)

Property.

The hasPosition read-only property of the VRPositionState interface a boolean indicating whether the VRPositionState.position property valid (i.e. if the hardware is currently registering a valid If it is false, the position property will return null.

var myHasPosition = VRPositionState.hasPosition;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/hasPosition

Property.

The hasPosition read-only property of the `VRPositionState` interface
a boolean indicating whether the `VRPositionState.position` property
valid (i.e. if the hardware is currently registering a valid
If it is false, the position property will return null.

`var myHasPosition = VRPositionState.hasPosition;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/hasPosition`
sourceraw docstring

set-linear-acceleration!cljs

(set-linear-acceleration! this val)

Property.

The linearAcceleration read-only property of the web.vr.VRPose returns an array representing the linear acceleration vector the web.media.VRDisplay at the current VRPose.timestamp, meters per second per second.

var myLinearAcceleration = VRPose.linearAcceleration;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration

Property.

The linearAcceleration read-only property of the `web.vr.VRPose`
returns an array representing the linear acceleration vector
the `web.media.VRDisplay` at the current `VRPose.timestamp`,
meters per second per second.

`var myLinearAcceleration = VRPose.linearAcceleration;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration`
sourceraw docstring

set-linear-velocity!cljs

(set-linear-velocity! this val)

Property.

The linearVelocity read-only property of the web.vr.VRPose returns an array representing the linear velocity vector of the at the current VRPose.timestamp, in meters per second.

var myLinearVelocity = VRPose.linearVelocity;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity

Property.

The linearVelocity read-only property of the `web.vr.VRPose`
returns an array representing the linear velocity vector of the
at the current `VRPose.timestamp`, in meters per second.

`var myLinearVelocity = VRPose.linearVelocity;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity`
sourceraw docstring

set-orientation!cljs

(set-orientation! this val)

Property.

The orientation read-only property of the VRPositionState interface the orientation of the sensor at the current VRPose.timestamp, a quarternion value.

var myOrientation = VRPose.orientation;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation

Property.

The orientation read-only property of the `VRPositionState` interface
the orientation of the sensor at the current `VRPose.timestamp`,
a quarternion value.

`var myOrientation = VRPose.orientation;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation`
sourceraw docstring

set-position!cljs

(set-position! this val)

Property.

The position read-only property of the web.vr.VRPose interface the position of the web.media.VRDisplay at the current VRPose.timestamp a 3D vector.

var myPosition = VRPose.position;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position

Property.

The position read-only property of the `web.vr.VRPose` interface
the position of the `web.media.VRDisplay` at the current `VRPose.timestamp`
a 3D vector.

`var myPosition = VRPose.position;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position`
sourceraw docstring

set-timestamp!cljs

(set-timestamp! this val)

Property.

The timestamp read-only property of the web.vr.VRPose interface the current time stamp of the system — a monotonically increasing representing the time since the current app was started.

var myTimeStamp = VRPose.timestamp;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/timeStamp

Property.

The timestamp read-only property of the `web.vr.VRPose` interface
the current time stamp of the system — a monotonically increasing
representing the time since the current app was started.

`var myTimeStamp = VRPose.timestamp;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/timeStamp`
sourceraw docstring

timestampcljs

(timestamp this)

Property.

The timestamp read-only property of the web.vr.VRPose interface the current time stamp of the system — a monotonically increasing representing the time since the current app was started.

var myTimeStamp = VRPose.timestamp;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRPose/timeStamp

Property.

The timestamp read-only property of the `web.vr.VRPose` interface
the current time stamp of the system — a monotonically increasing
representing the time since the current app was started.

`var myTimeStamp = VRPose.timestamp;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/timeStamp`
sourceraw docstring

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

× close