Euphoria
Public Attributes | List of all members
eu::render::PointLight Struct Reference

A point light. More...

Public Attributes

v3 position = {0.0f, 0.0f, 0.0f}
 
float min_range = 10.0f
 
float max_range = 20.0f
 
core::SCurve curve = core::SCurve::light_curve()
 curve and ui, needs to be trimmed down for actual renderer
 
Rgb color = colors::white
 
float specular_strength = 1.0f
 
float diffuse_strength = 1.0f
 

Detailed Description

A point light.

Definition at line 135 of file world.h.

Member Data Documentation

◆ color

Rgb eu::render::PointLight::color = colors::white

Definition at line 142 of file world.h.

◆ curve

core::SCurve eu::render::PointLight::curve = core::SCurve::light_curve()

curve and ui, needs to be trimmed down for actual renderer

Definition at line 140 of file world.h.

◆ diffuse_strength

float eu::render::PointLight::diffuse_strength = 1.0f

Definition at line 144 of file world.h.

◆ max_range

float eu::render::PointLight::max_range = 20.0f

Definition at line 139 of file world.h.

◆ min_range

float eu::render::PointLight::min_range = 10.0f

Definition at line 138 of file world.h.

◆ position

v3 eu::render::PointLight::position = {0.0f, 0.0f, 0.0f}

Definition at line 137 of file world.h.

◆ specular_strength

float eu::render::PointLight::specular_strength = 1.0f

Definition at line 143 of file world.h.


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