FSO.LotView.Components.TerrainComponent.UpdateLotType C# (CSharp) Méthode

UpdateLotType() public méthode

public UpdateLotType ( ) : void
Résultat void
        public void UpdateLotType()
        {
            int index = (int)LotType;
            LightGreen = LotTypeGrassInfo.LightGreen[index];
            LightBrown = LotTypeGrassInfo.LightBrown[index];
            DarkGreen = LotTypeGrassInfo.DarkGreen[index];
            DarkBrown = LotTypeGrassInfo.DarkBrown[index];
            GrassHeight = LotTypeGrassInfo.Heights[index];
            if (!FSOEnvironment.UseMRT) GrassHeight /= 2;
            GrassDensityScale = LotTypeGrassInfo.GrassDensity[index];
        }