Base class for analytic light nodes.
Constructor
new AnalyticLightNode(light?)| Parameter | Type | Default Value |
|---|---|---|
| light? | any | null |
Constructs a new analytic light node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| light | any | — | |
| color | Color | — | |
| colorNode | Node | — | |
| baseColorNode | null | Node | — | |
| shadowNode | any | — | |
| shadowColorNode | null | Node | — | |
| isAnalyticLightNode | boolean | — | |
| _shadowDisposeListener | () => void | — | |
| Method | Type | |
|---|---|---|
| dispose | () => void | |
| disposeShadow | () => void | |
| getHash | () => any | |
| getLightVector | (builder: NodeBuilder) => any | |
| setupDirect | () => undefined | Object | |
| setupDirectRectArea | () => undefined | Object | |
| setupShadowNode | () => ShadowNode | |
| setupShadow | (builder: NodeBuilder) => void | |
| setup | (builder: NodeBuilder) => void | |
| update | () => void | |
Extends
LightingNode