composition
Project configuration and options.
Classes¶
RenderedComposition
¶
Functions¶
get_context_for_layer
¶
get_context_for_layer(
composition: RenderedComposition,
index: Optional[int] = None,
) -> dict
Merge the contexts for all layers up to index.
An index
of None
does all the layers.
Parameters:
composition
-
The rendered composition
TYPE:
RenderedComposition
index
-
Merge the contexts of the layers up to this 0-based index.
None
to do all layers.DEFAULT:
None
Returns:
-
dict
-
The comprehensively merged context