Navigation
API > API/Plugins > API/Plugins/PCG
Templated accessor class for attributes. Will wrap around a generic attribute. Key supported: MetadataEntryKey and Points
| Name | FPCGAttributeGenericAccessor |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGAttributeAccessor.h |
| Include Path | #include "Metadata/Accessors/PCGAttributeAccessor.h" |
Syntax
class FPCGAttributeGenericAccessor : public IPCGAttributeAccessor
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGAttributeGenericAccessor
(
FPCGMetadataAttributeBase* InAttribute, |
Can't write if metadata is null. | Metadata/Accessors/PCGAttributeAccessor.h | |
FPCGAttributeGenericAccessor
(
const FPCGMetadataAttributeBase* InAttribute, |
Metadata/Accessors/PCGAttributeAccessor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | IPCGAttributeAccessor | Metadata/Accessors/PCGAttributeAccessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Prepare
(
IPCGAttributeAccessorKeys& Keys, |
Metadata/Accessors/PCGAttributeAccessor.h |
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/PCGAttributeAccessor.h | |
virtual bool IsAttribute() |
To know if we can do default value operations. | Metadata/Accessors/PCGAttributeAccessor.h | |
virtual void Prepare
(
IPCGAttributeAccessorKeys& Keys, |
Metadata/Accessors/PCGAttributeAccessor.h | ||
virtual bool SetRangeVirtual
(
PCG::Private::FInValues InValues, |
Metadata/Accessors/PCGAttributeAccessor.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/PCGAttributeAccessor.h | |
virtual bool SupportsSet
(
const PCG::Private::FInValues& InValues |
Metadata/Accessors/PCGAttributeAccessor.h |