Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/IPCGAttributeAccessor
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Set
(
const T& InValue, |
Set a value to the accessor for a given type at index 0. Not threadsafe for all accessors. | Metadata/Accessors/IPCGAttributeAccessor.h | |
bool Set
(
const T& InValue, |
Set a value to the accessor for a given type. | Metadata/Accessors/IPCGAttributeAccessor.h |
Set(const T &, IPCGAttributeAccessorKeys &, EPCGAttributeAccessorFlags)
Description
Set a value to the accessor for a given type at index 0. Not threadsafe for all accessors.
| Name | Set |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/IPCGAttributeAccessor.h |
| Include Path | #include "Metadata/Accessors/IPCGAttributeAccessor.h" |
template<typename T>
bool Set
(
const T & InValue,
IPCGAttributeAccessorKeys & Keys,
EPCGAttributeAccessorFlags Flags
)
true if the set succeeded, false otherwise
Parameters
| Name | Remarks |
|---|---|
| InValue | the value to write |
| Keys | Identification to know how to identify the value. |
| Flags | Optional flag to allow for specific operations. Cf EPCGAttributeAccessorFlags. |
Set(const T &, int32, IPCGAttributeAccessorKeys &, EPCGAttributeAccessorFlags)
Description
Set a value to the accessor for a given type. Not threadsafe for all accessors. If Index is greater than the number of keys, it will fail (return false).
| Name | Set |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/IPCGAttributeAccessor.h |
| Include Path | #include "Metadata/Accessors/IPCGAttributeAccessor.h" |
template<typename T>
bool Set
(
const T & InValue,
int32 Index,
IPCGAttributeAccessorKeys & Keys,
EPCGAttributeAccessorFlags Flags
)
true if the set succeeded, false otherwise
Parameters
| Name | Remarks |
|---|---|
| InValue | the value to write |
| Index | The index to look for in the keys |
| Keys | Identification to know how to identify the value. |
| Flags | Optional flag to allow for specific operations. Cf EPCGAttributeAccessorFlags. |