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