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 | ||
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo* AttributeAllocationInfo, |
Types/AttributeStorage.h | ||
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo* AttributeAllocationInfo, |
Types/AttributeStorage.h | ||
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo* AttributeAllocationInfo, |
Types/AttributeStorage.h | ||
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo* AttributeAllocationInfo, |
Types/AttributeStorage.h | ||
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo* AttributeAllocationInfo, |
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" |
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" |
template<typename T>
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo * AttributeAllocationInfo,
const T & Value
)
SetAttribute(FAttributeAllocationInfo *, const T &, TSpecializeType< T >)
| Name | SetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename T>
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo * AttributeAllocationInfo,
const T & Value,
TSpecializeType < T >
)
SetAttribute(FAttributeAllocationInfo *, const TArray< uint8 > &, TSpecializeType< TArray< uint8 > >)
| Name | SetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo * AttributeAllocationInfo,
const TArray < uint8 > & Value,
TSpecializeType < TArray < uint8 > >
)
SetAttribute(FAttributeAllocationInfo *, const TArray64< uint8 > &, TSpecializeType< TArray64< uint8 > >)
| Name | SetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo * AttributeAllocationInfo,
const TArray64< uint8 > & Value,
TSpecializeType < TArray64< uint8 > >
)
SetAttribute(FAttributeAllocationInfo *, const FString &, TSpecializeType< FString >)
| Name | SetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo * AttributeAllocationInfo,
const FString & Value,
TSpecializeType < FString >
)
SetAttribute(FAttributeAllocationInfo *, const FName &, TSpecializeType< FName >)
| Name | SetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo * AttributeAllocationInfo,
const FName & Value,
TSpecializeType < FName >
)
SetAttribute(FAttributeAllocationInfo *, const FSoftObjectPath &, TSpecializeType< FSoftObjectPath >)
| Name | SetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
EAttributeStorageResult SetAttribute
(
FAttributeAllocationInfo * AttributeAllocationInfo,
const FSoftObjectPath & Value,
TSpecializeType < FSoftObjectPath >
)