Navigation
API > API/Plugins > API/Plugins/PCG
Generic accessor class for properties. Do not instantiate it manually, use PCGAttributeAccessorHelpers::CreatePropertyAccessor. Key supported: Generic object
| Name | FPCGPropertyGenericAccessor |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGPropertyAccessor.h |
| Include Path | #include "Metadata/Accessors/PCGPropertyAccessor.h" |
Syntax
class FPCGPropertyGenericAccessor :
public IPCGAttributeAccessor ,
private IPCGPropertyChain
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Metadata/Accessors/PCGPropertyAccessor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | IPCGAttributeAccessor | Metadata/Accessors/PCGPropertyAccessor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNeedSlowPath | bool | Metadata/Accessors/PCGPropertyAccessor.h | ||
| ClassProperty | const FClassProperty * | Metadata/Accessors/PCGPropertyAccessor.h | ||
| KeyClassProperty | const FClassProperty * | Metadata/Accessors/PCGPropertyAccessor.h | ||
| KeyObjectProperty | const FObjectProperty * | Metadata/Accessors/PCGPropertyAccessor.h | ||
| ObjectProperty | const FObjectProperty * | Metadata/Accessors/PCGPropertyAccessor.h | ||
| Property | const FProperty * | Metadata/Accessors/PCGPropertyAccessor.h |
Functions
Public
Public Virtual
Overridden from IPCGAttributeAccessor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetRangeVirtual
(
PCG::Private::FOutValues OutValues, |
To not be used directly, used by other accessors to chain calls. | Metadata/Accessors/PCGPropertyAccessor.h | |
virtual bool SetRangeVirtual
(
PCG::Private::FInValues InValues, |
Metadata/Accessors/PCGPropertyAccessor.h | ||
virtual bool SupportsGet
(
const PCG::Private::FOutValues& OutValues |
To be overridden by child classes to know if we can process the Out/InValues By default, it is if the underlying desc matches, but if we support more (like pointers), it needs to be explicitly set. | Metadata/Accessors/PCGPropertyAccessor.h | |
virtual bool SupportsSet
(
const PCG::Private::FInValues& InValues |
Metadata/Accessors/PCGPropertyAccessor.h |