Navigation
API > API/Plugins > API/Plugins/CineAssemblyToolsEditor > API/Plugins/CineAssemblyToolsEditor/UProductionFunctionLibrary
Description
Note: Prefer the CineAssembly Editor Function Library version of CreateAssembly. The Production Function Library version is kept for backwards compatibility.
Create a new CineAssembly asset using the input Schema, Level, and Metadata. If bUseDefaultNameFromSchema is true, the default assembly name from the specified schema will be used as the new asset name. It is important that any metadata required for resolving asset naming tokens is provided to this function so that the Assembly and SubAssemblies are all named correctly.
| Name | CreateAssembly |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/CinematicAssemblyTools/Source/CineAssemblyToolsEditor/Public/ProductionFunctionLibrary.h |
| Include Path | #include "ProductionFunctionLibrary.h" |
| Source | /Engine/Plugins/VirtualProduction/CinematicAssemblyTools/Source/CineAssemblyToolsEditor/Private/ProductionFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Cine Assembly Tools", Meta=(AutoCreateRefTerm="Metadata"))
static UCineAssembly * CreateAssembly
(
UCineAssemblySchema * Schema,
TSoftObjectPtr< UWorld > Level,
TSoftObjectPtr< UCineAssembly > ParentAssembly,
const TMap< FString, FString > & Metadata,
const FString & Path,
const FString & Name,
bool bUseDefaultNameFromSchema
)