Rebel Fork Framework
Urho3D::BakedLight Struct Reference

Baked light description. More...

#include <Urho3D/Glow/BakedLight.h>

Public Member Functions

 BakedLight ()=default
 Construct default.
 
 BakedLight (Light *light)
 Construct valid.
 

Public Attributes

LightType lightType_ {}
 Light type.
 
LightMode lightMode_ {}
 Light mode.
 
unsigned lightMask_ {}
 
Color color_ {}
 Light color.
 
float indirectBrightness_ {}
 Indirect brightness.
 
float fov_ {}
 FOV angle (for spot lights).
 
float cutoff_ {}
 Cutoff aka Cos(FOV * 0.5) (for spot lights).
 
float distance_ {}
 Light distance (for spot and point lights).
 
float radius_ {}
 Light radius (for spot and point lights).
 
float angle_ {}
 Light angle (for directional light).
 
float halfAngleTan_ {}
 Tangent of half light angle.
 
Vector3 position_
 Position.
 
Vector3 direction_
 Direction.
 
Quaternion rotation_
 Rotation.
 

Detailed Description

Baked light description.


The documentation for this struct was generated from the following file: