Class OpenXRFloatInputAction
Represents a boolean OpenXR of type XR_ACTION_TYPE_FLOAT_INPUT.
Inheritance
OpenXRFloatInputAction
Inherited Members
Namespace: Evergine.OpenXR.InputTracking.Actions
Assembly: Evergine.OpenXR.dll
Syntax
public class OpenXRFloatInputAction : OpenXRInputAction<float>
Constructors
OpenXRFloatInputAction(OpenXRPlatform, XrActionSet, ulong[], string, string)
Initializes a new instance of the OpenXRFloatInputAction class.
Declaration
public OpenXRFloatInputAction(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 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 override float GetValue(uint subActionPathIdx)
Parameters
Type | Name | Description |
---|---|---|
uint | subActionPathIdx | The sub-action index. |
Returns
Type | Description |
---|---|
float | The action value. |