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

◆ GetFOVByZoomType()

float CGame::GetFOVByZoomType ( ECameraZoomType type)
inlineprotected

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

3763 {
3764 switch (type)
3765 {
3766 case ECameraZoomType.NONE:
3767 return GetUserFOV();
3768 case ECameraZoomType.NORMAL:
3769 return Math.Min(GetUserFOV(), GameConstants.DZPLAYER_CAMERA_FOV_EYEZOOM);
3770 case ECameraZoomType.SHALLOW:
3771 return Math.Min(GetUserFOV(),GameConstants.DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW);
3772 default:
3773 return GetUserFOV();
3774 }
3775 return GetUserFOV();
3776 }
ECameraZoomType
Определения ECameraZoomType.c:2
float GetUserFOV()
Определения DayZGame.c:3746

Перекрестные ссылки GameConstants::DZPLAYER_CAMERA_FOV_EYEZOOM, GameConstants::DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW, GetUserFOV() и Math::Min().