Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/FAttributeStorage
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EAttributeStorageResult SetAttribute
(
const FAttributeKey& ElementAttributeKey, |
Set an attribute value into the storage. | Types/AttributeStorage.h | |
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo* AttributeAllocationInfo, |
Types/AttributeStorage.h |
SetAttribute(const FAttributeKey &, const T &)
Description
Set an attribute value into the storage. Return success if the attribute was properly set.
Possible errors
- Key exist with a different type
- Key exist with a wrong size
| Name | SetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
| Source | /Engine/Source/Runtime/Interchange/Core/Private/Types/AttributeStorage.cpp |
template<typename T>
EAttributeStorageResult SetAttribute
(
const FAttributeKey & ElementAttributeKey,
const T & Value
)
Parameters
| Name | Remarks |
|---|---|
| ElementAttributeKey | is the storage key (the path) of the attribute |
| Value | is the value we want to add to the storage |
SetAttribute(FAttributeAllocationInfo *, const T &)
| Name | SetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
| Source | /Engine/Source/Runtime/Interchange/Core/Private/Types/AttributeStorage.cpp |
template<typename T>
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo * AttributeAllocationInfo,
const T & Value
)