docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MagicLeapKeyPoseGestureEvent

    The event data related to a Magic Leap KeyPose gesture

    Implements
    IEquatable<MagicLeapKeyPoseGestureEvent>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.MagicLeap
    Assembly: UnityEngine.XR.MagicLeap.dll
    Syntax
    public struct MagicLeapKeyPoseGestureEvent : IEquatable<MagicLeapKeyPoseGestureEvent>

    Constructors

    MagicLeapKeyPoseGestureEvent(GestureId, GestureState, MagicLeapKeyPose, MagicLeapHand)

    Constructs a new MagicLeapKeyPoseGestureEvent.

    Declaration
    public MagicLeapKeyPoseGestureEvent(GestureId id, GestureState state, MagicLeapKeyPose keyPose, MagicLeapHand hand)
    Parameters
    Type Name Description
    GestureId id

    The GestureId associated with the gesture.

    GestureState state

    The GestureId associated with the gesture.

    MagicLeapKeyPose keyPose

    The MagicLeapKeyPose associated with the gesture.

    MagicLeapHand hand

    The MagicLeapHand associated with the gesture.

    Properties

    hand

    The MagicLeapHand of the gesture.

    Declaration
    public MagicLeapHand hand { get; }
    Property Value
    Type Description
    MagicLeapHand

    id

    The GestureId associated with this gesture.

    Declaration
    public GestureId id { get; }
    Property Value
    Type Description
    GestureId

    keyPose

    The MagicLeapKeyPose of the gesture.

    Declaration
    public MagicLeapKeyPose keyPose { get; }
    Property Value
    Type Description
    MagicLeapKeyPose

    state

    The state of the gesture.

    Declaration
    public GestureState state { get; }
    Property Value
    Type Description
    GestureState

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    Equals(MagicLeapKeyPoseGestureEvent)

    Declaration
    public bool Equals(MagicLeapKeyPoseGestureEvent other)
    Parameters
    Type Name Description
    MagicLeapKeyPoseGestureEvent other
    Returns
    Type Description
    bool

    GetDefault()

    Gets a default-initialized MagicLeapKeyPoseGestureEvent.

    Declaration
    public static MagicLeapKeyPoseGestureEvent GetDefault()
    Returns
    Type Description
    MagicLeapKeyPoseGestureEvent

    A default MagicLeapKeyPoseGestureEvent.

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Generates a new string describing the gestures's properties suitable for debugging purposes.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string describing the gestures's properties.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(MagicLeapKeyPoseGestureEvent, MagicLeapKeyPoseGestureEvent)

    Declaration
    public static bool operator ==(MagicLeapKeyPoseGestureEvent lhs, MagicLeapKeyPoseGestureEvent rhs)
    Parameters
    Type Name Description
    MagicLeapKeyPoseGestureEvent lhs
    MagicLeapKeyPoseGestureEvent rhs
    Returns
    Type Description
    bool

    operator !=(MagicLeapKeyPoseGestureEvent, MagicLeapKeyPoseGestureEvent)

    Declaration
    public static bool operator !=(MagicLeapKeyPoseGestureEvent lhs, MagicLeapKeyPoseGestureEvent rhs)
    Parameters
    Type Name Description
    MagicLeapKeyPoseGestureEvent lhs
    MagicLeapKeyPoseGestureEvent rhs
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)