unreal.OpenColorIODisplayExtensionWrapper

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

Bases: Object

This Blueprintable object can hold an OCIO Scene View Extension. You can change its OCIO config, and specify the context in which you want it to be active on.

C++ Source:

  • Plugin: OpenColorIO

  • Module: OpenColorIO

  • File: OpenColorIODisplayExtensionWrapper.h

classmethod create_in_game_open_color_io_display_extension(display_configuration) OpenColorIODisplayExtensionWrapper

Creates an instance of this object, configured for use in game with the given OCIO configuration.

Parameters:

display_configuration (OpenColorIODisplayConfiguration) –

Return type:

OpenColorIODisplayExtensionWrapper

classmethod create_open_color_io_display_extension(display_configuration, is_active_function) OpenColorIODisplayExtensionWrapper

Creates an instance of this object, configured with the given arguments (OCIO and activation function).

Parameters:
Return type:

OpenColorIODisplayExtensionWrapper

get_open_color_io_configuration() OpenColorIODisplayConfiguration

Gets the display extension OCIO configuration.

Return type:

OpenColorIODisplayConfiguration

remove_scene_extension() None

Removes the extension.

set_open_color_io_configuration(display_configuration) None

Sets the display extension OCIO configuration.

Parameters:

display_configuration (OpenColorIODisplayConfiguration) –

set_scene_extension_is_active_function(is_active_function) None

Sets a single activation function. Will remove any others.

Parameters:

is_active_function (SceneViewExtensionIsActiveFunctor) –

set_scene_extension_is_active_functions(is_active_functions) None

Sets an array of activation functions. Will remove any others.

Parameters:

is_active_functions (Array[SceneViewExtensionIsActiveFunctor]) –