Function Environment.fogHeightEnabled

If true, the height fog effect is enabled. When enabled, fog will appear in a defined height range, regardless of the distance from the camera. This can be used to simulate "deep water" effects with a lower performance cost compared to a dedicated shader.

bool fogHeightEnabled() nothrow @property @nogc;

void fogHeightEnabled (
  bool v
) nothrow @property @nogc;