Skip to content

ICameraManager.ForEachCamera(TState, Action) Method

Definition

Namespace: Brine2D.Rendering

Iterates all registered cameras without boxing the dictionary enumerator. The generic TState parameter avoids closure allocations.

void ForEachCamera<TState>(TState state, System.Action<TState,Brine2D.Rendering.ICamera> action);

Type parameters

TState

Parameters

state TState

action System.Action<TState,ICamera>