Fog

THREE.Fog
See theFog companion class
object Fog

Companion object for creating Fog instances

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Fog.type

Members list

Value members

Concrete methods

def apply(color: Color | Int, near: Double, far: Double): Fog

Creates a new Fog instance

Creates a new Fog instance

Value parameters

color

The fog's color (can be a hex number or Color object)

far

The maximum distance at which fog stops being calculated (default: 1000)

near

The minimum distance to start applying fog (default: 1)

Attributes

Returns

A new Fog instance

def apply(hexColor: Int): Fog

Creates a new Fog instance with hex color

Creates a new Fog instance with hex color

Value parameters

far

The maximum distance at which fog stops being calculated (default: 1000)

hexColor

The fog's color as a hex number

near

The minimum distance to start applying fog (default: 1)

Attributes

Returns

A new Fog instance

def apply(hexColor: Int, near: Double, far: Double): Fog