AvatarPreview.frmAvatar.GetParamValues C# (CSharp) Method

GetParamValues() private method

private GetParamValues ( ) : float>.Dictionary
return float>.Dictionary
        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;
        }