Class OpenXROutputAction<T>
Represents an output action.
Inherited Members
Namespace: Evergine.OpenXR.InputTracking.Actions
Assembly: Evergine.OpenXR.dll
Syntax
public abstract class OpenXROutputAction<T> : OpenXRAction<T>
Type Parameters
| Name | Description |
|---|---|
| T | The output type. |
Constructors
OpenXROutputAction(OpenXRPlatform, XrActionSet, XrActionType, ulong[], string, string)
Initializes a new instance of the OpenXROutputAction<T> class.
Declaration
public OpenXROutputAction(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
SetValue(T)
Sets the output value of the action.
Declaration
public abstract bool SetValue(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value to set. |
Returns
| Type | Description |
|---|---|
| bool | Indicates whether the action has been completed successfully. |