HandednessExtensions.GetOppositeHandedness Method

Definition

Overloads

GetOppositeHandedness(Handedness)

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

GetOppositeHandedness(Handedness)

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

GetOppositeHandedness(Handedness)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::MixedReality::Toolkit::Handedness GetOppositeHandedness(Microsoft::MixedReality::Toolkit::Handedness current);
public static Microsoft.MixedReality.Toolkit.Handedness GetOppositeHandedness (this Microsoft.MixedReality.Toolkit.Handedness current);
static member GetOppositeHandedness : Microsoft.MixedReality.Toolkit.Handedness -> Microsoft.MixedReality.Toolkit.Handedness
<Extension()>
Public Function GetOppositeHandedness (current As Handedness) As Handedness

Parameters

current
Handedness

Returns

Handedness

Remarks

If Left, returns Right, if Right, returns Left otherwise returns None. Otherwise, returns None

Applies to

GetOppositeHandedness(Handedness)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::MixedReality::Toolkit::Utilities::Handedness GetOppositeHandedness(Microsoft::MixedReality::Toolkit::Utilities::Handedness current);
public static Microsoft.MixedReality.Toolkit.Utilities.Handedness GetOppositeHandedness (this Microsoft.MixedReality.Toolkit.Utilities.Handedness current);
static member GetOppositeHandedness : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> Microsoft.MixedReality.Toolkit.Utilities.Handedness
<Extension()>
Public Function GetOppositeHandedness (current As Handedness) As Handedness

Parameters

current
Handedness

Returns

Handedness

Remarks

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

Applies to