group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
DeathDissolveEffect::Particle Struct Reference

Full CPU simulation state for one dissolve particle. More...

Public Attributes

glm::vec3 basePos
 Resting (pre-dissolve) world position.
glm::vec3 vel
 Drift velocity once active.
glm::vec4 color
 Base tint (alpha is faded per frame).
float size = 1.5f
 Billboard half-extent (world units).
float delay = 0.0f
 Seconds to hold at basePos before drifting.
float age = 0.0f
 Seconds since spawn.
float fly = 1.5f
 Drift+fade duration after the delay.

Detailed Description

Full CPU simulation state for one dissolve particle.

Member Data Documentation

◆ age

float DeathDissolveEffect::Particle::age = 0.0f

Seconds since spawn.

◆ basePos

glm::vec3 DeathDissolveEffect::Particle::basePos

Resting (pre-dissolve) world position.

◆ color

glm::vec4 DeathDissolveEffect::Particle::color

Base tint (alpha is faded per frame).

◆ delay

float DeathDissolveEffect::Particle::delay = 0.0f

Seconds to hold at basePos before drifting.

◆ fly

float DeathDissolveEffect::Particle::fly = 1.5f

Drift+fade duration after the delay.

◆ size

float DeathDissolveEffect::Particle::size = 1.5f

Billboard half-extent (world units).

◆ vel

glm::vec3 DeathDissolveEffect::Particle::vel

Drift velocity once active.


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