22 string ret =
"Graphics/Materials/postprocess/depthoffieldTest2";
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 RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
protected void RegisterParameterScalarBool(int idx, string parameter_name, bool default_value)
DepthOfField - PostProcessEffectType.DepthOfField.
override void RegisterMaterialParameters()
static const int PARAM_SIMPLEHFNEAR
override string GetDefaultMaterialPath()
override int GetPostProcessEffectID()
static const int PARAM_BLURFACTOR
static const int PARAM_DOFLQ
static const int PARAM_FOCALDISTANCE
static const int PARAM_SIMPLEDOF
static const int PARAM_SIMPLEDOFGAUSS
static const int PARAM_SIMPLEDOFSIZE
static const int PARAM_FOCALOFFSET
static const int PARAM_HYPERFOCAL
PostProcessEffectType
Post-process effect type.