group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Game::TransientVfxLight Struct Reference

Public Attributes

glm::vec3 position {0.0f}
 World position at spawn time.
glm::vec3 color {1.0f}
 Flash colour (linear RGB).
float intensity = 0.0f
 Peak intensity at spawn (faded by age).
float age = 0.0f
 Seconds elapsed since spawn.
float lifetime = 0.06f
 Total flash duration in seconds.
float range = 500.0f
 Renderer light attenuation range.

Member Data Documentation

◆ age

float Game::TransientVfxLight::age = 0.0f

Seconds elapsed since spawn.

◆ color

glm::vec3 Game::TransientVfxLight::color {1.0f}

Flash colour (linear RGB).

◆ intensity

float Game::TransientVfxLight::intensity = 0.0f

Peak intensity at spawn (faded by age).

◆ lifetime

float Game::TransientVfxLight::lifetime = 0.06f

Total flash duration in seconds.

◆ position

glm::vec3 Game::TransientVfxLight::position {0.0f}

World position at spawn time.

◆ range

float Game::TransientVfxLight::range = 500.0f

Renderer light attenuation range.


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