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