Navigation
API > API/Plugins > API/Plugins/MetaHumanCrowd > API/Plugins/MetaHumanCrowd/UMetaHumanCrowdAppearanceProvide-
Description
Called once when this provider is first created for a world.
The PreRegisteredInstances array contains the MetaHuman Instances that were already registered with the subsystem before this provider was created typically the contents of the trait's CharacterInstances property. To obtain their handles call Subsystem->TryGetAppearanceHandleForInstance(MHI).
Use this opportunity to assemble any additional MHIs you want to add to the pool, and call Subsystem->RegisterInstance for each.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCrowd/Source/MetaHumanCrowd/Public/Mass/MetaHumanCrowdAppearanceProvider.h |
| Include Path | #include "Mass/MetaHumanCrowdAppearanceProvider.h" |
UFUNCTION (BlueprintNativeEvent, BlueprintCallable, Category="MetaHuman|Crowd")
void Initialize
(
UMetaHumanMassRepresentationSubsystem * Subsystem,
const TArray < UMetaHumanInstance * > & PreRegisteredInstances
)