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.)
(angular-acceleration this)
Property.
The angularAcceleration read-only property of the vr.VRPose
returns an array representing the angular acceleration vector
the vr.VRDisplay
at the current vr.VRPose.timestamp
, in meters
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 `vr.VRPose` returns an array representing the angular acceleration vector the `vr.VRDisplay` at the current `vr.VRPose.timestamp`, in meters second per second. `var myAngularAcceleration = VRPose.angularAcceleration;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration`
(angular-velocity this)
Property.
The angularVelocity read-only property of the vr.VRPose
interface
an array representing the angular velocity vector of the vr.VRDisplay
the current vr.VRPose.timestamp
, in radians per 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 `vr.VRPose` interface an array representing the angular velocity vector of the `vr.VRDisplay` the current `vr.VRPose.timestamp`, in radians per second. `var myAngularVelocity = VRPose.angularVelocity;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity`
(has-orientation this)
Property.
The hasOrientation read-only property of the vr.VRPositionState
returns a boolean indicating whether the vr.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 `vr.VRPositionState` returns a boolean indicating whether the `vr.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`
(has-position this)
Property.
The hasPosition read-only property of the vr.VRPositionState
returns a boolean indicating whether the vr.VRPositionState.position
is 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 `vr.VRPositionState` returns a boolean indicating whether the `vr.VRPositionState.position` is 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`
(linear-acceleration this)
Property.
The linearAcceleration read-only property of the vr.VRPose
returns an array representing the linear acceleration vector
the vr.VRDisplay
at the current vr.VRPose.timestamp
, in meters
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 `vr.VRPose` returns an array representing the linear acceleration vector the `vr.VRDisplay` at the current `vr.VRPose.timestamp`, in meters second per second. `var myLinearAcceleration = VRPose.linearAcceleration;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration`
(linear-velocity this)
Property.
The linearVelocity read-only property of the vr.VRPose
interface
an array representing the linear velocity vector of the vr.VRDisplay
the current vr.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 `vr.VRPose` interface an array representing the linear velocity vector of the `vr.VRDisplay` the current `vr.VRPose.timestamp`, in meters per second. `var myLinearVelocity = VRPose.linearVelocity;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity`
(orientation this)
Property.
The orientation read-only property of the vr.VRPositionState
returns the orientation of the sensor at the current vr.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 `vr.VRPositionState` returns the orientation of the sensor at the current `vr.VRPose.timestamp`, a quarternion value. `var myOrientation = VRPose.orientation;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation`
(position this)
Property.
The position read-only property of the vr.VRPose
interface
the position of the vr.VRDisplay
at the current vr.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 `vr.VRPose` interface the position of the `vr.VRDisplay` at the current `vr.VRPose.timestamp` a 3D vector. `var myPosition = VRPose.position;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position`
(set-angular-acceleration! this val)
Property.
The angularAcceleration read-only property of the vr.VRPose
returns an array representing the angular acceleration vector
the vr.VRDisplay
at the current vr.VRPose.timestamp
, in meters
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 `vr.VRPose` returns an array representing the angular acceleration vector the `vr.VRDisplay` at the current `vr.VRPose.timestamp`, in meters second per second. `var myAngularAcceleration = VRPose.angularAcceleration;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration`
(set-angular-velocity! this val)
Property.
The angularVelocity read-only property of the vr.VRPose
interface
an array representing the angular velocity vector of the vr.VRDisplay
the current vr.VRPose.timestamp
, in radians per 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 `vr.VRPose` interface an array representing the angular velocity vector of the `vr.VRDisplay` the current `vr.VRPose.timestamp`, in radians per second. `var myAngularVelocity = VRPose.angularVelocity;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity`
(set-has-orientation! this val)
Property.
The hasOrientation read-only property of the vr.VRPositionState
returns a boolean indicating whether the vr.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 `vr.VRPositionState` returns a boolean indicating whether the `vr.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`
(set-has-position! this val)
Property.
The hasPosition read-only property of the vr.VRPositionState
returns a boolean indicating whether the vr.VRPositionState.position
is 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 `vr.VRPositionState` returns a boolean indicating whether the `vr.VRPositionState.position` is 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`
(set-linear-acceleration! this val)
Property.
The linearAcceleration read-only property of the vr.VRPose
returns an array representing the linear acceleration vector
the vr.VRDisplay
at the current vr.VRPose.timestamp
, in meters
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 `vr.VRPose` returns an array representing the linear acceleration vector the `vr.VRDisplay` at the current `vr.VRPose.timestamp`, in meters second per second. `var myLinearAcceleration = VRPose.linearAcceleration;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration`
(set-linear-velocity! this val)
Property.
The linearVelocity read-only property of the vr.VRPose
interface
an array representing the linear velocity vector of the vr.VRDisplay
the current vr.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 `vr.VRPose` interface an array representing the linear velocity vector of the `vr.VRDisplay` the current `vr.VRPose.timestamp`, in meters per second. `var myLinearVelocity = VRPose.linearVelocity;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity`
(set-orientation! this val)
Property.
The orientation read-only property of the vr.VRPositionState
returns the orientation of the sensor at the current vr.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 `vr.VRPositionState` returns the orientation of the sensor at the current `vr.VRPose.timestamp`, a quarternion value. `var myOrientation = VRPose.orientation;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation`
(set-position! this val)
Property.
The position read-only property of the vr.VRPose
interface
the position of the vr.VRDisplay
at the current vr.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 `vr.VRPose` interface the position of the `vr.VRDisplay` at the current `vr.VRPose.timestamp` a 3D vector. `var myPosition = VRPose.position;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position`
(set-timestamp! this val)
Property.
The timestamp read-only property of the 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 `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`
(timestamp this)
Property.
The timestamp read-only property of the 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 `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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close