Class AnalogActionState

java.lang.Object
com.jme3.input.vr.AnalogActionState

public class AnalogActionState extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final float
    The change in the X coordinate since the last frame
    final float
    The change in the Y coordinate since the last frame
    final float
    The change in the Z coordinate since the last frame
    final 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 dimensions
    final 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

    Constructors
    Constructor
    Description
    AnalogActionState(float x, float y, float z, float deltaX, float deltaY, float deltaZ)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public final float x
      The 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 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
    • z

      public final 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
    • deltaX

      public final float deltaX
      The change in the X coordinate since the last frame
    • deltaY

      public final float deltaY
      The change in the Y coordinate since the last frame
    • deltaZ

      public final float deltaZ
      The 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)