Example #1
0
 /// <summary>
 /// Remove a surface from the list of targets that the scene should render to.
 /// </summary>
 /// <param name="target"></param>
 public void RemoveSurface(Surface target)
 {
     if (Surfaces == null)
     {
         Surfaces = new List <Surface>();
     }
     Surfaces.Remove(target);
 }
Example #2
0
 /// <summary>
 /// Remove a surface from the list of surfaces that the entity should render to.
 /// </summary>
 /// <param name="target"></param>
 public void RemoveSurface(Surface target)
 {
     Surfaces.Remove(target);
 }
Example #3
0
 /// <summary>
 /// Remove a surface from the list of surfaces to be rendered to the window.
 /// </summary>
 /// <param name="surface">The surface to remove.</param>
 public void RemoveSurface(Surface surface)
 {
     Surfaces.Remove(surface);
 }