LightingContextNode represents an extension of the ContextNode module
by adding lighting specific context data. It represents the runtime context of
LightsNode.
Constructor
new LightingContextNode(lightsNode, lightingModel?, backdropNode?, backdropAlphaNode?)| Parameter | Type | Default Value |
|---|---|---|
| lightsNode | LightsNode | — |
| lightingModel? | any | null |
| backdropNode? | any | null |
| backdropAlphaNode? | any | null |
Constructs a new lighting context node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| lightingModel | any | — | |
| backdropNode | any | — | |
| backdropAlphaNode | any | — | |
| _value | null | { radiance: Node<any>; irradiance: Node<any>; iblIrradiance: Node<any>; ambientOcclusion: Node<any>; reflectedLight: { directDiffuse: Node<any>; directSpecular: Node<any>; indirectDiffuse: Node<any>; indirectSpecular: Node<any>; }; backdrop: Node<any>; backdropAlpha: Node<any>; } | — | |
| Method | Type | |
|---|---|---|
| getContext | () => { radiance: Node<…>; irradiance: Node<any>; iblIrradiance: Node<any>; ambientOcclusion: Node<any>; reflectedLight: { directDiffuse: Node<any>; directSpecular: Node<any>; indirectDiffuse: Node<any>; indirectSpecular: Node<any>; }; backdrop: Node<any>; backdropAlpha: Node<any>; } | |
| setup | (builder: any) => void | |
Extends
ContextNodeType
any