Search Results for

    Show / Hide Table of Contents

    Class OpenXRButtonStateInputAction

    Represent a boolean OpenXR of type XR_ACTION_TYPE_BOOLEAN_INPUT mapped using a ButtonState.

    Inheritance
    object
    DisposableObject
    OpenXRAction
    OpenXRAction<ButtonState>
    OpenXRInputAction<ButtonState>
    OpenXRButtonStateInputAction
    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 OpenXRButtonStateInputAction : OpenXRInputAction<ButtonState>

    Constructors

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

    Initializes a new instance of the OpenXRButtonStateInputAction class.

    Declaration
    public OpenXRButtonStateInputAction(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 ButtonState GetValue(uint subActionPathIdx)
    Parameters
    Type Name Description
    uint subActionPathIdx

    The subAction index.

    Returns
    Type Description
    ButtonState

    The action value.

    Overrides
    OpenXRInputAction<ButtonState>.GetValue(uint)

    Extension Methods

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