PointLight Class

Extends PointLight
Module: Lights

PointLights emit light from a single point in all directions.

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

Constructor

PointLight

(
  • hex
  • intensity
  • distance
  • decay
)

Parameters:

  • hex Number

    Light color in hex RGB

  • intensity Number

    Light intensity

  • distance Number

    Maximum PointLight range

  • decay Number

Item Index

Methods

Methods

updateShadowMap

()

Update light shadow map atributtes at runtime