Lagrange
LightComponent Struct Reference

Light component By default, light points in the +Z direction, unless transformed. More...

#include <lagrange/ui/components/Light.h>

Public Types

enum class  Type { POINT , DIRECTIONAL , SPOT }
 

Public Attributes

enum lagrange::ui::LightComponent::Type type = Type::DIRECTIONAL
 
bool casts_shadow = true
 
float cone_angle = pi() / 4.0f
 
Eigen::Vector3f intensity = Eigen::Vector3f(30.0f, 30.0f, 30.0f)
 

Detailed Description

Light component By default, light points in the +Z direction, unless transformed.


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