Package com.jme3.input.vr
Class AnalogActionState
java.lang.Object
com.jme3.input.vr.AnalogActionState
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal floatThe change in the X coordinate since the last framefinal floatThe change in the Y coordinate since the last framefinal floatThe change in the Z coordinate since the last framefinal floatThe X coordinate of the analog data (typically between -1 and 1 for joystick coordinates or 0 and 1 for trigger pulls)final floatThe 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 floatThe 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 SummaryConstructorsConstructorDescriptionAnalogActionState(float x, float y, float z, float deltaX, float deltaY, float deltaZ) 
- 
Method Summary
- 
Field Details- 
xpublic final float xThe X coordinate of the analog data (typically between -1 and 1 for joystick coordinates or 0 and 1 for trigger pulls)
- 
ypublic 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
- 
zpublic 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
- 
deltaXpublic final float deltaXThe change in the X coordinate since the last frame
- 
deltaYpublic final float deltaYThe change in the Y coordinate since the last frame
- 
deltaZpublic final float deltaZThe change in the Z coordinate since the last frame
 
- 
- 
Constructor Details- 
AnalogActionStatepublic AnalogActionState(float x, float y, float z, float deltaX, float deltaY, float deltaZ) 
 
-