| Parameter | Type | Default Value |
|---|---|---|
| { color, lightVector, cutoffDistance, decayExponent } | { color: any; lightVector: any; cutoffDistance: any; decayExponent: any; } | — |
Returns
| Property | Type | Modifiers |
|---|---|---|
| lightDirection | any | — |
| lightColor | any | — |
Module for representing point lights as nodes.
Constructor
new PointLightNode(light?)| Parameter | Type | Default Value |
|---|---|---|
| light? | any | null |
Constructs a new point light node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| cutoffDistanceNode | UniformNode<float> | — | |
| decayExponentNode | UniformNode<float> | — | |
| Method | Type | |
|---|---|---|
| update | (frame: NodeFrame) => void | |
| setupShadowNode | () => PointShadowNode | |
| setupDirect | (builder: any) => { lightDirection: any; lightColor: any; } | |
Extends
AnalyticLightNode