AccidentalNoise.ImplicitFractal.SetSourceType C# (CSharp) Метод

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

public SetSourceType ( Int32 which, BasisType newBasisType, InterpolationType newInterpolationType ) : void
which System.Int32
newBasisType BasisType
newInterpolationType InterpolationType
Результат void
        public void SetSourceType(Int32 which, BasisType newBasisType, InterpolationType newInterpolationType)
        {
            if (which >= Noise.MAX_SOURCES || which < 0) return;

            this.basisFunctions[which].BasisType = newBasisType;
            this.basisFunctions[which].InterpolationType = newInterpolationType;
        }