directPointLight

Last modified: Jun 30, 2024
ParameterTypeDefault Value
{ color, lightVector, cutoffDistance, decayExponent }{ color: any; lightVector: any; cutoffDistance: any; decayExponent: any; }

Returns

PropertyTypeModifiers
lightDirectionany
lightColorany

PointLightNode

Module for representing point lights as nodes.

Constructor

new PointLightNode(light?)
ParameterTypeDefault Value
light?anynull

Constructs a new point light node.

AccessorType

Properties

PropertyTypeDefault Value
cutoffDistanceNodeUniformNode<float>
decayExponentNodeUniformNode<float>
MethodType

Extends

AnalyticLightNode