Banuba SDK
|
Go to the source code of this file.
Classes | |
class | BNBEntity |
Macros | |
#define | DJINNI_EXPORT __attribute__((__visibility__("default"))) |
A structure element of the scene. More... | |
#define DJINNI_EXPORT __attribute__((__visibility__("default"))) |
A structure element of the scene.
To construct a scene, you should form a hierarchy of entities to create its structure, then add different components such as lights, cameras, and geometry to entities to create visible content.
Each entity has a name which could be used for finding the entity in a hierarchy.
Entities in the scene form a tree hierarchy between parents and children.
Each entity could be in an enabled or disabled state. The disabling of the entity is equivalent to removing the entity and all its children from the hierarchy.
An entity is a container for components. Each entity could contain several components, but only one component of each component type. The Transform component is mandatory and it implicitly placed in each entity.
Definition at line 32 of file BNBEntity.h.