Generated with
Copyright (c) 2022-2026, Olivier NOUGUIER
Copyright (c) 2022-2026, Olivier NOUGUIER
THREE.Fog
See theFog companion class
Companion object for creating Fog instances
Attributes
- Companion
-
class
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
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
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