Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/Nodes > API/Runtime/InterchangeCore/Nodes/UInterchangeUserDefinedAttribute-
References
| Module | InterchangeCore |
| Header | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeUserDefinedAttribute.h |
| Include | #include "Nodes/InterchangeUserDefinedAttribute.h" |
template<typename ValueType>
static bool GetUserDefinedAttribute
(
const UInterchangeBaseNode * InterchangeNode,
const FString & UserDefinedAttributeName,
ValueType & OutValue,
TOptional < FString > & OutPayloadKey
)
Remarks
Get the value of a user-defined attribute and an optional payload key.
Parameters
| Name | Description |
|---|---|
| UserDefinedAttributeName | The name of the user-defined attribute. |
| OutValue | The value of the user-defined attribute. |
| OutPayloadKey | The translator payload key to retrieve the FRichCurve animation for this user-defined attribute. Note - User-defined attributes are the user custom attributes from the DCC translated node (for example, extra attributes in Maya). The payload key points to an FRichCurve payload. |