VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::Light Class Reference
+ Inheritance diagram for venom::common::Light:

Public Member Functions

 Light (const Light &other)
 
Lightoperator= (const Light &other)
 
 Light (Light &&other) noexcept
 
Lightoperator= (Light &&other) noexcept
 
void Init (Entity entity) override
 
void Update (Entity entity) override
 
void _GUI (const Entity entity) override
 
vc::String _GetComponentTitle () override
 
bool CanRemove (Entity entity) override
 
void SetType (const LightType type)
 
const LightType & GetLightType () const
 
void SetColor (const vcm::Vec3 &color)
 
const vcm::Vec3 & GetColor () const
 
void SetIntensity (const float intensity)
 
const float & GetIntensity () const
 
float * GetIntensityPtr ()
 
void SetAngle (const float angle)
 
const float & GetAngle () const
 
LightShaderStruct GetShaderStruct () const
 
LightCascadedShadowMapConstantsStruct GetShadowMapConstantsStruct (const int shadowMapIndex, const int faceIndex, Camera *const camera, vcm::Vec3 *lightPos) const
 
- Public Member Functions inherited from venom::common::VenomComponent
vc::String GetComponentTitle ()
 
- Public Member Functions inherited from venom::common::PluginObjectImplWrapper
 PluginObjectImplWrapper (PluginObjectImpl *impl)
 
 PluginObjectImplWrapper (const PluginObjectImplWrapper &other)
 
PluginObjectImplWrapperoperator= (const PluginObjectImplWrapper &other)
 
 PluginObjectImplWrapper (PluginObjectImplWrapper &&other)
 
PluginObjectImplWrapperoperator= (PluginObjectImplWrapper &&other)
 
PluginObjectImplGetImpl ()
 
const PluginObjectImplGetImpl () const
 
const PluginObjectImplGetConstImpl () const
 
bool IsImplInitialized () const
 
void Destroy ()
 

Static Public Member Functions

static const size_t GetCountOfLights ()
 
static const vc::Vector< Light * > & GetLights ()
 
static vc::Vector< Light * > & GetLightsMut ()
 
static const size_t GetCountOfLightsOfType (const LightType type)
 

Additional Inherited Members

- Protected Attributes inherited from venom::common::PluginObjectImplWrapper
PluginObjectImpl_impl
 

Member Function Documentation

◆ _GetComponentTitle()

vc::String venom::common::Light::_GetComponentTitle ( )
overridevirtual

◆ _GUI()

void venom::common::Light::_GUI ( const Entity entity)
overridevirtual

◆ CanRemove()

bool venom::common::Light::CanRemove ( Entity entity)
overridevirtual

◆ Init()

void venom::common::Light::Init ( Entity entity)
overridevirtual

Reimplemented from venom::common::VenomComponent.

◆ Update()

void venom::common::Light::Update ( Entity entity)
overridevirtual

The documentation for this class was generated from the following files: