ludus::graphics::renderer::DirectLight¶
Ludus Wiki · API overview · Browse API
Struct
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
#include <ludus/graphics/renderer/light_selection.hpp>
struct ludus::graphics::renderer::DirectLight final
Fields¶
SourceId¶
ludus::foundation::uint64 ludus::graphics::renderer::DirectLight::SourceId = 0
Related types: ludus::foundation::uint64
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
Kind¶
LightKind ludus::graphics::renderer::DirectLight::Kind = LightKind::Directional
Related types: LightKind
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
Color¶
ludus::foundation::math::Vector3 ludus::graphics::renderer::DirectLight::Color {1, 1, 1}
Related types: ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
Intensity¶
ludus::foundation::float32 ludus::graphics::renderer::DirectLight::Intensity = 1
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
Position¶
ludus::foundation::math::Vector3 ludus::graphics::renderer::DirectLight::Position {}
Related types: ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
Direction¶
ludus::foundation::math::Vector3 ludus::graphics::renderer::DirectLight::Direction {0, 0, -1}
Related types: ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
Range¶
ludus::foundation::float32 ludus::graphics::renderer::DirectLight::Range = DEFAULT_LIGHT_RANGE_METERS
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
InnerCos¶
ludus::foundation::float32 ludus::graphics::renderer::DirectLight::InnerCos = DEFAULT_SPOT_INNER_COSINE
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
OuterCos¶
ludus::foundation::float32 ludus::graphics::renderer::DirectLight::OuterCos = DEFAULT_SPOT_OUTER_COSINE
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp