public void AddNewLight(WorldLightEntry wle) { mLights.Add(wle); SortLights(); foreach (var wlee in mLights) mLightEntries.Add(new VisualLightEntry(wlee)); }
public void AddNewLight(WorldLightEntry wle) { mLights.Add(wle); SortLights(); foreach (var wlee in mLights) { mLightEntries.Add(new VisualLightEntry(wlee)); } }
public VisualLightEntry(WorldLightEntry wle) { lightEntry = wle; Weight = 0.0f; }