Navigation
API > API/Plugins > API/Plugins/CustomizableObjectPopulation > API/Plugins/CustomizableObjectPopulation/MuCOP
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UCustomizableObjectPopulation
References
| Module | CustomizableObjectPopulation |
| Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObjectPopulation/Classes/MuCOP/CustomizableObjectPopulation.h |
| Include | #include "MuCOP/CustomizableObjectPopulation.h" |
Syntax
UCLASS (Blueprintable, BlueprintType)
class UCustomizableObjectPopulation : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FClassWeightPair > | ClassWeights | List of Pupulation classes that define this population. | |
| FString | Name | Name of the customizable object population. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CompilePopulation
(
UCustomizableObjectPopulationGenerator* NewGenerator |
||
| int32 | GeneratePopulation
(
TArray< UCustomizableObjectInstance* >& OutInstances, |
Create a number of instances of the target population. | |
| bool | HasGenerator () |
||
| bool | Allows the compilation of this population only if all its classes exist | ||
| bool | RegeneratePopulation
(
int32 Seed, |
Update the instances in the array with new parameter values for the target population. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects | |
| bool | IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData |