DayZ 1.30
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 строка 435

436 {
437 super.SetCurrentLocalPosition(pos, updateCached);
438
439 Particle p = GetParticle();
440 if (p)
441 {
442 Object parent = GetParent();
443
444 if (parent)
445 ReAttach();
446 else
447 p.SetPosition(pos);
448 }
449 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
Определения EffectParticle.c:166
void ReAttach()
Helper method to attach to parent using stored settings.
Определения EffectParticle.c:266
class LOD Object
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:422

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

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