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

◆ SetCurrentPosition()

override void EffectSound::SetCurrentPosition ( vector pos,
bool updateCached = true )
inlineprotected

Set the world position of the managed sound.

Аргументы
posvector The world position of the managed sound
updateCachedbool Whether to update the cached variable

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

708 {
709 super.SetCurrentPosition(pos, updateCached);
710
711 if (m_SoundObject)
712 {
713 Object parent = GetParent();
714
715 if (parent)
716 pos = parent.WorldToModel(pos);
717
718 m_SoundObject.SetPosition(pos);
719 }
720 }
override Object GetParent()
Get parent for the EffectSound.
Определения EffectSound.c:668
ref SoundObject m_SoundObject
Определения EffectSound.c:22
class LOD Object

Перекрестные ссылки GetParent() и m_SoundObject.