Synced
GameLayerMask.FromLayers
Section titled “GameLayerMask.FromLayers”
- Creates a mask containing the supplied layers.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public static Inno.Scene.Layers.GameLayerMask Inno.Scene.Layers.GameLayerMask.FromLayers(System.Collections.Generic.IEnumerable<Inno.Scene.Layers.GameLayer> layers)Parameters
Section titled “Parameters”Parameter layers: The layers whose bits should be enabled.
Returns
Section titled “Returns”A mask containing every supplied layer.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when layers is null.