SpiecsEngine
 
Loading...
Searching...
No Matches

◆ DirectionalLightComponent() [2/2]

Spices::DirectionalLightComponent::DirectionalLightComponent ( const SpicesShader::DirectionalLight & directionalLight)
inline

Constructor Function. Init class variable. Usually call it.

Parameters
[in]directionalLightUse a DirectionalLight struct Init this component.

Definition at line 40 of file DirectionalLightComponent.h.

41 : m_DirectionalLight(directionalLight)
42 {}
SpicesShader::DirectionalLight m_DirectionalLight
This DirectionalLight data this component handled.

References DirectionalLightComponent().

Referenced by DirectionalLightComponent().