GamepadPose object

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

The GamepadPose object defines the gamepad's position, orientation, velocity, and acceleration. See the W3C Gamepad Extensions specification for more information.

DOM Information

Inheritance Hierarchy

The GamepadPose does not inherit from any class or interface.

Members

The GamepadPose object has these types of members:

Properties

The GamepadPose object has these properties.

PropertyAccess typeDescription

angularAcceleration

Read-only

The angularAcceleration property represents the angular acceleration of the gamepad measured in meters per second.

angularVelocity

Read-only

The angularVelocity property represents the angular velocity of the gamepad measured in meters per second.

hasOrientation

Read-only

The hasOrientation property returns whether the gamepad is capable of tracking its orientation.

hasPosition

Read-only

The hasPosition property returns whether the gamepad is capable of tracking its position.

linearAcceleration

Read-only

The linearAcceleration property represents the linear acceleration of the gamepad measured in meters per second.

linearVelocity

Read-only

The linearVelocity property represents the linear velocity of the gamepad measured in meters per second.

orientation

Read-only

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

position

Read-only

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

 

 

 

Show: