![]() |
Elevate Engine 1
|
#include <Model.h>
Public Member Functions | |
| Model ()=default | |
| Model (PrimitiveType type) | |
| Model (std::string path, MaterialPtr material=nullptr) | |
| void | SetMaterial (MaterialPtr material) |
| void | Render () override |
| RenderState & | GetRenderState () |
Public Member Functions inherited from Elevate::Component | |
| Component ()=default | |
| virtual | ~Component ()=default |
| virtual Component * | Clone ()=0 |
| virtual void | CopyFrom (Component *other)=0 |
| virtual GameObjectComponentFactory | GetFactory () const =0 |
| virtual GameObjectComponentDestructor | GetDestructor () const =0 |
| virtual const void * | GetEditorIconHandle () const |
| virtual std::type_index | GetTypeIndex () const =0 |
| void | SetActive (bool newState) |
| bool | IsActive () |
| virtual ComponentLayout | GetLayout () const |
| virtual bool | RemoveFromGameObject () |
| virtual std::string | GetName () const |
Public Member Functions inherited from EEObject | |
| virtual EECategory | GetCategory () const |
Additional Inherited Members | |
Public Attributes inherited from Elevate::Component | |
| std::function< bool()> | RemoveFromGOFunc |
| GameObject * | gameObject = nullptr |
Protected Member Functions inherited from Elevate::Component | |
| virtual void | Init () |
| virtual void | Destroy () |
| virtual void | Update () |
| virtual void | RenderInEditor () |
| virtual void | RenderWhenSelected () |
| virtual void | OnSetPosition () |
| virtual void | OnSetRotation () |
| virtual void | OnSetScale () |
| virtual void | OnNotify (Event &event) |
Protected Attributes inherited from Elevate::Component | |
| bool | m_IsActive = true |
Protected Attributes inherited from EEObject | |
| EECategory | m_category |
|
default |
| Elevate::Model::Model | ( | PrimitiveType | type | ) |
Definition at line 26 of file Model.cpp.
| Elevate::Model::Model | ( | std::string | path, |
| MaterialPtr | material = nullptr |
||
| ) |
|
inline |
|
overridevirtual |
Reimplemented from Elevate::Component.
Definition at line 211 of file Model.cpp.
|
inline |