Class XrActionStateVector2f

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XrActionStateVector2f extends Struct<XrActionStateVector2f> implements NativeResource
struct XrActionStateVector2f {
    XrStructureType type;
    void * next;
    XrVector2f currentState;
    XrBool32 changedSinceLastSync;
    XrTime lastChangeTime;
    XrBool32 isActive;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • TYPE

      public static final int TYPE
      The struct member offsets.
    • NEXT

      public static final int NEXT
      The struct member offsets.
    • CURRENTSTATE

      public static final int CURRENTSTATE
      The struct member offsets.
    • CHANGEDSINCELASTSYNC

      public static final int CHANGEDSINCELASTSYNC
      The struct member offsets.
    • LASTCHANGETIME

      public static final int LASTCHANGETIME
      The struct member offsets.
    • ISACTIVE

      public static final int ISACTIVE
      The struct member offsets.
  • Constructor Details

    • XrActionStateVector2f

      public XrActionStateVector2f(ByteBuffer container)
      Creates a XrActionStateVector2f instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details