Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/FAttributeStorage
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey& ElementAttributeKey, |
Register an attribute in the storage. | Types/AttributeStorage.h | |
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey& ElementAttributeKey, |
Redirect enum instantiations to underlying type. | Types/AttributeStorage.h | |
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey& ElementAttributeKey, |
Redirect TEnumAsByte instantiations to underlying type. | Types/AttributeStorage.h | |
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey& ElementAttributeKey, |
Redirect TArray |
Types/AttributeStorage.h | |
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey& ElementAttributeKey, |
Redirect TArray |
Types/AttributeStorage.h |
RegisterAttribute(const FAttributeKey &, const T &, EAttributeProperty)
Description
Register an attribute in the storage. Return success if the attribute was properly added, or there is an existing attribute of the same type. Return an error otherwise.
@Param ElementAttributeKey - the storage key (the path) of the attribute. @Param DefaultValue - the default value for the registered attribute.
Possible errors:
- Key exists with a different type.
- Storage is corrupted.
| Name | RegisterAttribute |
| 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, typename>
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey & ElementAttributeKey,
const T & DefaultValue,
EAttributeProperty AttributeProperty
)
RegisterAttribute(const FAttributeKey &, const E &, EAttributeProperty)
Description
Redirect enum instantiations to underlying type.
| Name | RegisterAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename E, typename, int>
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey & ElementAttributeKey,
const E & DefaultValue,
EAttributeProperty AttributeProperty
)
RegisterAttribute(const FAttributeKey &, const B &, EAttributeProperty)
Description
Redirect TEnumAsByte instantiations to underlying type.
| Name | RegisterAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename B , typename, int, int>
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey & ElementAttributeKey,
const B & DefaultValue,
EAttributeProperty AttributeProperty
)
RegisterAttribute(const FAttributeKey &, const T &, EAttributeProperty)
Description
Redirect TArray
| Name | RegisterAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename T, typename, int, int, int>
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey & ElementAttributeKey,
const T & DefaultValue,
EAttributeProperty AttributeProperty
)
RegisterAttribute(const FAttributeKey &, const T &, EAttributeProperty)
Description
Redirect TArray
| Name | RegisterAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename T, typename, int, int, int, int>
EAttributeStorageResult RegisterAttribute
(
const FAttributeKey & ElementAttributeKey,
const T & DefaultValue,
EAttributeProperty AttributeProperty
)