Develop

Set Color Map Type

Updated: Apr 15, 2026

Overview

This blueprint sets the color mapping technique applied to passthrough images on a Passthrough Layer Base component. Use it to select from grayscale conversion, color adjustment, color LUT application, or no color mapping.

Prerequisites

Before calling Set Color Map Type, enable the color map by calling Enable Color Map with the value set to true. Set Color Map Type has no visible effect unless the color map is enabled.

Blueprint

Set Color Map Type

Arguments

  • Target: Passthrough Layer Base object reference
  • In Color Map Type: One of the following EOculusXRColorMapType enum values:
    • None: Displays passthrough images unchanged.
    • GrayscaleToColor: Colorizes grayscale passthrough images, adjusts brightness and contrast, and applies a posterization effect. Color passthrough images are converted to grayscale first if this option is selected.
    • Grayscale: Adjusts brightness and contrast and applies a posterization effect to grayscale passthrough images. Color passthrough images are converted to grayscale first if this option is selected.
    • ColorAdjustment: Adjusts image brightness, contrast, and saturation. The saturation adjustment only has an effect on devices that support color passthrough.
    • ColorLUT: Applies a color look-up table (LUT), which maps each RGB input color into an arbitrary RGB(A) in the passthrough image stream.
    • InterpolatedColorLUT: Applies the blend between two color LUTs to the passthrough image stream. This option can be used to smoothly transition between two color LUTs.

Output

  • None