Class BaseHeightDensity
Leaf: the biome's base height. In "distance" mode returns the signed distance to the base plane
(position.Y - baseHeight, so >0 above / <0 below); otherwise the constant base height. The
baseHeight is resolved at load time from a named Framework decimal constant (e.g. "Base").
Mirrors the v2 generator's BaseHeightDensity.
public sealed class BaseHeightDensity : Density
- Inheritance
-
BaseHeightDensity
- Inherited Members
Constructors
BaseHeightDensity(double, bool)
Leaf: the biome's base height. In "distance" mode returns the signed distance to the base plane
(position.Y - baseHeight, so >0 above / <0 below); otherwise the constant base height. The
baseHeight is resolved at load time from a named Framework decimal constant (e.g. "Base").
Mirrors the v2 generator's BaseHeightDensity.
public BaseHeightDensity(double baseHeight, bool isDistance)
Parameters
Methods
Process(Context)
public override double Process(Density.Context context)