public void Remove(Drawable3D drawable, bool dispose = false) { if (dispose) { drawable.Dispose(); } drawable.Parent = null; drawable.Scene = null; }
public void Add(Drawable3D drawable) { if (LoadState == LoadState.NotLoaded) { pendingChildren.Add(drawable); } else { if (drawable.IsLoaded) { Debug.Assert(drawable.Parent == null, "May not add a drawable to multiple containers."); drawable.Parent = this; drawable.Scene = Scene; } children.Add(drawable); } }
public void Remove(Drawable3D drawable) { Content.Add(drawable); }
public void Add(Drawable3D drawable) { Content.Add(drawable); }