#include <scene_light.h>
Public Types | |
enum | Type { type_omni, type_directional, type_spot, type_sun } |
Public Member Functions | |
SceneLight () | |
SceneLight (Scene &scene) | |
float | get_ambient_illumination () const |
float | get_aspect_ratio () const |
float | get_attenuation_end () const |
float | get_attenuation_start () const |
Vec3f | get_color () const |
float | get_falloff () const |
float | get_hotspot () const |
Quaternionf | get_orientation () const |
Vec3f | get_position () const |
SceneLight | get_shadow_source () const |
Type | get_type () const |
bool | is_light_caster () const |
bool | is_null () const |
bool | is_rectangle_shape () const |
bool | is_shadow_caster () const |
void | set_ambient_illumination (float factor) |
void | set_aspect_ratio (float aspect) |
void | set_attenuation_end (float attenuation_end) |
void | set_attenuation_start (float attenuation_start) |
void | set_color (Vec3f color) |
void | set_falloff (float falloff) |
void | set_hotspot (float hotspot) |
void | set_light_caster (bool casts_light) |
void | set_orientation (const Quaternionf &orientation) |
void | set_position (const Vec3f &position) |
void | set_rectangle_shape (bool rectangle) |
void | set_shadow_caster (bool casts_shadows) |
void | set_shadow_source (SceneLight light) |
void | set_type (Type type) |