RectAreaLight Class

Extends RectAreaLight
Module: Lights

A RectAreLight emit light from a rectagular surface.

Based on THREE.RectAreaLight documentation for the object can be found at https://threejs.org/docs/index.html#Reference/Lights/RectAreaLight

Constructor

RectAreaLight

(
  • color
  • intensity
  • width
  • height
)

Parameters:

  • color Number

    Light color in hex RGB

  • intensity Number

    Light intensity

  • width Number
  • height Number

Item Index

Methods

Methods

toJSON

(
  • meta
)
Object

Create JSON description

Parameters:

  • meta Object

Returns:

Object:

JSON descrition