Point light illuminates the scene from a given position into all directions.
More...
#include <PointLightComponent.hpp>
|
class | GameObject |
|
class | Scene |
|
Point light illuminates the scene from a given position into all directions.
bool ae3d::PointLightComponent::CastsShadow |
( |
| ) |
const |
|
inline |
- Returns
- True, if the light casts a shadow.
class GameObject* ae3d::PointLightComponent::GetGameObject |
( |
| ) |
const |
|
inline |
float ae3d::PointLightComponent::GetRadius |
( |
| ) |
const |
|
inline |
std::string ae3d::PointLightComponent::GetSerialized |
( |
| ) |
const |
void ae3d::PointLightComponent::SetCastShadow |
( |
bool |
enable, |
|
|
int |
shadowMapSize |
|
) |
| |
- Parameters
-
enable | If true, the light will cast a shadow. |
shadowMapSize | Shadow map size in pixels. If it's invalid, it falls back to 512. |
void ae3d::PointLightComponent::SetRadius |
( |
float |
aRadius | ) |
|
|
inline |
The documentation for this class was generated from the following file: