LightingContextNode

Last modified: Jun 30, 2024

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?)
ParameterTypeDefault Value
lightsNodeLightsNode
lightingModel?anynull
backdropNode?anynull
backdropAlphaNode?anynull

Constructs a new lighting context node.

AccessorType

Properties

PropertyTypeDefault Value
lightingModelany
backdropNodeany
backdropAlphaNodeany
_valuenull | { 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>; }
MethodType

Extends

ContextNode

lightingContext

Type

any