public InitialVelocityNoise(IKeyValueCollection keyValues) { if (keyValues.ContainsKey("m_vecOutputMin")) { outputMin = keyValues.GetVectorProvider("m_vecOutputMin"); } if (keyValues.ContainsKey("m_vecOutputMax")) { outputMax = keyValues.GetVectorProvider("m_vecOutputMax"); } if (keyValues.ContainsKey("m_flNoiseScale")) { noiseScale = keyValues.GetNumberProvider("m_flNoiseScale"); } }