An Entity is an unique architecture element. The entity struct tracks the location and type of the entity, along with some other data. More...
#include <ArchitectureManager.h>
Public Attributes | |
| int | classId |
| Class identifier for the entity. Grammar rules to generate the entity are defined at the class level, as many different entities can be generated from the same rules. | |
| double | position [3] |
| Position for the entity in world coordinates. | |
| double | orientation [3] |
| Orientation for the entity in degrees over each main coordinate axis. | |
| double | size [3] |
| Scale for the entity. Determines the size of the initial scope used by the generation system. | |
| TMap< int, InstanceIndex * > | lod |
| Index of all the instances that were produced for the entity, grouped by architecture LOD. | |
| TMap< String, int > * | materials |
| A map that resolves alphanumeric material IDs as defined in the grammar source code to numeric material IDs as defined by the material library. | |
| double | groundLevel |
| Height of the ground level for the instance. | |
| double | decay |
| An entropy value to simulate decay and breackage for the entity. | |
An Entity is an unique architecture element. The entity struct tracks the location and type of the entity, along with some other data.
Definition at line 79 of file ArchitectureManager.h.