Package gaiasky.vr.openxr.input.actions
Class Action
java.lang.Object
gaiasky.vr.openxr.input.actions.Action
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
HapticsAction
,PoseAction
,SingleInputAction
-
Field Summary
Modifier and TypeFieldDescriptionprotected final XrControllerDevice
protected org.lwjgl.openxr.XrAction
final String
final String
final int
-
Constructor Summary
ConstructorDescriptionAction
(String name, String localizedName, int type, XrControllerDevice device) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected org.lwjgl.openxr.XrAction
createAction
(XrDriver driver, org.lwjgl.openxr.XrActionSet actionSet, int type) void
createHandle
(org.lwjgl.openxr.XrActionSet actionSet, XrDriver driver) void
org.lwjgl.openxr.XrAction
-
Field Details
-
handle
protected org.lwjgl.openxr.XrAction handle -
name
-
localizedName
-
xrActionType
public final int xrActionType -
controllerDevice
-
-
Constructor Details
-
Action
-
-
Method Details
-
createHandle
-
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 interfaceAutoCloseable
-
getControllerDevice
-
getDeviceType
-