Exemplo n.º 1
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);
        }
Exemplo n.º 2
0
 public abstract float CalculateLandRegionTypeStrength(TerrainSample terrain_sample);
Exemplo n.º 3
0
 public override float CalculateLandRegionTypeStrength(TerrainSample terrain_sample)
 {
     return(strength_curve.GetValue(terrain_sample.GetSurfaceAngle()));
 }
Exemplo n.º 4
0
 public override float CalculateLandRegionTypeStrength(TerrainSample terrain_sample)
 {
     return(strength);
 }