HandednessExtensions.GetOppositeHandedness(Handedness) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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