Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterEditorSubsyst-
Description
Returns the Collection used to build the Character's preview.
If the Character is not being actively edited (i.e. TryAddObjectToEdit hasn't been called) this will return nullptr, otherwise it will always return a valid Collection.
| Name | GetPreviewCollection |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/MetaHumanCharacterEditorSubsystem.h |
| Include Path | #include "MetaHumanCharacterEditorSubsystem.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Private/MetaHumanCharacterEditorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="MetaHuman|Pipeline")
UMetaHumanCollection * GetPreviewCollection
(
const UMetaHumanCharacter * InCharacter
)
The preview Collection, or nullptr if InCharacter is null or has not been added for editing.
Parameters
| Name | Remarks |
|---|---|
| InCharacter | The character whose preview Collection is requested. |