AireEngine
A 3D Open-World Game Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Aire::Particle Struct Reference

A particle in the world. It can be animated and has a fixed lifetime, after which it disappears. More...

#include <Particle.h>

Collaboration diagram for Aire::Particle:
Collaboration graph
[legend]

Public Member Functions

 Particle (Model *m)
 
 Particle (Model *m, glm::vec3 position, glm::vec3 v, float l)
 
void setRigidbody (float radius)
 

Public Attributes

glm::vec3 Velocity
 
Modelmodel
 
glm::vec3 position
 
float Life
 
bool isEmitted
 
Rigidbodyrigidbody = nullptr
 

Detailed Description

A particle in the world. It can be animated and has a fixed lifetime, after which it disappears.


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