Search Results for

    Show / Hide Table of Contents

    Class OpenXRVector2InputAction

    Represent a Vector2 OpenXR of type XR_ACTION_TYPE_VECTOR2F_INPUT.

    Inheritance
    object
    DisposableObject
    OpenXRAction
    OpenXRAction<Vector2>
    OpenXRInputAction<Vector2>
    OpenXRVector2InputAction
    Inherited Members
    OpenXRAction.ActionName
    OpenXRAction.LocalizedActionName
    OpenXRAction.OpenXRPlatform
    OpenXRAction.Action
    OpenXRAction.ActionType
    OpenXRAction.IsActive
    OpenXRAction.Destroy()
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.OpenXR.InputTracking.Actions
    Assembly: Evergine.OpenXR.dll
    Syntax
    public class OpenXRVector2InputAction : OpenXRInputAction<Vector2>

    Constructors

    OpenXRVector2InputAction(OpenXRPlatform, XrActionSet, ulong[], string, string)

    Initializes a new instance of the OpenXRVector2InputAction class.

    Declaration
    public OpenXRVector2InputAction(OpenXRPlatform openXRPlatform, XrActionSet xrActionSet, ulong[] subActionPaths, string actionName, string localizedActionName)
    Parameters
    Type Name Description
    OpenXRPlatform openXRPlatform

    The OpenXR platform.

    XrActionSet xrActionSet

    The openXR actionset.

    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 Vector2 GetValue(uint subActionPathIdx)
    Parameters
    Type Name Description
    uint subActionPathIdx

    The subAction index.

    Returns
    Type Description
    Vector2

    The action value.

    Overrides
    OpenXRInputAction<Vector2>.GetValue(uint)

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX