Capítulo 497 de 859

Chapter 497: ToneMappingNode

Core Idea

This node represents a tone mapping operation.

Key Concepts

  • colorNode : Node: Represents the color to process.
  • exposureNode : Node: The tone mapping exposure.

Reference Tables

Constructor

Signature
new ToneMappingNode( toneMapping : number, exposureNode : Node, colorNode : Node )

Properties

PropertyDescription
.colorNode : NodeRepresents the color to process.
.exposureNode : NodeThe tone mapping exposure.

Methods

MethodDescription
.customCacheKey() : numberOverwrites the default customCacheKey() implementation by including the tone mapping type into the cache key.
.getToneMapping() : numberGets the tone mapping type.
.setToneMapping( value : number ) : ToneMappingNodeSets the tone mapping type.

Key Takeaways

  1. ToneMappingNode extends: EventDispatcher → Node → TempNode
  2. Most relevant properties: colorNode, exposureNode.
  3. Key methods: customCacheKey, getToneMapping, setToneMapping.

Connects To