Class OpenXRAction
Represents an OpenXR action.
Inherited Members
Namespace: Evergine.OpenXR.InputTracking.Actions
Assembly: Evergine.OpenXR.dll
Syntax
public abstract class OpenXRAction : DisposableObject
Constructors
OpenXRAction(OpenXRPlatform, XrActionSet, XrActionType, ulong[], string, string)
Initializes a new instance of the OpenXRAction class.
Declaration
public OpenXRAction(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. |
Fields
Action
The OpenXR action.
Declaration
public readonly XrAction Action
Field Value
| Type | Description |
|---|---|
| XrAction |
ActionName
The action name.
Declaration
public readonly string ActionName
Field Value
| Type | Description |
|---|---|
| string |
ActionType
The OpenXR action type.
Declaration
public readonly XrActionType ActionType
Field Value
| Type | Description |
|---|---|
| XrActionType |
IsActive
Indicates the activation state for each user path.
Declaration
public bool[] IsActive
Field Value
| Type | Description |
|---|---|
| bool[] |
LocalizedActionName
Gets the localized action name.
Declaration
public readonly string LocalizedActionName
Field Value
| Type | Description |
|---|---|
| string |
OpenXRPlatform
Access to the OpenXR Platform.
Declaration
public readonly OpenXRPlatform OpenXRPlatform
Field Value
| Type | Description |
|---|---|
| OpenXRPlatform |
Methods
Destroy()
Destroys all resources of this instance.
Declaration
protected override void Destroy()