GamepadPose.hasOrientation

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The hasOrientation read-only property of the GamepadPose interface returns a Boolean stating whether the Gamepad can track and return orientation information.

Syntax

var hasItGotOrientation = gamepadPoseInstance.hasOrientation;

Value

A Boolean.

Examples

TBD

Specifications

Specification Status Comment
Gamepad Extensions
The definition of 'hasOrientation' in that specification.
Editor's Draft Initial definition

Browser compatibility

BCD tables only load in the browser

See also