Constructor
new ToneMappingNode( toneMapping : number, exposureNode : Node, colorNode : Node )
Constructs a new tone mapping node.
| toneMapping |
The tone mapping type. |
| exposureNode |
The tone mapping exposure. |
| colorNode |
The color node to process. Default is |
Properties
.exposureNode : Node
The tone mapping exposure.
Default is null.
Methods
.customCacheKey() : number
Overwrites the default customCacheKey() implementation by including the tone
mapping type into the cache key.
- Overrides: TempNode#customCacheKey
- Returns: The hash.
.getToneMapping() : number
Gets the tone mapping type.
- Returns: The tone mapping type.
.setToneMapping( value : number ) : ToneMappingNode
Sets the tone mapping type.
| value |
The tone mapping type. |
- Returns: A reference to this node.