22 string ret =
"Graphics/Materials/postprocess/depthoffieldTest2";
Created once, on manager init. Script-side representation of C++ material class, separate handling.
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 ...
void RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
void RegisterParameterScalarBool(int idx, string parameter_name, bool default_value)
DepthOfField - PostProcessEffectType.DepthOfField.
static const int PARAM_FOCALDISTANCE
override string GetDefaultMaterialPath()
static const int PARAM_DOFLQ
static const int PARAM_SIMPLEDOF
override int GetPostProcessEffectID()
static const int PARAM_HYPERFOCAL
static const int PARAM_SIMPLEDOFGAUSS
static const int PARAM_SIMPLEDOFSIZE
static const int PARAM_FOCALOFFSET
static const int PARAM_BLURFACTOR
static const int PARAM_SIMPLEHFNEAR
override void RegisterMaterialParameters()
PostProcessEffectType
Post-process effect type.