Linearstar.MikuMikuMoving.ApplyNoisePlugin.NoiseValue.Interpolate C# (CSharp) Метод

Interpolate() публичный Метод

public Interpolate ( NoiseValue nextValue, float amount ) : NoiseValue
nextValue NoiseValue
amount float
Результат NoiseValue
        public NoiseValue Interpolate(NoiseValue nextValue, float amount)
        {
            return new NoiseValue
            {
                PositionWidth = Vector3.Lerp(this.PositionWidth, nextValue.PositionWidth, amount),
                RotationWidth = Vector3.Lerp(this.RotationWidth, nextValue.RotationWidth, amount),
                GravityWidth = MathHelper.Lerp(this.GravityWidth, nextValue.GravityWidth, amount),
                GravityDirectionWidth = Vector3.Lerp(this.GravityDirectionWidth, nextValue.GravityDirectionWidth, amount),
            };
        }
NoiseValue