unreal.CompositePassOpenColorIO

class unreal.CompositePassOpenColorIO(outer: Object | None = None, name: Name | str = 'None')

Bases: CompositePassBase

Applies an OpenColorIO color transform to the layer input. Typically used for color-space conversion or to apply a view transform.

C++ Source:

  • Plugin: Composite

  • Module: Composite

  • File: CompositePassOpenColorIO.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_conversion_settings (OpenColorIOColorConversionSettings): [Read-Write] Color conversion settings.

  • display_name (str): [Read-Write] The display name of the pass

  • input_is_premultiplied (bool): [Read-Write] Set true when the input texture stores premultiplied alpha (RGB already scaled by A). The pass will unpremultiply before the color transform and re-premultiply after, so the transform operates on straight-alpha values. Leave false for straight-alpha inputs.

  • is_enabled (bool): [Read-Write] Whether or not the pass is active.

property b_unpremult: bool

‘b_unpremult’ was renamed to ‘input_is_premultiplied’.

Type:

deprecated

property color_conversion_settings: OpenColorIOColorConversionSettings

[Read-Write] Color conversion settings.

Type:

(OpenColorIOColorConversionSettings)

property input_is_premultiplied: bool

[Read-Write] Set true when the input texture stores premultiplied alpha (RGB already scaled by A). The pass will unpremultiply before the color transform and re-premultiply after, so the transform operates on straight-alpha values. Leave false for straight-alpha inputs.

Type:

(bool)