Читати англійською Редагувати

Поділитися через


HandednessExtensions Class

Definition

Handedness type method extensions.

C++
public ref class HandednessExtensions abstract sealed
Inheritance
HandednessExtensions

Methods

GetOppositeHandedness(Handedness)

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

IsLeft(Handedness)

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

IsMatch(Handedness, Handedness)

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

IsNone(Handedness)

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

IsRight(Handedness)

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

Applies to

Продукт Версії
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0