public class AnalogActionState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
deltaX
The change in the X coordinate since the last frame
|
float |
deltaY
The change in the Y coordinate since the last frame
|
float |
deltaZ
The change in the Z coordinate since the last frame
|
float |
x
The X coordinate of the analog data (typically between -1 and 1 for joystick coordinates or 0 and 1 for
trigger pulls)
|
float |
y
The Y coordinate of the analog data (typically between -1 and 1)
Will be zero if the analog action doesn't have at least 2 dimensions
|
float |
z
The Z coordinate of the analog data (typically between -1 and 1)
Will be zero if the analog action doesn't have at least 3 dimensions
|
Constructor and Description |
---|
AnalogActionState(float x,
float y,
float z,
float deltaX,
float deltaY,
float deltaZ) |
public final float x
public final float y
public final float z
public final float deltaX
public final float deltaY
public final float deltaZ