Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Attaches a base layer below all overlays.

API: engine
Project: Inno.Core.Layers

public void Inno.Core.Layers.LayerStack.PushLayer(Inno.Core.Layers.Layer layer)

Parameter layer: The layer to attach.

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

Exception T:System.InvalidOperationException: Thrown when the same instance is already attached or the event hub factory returns null.

Exception T:System.ObjectDisposedException: Thrown when this stack has been disposed.