Edytuj

Udostępnij za pośrednictwem


HandednessExtensions.GetOppositeHandedness(Handedness) Method

Definition

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

Remarks

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

Applies to