Navigation
API > API/Plugins > API/Plugins/CineAssemblyToolsEditor > API/Plugins/CineAssemblyToolsEditor/UCineAssemblyEditorFunctionLibra-
Description
Creates an in-memory (transient) CineAssembly object, with defaults configured from the input Schema, ready for further configuration. SubAssembly objects (as specified by the Schema) are also created in-memory and can be obtained by calling GetSubAssemblies(). Once configuration is complete, call FinalizeConfiguredAssembly() to persist the Assembly (and SubAssemblies) as a real asset. Other persist APIs (duplicate/rename/save) on the transient CineAssembly are not supported.
| Name | CreateAssemblyToConfigure |
| 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 * CreateAssemblyToConfigure
(
UCineAssemblySchema * Schema,
TSoftObjectPtr< UWorld > Level,
TSoftObjectPtr< UCineAssembly > ParentAssembly,
const TMap< FString, FString > & Metadata
)
The transient assembly, or nullptr if creation failed
Parameters
| Name | Remarks |
|---|---|
| Schema | The schema to initialize the new assembly from |
| Level | Optional Level to associate with the new assembly |
| ParentAssembly | Optional parent assembly reference |
| Metadata | Optional metadata overrides to apply to the assembly (key/value string pairs) |