Skip to main content

Fog

API​

SetFogDensity(density: float) -> None​

Set fog density.

  • density: fog density

SetFogDistance(near: float, far: float) -> None​

Set the visibility of fog.

  • near: the distance where visibility begins to degrade
  • far: the distance where visibility reaches the worst

SetFogColor(color: Color) -> None​

Set fog color.

  • color: fog color