Capítulo 395 de 859

Chapter 395: ColorSpaceNode

Core Idea

This node represents a color space conversion. Meaning it converts a color value from a source to a target color space.

Key Concepts

  • colorNode : Node: Represents the color to convert.
  • source : string: The source color space.
  • target : string: The target color space.

Reference Tables

Constructor

Signature
new ColorSpaceNode( colorNode : Node, source : string, target : string )

Properties

PropertyDescription
.colorNode : NodeRepresents the color to convert.
.source : stringThe source color space.
.target : stringThe target color space.

Methods

MethodDescription
.resolveColorSpace( builder : NodeBuilder, colorSpace : string ) : stringThis method resolves the constants WORKING_COLOR_SPACE and OUTPUT_COLOR_SPACE based on the current configuration of the color management and renderer.

Key Takeaways

  1. ColorSpaceNode extends: EventDispatcher → Node → TempNode
  2. Most relevant properties: colorNode, source, target.
  3. Key methods: resolveColorSpace.

Connects To