Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGObjectPropertyOverride.h |
| Include | #include "Metadata/PCGObjectPropertyOverride.h" |
Syntax
template<typename T>
struct FPCGObjectOverrides
Remarks
Represents a set of property overrides for the provided object. Provide a SourceData to read from, and a collection of ObjectPropertyOverrides matching the TemplateObject's class properties.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPCGObjectOverrides
(
T* TemplateObject |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Applies each property override to the object by reading from the InputAccessor at the given KeyIndex, and writing to the OutputKey which represents the object property. | ||
| void | Initialize
(
const TArray< FPCGObjectPropertyOverrideDescription >& OverrideDescriptions, |
Initialize the object overrides. Call before using Apply(InputKeyIndex). |