Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/Nodes
References
| Module | InterchangeCore |
| Header | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeBaseNode.h |
| Include | #include "Nodes/InterchangeBaseNode.h" |
namespace InterchangePrivateNodeBase
{
template<typename ValueType>
bool InterchangePrivateNodeBase&58;&58;GetCustomAttribute
&40;
const UE::Interchange::FAttributeStorage & Attributes,
const UE::Interchange::FAttributeKey & AttributeKey,
const FString & OperationName,
ValueType & OutAttributeValue
&41;
}
Remarks
Retrieve a custom attribute if the attribute exist
- return true if the attribute exist in the storage and was query without error. return false if the attribute do not exist or there is an error retriving it from the Storage
Parameters
| Name | Description |
|---|---|
| Attributes | The attribute storage you want to query the custom attribute |
| AttributeKey | The storage key for the attribute |
| OperationName | The name of the operation in case there is an error |
| OutAttributeValue | This is where we store the value we retrieve from the storage |