ManipulationHandFlagsExtensions.IsMaskSet Method
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.
Checks to determine if all bits in a provided mask are set.
C++
public:
[System::Runtime::CompilerServices::Extension]
static bool IsMaskSet(Microsoft::MixedReality::Toolkit::Utilities::ManipulationHandFlags a, Microsoft::MixedReality::Toolkit::Utilities::ManipulationHandFlags b);
public static bool IsMaskSet (this Microsoft.MixedReality.Toolkit.Utilities.ManipulationHandFlags a, Microsoft.MixedReality.Toolkit.Utilities.ManipulationHandFlags b);
static member IsMaskSet : Microsoft.MixedReality.Toolkit.Utilities.ManipulationHandFlags * Microsoft.MixedReality.Toolkit.Utilities.ManipulationHandFlags -> bool
<Extension()>
Public Function IsMaskSet (a As ManipulationHandFlags, b As ManipulationHandFlags) As Boolean
True if all of the bits in the specified mask are set in the current value.
Product | Versions |
---|---|
MRTK2 Unity 2019 | 2.8.0 |
MRTK2 Unity 2020 | 2.8.0 |