Class robot_dart::gui::magnum::Light¶
ClassList > robot_dart > gui > magnum > gs > Light
Public Functions¶
Type | Name |
---|---|
Light () |
|
Light (const Magnum::Vector4 & position, const Material & material, const Magnum::Vector3 & spot_direction, Magnum::Float spot_exponent, Magnum::Float spot_cut_off, const Magnum::Vector4 & attenuation, bool cast_shadows=true) |
|
Magnum::Vector4 & | attenuation () |
Magnum::Vector4 | attenuation () const |
bool | casts_shadows () const |
Material & | material () |
Material | material () const |
Magnum::Vector4 | position () const |
Light & | set_attenuation (const Magnum::Vector4 & attenuation) |
Light & | set_casts_shadows (bool cast_shadows) |
Light & | set_material (const Material & material) |
Light & | set_position (const Magnum::Vector4 & position) |
Light & | set_shadow_matrix (const Magnum::Matrix4 & shadowTransform) |
Light & | set_spot_cut_off (Magnum::Float spot_cut_off) |
Light & | set_spot_direction (const Magnum::Vector3 & spot_direction) |
Light & | set_spot_exponent (Magnum::Float spot_exponent) |
Light & | set_transformed_position (const Magnum::Vector4 & transformed_position) |
Light & | set_transformed_spot_direction (const Magnum::Vector3 & transformed_spot_direction) |
Magnum::Matrix4 | shadow_matrix () const |
Magnum::Float & | spot_cut_off () |
Magnum::Float | spot_cut_off () const |
Magnum::Vector3 | spot_direction () const |
Magnum::Float & | spot_exponent () |
Magnum::Float | spot_exponent () const |
Magnum::Vector4 & | transformed_position () |
Magnum::Vector4 | transformed_position () const |
Magnum::Vector3 & | transformed_spot_direction () |
Magnum::Vector3 | transformed_spot_direction () const |
Protected Attributes¶
Type | Name |
---|---|
Magnum::Vector4 | _attenuation |
bool | _cast_shadows = = true |
Material | _material |
Magnum::Vector4 | _position |
Magnum::Matrix4 | _shadow_transform = {} |
Magnum::Float | _spot_cut_off |
Magnum::Vector3 | _spot_direction |
Magnum::Float | _spot_exponent |
Magnum::Vector4 | _transformed_position |
Magnum::Vector3 | _transformed_spot_direction |
Public Functions Documentation¶
function Light [½]¶
function Light [2/2]¶
robot_dart::gui::magnum::gs::Light::Light (
const Magnum::Vector4 & position,
const Material & material,
const Magnum::Vector3 & spot_direction,
Magnum::Float spot_exponent,
Magnum::Float spot_cut_off,
const Magnum::Vector4 & attenuation,
bool cast_shadows=true
)
function attenuation [½]¶
function attenuation [2/2]¶
function casts_shadows¶
function material [½]¶
function material [2/2]¶
function position¶
function set_attenuation¶
function set_casts_shadows¶
function set_material¶
function set_position¶
function set_shadow_matrix¶
Light & robot_dart::gui::magnum::gs::Light::set_shadow_matrix (
const Magnum::Matrix4 & shadowTransform
)
function set_spot_cut_off¶
function set_spot_direction¶
Light & robot_dart::gui::magnum::gs::Light::set_spot_direction (
const Magnum::Vector3 & spot_direction
)
function set_spot_exponent¶
function set_transformed_position¶
Light & robot_dart::gui::magnum::gs::Light::set_transformed_position (
const Magnum::Vector4 & transformed_position
)
function set_transformed_spot_direction¶
Light & robot_dart::gui::magnum::gs::Light::set_transformed_spot_direction (
const Magnum::Vector3 & transformed_spot_direction
)
function shadow_matrix¶
function spot_cut_off [½]¶
function spot_cut_off [2/2]¶
function spot_direction¶
function spot_exponent [½]¶
function spot_exponent [2/2]¶
function transformed_position [½]¶
function transformed_position [2/2]¶
function transformed_spot_direction [½]¶
function transformed_spot_direction [2/2]¶
Protected Attributes Documentation¶
variable _attenuation¶
variable _cast_shadows¶
variable _material¶
variable _position¶
variable _shadow_transform¶
variable _spot_cut_off¶
variable _spot_direction¶
variable _spot_exponent¶
variable _transformed_position¶
variable _transformed_spot_direction¶
The documentation for this class was generated from the following file robot_dart/gui/magnum/gs/light.hpp