|
Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
|
Public Member Functions | |
| Entity (const Entity &other)=default | |
| Entity (entt::entity entityId, SceneManagement::Scene *scene) | |
| virtual void * | AddComponent (Grindstone::HashedString componentType) |
| virtual void * | AddComponentWithoutSetup (Grindstone::HashedString componentType) |
| virtual bool | HasComponent (Grindstone::HashedString componentType) const |
| virtual void * | GetComponent (Grindstone::HashedString componentType) const |
| virtual bool | TryGetComponent (Grindstone::HashedString componentType, void *&outComponent) const |
| virtual void | RemoveComponent (Grindstone::HashedString componentType) |
| virtual bool | IsChildOf (const Entity &other) const |
| virtual Entity | GetParent () const |
| virtual bool | SetParent (Entity) |
| virtual Math::Matrix4 | GetLocalMatrix () const |
| virtual Math::Matrix4 | GetWorldMatrix () const |
| virtual Math::Float3 | GetLocalPosition () const |
| virtual Math::Float3 | GetWorldPosition () const |
| virtual Math::Quaternion | GetLocalRotation () const |
| virtual Math::Quaternion | GetWorldRotation () const |
| virtual Math::Float3 | GetLocalScale () const |
| virtual Math::Float3 | GetLocalForward () const |
| virtual Math::Float3 | GetWorldForward () const |
| virtual Math::Float3 | GetLocalRight () const |
| virtual Math::Float3 | GetWorldRight () const |
| virtual Math::Float3 | GetLocalUp () const |
| virtual Math::Float3 | GetWorldUp () const |
| virtual void | Destroy () |
| virtual entt::registry & | GetSceneEntityRegistry () const |
| template<typename ComponentType, typename... Args> | |
| ComponentType & | AddComponent (Args &&... args) |
| template<typename ComponentType> | |
| bool | HasComponent () const |
| template<typename ComponentType> | |
| ComponentType & | GetComponent () const |
| template<typename ComponentType> | |
| bool | TryGetComponent (ComponentType *&outComponent) const |
| template<typename ComponentType> | |
| void | RemoveComponent () |
| virtual EntityHandle | GetHandle () const |
| virtual SceneManagement::Scene * | GetScene () const |
| operator bool () const | |
| bool | operator== (const Entity &other) const |
| bool | operator!= (const Entity &other) const |