
上QQ阅读APP看书,第一时间看更新
The float HeightFromSample(float) method
Method HeightFromSample(float) does a simple calculation (sample value times public parameter multiplier), plus minimum value of two added to it. The value returned from the function is this result, limited to the maxHeight public parameter (via the Mathf.Clamp(...) method).