Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/Accessors
Inheritance Hierarchy
- IPCGAttributeAccessor
- IPCGAttributeAccessorT
- FPCGAttributeAccessor
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGAttributeAccessor.h |
| Include | #include "Metadata/Accessors/PCGAttributeAccessor.h" |
Syntax
template<typename T>
class FPCGAttributeAccessor : public IPCGAttributeAccessorT< FPCGAttributeAccessor< T > >
Remarks
Templated accessor class for attributes. Will wrap around a typed attribute. Key supported: MetadataEntryKey and Points
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPCGAttributeAccessor
(
FPCGMetadataAttribute< T >* InAttribute, |
Can't write if metadata is null. | ||
FPCGAttributeAccessor
(
const FPCGMetadataAttribute< T >* InAttribute, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetRangeImpl
(
TArrayView< T > OutValues, |
||
| bool | Prepare
(
IPCGAttributeAccessorKeys& Keys, |
||
| bool | SetRangeImpl
(
TArrayView< const T > InValues, |
Overridden from IPCGAttributeAccessor
| Type | Name | Description | |
|---|---|---|---|
| bool | IsAttribute () |
To know if we can do default value operations. | |
| void | Prepare
(
IPCGAttributeAccessorKeys& Keys, |