Exemple #1
0
        public ILCanvas(MethodBase m)
        {
            method = m;

            locals = new Pedia <Type, Pit <ILCanvasLocal> >(
                t => new Pit <ILCanvasLocal>(() => CreateLocalInternal(t))
                );
        }
Exemple #2
0
        public LandPoint(TerrainSample s)
        {
            terrain_sample = s;

            land_region_type_strengths = new Pedia <LandRegionType, float>(0.0f);
            land_region_type_presences = new Pedia <LandRegionType, float>(0.0f);

            land_region_splat_alpha = new Pedia <LandRegionSplat, float>(0.0f);
        }