Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a mask containing the supplied layers.

API: engine
Project: Inno.Scene

public static Inno.Scene.Layers.GameLayerMask Inno.Scene.Layers.GameLayerMask.FromLayers(System.Collections.Generic.IEnumerable<Inno.Scene.Layers.GameLayer> layers)

Parameter layers: The layers whose bits should be enabled.

A mask containing every supplied layer.

Exception T:System.ArgumentNullException: Thrown when layers is null.