Class UpdateTypesExtensions
Extension methods to check if a flag is set in the XRHandTrackingEvents.UpdateTypes enum.
Inherited Members
Namespace: UnityEngine.XR.Hands
Syntax
public static class UpdateTypesExtensions
Methods
IsSet(XRHandTrackingEvents.UpdateTypes, XRHandTrackingEvents.UpdateTypes)
Checks if the specific flag is set in this flags enum.
Declaration
public static bool IsSet(this XRHandTrackingEvents.UpdateTypes self, XRHandTrackingEvents.UpdateTypes flag)
Parameters
Type | Name | Description |
---|---|---|
XRHandTrackingEvents.UpdateTypes | self | The flags. |
XRHandTrackingEvents.UpdateTypes | flag | The flag to check for. |
Returns
Type | Description |
---|---|
Boolean | Returns true if the flag is set in this flags enum. |