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

◆ SetCurrentLocalPosition()

override void EffectParticle::SetCurrentLocalPosition ( vector pos,
bool updateCached = true )
inlineprotected

Set the current local position of the managed Particle.

Аргументы
posvector The current local position for the managed Particle
updateCachedbool Whether to update the cached variable

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

412 {
413 super.SetCurrentLocalPosition(pos, updateCached);
414
415 Particle p = GetParticle();
416 if (p)
417 {
418 Object parent = GetParent();
419
420 if (parent)
421 ReAttach();
422 else
423 p.SetPosition(pos);
424 }
425 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
Определения EffectParticle.c:162
void ReAttach()
Helper method to attach to parent using stored settings.
Определения EffectParticle.c:242
class LOD Object
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:407

Перекрестные ссылки GetParent(), GetParticle() и ReAttach().

Используется в EOnPostSimulate() и EffectBoatWaterBase::UpdatePosToSeaLevel().