![]() |
Elevate Engine 1
|
#include <PointLight.h>
Public Member Functions | |
| PointLight ()=default | |
| PointLight (const glm::vec3 &color) | |
| void | UploadToShader (Shader *shader, uint32_t index) |
Public Member Functions inherited from Elevate::Light | |
| Light ()=default | |
| Light (const glm::vec3 &color) | |
| Light (const glm::vec3 &amb, const glm::vec3 &dif, const glm::vec3 &spec, float intensity=1.0f) | |
| void | SetColor (const glm::vec3 &color) |
| void | SetAmbientColor (const glm::vec3 &color) |
| void | SetDiffuseColor (const glm::vec3 &color) |
| void | SetSpecularColor (const glm::vec3 &color) |
| void | SetIntensity (const float &intensity) |
| const glm::vec3 & | GetAmbientColor () const |
| const glm::vec3 & | GetDiffuseColor () const |
| const glm::vec3 & | GetSpecularColor () const |
| const float & | GetIntensity () const |
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 | Render () |
| 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::Light | |
| glm::vec3 | m_ambientColor = { 1.0f, 1.0f, 1.0f } |
| glm::vec3 | m_diffuseColor = { 1.0f, 1.0f, 1.0f } |
| glm::vec3 | m_specularColor = { 1.0f, 1.0f, 1.0f } |
| float | m_intensity = 1.0f |
Protected Attributes inherited from Elevate::Component | |
| bool | m_IsActive = true |
Protected Attributes inherited from EEObject | |
| EECategory | m_category |
Definition at line 6 of file PointLight.h.
|
default |
|
inline |
Definition at line 12 of file PointLight.h.
| void Elevate::PointLight::UploadToShader | ( | Shader * | shader, |
| uint32_t | index | ||
| ) |
Definition at line 8 of file PointLight.cpp.