編集

次の方法で共有


FlagsExtensions.IsMaskSet Method

Definition

Overloads

IsMaskSet(InputDeviceCharacteristics, InputDeviceCharacteristics)

Checks to determine if all bits in a provided mask are set.

IsMaskSet(TrackingOriginModeFlags, TrackingOriginModeFlags)

Checks to determine if all bits in a provided mask are set.

IsMaskSet(InputDeviceCharacteristics, InputDeviceCharacteristics)

Checks to determine if all bits in a provided mask are set.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsMaskSet(UnityEngine::XR::InputDeviceCharacteristics a, UnityEngine::XR::InputDeviceCharacteristics b);
public static bool IsMaskSet (this UnityEngine.XR.InputDeviceCharacteristics a, UnityEngine.XR.InputDeviceCharacteristics b);
static member IsMaskSet : UnityEngine.XR.InputDeviceCharacteristics * UnityEngine.XR.InputDeviceCharacteristics -> bool
<Extension()>
Public Function IsMaskSet (a As InputDeviceCharacteristics, b As InputDeviceCharacteristics) As Boolean

Parameters

a
UnityEngine.XR.InputDeviceCharacteristics

UnityEngine.XR.InputDeviceCharacteristics value.

b
UnityEngine.XR.InputDeviceCharacteristics

UnityEngine.XR.InputDeviceCharacteristics mask.

Returns

True if all of the bits in the specified mask are set in the current value.

Applies to

IsMaskSet(TrackingOriginModeFlags, TrackingOriginModeFlags)

Checks to determine if all bits in a provided mask are set.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsMaskSet(UnityEngine::XR::TrackingOriginModeFlags a, UnityEngine::XR::TrackingOriginModeFlags b);
public static bool IsMaskSet (this UnityEngine.XR.TrackingOriginModeFlags a, UnityEngine.XR.TrackingOriginModeFlags b);
static member IsMaskSet : UnityEngine.XR.TrackingOriginModeFlags * UnityEngine.XR.TrackingOriginModeFlags -> bool
<Extension()>
Public Function IsMaskSet (a As TrackingOriginModeFlags, b As TrackingOriginModeFlags) As Boolean

Parameters

a
UnityEngine.XR.TrackingOriginModeFlags

UnityEngine.XR.TrackingOriginModeFlags value.

b
UnityEngine.XR.TrackingOriginModeFlags

UnityEngine.XR.TrackingOriginModeFlags mask.

Returns

True if all of the bits in the specified mask are set in the current value.

Applies to