unreal.OpenColorIOConfiguration

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

Bases: Object

Asset to manage allowed OpenColorIO color spaces. This will create required transform objects.

C++ Source:

  • Plugin: OpenColorIO

  • Module: OpenColorIO

  • File: OpenColorIOConfiguration.h

Editor Properties: (see get_editor_property/set_editor_property)

  • configuration_file (FilePath): [Read-Write]

  • context (Map[str, str]): [Read-Write] OCIO context of key-value string pairs, typically used to apply shot-specific looks (such as a CDL color correction, or a 1D grade LUT).

  • desired_color_spaces (Array[OpenColorIOColorSpace]): [Read-Write]

  • desired_display_views (Array[OpenColorIODisplayView]): [Read-Write]

property configuration_file: FilePath

[Read-Write]

Type:

(FilePath)

property context: None

[Read-Write] OCIO context of key-value string pairs, typically used to apply shot-specific looks (such as a CDL color correction, or a 1D grade LUT).

Type:

(Map[str, str])

property desired_color_spaces: None

[Read-Write]

Type:

(Array[OpenColorIOColorSpace])

property desired_display_views: None

[Read-Write]

Type:

(Array[OpenColorIODisplayView])

reload_existing_colorspaces(force=False) None

This forces to reload colorspaces and corresponding shaders if those are not loaded already.

Parameters:

force (bool) –