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); }
public abstract float CalculateLandRegionTypeStrength(TerrainSample terrain_sample);
public override float CalculateLandRegionTypeStrength(TerrainSample terrain_sample) { return(strength_curve.GetValue(terrain_sample.GetSurfaceAngle())); }
public override float CalculateLandRegionTypeStrength(TerrainSample terrain_sample) { return(strength); }