Partager via


VRPose object

The VRPose interface represents a sensor’s state at a given timestamp.

Syntax

 var pose = new VRPose(); 

Members

The VRPose object has these types of members:

  • Properties

Properties

The VRPose object has these properties.

Property Access type Description

angularAcceleration

Read-only

The angularAcceleration property represents the angular acceleration of the sensor given in radians per second squared.

angularVelocity

Read-only

The angularVelocity property represents the angular velocity of the sensor given in radians per second.

linearAcceleration

Read-only

The linearAcceleration property represents the linear acceleration of the sensor given in meters per second squared.

linearVelocity

Read-only

The linearVelocity property represents the linear velocity of the sensor given in meters per second.

orientation

Read-only

The orientation property represents the orientation of a sensor as a quaternion.

position

Read-only

The position property represents the position of the VRDisplay as a 3D vector given in meters from an origin point.

timestamp

Read-only

The timestamp property represents the timestamp of a sensor's state.