Navigation
API > API/Plugins > API/Plugins/CustomizableObjectPopulation > API/Plugins/CustomizableObjectPopulation/MuCOP > API/Plugins/CustomizableObjectPopulation/MuCOP/UCustomizableObjectPopulation
References
| Module | CustomizableObjectPopulation |
| Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObjectPopulation/Classes/MuCOP/CustomizableObjectPopulation.h |
| Include | #include "MuCOP/CustomizableObjectPopulation.h" |
| Source | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObjectPopulation/Private/MuCOP/CustomizableObjectPopulation.cpp |
UFUNCTION (BlueprintPure, Category="CustomizablePopulation")
int32 GeneratePopulation
(
TArray < UCustomizableObjectInstance * > & OutInstances,
int32 NumInstancesToGenerate
) const
Remarks
Create a number of instances of the target population. the seed that was used to create instances in this call of the GeneratePopulation. Returns -1 if there in an error with the population asset.