Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/scenes/FogExp2.js>FogExp2

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class FogExp2
implements IFog
import { FogExp2 } from "https://deno.land/x/threejs_4_deno@v121/src/scenes/FogExp2.js";

This class contains the parameters that define linear fog, i.e., that grows exponentially denser with the distance.

Constructors

new
FogExp2(hex: number | string, density?: number)

Properties

color: Color
density: number

Defines how fast the fog will grow dense.

readonly
isFogExp2: true
name: string

Methods

clone(): this
toJSON(): any