unreal.OpenColorIODisplayExtensionWrapper

class unreal.OpenColorIODisplayExtensionWrapper(outer=None, name='None')

Bases: unreal.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_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
Returns

Return type

OpenColorIODisplayExtensionWrapper

remove_scene_extension()None

Removes the extension.

set_open_color_io_configuration(display_configuration)None

Sets a new 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)) –