Navigation
API > API/Plugins > API/Plugins/CineAssemblyToolsEditor > API/Plugins/CineAssemblyToolsEditor/UCineAssemblyEditorFunctionLibra-
Description
Creates an in-memory (transient) duplicate of the source CineAssembly, ready for further configuration. If bDuplicateSubsequences is true, duplicate SubAssembly objects are also created in-memory and can be obtained by calling GetSubAssemblies(). Once configuration is complete, call FinalizeDuplicateAssembly() to persist the duplicate Assembly (and SubAssemblies) as a real asset. Other persist APIs (duplicate/rename/save) on the transient CineAssembly are not supported.
| Name | DuplicateAssemblyToConfigure |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/CinematicAssemblyTools/Source/CineAssemblyToolsEditor/Public/CineAssemblyEditorFunctionLibrary.h |
| Include Path | #include "CineAssemblyEditorFunctionLibrary.h" |
| Source | /Engine/Plugins/VirtualProduction/CinematicAssemblyTools/Source/CineAssemblyToolsEditor/Private/CineAssemblyEditorFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Cine Assembly Tools", Meta=(AutoCreateRefTerm="Metadata"))
static UCineAssembly * DuplicateAssemblyToConfigure
(
UCineAssembly * SourceAssembly,
const TMap< FString, FString > & Metadata,
bool bDuplicateSubsequences
)
The transient duplicate, or nullptr if duplication failed
Parameters
| Name | Remarks |
|---|---|
| SourceAssembly | The assembly to duplicate |
| Metadata | Optional metadata overrides to apply to the assembly (key/value string pairs) |
| bDuplicateSubsequences | If true, each managed SubAssembly (as specified by the Schema) is also duplicated in-memory. Additional subsequences can be duplicated during FinalizeDuplicateAssembly(). If false, the duplicate assembly will maintain a reference to source assembly's original SubAssemblies. |