/// <inheritdoc/> public override void UpdateLayout(string compositionName) { base.UpdateLayout(compositionName); ShadowGroup?.UpdateLayout(compositionName); if (LightLastCount != LightCurrentCount) { ShadowGroup?.UpdateLightCount(LightLastCount, LightCurrentCount); UpdateLightCount(); } }
/// <inheritdoc/> public override void UpdateLayout(string compositionName) { base.UpdateLayout(compositionName); ShadowGroup?.UpdateLayout(compositionName); if (LightLastCount != LightCurrentCount) // TODO: PERFORMANCE: Why do these two values differ all the time even if no lights have been added/removed? { ShadowGroup?.UpdateLightCount(LightLastCount, LightCurrentCount); UpdateLightCount(); } }