DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetParameter()

void Particle::SetParameter ( int emitter,
int parameter,
float value )
inlineprivate

Set the value of a parameter of an emitor in the particle.

Аргументы
emitterint The emitter to apply the new value to, -1 for all emitter
parameterint The parameter to apply the new value to (enum EmitorParam)
valuefloat The value to apply

См. определение в файле Particle.c строка 625

626 {
627 if (!m_ParticleEffect)
628 return;
629
630 SetParticleParm(m_ParticleEffect, emitter, parameter, value);
631 }
Object m_ParticleEffect
The child object which contains the actual particle.
Определения Particle.c:50
proto void SetParticleParm(notnull IEntity ent, int emitor, EmitorParam parameter, void value)

Перекрестные ссылки m_ParticleEffect и SetParticleParm().

Используется в DestroyParticleEffect(), EffectBoatWaterBase::EnableEmitor(), EffectBoatWaterBack::Update() и Update().