API

Class AreaLightAbstract

Abstract Area Light class that servers as parent for all Area Lights implementations. The light is emitted from the area in the -Z direction.

Hierarchy (View Summary)

Index
position: Vector3

Area Light position.

  • Prepares the list of defines specific to the light type.

    Parameters

    • defines: any

      the list of defines

    • lightIndex: number

      defines the index of the light for the effect

    Returns void