|
0.45.0
|
#include <ompfParticleSystemChunk.h>
Inherits OMPF::ompfBaseChunk.
Friends | |
| class | OMPF |
ompf particle system chunk
| OMPF::ompfParticleSystemChunk::ompfParticleSystemChunk | ( | ) |
init base class
|
default |
does nothing
| float32 OMPF::ompfParticleSystemChunk::getAirDrag | ( | ) | const |
| void OMPF::ompfParticleSystemChunk::getColorGradient | ( | iaKeyFrameGraphColor4f & | colorGradient | ) | const |
returns the rainbow gradient
| [out] | rainbow | out value for the rainbow gradient |
| void OMPF::ompfParticleSystemChunk::getEmissionGradient | ( | iaKeyFrameGraphf & | emissionGradient | ) | const |
returns the emission gradient
| [out] | emissionGradient | out value for the emission gradient |
| uint32 OMPF::ompfParticleSystemChunk::getEmitterChunkID | ( | ) | const |
| uint32 OMPF::ompfParticleSystemChunk::getMaterialChunkID | ( | ) | const |
| uint16 OMPF::ompfParticleSystemChunk::getMaxParticleCount | ( | ) | const |
| float32 OMPF::ompfParticleSystemChunk::getPeriodTime | ( | ) | const |
| void OMPF::ompfParticleSystemChunk::getSizeScaleGradient | ( | iaKeyFrameGraphf & | sizeScaleGradient | ) | const |
returns the size scale gradient
| [out] | sizeScaleGradient | out value for the size gradient |
| void OMPF::ompfParticleSystemChunk::getStartAgeGradient | ( | iaKeyFrameGraphVector2f & | visibleGradient | ) | const |
returns the emission gradient
| [out] | visibleGradient | out value for the visible gradient |
| void OMPF::ompfParticleSystemChunk::getStartLiftGradient | ( | iaKeyFrameGraphVector2f & | liftGradient | ) | const |
returns the min max start lift gradient for particles at birth
| [out] | liftGradient | out value for the start lift gradient |
| void OMPF::ompfParticleSystemChunk::getStartOrientationGradient | ( | iaKeyFrameGraphVector2f & | orientationGradient | ) | const |
returns the min max start lift gradient for particles at birth
| [out] | orientationGradient | out value for the start orientation gradient |
| void OMPF::ompfParticleSystemChunk::getStartOrientationRateGradient | ( | iaKeyFrameGraphVector2f & | orientationRateGradient | ) | const |
returns the start min max orientation offset gradient for particles during visuble time
| [out] | orientationRateGradient | out value for the orientation rate gradient |
| void OMPF::ompfParticleSystemChunk::getStartSizeGradient | ( | iaKeyFrameGraphVector2f & | sizeGradient | ) | const |
returns the start size gradient for particles at birth
| [out] | sizeGradient | out value for the start size gradient |
| void OMPF::ompfParticleSystemChunk::getStartVelocityGradient | ( | iaKeyFrameGraphVector2f & | velocityGradient | ) | const |
returns the min max start velocity gradient for particles at birth
| [out] | velocityGradient | out value for the start velocity gradient |
| uint8 OMPF::ompfParticleSystemChunk::getTextureColumns | ( | ) | const |
| uint8 OMPF::ompfParticleSystemChunk::getTextureRows | ( | ) | const |
| bool OMPF::ompfParticleSystemChunk::getVelocityOriented | ( | ) | const |
| uint8 OMPF::ompfParticleSystemChunk::getVortexCheckRange | ( | ) |
| float32 OMPF::ompfParticleSystemChunk::getVortexRangeMax | ( | ) |
| float32 OMPF::ompfParticleSystemChunk::getVortexRangeMin | ( | ) |
| float32 OMPF::ompfParticleSystemChunk::getVortexToParticleRate | ( | ) | const |
| float32 OMPF::ompfParticleSystemChunk::getVortexTorqueMax | ( | ) |
| float32 OMPF::ompfParticleSystemChunk::getVortexTorqueMin | ( | ) |
| float32 OMPF::ompfParticleSystemChunk::getVorticityConfinement | ( | ) |
| bool OMPF::ompfParticleSystemChunk::isLooped | ( | ) | const |
| void OMPF::ompfParticleSystemChunk::setAirDrag | ( | float32 | airDrag | ) |
sets air drag 0.0-1.0 1.0 means basically no air drag 0.0 is a full stop and about 0.99 is a useful value for simulating air drag
| airDrag | the air drag factor (0.0 - 1.0) |
| void OMPF::ompfParticleSystemChunk::setColorGradient | ( | const iaKeyFrameGraphColor4f & | colorGradient | ) |
sets rainbow gradient for particles color
| rainbow | the rainbow gradient |
| void OMPF::ompfParticleSystemChunk::setEmissionGradient | ( | const iaKeyFrameGraphf & | emissionGradient | ) |
sets emission gradient for particles per frame
| emissionGradient | the emission gradient |
| void OMPF::ompfParticleSystemChunk::setEmitterChunkID | ( | uint32 | emitterID | ) |
sets emitter node id
| emitterID | the emitter node's id |
| void OMPF::ompfParticleSystemChunk::setLoop | ( | bool | loop = true | ) |
sets if the particle system runs in a loop
| loop | if true particle system runs in loop |
| void OMPF::ompfParticleSystemChunk::setMaterialChunkID | ( | uint32 | id | ) |
sets material chunk id
| id | the material chunk id |
| void OMPF::ompfParticleSystemChunk::setMaxParticleCount | ( | uint16 | max | ) |
sets the maximum particle count
set to zero if you don't want a limit of created particles
| max | the maximum count of particles used |
| void OMPF::ompfParticleSystemChunk::setPeriodTime | ( | float32 | periodTime | ) |
sets period time of this particle system
if loop is true. the particle system will be restarted after this time if loop is false. the particle system simulation will be stopped
| periodTime | the period time |
| void OMPF::ompfParticleSystemChunk::setSizeScaleGradient | ( | const iaKeyFrameGraphf & | sizeScaleGradient | ) |
sets size scale gradient for particles per frame
| sizeScaleGradient | the size gradient |
| void OMPF::ompfParticleSystemChunk::setStartAgeGradient | ( | const iaKeyFrameGraphVector2f & | visibleGradient | ) |
sets visible gradient for particles per frame
| visibleGradient | the visible gradient |
| void OMPF::ompfParticleSystemChunk::setStartLiftGradient | ( | const iaKeyFrameGraphVector2f & | liftGradient | ) |
sets min max start lift gradient for particles at birth
| liftGradient | the min max start lift gradient |
| void OMPF::ompfParticleSystemChunk::setStartOrientationGradient | ( | const iaKeyFrameGraphVector2f & | orientationGradient | ) |
sets min max start orientation gradient for particles at birth
| orientationGradient | the min max start orientation gradient |
| void OMPF::ompfParticleSystemChunk::setStartOrientationRateGradient | ( | const iaKeyFrameGraphVector2f & | orientationRateGradient | ) |
sets start min max orientation rate gradient for particles during visible time
| orientationRateGradient | the min max orientation rate gradient |
| void OMPF::ompfParticleSystemChunk::setStartSizeGradient | ( | const iaKeyFrameGraphVector2f & | sizeGradient | ) |
sets start size gradient for particles at birth
| sizeGradient | the start size gradient with min and max values |
| void OMPF::ompfParticleSystemChunk::setStartVelocityGradient | ( | const iaKeyFrameGraphVector2f & | velocityGradient | ) |
sets min max start velocity gradient for particles at birth
| velocityGradient | the min max start velocity gradient |
sets the tiling resolution of the first texture layer
| columns | column count (<= 1) |
| rows | row count (<= 1) |
| void OMPF::ompfParticleSystemChunk::setVelocityOriented | ( | bool | velocityOriented = true | ) |
sets the velocity oriented flag particles will be rendered oriented by thair velocity and screen
default id off
| velocityOriented | if true particles get rendered velocity oriented |
| void OMPF::ompfParticleSystemChunk::setVortexCheckRange | ( | uint8 | particles | ) |
sets vortex check range
| particles | distance in indexes from vortex particle |
sets minimum and maximum range of vortexes
| min | minimum range of vortex |
| max | maximum range of vortex |
| void OMPF::ompfParticleSystemChunk::setVortexToParticleRate | ( | float32 | rate | ) |
sets the vortex to particle ratio
| rate | the rate of vortex particles to particles. default 0.01 = 1% |
sets the range of vortex torque
| min | minimum vortex torque |
| max | maximum vortex torque |
| void OMPF::ompfParticleSystemChunk::setVorticityConfinement | ( | float32 | vorticityConfinement | ) |
sets vorticity confinement force
| vorticityConfinement | the vorticity confinement force |
|
friend |