Class OpenXRInputAction<T>
Represents a typed input action.
Inherited Members
Namespace: Evergine.OpenXR.InputTracking.Actions
Assembly: Evergine.OpenXR.dll
Syntax
public abstract class OpenXRInputAction<T> : OpenXRAction<T>
Type Parameters
Name | Description |
---|---|
T | The type of the action result. |
Constructors
OpenXRInputAction(OpenXRPlatform, XrActionSet, XrActionType, ulong[], string, string)
Initializes a new instance of the OpenXRInputAction<T> class.
Declaration
public OpenXRInputAction(OpenXRPlatform openXRPlatform, XrActionSet xrActionSet, XrActionType xrActionType, ulong[] subActionPaths, string actionName, string localizedActionName)
Parameters
Type | Name | Description |
---|---|---|
OpenXRPlatform | openXRPlatform | The OpenXR platform. |
XrActionSet | xrActionSet | The OpenXR action set. |
XrActionType | xrActionType | The action type. |
ulong[] | subActionPaths | The sub-action paths for this action. |
string | actionName | The action name. |
string | localizedActionName | The localized action name. |
Methods
GetValue(uint)
Gets the action value.
Declaration
public abstract T GetValue(uint subActionPathIdx)
Parameters
Type | Name | Description |
---|---|---|
uint | subActionPathIdx | The sub-action index. |
Returns
Type | Description |
---|---|
T | The action value. |