RLLib
0.1
|
An entity represents anything present in the scene, such as platforms, items, cameras, sounds, lights, etc. More...
#include <Entity.hpp>
Public Attributes | |
int32_t | header |
An unknown property that starts the entity data. | |
std::string | name |
The name of the entity. More... | |
Vector3f | position |
The position of the entity. | |
Vector2f | scale |
The size scale of the entity. | |
Angle | rotation |
The rotation of the entity. | |
std::array< int32_t, 6 > | unknown |
Some unknown properties that are common for every entities. | |
ByteStream | data |
Some data containing properties that are specific to this entity. | |
An entity represents anything present in the scene, such as platforms, items, cameras, sounds, lights, etc.
Each entity starts with common properties (name, position, scale, rotation) and is then followed by some data of variable length that contains properties specific to each entity.
std::string rl::Entity::name |
The name of the entity.