pose property

[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 pose property returns the current pose of the gamepad.

This property is read-only.

Syntax

JavaScript
pose = object.pose

 

Property values

Type: GamepadPose

Current pose of the gamepad. A value of null will be set if the hardware can't supply pose values.

Remarks

Includes position, orientation, velocity, and acceleration information.

See also

Gamepad

 

 

Show: