Overriden to handle the specific exception.
См. определение в файле PPEDOF.c строка 50
51 {
53 bool is_enabled = Param1<bool>.Cast(enabled_par).
param1;
54
55 if (is_enabled)
56 {
57 array<float> array_values = {-1.0};
58
60 {
62 float value_var_float = Param1<float>.Cast(values).
param1;
63 array_values.Insert(value_var_float);
64 }
65
67 }
68 else
69 {
70 g_Game.OverrideDOF(
false,0.0,0.0,0.0,0.0,1.0);
71 }
72 }
PPEMatClassParameterCommandData GetParameterCommandData(int parameter_idx)
Some PP effects are handled as hard-coded exceptions, outside of material system. Default == PPEExcep...
static const int PARAM_FOCUS_LEN
static const int PARAM_FOCUS_LEN_NEAR
static const int PARAM_FOCUS_DIST
static const int PARAM_BLUR
static const int PARAM_FOCUS_DEPTH_OFFSET
static const int PARAM_ENABLE
Param GetCurrentValues()
Careful, only actual values, WITHOUT string.
Перекрестные ссылки g_Game, PPEMatClassParameterCommandData::GetCurrentValues(), PPEClassBase::GetParameterCommandData(), Param::param1, PARAM_BLUR, PARAM_ENABLE, PARAM_FOCUS_DEPTH_OFFSET, PARAM_FOCUS_DIST, PARAM_FOCUS_LEN и PARAM_FOCUS_LEN_NEAR.
Используется в ApplyValueChanges().