Capítulo 119 de 859
LightingContextNode represents an extension of the ContextNode module by adding lighting specific context data. It represents the runtime context of LightsNode.
Constructor
| Signature |
|---|
new LightingContextNode( lightsNode : LightsNode, lightingModel : LightingModel, materialLightings : Array.<LightingNode>, backdropNode : Node.<vec3>, backdropAlphaNode : Node.<float> ) |
Properties
| Property | Description |
|---|---|
.backdropAlphaNode : Node.<float> | A backdrop alpha node. |
.backdropNode : Node.<vec3> | A backdrop node. |
.lightingModel : LightingModel | The current lighting model. |
.materialLightings : Array.<LightingNode> |
Methods
| Method | Description |
|---|---|
.getContext() : Object | Returns a lighting context object. |