LayerExtensions.Combine(LayerMask[]) Method
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.
Combines provided layers into a single layer mask.
public:
[System::Runtime::CompilerServices::Extension]
static int Combine(cli::array <UnityEngine::LayerMask> ^ layerMaskList);
public static int Combine (this UnityEngine.LayerMask[] layerMaskList);
static member Combine : UnityEngine.LayerMask[] -> int
<Extension()>
Public Function Combine (layerMaskList As LayerMask()) As Integer
Parameters
- layerMaskList
- UnityEngine.LayerMask[]
Returns
The combined layer mask