Develop

Set Color Map Curve

Updated: Apr 15, 2026

Overview

Sets the color curve used to convert grayscale passthrough to color on a Passthrough Layer Base component. This function only has a visible effect when the color map type is set to Grayscale To Color.

Prerequisites

Before calling Set Color Map Curve, complete the following steps:
  1. Enable the color map by calling Enable Color Map with the value set to true.
  2. Set the color map type to Grayscale To Color by calling Set Color Map Type with the value GrayscaleToColor.
  3. Enable the color map curve by calling Enable Color Map Curve with the value set to true (call this directly on the Passthrough Layer Base component).

Blueprint

Set Color Map Curve

Arguments

  • Target: Passthrough Layer Base object reference
  • In Color Map Curve: A UCurveLinearColor asset that defines the grayscale-to-color gradient mapping. Create one in the Content Browser under Miscellaneous > Curve > CurveLinearColor.
Note: Calling Set Color Map Curve regenerates the internal color array and triggers a layer update. Avoid calling this function every frame.

Output

  • None