add entiy as child to hierarchy
child entity.
add given component to entity if component of given type wasn't added before.
component to add.
Add entity for given layer if it is wasn't added before.
layer to add.
get component of given type.
component of given type
check if component of given type was added.
flag
remove entiy as child to hierarchy
child entity.
remove given component to entity if component of given component was added before.
component to remove.
Removes entity from given layer if it is was added before.
layer to remove from.
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.