HandednessExtensions Class
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.
Extension methods that make working with the Handedness enum easier.
public static class HandednessExtensions
type HandednessExtensions = class
Public Module HandednessExtensions
- Inheritance
-
HandednessExtensions
Methods
| Name | Description |
|---|---|
| GetOppositeHandedness(Handedness) |
Gets the opposite "hand" flag for the current Handedness value. |
| IsLeft(Handedness) |
Obsolete.
Checks whether or not the current Handedness value is Left. |
| IsMatch(Handedness, Handedness) |
Checks whether or not the current Handedness value matches the specified value. |
| IsNone(Handedness) |
Obsolete.
Checks whether or not the current Handedness value is None. |
| IsRight(Handedness) |
Obsolete.
Checks whether or not the current Handedness value is Right. |
| ToXRNode(Handedness) |
Gets the UnityEngine.XR.XRNode representing the specified handedness. If the Handedness
flags include both Left and Right, returns |