Manage entities

    User will add component-based entities into an entity manager.

    To solve this problem, the concept of Entity Processor has been added. An Entity Processor will access Entities that matches specific requirements (i.e. process all entities with MeshComponent) and process all of them in a single update function. This allows for greater efficiency and cache-friendliness, as there is no need to check every entity/components many times per frame.

    This approach also solves many update order dependencies issues (just need to order the entity processors updates properly).

    As a result, can be used as a hierarchical scenegraph instead of a simple entity list.

    • @'Xenko.Engine.MeshProcessor': Add Model to rendering.

    Entity are grouped together in an . It will also contains the list of entity processors. When an entity is added or an entity components changes, it will ask entity processors if they should be included.

    To manipulate entities as a scenegraph, refer to @'Xenko.Engine.TransformationComponent' class.