unreal.CompositePassTranslucency

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

Bases: CompositePassBase

Modifies the layer alpha channel. Supports alpha-premultiplication toggles, fade and explicit alpha overrides.

C++ Source:

  • Plugin: Composite

  • Module: Composite

  • File: CompositePassTranslucency.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • fade (float): [Read-Write] Fade the alpha from 0 to 1. Assumes pre-multiplied alpha, so both RGB and A are scaled together.

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

  • premult_op (CompositeAlphaPremultiplication): [Read-Write] Alpha premultiplication operation.

property fade: float

[Read-Write] Fade the alpha from 0 to 1. Assumes pre-multiplied alpha, so both RGB and A are scaled together.

Type:

(float)

property premult_op: CompositeAlphaPremultiplication

[Read-Write] Alpha premultiplication operation.

Type:

(CompositeAlphaPremultiplication)