private Dictionary<int, float> GetParamValues()
{
Dictionary<int, float> paramValues = new Dictionary<int, float>(VisualParams.Params.Count);
foreach (KeyValuePair<int, VisualParam> kvp in VisualParams.Params)
{
VisualParam vp = kvp.Value;
paramValues.Add(vp.ParamID, vp.DefaultValue);
}
return paramValues;
}