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
struct FPCGObjectSingleOverride
Remarks
Represents a single property override on the provided object. Applies an override function to read the InputAccessor and write its value to the OutputAccessor.
The InputAccessor's InputKeys are created from the given SourceData and InputSelector.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Apply
(
int32 InputKeyIndex, |
Applies a single 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 FPCGAttributePropertySelector& InputSelector, |
Initialize the single object override. Call before using Apply(InputKeyIndex, OutputKey). | |
| bool | IsValid () |
Returns true if initialization succeeded in creating the accessors and accessor keys. |
Typedefs
| Name | Description |
|---|---|
| ApplyOverrideFunction | InputKeyIndex, OutputKeys. |