Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
VoxelExplosionGenerator (const VoxelCluster *creator) | |
void | setRadius (float radius) |
void | setCount (int count) |
void | spawn () |
Public Member Functions inherited from VoxelParticleSpawnBase | |
void | setPosition (const glm::vec3 &position) |
void | setOrientation (const glm::quat &orientation) |
void | setScale (float scale, float randomization=0.0f) |
void | setForce (float force, float randomization=0.0f) |
void | setLifetime (float lifetime, float randomization=0.0f) |
void | setColor (int color) |
void | setEmissiveness (float emissiveness) |
void | setImpactVector (const glm::vec3 &impactVector) |
Protected Member Functions | |
float | createScale () |
Protected Member Functions inherited from VoxelParticleSpawnBase | |
VoxelParticleSpawnBase (const VoxelCluster *creator, char *dampeningName, char *angularDampeningName, char *baseForceName, char *angularBaseForceName) | |
glm::vec3 | createDirectionalSpeed () |
glm::vec3 | createAngularSpeed () |
float | createLifetime () |
Protected Attributes | |
float | m_radius |
int | m_count |
Protected Attributes inherited from VoxelParticleSpawnBase | |
const VoxelCluster * | m_creator |
glm::vec3 | m_position |
float | m_scale |
float | m_scaleRandomization |
float | m_force |
float | m_forceRandomization |
float | m_lifetime |
float | m_lifetimeRandomization |
int | m_color |
float | m_emissiveness |
glm::vec3 | m_impactVector |
Property< float > | m_particleDampening |
Property< float > | m_particleAngularDampening |
Property< float > | m_particleBaseForce |
Property< float > | m_particleAngularBaseForce |