Options
All
  • Public
  • Public/Protected
  • All
Menu

Point light

export

Hierarchy

Index

Constructors

constructor

  • new Point(_color: Color, _distance: number, _decay?: number): Point

Properties

children

children: Empty[]

Children entities

memberof

Empty

color

color: Color

Light color

memberof

Point

decay

decay: number

Light decay rate

memberof

Point

distance

distance: number

Light distance limit

memberof

Point

Protected thisMat

thisMat: Matrix4 = ...

World coordinate based model matrix

memberof

Empty

transform

transform: Transform = ...

transform

memberof

Empty

Methods

initialize

  • initialize(gl: WebGLRenderingContext, defaultUniforms: {}): void
  • initialize children

    memberof

    Empty

    Parameters

    • gl: WebGLRenderingContext
    • defaultUniforms: {}
      • [key: string]: UniformType

    Returns void

prepare

render

searchLight

Generated using TypeDoc