DayZ 1.27
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 строка 694

695 {
696 super.SetCurrentPosition(pos, updateCached);
697
698 if (m_SoundObject)
699 {
700 Object parent = GetParent();
701
702 if (parent)
703 pos = parent.WorldToModel(pos);
704
705 m_SoundObject.SetPosition(pos);
706 }
707 }
override Object GetParent()
Get parent for the EffectSound.
Определения EffectSound.c:668
ref SoundObject m_SoundObject
Определения EffectSound.c:22
class LOD Object

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