Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Attributes | List of all members
smlt::Emitter Struct Reference

Public Attributes

EmitterType type = PARTICLE_EMITTER_POINT
 
Vec3 relative_position
 
Vec3 direction = Vec3::POSITIVE_Y
 
Vec3 dimensions = Vec3(100, 100, 100)
 
std::pair< float, float > duration_range = std::make_pair(0.0, 0.0)
 
std::pair< float, float > repeat_delay_range = std::make_pair(0.0, 0.0)
 
std::pair< float, float > velocity_range = std::make_pair(1.0, 1.0)
 
std::pair< float, float > ttl_range = std::make_pair(5.0, 5.0)
 
Degrees angle
 
Colour colour = Colour::WHITE
 
float emission_rate = 10.0f
 

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