Image-based lighting environment component. More...
#include <SkylightComponent.h>
Public Member Functions | |
| SkylightComponent ()=default | |
| SkylightComponent (const SkylightData &from) | |
| Constructs skylight from serialized data. | |
| SkylightData | GetSerializeData () |
| Serializes skylight state. | |
Public Attributes | |
| float | Intensity = 0.6f |
| Light intensity multiplier. | |
| Ref< TextureCube > | CubemapTexture = nullptr |
| Environment cubemap. | |
Image-based lighting environment component.
|
default |
|
inline |
Constructs skylight from serialized data.
| from | Skylight data |
|
inline |
Serializes skylight state.
| Ref<TextureCube> Raven::SkylightComponent::CubemapTexture = nullptr |
Environment cubemap.
| float Raven::SkylightComponent::Intensity = 0.6f |
Light intensity multiplier.