Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FogExp2

This class contains the parameters that define exponential squared fog, which gives a clear view near the camera and a faster than exponentially densening fog farther from the camera.

See the ngx3js scene page for details. See the ngx scene page for a live demo.

Hierarchy

Index

Constructors

constructor

Properties

color

color: I3JS.Color

Fog color. Example: If set to black, far away objects will be rendered black.

density

density: number

Defines how fast the fog will grow dense. Default is 0.00025.

default

0.00025

Readonly isFogExp2

isFogExp2: true

name

name: string

Optional name of the object (doesn't need to be unique). Default is an empty string.

default

''

Methods

clone

toJSON

  • toJSON(): any

Generated using TypeDoc