ISceneEntityContainer
Public / Methods
EntityAdd
Adds the given entity.
- RenderException
-
If a graphics subsystem error has occurred while calling IGraphicsComponent.GraphicsAttach on a ISceneEntityView that has been created for the given entity in, via ISceneEntity.CreateView.
EntityRemove
Removes the given scene entity.
All owned ISceneEntityView object will be removed automatically from their respective scene view.
- See also
Extensions
EntityAddNoThrow
Adds the given entity, assuming that one of the following is true:
-
This object is already attached to the IScene.
-
The given entity in does not create any entity views with ISceneEntity.CreateView.
-
The enclosing IScene does not have any views.
-
All ISceneView are detached, i.e. IGraphicsComponent.GraphicsAttach has not been called.
This method delegates to ISceneEntityContainer.EntityAdd and panics if a RenderException is thrown. Use this method to allow static code analysis to exploit the fact that RenderException will never be thrown.