#include <ParticleUniverseCameraDependency.h>
The CameraDependency class is used to define a relation between an attribute (for example the emission rate of a ParticleEmitter) and the camera. The camera distance influences the value of the attribute.
ParticleUniverse::CameraDependency::CameraDependency |
( |
void |
| ) |
|
ParticleUniverse::CameraDependency::CameraDependency |
( |
Real |
threshold, |
|
|
bool |
inc |
|
) |
| |
virtual ParticleUniverse::CameraDependency::~CameraDependency |
( |
void |
| ) |
|
|
inlinevirtual |
virtual bool ParticleUniverse::CameraDependency::affect |
( |
Real & |
baseValue, |
|
|
Real |
dependencyValue |
|
) |
| |
|
virtual |
virtual void ParticleUniverse::CameraDependency::copyAttributesTo |
( |
CameraDependency * |
cameraDependency | ) |
|
|
virtual |
Copy attributes to another camera dependency.
const Real ParticleUniverse::CameraDependency::getThreshold |
( |
void |
| ) |
const |
|
inline |
bool ParticleUniverse::CameraDependency::isIncrease |
( |
void |
| ) |
const |
|
inline |
void ParticleUniverse::CameraDependency::setIncrease |
( |
bool |
increase | ) |
|
|
inline |
void ParticleUniverse::CameraDependency::setThreshold |
( |
const Real |
threshold | ) |
|
|
inline |
const Real ParticleUniverse::CameraDependency::DEFAULT_DISTANCE_THRESHOLD |
|
static |
const bool ParticleUniverse::CameraDependency::DEFAULT_INCREASE |
|
static |
bool ParticleUniverse::CameraDependency::mIncrease |
|
protected |
Real ParticleUniverse::CameraDependency::mThreshold |
|
protected |
The documentation for this class was generated from the following file:
- ParticleUniverseCameraDependency.h