/// <summary> /// Removes an entity from the scene. /// </summary> /// <param name="id">The ID of the entity.</param> public void RemoveEntity(int id) { if (sceneGraph != null) { sceneGraph.RemoveEntity(id); } }