Exemple #1
0
 /// <summary>
 /// Removes the specified light
 /// </summary>
 /// <param name="light">Spot light</param>
 public void Remove(SceneLightSpot light)
 {
     if (this.spotLights.Contains(light))
     {
         this.spotLights.Remove(light);
     }
 }
Exemple #2
0
 /// <summary>
 /// Adds the specified new light to colection
 /// </summary>
 /// <param name="light">Spot light</param>
 public void Add(SceneLightSpot light)
 {
     this.spotLights.Add(light);
 }