mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class HandednessExtensions

    Handedness type method extensions.

    Inheritance
    Object
    HandednessExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    public static class HandednessExtensions

    Methods

    GetOppositeHandedness(Handedness)

    Gets the opposite "hand" flag for the current Handedness value.

    Declaration
    public static Handedness GetOppositeHandedness(this Handedness current)
    Parameters
    Type Name Description
    Handedness current
    Returns
    Type Description
    Handedness
    Remarks

    If current = Left, returns Right. If current = Right, returns Left. Otherwise, returns None

    GetOppositeHandedness(Handedness)

    Gets the opposite "hand" flag for the current Handedness value.

    Declaration
    public static Handedness GetOppositeHandedness(this Handedness current)
    Parameters
    Type Name Description
    Handedness current
    Returns
    Type Description
    Handedness
    Remarks

    If current = Left, returns Right. If current = Right, returns Left. Otherwise, returns None

    IsLeft(Handedness)

    Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise

    Declaration
    public static bool IsLeft(this Handedness current)
    Parameters
    Type Name Description
    Handedness current
    Returns
    Type Description
    Boolean

    IsLeft(Handedness)

    Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise

    Declaration
    public static bool IsLeft(this Handedness current)
    Parameters
    Type Name Description
    Handedness current
    Returns
    Type Description
    Boolean

    IsMatch(Handedness, Handedness)

    Returns true if the current Handedness flags are a match with the comparison Handedness flags, false otherwise

    Declaration
    public static bool IsMatch(this Handedness current, Handedness compare)
    Parameters
    Type Name Description
    Handedness current
    Handedness compare
    Returns
    Type Description
    Boolean

    IsMatch(Handedness, Handedness)

    Returns true if the current Handedness flags are a match with the comparison Handedness flags, false otherwise

    Declaration
    public static bool IsMatch(this Handedness current, Handedness compare)
    Parameters
    Type Name Description
    Handedness current
    Handedness compare
    Returns
    Type Description
    Boolean

    IsNone(Handedness)

    Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise

    Declaration
    public static bool IsNone(this Handedness current)
    Parameters
    Type Name Description
    Handedness current
    Returns
    Type Description
    Boolean

    IsNone(Handedness)

    Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise

    Declaration
    public static bool IsNone(this Handedness current)
    Parameters
    Type Name Description
    Handedness current
    Returns
    Type Description
    Boolean

    IsRight(Handedness)

    Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise

    Declaration
    public static bool IsRight(this Handedness current)
    Parameters
    Type Name Description
    Handedness current
    Returns
    Type Description
    Boolean

    IsRight(Handedness)

    Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise

    Declaration
    public static bool IsRight(this Handedness current)
    Parameters
    Type Name Description
    Handedness current
    Returns
    Type Description
    Boolean
    In This Article
    • Methods
      • GetOppositeHandedness(Handedness)
      • GetOppositeHandedness(Handedness)
      • IsLeft(Handedness)
      • IsLeft(Handedness)
      • IsMatch(Handedness, Handedness)
      • IsMatch(Handedness, Handedness)
      • IsNone(Handedness)
      • IsNone(Handedness)
      • IsRight(Handedness)
      • IsRight(Handedness)
    Back to top Generated by DocFX