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

◆ GetFOVByZoomType()

float CGame::GetFOVByZoomType ( ECameraZoomType type)
inlineprotected

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

3895 {
3896 switch (type)
3897 {
3898 case ECameraZoomType.NONE:
3899 return GetUserFOV();
3900 case ECameraZoomType.NORMAL:
3901 return Math.Min(GetUserFOV(), GameConstants.DZPLAYER_CAMERA_FOV_EYEZOOM);
3902 case ECameraZoomType.SHALLOW:
3903 return Math.Min(GetUserFOV(),GameConstants.DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW);
3904 default:
3905 return GetUserFOV();
3906 }
3907 return GetUserFOV();
3908 }
ECameraZoomType
Определения ECameraZoomType.c:2
float GetUserFOV()
Определения DayZGame.c:3878

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