Search Results for

    Show / Hide Table of Contents

    Struct SpatialState

    This class represent the current state of the input system.

    Namespace: Evergine.Framework.XR.Interaction
    Assembly: Evergine.Framework.dll
    Syntax
    public struct SpatialState

    Fields

    Handedness

    Gets Left or Right controller.

    Declaration
    public XRHandedness Handedness
    Field Value
    Type Description
    XRHandedness

    IsDetected

    Gets a value indicating whether the input source is detected.

    Declaration
    public bool IsDetected
    Field Value
    Type Description
    bool

    IsGraspPressed

    Gets a value indicating whether grasp button is pressed or not.

    Declaration
    public bool IsGraspPressed
    Field Value
    Type Description
    bool

    IsMenuPressed

    Gets a value indicating whether menu button is pressed or not.

    Declaration
    public bool IsMenuPressed
    Field Value
    Type Description
    bool

    IsSelectTriggerPressed

    Gets a value indicating whether menu button is pressed or not.

    Declaration
    public bool IsSelectTriggerPressed
    Field Value
    Type Description
    bool

    IsSelected

    Gets a value indicating whether gets a value indicating whether user is making the air tap gesture.

    Declaration
    public bool IsSelected
    Field Value
    Type Description
    bool

    IsThumbstickPressed

    Gets a value indicating whether ThumbStick is pressed or not.

    Declaration
    public bool IsThumbstickPressed
    Field Value
    Type Description
    bool

    IsTouchpadPressed

    Gets a value indicating whether TouchPad is pressed or not.

    Declaration
    public bool IsTouchpadPressed
    Field Value
    Type Description
    bool

    IsTouchpadTouched

    Gets a value indicating whether TouchPad is touched or not.

    Declaration
    public bool IsTouchpadTouched
    Field Value
    Type Description
    bool

    Kind

    Gets the kind of an interaction source.

    Declaration
    public SpatialSource Kind
    Field Value
    Type Description
    SpatialSource

    Orientation

    Gets the Orientation of a hand or controller.

    Declaration
    public Quaternion Orientation
    Field Value
    Type Description
    Quaternion

    Position

    Gets the position of a hand or controller.

    Declaration
    public Vector3 Position
    Field Value
    Type Description
    Vector3

    SelectTriggerValue

    Gets the select trigger value.

    Declaration
    public float SelectTriggerValue
    Field Value
    Type Description
    float

    SourceLossRisk

    Gets the recognition confident as a value from 0.0 to 1.0.

    Declaration
    public float SourceLossRisk
    Field Value
    Type Description
    float

    Thumbstick

    Gets ThumbStick X,Y values.

    Declaration
    public Vector2 Thumbstick
    Field Value
    Type Description
    Vector2

    TipControllerForward

    Gets the tip of controller forward.

    Declaration
    public Vector3 TipControllerForward
    Field Value
    Type Description
    Vector3

    TipControllerPosition

    Gets the tip of controller position.

    Declaration
    public Vector3 TipControllerPosition
    Field Value
    Type Description
    Vector3

    Touchpad

    Gets TouchPad X,Y values.

    Declaration
    public Vector2 Touchpad
    Field Value
    Type Description
    Vector2

    Velocity

    Gets the velocity of a hand or controller.

    Declaration
    public Vector3 Velocity
    Field Value
    Type Description
    Vector3

    Extension Methods

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