@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="GamepadPose")
public class GamepadPose
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
GamepadPose() |
| Modifier and Type | Method and Description |
|---|---|
Float32Array |
angularAcceleration()
The angularAcceleration read-only property of the GamepadPose interface returns an array representing the angular acceleration vector of the Gamepad, in meters per second per second.
|
Float32Array |
angularVelocity()
The angularVelocity read-only property of the GamepadPose interface returns an array representing the angular velocity vector of the Gamepad, in radians per second.
|
boolean |
hasOrientation()
The hasOrientation read-only property of the GamepadPose interface returns a Boolean stating whether the Gamepad can track and return orientation information.
|
boolean |
hasPosition()
The hasPosition read-only property of the GamepadPose interface returns a Boolean stating whether the Gamepad can track and return position information.
|
Float32Array |
linearAcceleration()
The linearAcceleration read-only property of the GamepadPose interface returns an array representing the linear acceleration vector of the Gamepad, in meters per second per second.
|
Float32Array |
linearVelocity()
The linearVelocity read-only property of the GamepadPose interface returns an array representing the linear velocity vector of the Gamepad, in meters per second.
|
Float32Array |
orientation()
The orientation read-only property of the GamepadPose interface returns the orientation of the Gamepad, as a quarternion value.
|
Float32Array |
position()
The position read-only property of the GamepadPose interface returns the position of the Gamepad as a 3D vector.
|
@JsProperty(name="angularAcceleration") @Nullable public Float32Array angularAcceleration()
@JsProperty(name="angularVelocity") @Nullable public Float32Array angularVelocity()
@JsProperty(name="hasOrientation") public boolean hasOrientation()
@JsProperty(name="hasPosition") public boolean hasPosition()
@JsProperty(name="linearAcceleration") @Nullable public Float32Array linearAcceleration()
@JsProperty(name="linearVelocity") @Nullable public Float32Array linearVelocity()
@JsProperty(name="orientation") @Nullable public Float32Array orientation()
@JsProperty(name="position") @Nullable public Float32Array position()