dot big bang

Developer API
Menu
All
  • Public
  • Public/Protected
  • All

Hierarchy

  • Fog

Index

Properties

Properties

Readonly color

color: Color

The color of the fog.

enabled

enabled: boolean

Whether to enable the fog effect.

far

far: number

The near and far properties determine the range of distances from the camera where the fog transition happens. Before near, the 3D objects are unaffected. After far, they're completely in the fog and appear as single-color silouhettes.

near

near: number

The near and far properties determine the range of distances from the camera where the fog transition happens. Before near, the 3D objects are unaffected. After far, they're completely in the fog and appear as single-color silouhettes.