CSEngine
|
Public Member Functions | |
COMPONENT_DEFINE_CONSTRUCTOR (RenderComponent) | |
void | Exterminate () override |
void | Init () override |
void | Tick (float elapsedTime) override |
SComponent * | Clone (SGameObject *object) override |
void | SetMatrix (const CameraMatrixStruct &cameraMatrixStruct, const GLProgramHandle *handle) override |
void | Render (const GLProgramHandle *handle) const override |
void | SetIsEnable (bool is_enable) override |
SMaterial * | GetMaterial () const override |
void | SetMaterial (SMaterial *material) |
void | SetValue (std::string name_str, Arguments value) override |
std::string | PrintValue () const override |
![]() | |
SComponent (std::string classType, SGameObject *gameObject) | |
SComponent (SGameObject *gameObject) | |
SComponent (const SComponent &src) | |
void | Start () override |
virtual void | CopyReference (SComponent *src, std::map< SGameObject *, SGameObject * > lists_obj, std::map< SComponent *, SComponent * > lists_comp) |
virtual auto | GetComponent () -> SObject * |
void | SetValue (std::string name_str, Arguments value) override |
std::string | PrintValue () const override |
void | SetGameObject (SGameObject *object) |
virtual SGameObject * | GetGameObject () const |
virtual bool | GetIsEnable () const |
![]() | |
SObject (bool isRegister) | |
virtual void | SetUndestroyable (bool enable) |
virtual void | Destroy () |
std::string | GetHash () const |
virtual void | SetHash (std::string &hash) |
![]() | |
SISComponent (const SISComponent &src)=default | |
![]() | |
![]() | |
ReflectionObject (std::string type) | |
void | SetClassType (std::string type) |
const char * | GetClassType () const |
bool | IsSameClass (const char *classType) const |
![]() | |
SMaterial * | GetMaterialReference () const |
Additional Inherited Members | |
![]() | |
static ReflectionObject * | NewObject (const std::string &name) |
![]() | |
bool | isRenderActive = false |
![]() | |
typedef std::vector< std::string > | Arguments |
![]() | |
![]() | |
SGameObject * | gameObject = nullptr |
bool | isEnable = true |
![]() | |
std::string | m_hash |
![]() | |
std::string | m_class |
![]() | |
SMaterial * | material = nullptr |
Definition at line 15 of file RenderComponent.h.
|
overridevirtual |
Reimplemented from CSE::SComponent.
Definition at line 85 of file RenderComponent.cpp.
|
overridevirtual |
Implements CSE::SObject.
Definition at line 20 of file RenderComponent.cpp.
|
overridevirtual |
Implements CSE::SIRender.
Definition at line 100 of file RenderComponent.cpp.
|
overridevirtual |
Implements CSE::SISComponent.
Definition at line 32 of file RenderComponent.cpp.
|
overridevirtual |
Implements CSE::VariableBinder.
Definition at line 127 of file RenderComponent.cpp.
|
overridevirtual |
Implements CSE::SIRender.
Definition at line 71 of file RenderComponent.cpp.
|
overridevirtual |
Reimplemented from CSE::SComponent.
Definition at line 79 of file RenderComponent.cpp.
void RenderComponent::SetMaterial | ( | SMaterial * | material | ) |
Definition at line 104 of file RenderComponent.cpp.
|
overridevirtual |
Implements CSE::SIRender.
Definition at line 65 of file RenderComponent.cpp.
|
overridevirtual |
Used to get serialized values. All classes that inherit from VariableBinder will unconditionally call this function first during initialization.
name_str | Name of values |
value | Serialized values |
Implements CSE::VariableBinder.
Definition at line 121 of file RenderComponent.cpp.
|
overridevirtual |
Implements CSE::SISComponent.
Definition at line 52 of file RenderComponent.cpp.