Spot light illuminates the scene from a given position with a viewing cone.
More...
#include <SpotLightComponent.hpp>
|
class | GameObject |
|
class | Scene |
|
Spot light illuminates the scene from a given position with a viewing cone.
bool ae3d::SpotLightComponent::CastsShadow |
( |
| ) |
const |
|
inline |
- Returns
- True, if the light casts a shadow.
float ae3d::SpotLightComponent::GetConeAngle |
( |
| ) |
const |
|
inline |
- Returns
- Cone angle in degrees.
class GameObject* ae3d::SpotLightComponent::GetGameObject |
( |
| ) |
const |
|
inline |
std::string ae3d::SpotLightComponent::GetSerialized |
( |
| ) |
const |
void ae3d::SpotLightComponent::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::SpotLightComponent::SetConeAngle |
( |
float |
degrees | ) |
|
|
inline |
The documentation for this class was generated from the following file: