Package com.jme3.input.vr
Class AnalogActionState
java.lang.Object
com.jme3.input.vr.AnalogActionState
-
Field Summary
Modifier and TypeFieldDescriptionfinal float
The change in the X coordinate since the last framefinal float
The change in the Y coordinate since the last framefinal float
The change in the Z coordinate since the last framefinal float
The X coordinate of the analog data (typically between -1 and 1 for joystick coordinates or 0 and 1 for trigger pulls)final float
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 dimensionsfinal float
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 Summary
ConstructorDescriptionAnalogActionState
(float x, float y, float z, float deltaX, float deltaY, float deltaZ) -
Method Summary
-
Field Details
-
x
public final float xThe X coordinate of the analog data (typically between -1 and 1 for joystick coordinates or 0 and 1 for trigger pulls) -
y
public final float yThe 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 -
z
public final float zThe 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 -
deltaX
public final float deltaXThe change in the X coordinate since the last frame -
deltaY
public final float deltaYThe change in the Y coordinate since the last frame -
deltaZ
public final float deltaZThe change in the Z coordinate since the last frame
-
-
Constructor Details
-
AnalogActionState
public AnalogActionState(float x, float y, float z, float deltaX, float deltaY, float deltaZ)
-