Introduction

The RhinoEntityManager is a singleton class RhinoXNA uses to store all items that need to be rendered that aren't HUD elements. For HUD elements, see RhinoHUDManager.

Details

Namespace: RhinoXNA.RhinoGameObjects
Public Properties
  • Instance (RhinoEntityManager) - Returns the global instance of the RhinoEntityManager
  • Entities (List<IRhinoGraphicsComponent>) - Returns the list of stored entities
Public Methods
  • AddEntity(IRhinoGraphicsComponent) - Adds a new entity to the manager
  • AddEntities(List<IRhinoGraphicsComponent>) - Adds a list of new entities to the manager
  • Clear() - Removes all entities from the manager
  • RemoveEntity(String) - Removes all entities with the given name (handle). Typically all entities are given unique names.

Implementation

Call RhinoEntityManager using: RhinoEntityManager.Instance

Notes

ILevel automatically processes and renders all entities in this list during Update() and Render().

Last edited Oct 7, 2010 at 6:59 PM by MattChristian, version 1

Comments

No comments yet.