|
VisuTwin Canvas
C++ 3D Engine — Metal Backend
|
#include <scene/lighting/worldClusters.h>
Public Attributes | |
| Color | color = Color(1.0f, 1.0f, 1.0f, 1.0f) |
| Vector3 | direction = Vector3(0.0f, -1.0f, 0.0f) |
| bool | falloffModeLinear = true |
| float | innerConeAngle = 0.0f |
| float | intensity = 0.0f |
| bool | isSpot = false |
| float | outerConeAngle = 45.0f |
| Vector3 | position |
| float | range = 10.0f |
Lightweight data struct for passing light properties to WorldClusters. Avoids coupling WorldClusters to LightComponent internals.
Definition at line 46 of file worldClusters.h.
Definition at line 50 of file worldClusters.h.
Definition at line 49 of file worldClusters.h.
| bool visutwin::canvas::ClusterLightData::falloffModeLinear = true |
Definition at line 56 of file worldClusters.h.
| float visutwin::canvas::ClusterLightData::innerConeAngle = 0.0f |
Definition at line 53 of file worldClusters.h.
| float visutwin::canvas::ClusterLightData::intensity = 0.0f |
Definition at line 51 of file worldClusters.h.
| bool visutwin::canvas::ClusterLightData::isSpot = false |
Definition at line 55 of file worldClusters.h.
| float visutwin::canvas::ClusterLightData::outerConeAngle = 45.0f |
Definition at line 54 of file worldClusters.h.
| Vector3 visutwin::canvas::ClusterLightData::position |
Definition at line 48 of file worldClusters.h.
| float visutwin::canvas::ClusterLightData::range = 10.0f |
Definition at line 52 of file worldClusters.h.