Synced
GameLayerMask.With
Section titled “GameLayerMask.With”
- Returns a mask with the supplied layer enabled.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public Inno.Scene.Layers.GameLayerMask Inno.Scene.Layers.GameLayerMask.With(Inno.Scene.Layers.GameLayer layer)Returns
Section titled “Returns”The updated immutable mask.
Parameters
Section titled “Parameters”Parameter layer: The layer consumed by with; ownership remains with the caller unless explicitly stated otherwise.