disguise developers

Designer Plugins

Plugins for Disguise Designer software.

OcioColourSpace

Properties

isBuiltin : bool

Whether this is a built-in transform.
If false, this is a transform provided in a .ocio config file.

name : str

The name of the colour space, or the display if this is a display-view transform

type : int

Whether this colour space represents an input or output transform, or a working space

Options: {0: ‘Invalid’, 1: ‘Input’, 2: ‘Output’, 3: ‘Working’, 4: ‘NamedTransform’, 5: ‘Look’}

view : str

The name of the view, if this is a display-view transform.
Empty if this is a regular colour space transform.

Variables

Input : Final[int] = 1

Output : Final[int] = 2

Working : Final[int] = 3

Constructors

__init__(self)

__init__(self, other: OcioColourSpace)

Copy constructor for OcioColourSpace

Methods

getActualSpace(self) -> OcioColourSpace

Return default OcioColourSpace object if it’s set to default

getFamily(self) -> str

Return family of OcioColourSpace object

getFullName(self) -> str

Return name/view if display-view space, otherwise canonical name

set(self, name: string_view, view: string_view, isBuiltin: bool)