Entity
An entity is the base class for all "things" in 3D space. A light is an entity. So is a model. An entity has a position, rotation, and scale. It can be parented to other entities, or be the parent of a child entity.
Because all entity classes like meshes, lights, etc., are extended from the base entity class, the same positioning and rotation commands below can be used on all 3D objects in the engine.
Subclasses
Members
- static const int LocalAABB
- static const int GlobalAABB
- static const int RecursiveAABB
- static const int RigidBodyPhysics
- static const int CharacterPhysics
- Vec3 position
- Vec3 rotation
- Vec3 scale
- Mat4 mat
- Vec4 color[3]
- Entity* parent
Functions