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