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

x/threejs_4_deno/src/lights/Light.d.ts>Light

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class Light
extends Object3D
import { Light } from "https://deno.land/x/threejs_4_deno@v121/src/lights/Light.d.ts";

Abstract base class for lights.

Constructors

new
Light(hex?: number | string, intensity?: number)

Properties

color: Color
intensity: number
readonly
isLight: true
shadow: LightShadow
deprecated
shadowBias: any
deprecated
shadowCameraBottom: any
deprecated
shadowCameraFar: any
deprecated
shadowCameraFov: any
deprecated
shadowCameraLeft: any
deprecated
shadowCameraNear: any
deprecated
shadowCameraRight: any
deprecated
shadowCameraTop: any
deprecated
shadowMapHeight: any
deprecated
shadowMapWidth: any
type: string