Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/TAttributeContainer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AttributeType * FindOrAdd
(
const FAttributeId& InAttributeId |
Adds, if not yet existing, a new attribute type/value entry of the specified AttributeType. | Animation/AttributesContainer.h | |
uint8 * FindOrAdd
(
const UScriptStruct* InScriptStruct, |
Adds, if not yet existing, a new attribute type/value entry for the specified InScriptType. | Animation/AttributesContainer.h |
FindOrAdd(const FAttributeId &)
Description
Adds, if not yet existing, a new attribute type/value entry of the specified AttributeType.
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AttributesContainer.h |
| Include Path | #include "Animation/AttributesContainer.h" |
template<typename AttributeType>
AttributeType * FindOrAdd
(
const FAttributeId & InAttributeId
)
The ptr to the added/existing entry, to be used for populating the data, nullptr if adding it failed
Parameters
| Name | Remarks |
|---|---|
| InAttributeId | Key to be used for the entry |
FindOrAdd(const UScriptStruct *, const FAttributeId &)
Description
Adds, if not yet existing, a new attribute type/value entry for the specified InScriptType.
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AttributesContainer.h |
| Include Path | #include "Animation/AttributesContainer.h" |
uint8 * FindOrAdd
(
const UScriptStruct * InScriptStruct,
const FAttributeId & InAttributeId
)
The ptr to the added/existing entry, to be used for populating the data, nullptr if adding it failed
Parameters
| Name | Remarks |
|---|---|
| InScriptStruct | UScriptStruct (type) for the entry |
| InAttributeId | Key to be used for the entry |