Nebula
Loading...
Searching...
No Matches
Particles::Particle Class Reference

#include <particle.h>

Detailed Description

The particle structure holds the current state of a single particle and common data for particle-job and nebula3 particle system.

!! NOTE: this header is also included from job particlejob.cc, so only !! job-compliant headers can be included here

Public Attributes

Math::vec4 position
 
Math::vec4 startPosition
 
Math::vec4 stretchPosition
 
Math::vec4 velocity
 
Math::vec4 uvMinMax
 
Math::vec4 color
 
float rotation
 
float rotationVariation
 
float size
 
float sizeVariation
 
float oneDivLifeTime
 
float relAge
 
float age
 
float particleId
 

Member Data Documentation

◆ age

float Particles::Particle::age

◆ color

Math::vec4 Particles::Particle::color

◆ oneDivLifeTime

float Particles::Particle::oneDivLifeTime

◆ particleId

float Particles::Particle::particleId

◆ position

Math::vec4 Particles::Particle::position

◆ relAge

float Particles::Particle::relAge

◆ rotation

float Particles::Particle::rotation

◆ rotationVariation

float Particles::Particle::rotationVariation

◆ size

float Particles::Particle::size

◆ sizeVariation

float Particles::Particle::sizeVariation

◆ startPosition

Math::vec4 Particles::Particle::startPosition

◆ stretchPosition

Math::vec4 Particles::Particle::stretchPosition

◆ uvMinMax

Math::vec4 Particles::Particle::uvMinMax

◆ velocity

Math::vec4 Particles::Particle::velocity

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