Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/UInterchangeUserDefinedAttribute-
Description
Create a user-defined attribute with a value and a optional payload key. param UserDefinedAttributeName - The name of the user-defined attribute. param Value - The value of the user-defined attribute. param PayloadKey - 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.
| Name | CreateUserDefinedAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeUserDefinedAttribute.h |
| Include Path | #include "Nodes/InterchangeUserDefinedAttribute.h" |
template<typename ValueType>
static bool CreateUserDefinedAttribute
(
UInterchangeBaseNode * InterchangeNode,
const FString & UserDefinedAttributeName,
const ValueType & Value,
const TOptional < FString > & PayloadKey,
bool RequiresDelegate
)