Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/Accessors
Inheritance Hierarchy
- IPCGAttributeAccessor
- IPCGAttributeAccessorT
- FPCGPropertyStructAccessor
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Metadata/Accessors/PCGPropertyAccessor.h |
| Include | #include "Metadata/Accessors/PCGPropertyAccessor.h" |
Syntax
template<typename T>
class FPCGPropertyStructAccessor : public IPCGAttributeAccessorT< FPCGPropertyStructAccessor< T > >
Remarks
Templated accessor class for struct properties. Will wrap around a struct property. Do not instanciate it manually, use PCGAttributeAccessorHelpers::CreatePropertyAccessor. WARNING: Getting the address of the underlying data from a container using this property should point to a "T" object in memory, otherwise it is UD. Key supported: Generic object
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPCGPropertyStructAccessor
(
const FStructProperty* InProperty |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetRangeImpl
(
TArrayView< T > OutValues, |
||
| bool | SetRangeImpl
(
TArrayView< const T > InValues, |