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

◆ GetFOVByZoomType()

float CGame::GetFOVByZoomType ( ECameraZoomType type)
inlineprotected

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

3689 {
3690 switch (type)
3691 {
3692 case ECameraZoomType.NONE:
3693 return GetUserFOV();
3694 case ECameraZoomType.NORMAL:
3695 return Math.Min(GetUserFOV(), GameConstants.DZPLAYER_CAMERA_FOV_EYEZOOM);
3696 case ECameraZoomType.SHALLOW:
3697 return Math.Min(GetUserFOV(),GameConstants.DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW);
3698 default:
3699 return GetUserFOV();
3700 }
3701 return GetUserFOV();
3702 }
ECameraZoomType
Определения ECameraZoomType.c:2
float GetUserFOV()
Определения DayZGame.c:3672

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