Constructor
new LightingContextNode( lightsNode : LightsNode, lightingModel : LightingModel, backdropNode : Node.<vec3>, backdropAlphaNode : Node.<float> )
Constructs a new lighting context node.
| lightsNode |
The lights node. |
| lightingModel |
The current lighting model. Default is |
| backdropNode |
A backdrop node. Default is |
| backdropAlphaNode |
A backdrop alpha node. Default is |
Properties
.backdropAlphaNode : Node.<float>
A backdrop alpha node.
Default is null.
.backdropNode : Node.<vec3>
A backdrop node.
Default is null.
.lightingModel : LightingModel
The current lighting model.
Default is null.
Methods
.getContext() : Object
Returns a lighting context object.
- Returns: The lighting context object.