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

◆ GetDefaultMaterialPath()

override string PPESSAO::GetDefaultMaterialPath ( )
inlineprivate

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

31 {
32 //return "Graphics/Materials/postprocess/hbao"; //"default-default", with no option taken into account (c++)
33 GameOptions options = new GameOptions;
34
35 ListOptionsAccess loa = ListOptionsAccess.Cast( options.GetOptionByType( OptionAccessType.AT_POSTPROCESS_EFFECTS ) );
36 string ret = "";
37 switch (loa.GetIndex())
38 {
40 ret = "Graphics/Materials/postprocess/hbao_low";
41 break;
42
44 ret = "Graphics/Materials/postprocess/hbao_medium";
45 break;
46
48 ret = "Graphics/Materials/postprocess/hbao_high";
49 break;
50
52 ret = "Graphics/Materials/postprocess/hbao_highest";
53 break;
54 }
55 return ret;
56 }
proto native OptionsAccess GetOptionByType(int accessType)
Get option by AccessType.
static const int POSTPROCESS_OPTION_VALUE_HIGH
Определения PPESSAO.c:6
static const int POSTPROCESS_OPTION_VALUE_LOW
Определения PPESSAO.c:4
static const int POSTPROCESS_OPTION_VALUE_MEDIUM
Определения PPESSAO.c:5
static const int POSTPROCESS_OPTION_VALUE_HIGHEST
Определения PPESSAO.c:7
OptionAccessType
C++ OptionAccessType.
Определения gameplay.c:1224

Перекрестные ссылки GameOptions::GetOptionByType(), POSTPROCESS_OPTION_VALUE_HIGH, POSTPROCESS_OPTION_VALUE_HIGHEST, POSTPROCESS_OPTION_VALUE_LOW и POSTPROCESS_OPTION_VALUE_MEDIUM.