Navigation
API > API/Plugins > API/Plugins/PCG
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
| Name | FPCGPropertyStructAccessor |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGPropertyAccessor.h |
| Include Path | #include "Metadata/Accessors/PCGPropertyAccessor.h" |
Syntax
template<typename T>
class FPCGPropertyStructAccessor :
public IPCGAttributeAccessorT< FPCGPropertyStructAccessor< T > > ,
private IPCGPropertyChain
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGPropertyStructAccessor
(
const FStructProperty* InProperty, |
Metadata/Accessors/PCGPropertyAccessor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | IPCGAttributeAccessorT< FPCGPropertyStructAccessor< T > > | Metadata/Accessors/PCGPropertyAccessor.h | |
| Type | T | Metadata/Accessors/PCGPropertyAccessor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Property | const FStructProperty * | Metadata/Accessors/PCGPropertyAccessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetRangeImpl
(
TArrayView< T > OutValues, |
Metadata/Accessors/PCGPropertyAccessor.h | ||
bool SetRangeImpl
(
TArrayView< const T > InValues, |
Metadata/Accessors/PCGPropertyAccessor.h |