![]() |
Lysa
0.0
Lysa 3D Engine
|
Represents the environmental settings of the scene.
Inheritance diagram for Environment:Public Member Functions | |
| Environment () = default | |
| Environment (const float3 &color, const float intensity) | |
Public Member Functions inherited from UnmanagedResource | |
| UnmanagedResource () | |
| UnmanagedResource (const Resource &other) | |
Public Member Functions inherited from Resource | |
| bool | operator== (const Resource &other) const |
| Resource () = default | |
| Resource (const unique_id id) | |
| virtual | ~Resource () = default |
Public Attributes | |
| float3 | color {1.0f, 1.0f, 1.0f} |
| float | intensity {0.0f} |
Public Attributes inherited from Resource | |
| unique_id | id {INVALID_ID} |
|
default |
Default constructor for Environment.
|
inline |
Constructs an Environment with specific color and intensity.
| color | The color of the ambient light. |
| intensity | The intensity of the ambient light. |
| float3 color {1.0f, 1.0f, 1.0f} |
The color of the ambient light.
| float intensity {0.0f} |
The intensity of the ambient light.