53 bool is_enabled = Param1<bool>.Cast(enabled_par).
param1;
62 float value_var_float = Param1<float>.Cast(values).
param1;
63 array_values.Insert(value_var_float);
70 g_Game.OverrideDOF(
false,0.0,0.0,0.0,0.0,1.0);
Created once, on manager init. Script-side representation of C++ material class, separate handling.
protected void RegisterParameterScalarFloat(int idx, string parameter_name, float default_value, float min, float max)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
protected void RegisterParameterScalarBool(int idx, string parameter_name, bool default_value)
PPEMatClassParameterCommandData GetParameterCommandData(int parameter_idx)
Some PP effects are handled as hard-coded exceptions, outside of material system. Default == PPEExcep...
protected ref array< int > m_UpdatedParameters
DOF postprocess, does not directly use materials.
static const int PARAM_FOCUS_DIST
override void RegisterMaterialParameters()
override int GetPostProcessEffectID()
static const int PARAM_ENABLE
static const int PARAM_FOCUS_LEN
static const int PARAM_FOCUS_DEPTH_OFFSET
static const int PARAM_FOCUS_LEN_NEAR
override void SetFinalParameterValue(int parameter_idx)
Overriden to handle the specific exception.
static const int PARAM_BLUR
override void ApplyValueChanges()
Param GetCurrentValues()
Careful, only actual values, WITHOUT string.
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Result for an object found in CGame.IsBoxCollidingGeometryProxy.