Vivid
|
Contains a PointLightComponent. More...
#include <DirectionalLightComponent.h>
Public Member Functions | |
PointLightComponent (Maths::Vec3 color) | |
void | Draw (Camera *camera) override |
void | ImGuiRender () override |
void | SetColor (Maths::Vec3 color) |
Maths::Vec3 | GetColor () const |
float | GetIntensity () const |
ComponentType | GetComponentType () override |
![]() | |
virtual void | Draw (Camera *camera)=0 |
virtual void | ImGuiRender ()=0 |
int | GetOwnerEntityID () const |
void | SetEntity (const int &entityID) |
virtual ComponentType | GetComponentType ()=0 |
int | GetComponentID () const |
Additional Inherited Members | |
![]() | |
int | m_OwnerEntityID = 0 |
Contains a PointLightComponent.
PointLightComponent is a class that contains a point light component. It is a derived class from Component. It contains a color and intensity of the light. It also contains a mesh and shader for the light. It also contains a UI for the point light component. From the UI you can change the color and intensity of the light.
Definition at line 18 of file PointLightComponent.h.
Vivid::PointLightComponent::PointLightComponent | ( | Maths::Vec3 | color | ) |
Definition at line 11 of file PointLightComponent.cpp.
|
overridevirtual |
Implements Vivid::Component.
Definition at line 16 of file PointLightComponent.cpp.
|
inline |
Definition at line 35 of file PointLightComponent.h.
|
inlineoverridevirtual |
Implements Vivid::Component.
Definition at line 37 of file PointLightComponent.h.
|
inline |
Definition at line 36 of file PointLightComponent.h.
|
overridevirtual |
Implements Vivid::Component.
Definition at line 38 of file PointLightComponent.cpp.
|
inline |
Definition at line 33 of file PointLightComponent.h.