Exemple #1
0
        public DetailPrototypeCustom(DetailPrototypeCustom dpc)
        {
            minHeight    = dpc.minHeight;
            maxHeight    = dpc.maxHeight;
            minWidth     = dpc.minWidth;
            maxWidth     = dpc.maxWidth;
            dryColor     = dpc.dryColor;
            healthyColor = dpc.healthyColor;

            cdryColor     = dpc.cdryColor;
            chealthyColor = dpc.chealthyColor;
        }
Exemple #2
0
        public GrassDataLayer(GrassDataLayer gdl)
        {
            usePrototypeMesh          = gdl.usePrototypeMesh;
            detailTexture             = gdl.detailTexture;
            detailMesh                = gdl.detailMesh;
            detailCountPerDetailPixel = gdl.detailCountPerDetailPixel;
            minSpawnH      = gdl.minSpawnH;
            maxSpawnH      = gdl.maxSpawnH;
            minSlope       = gdl.minSlope;
            maxSlope       = gdl.maxSlope;
            perlinTreshold = gdl.perlinTreshold;
            inverse        = gdl.inverse;
            frequency      = gdl.frequency;
            seed           = gdl.seed;
            disable        = gdl.disable;

            detailTexturePath = gdl.detailTexturePath;
            detailMeshPath    = gdl.detailMeshPath;

            details = new DetailPrototypeCustom(gdl.details);
        }
Exemple #3
0
 public GrassDataLayer()
 {
     details = new DetailPrototypeCustom();
 }