Navigation
API > API/Plugins > API/Plugins/ClonerEffector > API/Plugins/ClonerEffector/Utilities > API/Plugins/ClonerEffector/Utilities/UCEClonerLibrary
References
| Module | ClonerEffector |
| Header | /Engine/Plugins/Experimental/ClonerEffector/Source/ClonerEffector/Public/Utilities/CEClonerLibrary.h |
| Include | #include "Utilities/CEClonerLibrary.h" |
| Source | /Engine/Plugins/Experimental/ClonerEffector/Source/ClonerEffector/Private/Utilities/CEClonerLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Motion Design|Cloner|Utility",
Meta=(Latent, LatentInfo="InLatentInfo", WorldContext="InWorldContext"))
static void SetClonerLayoutByClass
(
const UObject * InWorldContext,
FLatentActionInfo InLatentInfo,
UCEClonerComponent * InCloner,
TSubclassOf < UCEClonerLayoutBase > InLayoutClass,
bool & bOutSuccess,
UCEClonerLayoutBase *& OutLayout
)
Remarks
Sets the active layout of a cloner and wait until the layout is loaded and active
Parameters
| Name | Description |
|---|---|
| InWorldContext | World context object |
| InLatentInfo | Latent action info |
| InCloner | Target cloner component |
| InLayoutClass | Cloner layout class |
| bOutSuccess | [Out] True when the layout class is set |
| OutLayout | [Out] Layout object corresponding to the layout class |