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

◆ OnUpdate()

override void DayZPlayerCamera1stPerson::OnUpdate ( float pDt,
out DayZPlayerCameraResult pOutResult )
inlineprivate

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

7 {
8 super.OnUpdate(pDt, pOutResult);
9
10 pOutResult.m_fUseHeading = 0.0;
11 pOutResult.m_bUpdateEveryFrame = GetGame().IsPhysicsExtrapolationEnabled();
12 }
proto native bool IsPhysicsExtrapolationEnabled()
If physics extrapolation is enabled, always true on retail release builds.
proto native CGame GetGame()

Перекрестные ссылки GetGame() и CGame::IsPhysicsExtrapolationEnabled().