Zen 0.3.0
Loading...
Searching...
No Matches
Zen::Particle Struct Reference

Public Attributes

glm::vec2 pos {0}
glm::vec2 vel {0}
float lifeRemaining {0}
float lifeTime {1.0f}
float sizeBegin {8.0f}
float sizeEnd {0}
glm::vec4 colourBegin {1.0f}
glm::vec4 colourEnd {0, 0, 0, 0}
bool active {false}

Detailed Description

Definition at line 22 of file ZEN_ParticleSystem.h.

Member Data Documentation

◆ active

bool Zen::Particle::active {false}

Definition at line 31 of file ZEN_ParticleSystem.h.

◆ colourBegin

glm::vec4 Zen::Particle::colourBegin {1.0f}

Definition at line 29 of file ZEN_ParticleSystem.h.

◆ colourEnd

glm::vec4 Zen::Particle::colourEnd {0, 0, 0, 0}

Definition at line 30 of file ZEN_ParticleSystem.h.

◆ lifeRemaining

float Zen::Particle::lifeRemaining {0}

Definition at line 25 of file ZEN_ParticleSystem.h.

◆ lifeTime

float Zen::Particle::lifeTime {1.0f}

Definition at line 26 of file ZEN_ParticleSystem.h.

◆ pos

glm::vec2 Zen::Particle::pos {0}

Definition at line 23 of file ZEN_ParticleSystem.h.

◆ sizeBegin

float Zen::Particle::sizeBegin {8.0f}

Definition at line 27 of file ZEN_ParticleSystem.h.

◆ sizeEnd

float Zen::Particle::sizeEnd {0}

Definition at line 28 of file ZEN_ParticleSystem.h.

◆ vel

glm::vec2 Zen::Particle::vel {0}

Definition at line 24 of file ZEN_ParticleSystem.h.


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