Class Action

java.lang.Object
gaiasky.vr.openxr.input.actions.Action
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
HapticsAction, PoseAction, SingleInputAction

public abstract class Action extends Object implements AutoCloseable
  • Field Details

    • handle

      protected org.lwjgl.openxr.XrAction handle
    • name

      public final String name
    • localizedName

      public final String localizedName
    • xrActionType

      public final int xrActionType
    • controllerDevice

      protected final XrControllerDevice controllerDevice
  • Constructor Details

  • Method Details

    • createHandle

      public void createHandle(org.lwjgl.openxr.XrActionSet actionSet, XrDriver driver)
    • createAction

      protected org.lwjgl.openxr.XrAction createAction(XrDriver driver, org.lwjgl.openxr.XrActionSet actionSet, int type)
    • getHandle

      public org.lwjgl.openxr.XrAction getHandle()
    • destroyHandle

      public void destroyHandle()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getControllerDevice

      public XrControllerDevice getControllerDevice()
    • getDeviceType

      public XrControllerDevice.DeviceType getDeviceType()