GamepadPose

Experimental

これは原験įš„ãĒ抟čƒŊです。
æœŦį•ĒでäŊŋį”¨ã™ã‚‹å‰ãĢブナã‚Ļã‚ļãƒŧäē’換性一čĻ§čĄ¨ã‚’チェックしãĻください。

The GamepadPose interface of the Gamepad API represents the pose of a WebVR controller at a given timestamp (which includes orientation, position, velocity, and acceleration information.)

This interface is accessible through the Gamepad.pose property.

Properties

GamepadPose.hasOrientation čĒ­å–å°‚į”¨
Returns a boolean indicating whether the gamepad is capable of returning orientation information (true) or not (false).
GamepadPose.hasPosition čĒ­å–å°‚į”¨
Returns a boolean indicating whether the gamepad is capable of returning position information (true) or not (false).
GamepadPose.position čĒ­å–å°‚į”¨
Returns the position of the Gamepad as a 3D vector.
GamepadPose.linearVelocity čĒ­å–å°‚į”¨
Returns the linear velocity of the Gamepad, in meters per second.
GamepadPose.linearAcceleration čĒ­å–å°‚į”¨
Returns the linear acceleration of the Gamepad, in meters per second per second.
GamepadPose.orientation čĒ­å–å°‚į”¨
Returns the orientation of the Gamepad, as a quarternion value.
GamepadPose.angularVelocity čĒ­å–å°‚į”¨
Returns the angular velocity of the Gamepad, in radians per second.
GamepadPose.angularAcceleration čĒ­å–å°‚į”¨
Returns the angular acceleration of the Gamepad, in meters per second per second.

Examples

TBD.

Specifications

Specification Status Comment
Gamepad Extensions
GamepadPose ぎ厚įžŠ
įˇ¨é›†č€…č‰æĄˆ Initial definition

Browser compatibility

BCD tables only load in the browser

See also