Navigation
API > API/Plugins > API/Plugins/PCG
Templated accessor class for attributes. Will wrap around a typed attribute. Key supported: MetadataEntryKey and Points
| Name | FPCGAttributeAccessor |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGAttributeAccessor.h |
| Include Path | #include "Metadata/Accessors/PCGAttributeAccessor.h" |
Syntax
template<typename T>
class FPCGAttributeAccessor : public IPCGAttributeAccessorT< FPCGAttributeAccessor< T > >
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGAttributeAccessor
(
FPCGMetadataAttribute< T >* InAttribute, |
Can't write if metadata is null. | Metadata/Accessors/PCGAttributeAccessor.h | |
FPCGAttributeAccessor
(
const FPCGMetadataAttribute< T >* InAttribute, |
Metadata/Accessors/PCGAttributeAccessor.h | ||
FPCGAttributeAccessor
(
FPCGMetadataAttribute< T >* InAttribute, |
Metadata/Accessors/PCGAttributeAccessor.h | ||
FPCGAttributeAccessor
(
FPCGMetadataAttribute< T >* InAttribute, |
Metadata/Accessors/PCGAttributeAccessor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | IPCGAttributeAccessorT< FPCGAttributeAccessor< T > > | Metadata/Accessors/PCGAttributeAccessor.h | |
| Type | T | Metadata/Accessors/PCGAttributeAccessor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Attribute | FPCGMetadataAttribute< T > * | Metadata/Accessors/PCGAttributeAccessor.h | ||
| bWasPrepared | bool | Metadata/Accessors/PCGAttributeAccessor.h | ||
| MetadataDomain | FPCGMetadataDomain * | Metadata/Accessors/PCGAttributeAccessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetRangeImpl
(
TArrayView< T > OutValues, |
Metadata/Accessors/PCGAttributeAccessor.h | ||
bool Prepare
(
IPCGAttributeAccessorKeys& Keys, |
Metadata/Accessors/PCGAttributeAccessor.h | ||
bool SetRangeImpl
(
TArrayView< const T > InValues, |
Metadata/Accessors/PCGAttributeAccessor.h |
Overridden from IPCGAttributeAccessor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |