예제 #1
0
 public override float CalculateShadowScale(VegetationClientState clientState)
 {
     return(base.CalculateShadowScale(clientState) * 0.65f);
 }
예제 #2
0
 public virtual float CalculateShadowScale(VegetationClientState clientState)
 {
     return(0.33f
            * (clientState.LastGrowthStage + 1)
            / this.GrowthStagesCount);
 }