Skip to main content
Version: 🚧 Nightly

Structure f3d::light_state_t

Definition: types.h (line 341)

Members

Public attributes

Variable type

Definition: types.h (line 343)

light_type f3d::light_state_t::type = light_type::SCENE_LIGHT

Type: light_type

Variable position

Definition: types.h (line 344)

point3_t f3d::light_state_t::position = { 0., 0., 0. }

Type: point3_t

Variable color

Definition: types.h (line 345)

color_t f3d::light_state_t::color = { 1., 1., 1. }

Type: color_t

Variable direction

Definition: types.h (line 346)

vector3_t f3d::light_state_t::direction = { 1., 0., 0. }

Type: vector3_t

Variable positionalLight

Definition: types.h (line 347)

bool f3d::light_state_t::positionalLight = false

Type: bool

Variable intensity

Definition: types.h (line 348)

double f3d::light_state_t::intensity = 1.0

Type: double

Variable switchState

Definition: types.h (line 349)

bool f3d::light_state_t::switchState = true

Type: bool

Public functions

Function operator==

bool f3d::light_state_t::operator==(const light_state_t &other) const

Parameters:

Return type: bool