unreal.OpenColorIOColorSpace

class unreal.OpenColorIOColorSpace(color_space_name: str = '', color_space_index: int = 0, family_name: str = '')

Bases: StructBase

Structure to identify a ColorSpace as described in an OCIO configuration file. Members are populated by data coming from a config file.

C++ Source:

  • Plugin: OpenColorIO

  • Module: OpenColorIO

  • File: OpenColorIOColorSpace.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_space_index (int32): [Read-Write] The index of the ColorSpace in the config

  • color_space_name (str): [Read-Write] The ColorSpace name.

  • family_name (str): [Read-Write] The family of this ColorSpace as specified in the configuration file. When you have lots of colorspaces, you can regroup them by family to facilitate browsing them.

property color_space_index: int

[Read-Write] The index of the ColorSpace in the config

Type:

(int32)

property color_space_name: str

[Read-Write] The ColorSpace name.

Type:

(str)

property family_name: str

[Read-Write] The family of this ColorSpace as specified in the configuration file. When you have lots of colorspaces, you can regroup them by family to facilitate browsing them.

Type:

(str)