Navigation
API > API/Plugins > API/Plugins/PCG
Key around generic objects. Make sure ObjectType is not a pointer nor a reference, since we convert those to void*, it could lead to very bad situations if we try to convert a T** to a void*.
| Name | FPCGAttributeAccessorKeysGeneric |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGAttributeAccessorKeys.h |
| Include Path | #include "Metadata/Accessors/PCGAttributeAccessorKeys.h" |
Syntax
template<typename ObjectType, typename>
class FPCGAttributeAccessorKeysGeneric : public IPCGAttributeAccessorKeys
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGAttributeAccessorKeysGeneric
(
const TArrayView< ObjectType >& InObjects |
Metadata/Accessors/PCGAttributeAccessorKeys.h | ||
FPCGAttributeAccessorKeysGeneric
(
const TArrayView< const ObjectType >& InObjects |
Metadata/Accessors/PCGAttributeAccessorKeys.h | ||
FPCGAttributeAccessorKeysGeneric
(
ObjectType& InObject |
Metadata/Accessors/PCGAttributeAccessorKeys.h | ||
FPCGAttributeAccessorKeysGeneric
(
const ObjectType& InObject |
Metadata/Accessors/PCGAttributeAccessorKeys.h |
Functions
Public
Overridden from IPCGAttributeAccessorKeys
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetNum() |
Returns the number of keys. | Metadata/Accessors/PCGAttributeAccessorKeys.h | |
virtual bool IsClassSupported
(
const UStruct* InClass |
Returns true if GetGenericObjectKeys would return this class/struct | Metadata/Accessors/PCGAttributeAccessorKeys.h |
Protected
Overridden from IPCGAttributeAccessorKeys
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetGenericObjectKeys
(
int32 InStart, |
Metadata/Accessors/PCGAttributeAccessorKeys.h | ||
virtual bool GetGenericObjectKeys
(
int32 InStart, |
Metadata/Accessors/PCGAttributeAccessorKeys.h |