Navigation
API > API/Plugins > API/Plugins/CustomizableObjectPopulation
| Name | UCustomizableObjectPopulation |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MutablePopulation/Source/CustomizableObjectPopulation/Public/MuCOP/CustomizableObjectPopulation.h |
| Include Path | #include "MuCOP/CustomizableObjectPopulation.h" |
Syntax
UCLASS (Blueprintable, BlueprintType)
class UCustomizableObjectPopulation : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCustomizableObjectPopulation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCustomizableObjectPopulation() |
MuCOP/CustomizableObjectPopulation.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClassWeights | TArray< FClassWeightPair > | List of Pupulation classes that define this population. | MuCOP/CustomizableObjectPopulation.h |
|
| Name | FString | Name of the customizable object population. | MuCOP/CustomizableObjectPopulation.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Generator | TObjectPtr< UCustomizableObjectPopulationGenerator > | MuCOP/CustomizableObjectPopulation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CompilePopulation
(
UCustomizableObjectPopulationGenerator* NewGenerator |
MuCOP/CustomizableObjectPopulation.h | ||
int32 GeneratePopulation
(
TArray< UCustomizableObjectInstance* >& OutInstances, |
Create a number of instances of the target population. | MuCOP/CustomizableObjectPopulation.h |
|
bool HasGenerator() |
MuCOP/CustomizableObjectPopulation.h | ||
bool IsValidPopulation() |
Allows the compilation of this population only if all its classes exist | MuCOP/CustomizableObjectPopulation.h | |
bool RegeneratePopulation
(
int32 Seed, |
Update the instances in the array with new parameter values for the target population. | MuCOP/CustomizableObjectPopulation.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
MuCOP/CustomizableObjectPopulation.h | ||
virtual bool IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
MuCOP/CustomizableObjectPopulation.h |