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

◆ ForceParticleRotationRelativeToWorld()

void EffectParticle::ForceParticleRotationRelativeToWorld ( bool state)
inlineprotected

Set orientation setting to be used by the effect when the Effect starts.

Предупреждения
Only caches it into a variable to be used by Start, does not live update when called afterwards
Заметки
There is no way to update this immediately
Аргументы
statebool Whether to keep WS orientation when attaching it to parent

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

543 {
544 if (state)
545 AddParticlePropertiesFlag(ParticlePropertiesFlags.FORCE_WORLD_ROT);
546 else
547 RemoveParticlePropertiesFlag(ParticlePropertiesFlags.FORCE_WORLD_ROT);
548 }
void AddParticlePropertiesFlag(ParticlePropertiesFlags flag)
Определения EffectParticle.c:521
void RemoveParticlePropertiesFlag(ParticlePropertiesFlags flag)
Определения EffectParticle.c:526

Перекрестные ссылки AddParticlePropertiesFlag() и RemoveParticlePropertiesFlag().

Используется в AttachTo() и SEffectManager::PlayOnObject().