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