Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/Nodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeUserDefinedAttributesAPI
References
| Module | InterchangeCore |
| Header | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeUserDefinedAttribute.h |
| Include | #include "Nodes/InterchangeUserDefinedAttribute.h" |
Syntax
class UInterchangeUserDefinedAttributesAPI : public UObject
Remarks
UInterchangeUserDefinedAttributesAPI is used to store and retrieve user defined attributes (i.e. DCC node attributes, pipelines will have access to those attributes) Any user defined attribute have: name, value and a optional AnimationPayloadKey (FRichCurve which is a float curve). Value type must be supported by the UE::Interchange::EAttributeTypes enumeration.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CreateUserDefinedAttribute
(
UInterchangeBaseNode* InterchangeNode, |
Create 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 DCC translated node user custom attributes (i.e. Maya extra attributes) Payload key will point on a FRichCurve payload. | |
| bool | CreateUserDefinedAttribute_Boolean
(
UInterchangeBaseNode* InterchangeNode, |
||
| bool | CreateUserDefinedAttribute_Double
(
UInterchangeBaseNode* InterchangeNode, |
||
| bool | CreateUserDefinedAttribute_Float
(
UInterchangeBaseNode* InterchangeNode, |
||
| bool | CreateUserDefinedAttribute_FString
(
UInterchangeBaseNode* InterchangeNode, |
||
| bool | CreateUserDefinedAttribute_Int32
(
UInterchangeBaseNode* InterchangeNode, |
||
| void | DuplicateAllUserDefinedAttribute
(
const UInterchangeBaseNode* InterchangeSourceNode, |
||
| bool | GetUserDefinedAttribute
(
const UInterchangeBaseNode* InterchangeNode, |
Get user defined attribute value and optional payload key param UserDefinedAttributeName - The name of the user defined attribute param OutValue - The value of the user defined attribute param OutPayloadKey - The translator payload key to retrieve the FRichCurve animation for this user defined attribute note - User defined attributes are the DCC translated node user custom attributes (i.e. Maya extra attributes) Payload key will point on a FRichCurve payload. | |
| bool | GetUserDefinedAttribute_Boolean
(
const UInterchangeBaseNode* InterchangeNode, |
||
| bool | GetUserDefinedAttribute_Double
(
const UInterchangeBaseNode* InterchangeNode, |
||
| bool | GetUserDefinedAttribute_Float
(
const UInterchangeBaseNode* InterchangeNode, |
||
| bool | GetUserDefinedAttribute_FString
(
const UInterchangeBaseNode* InterchangeNode, |
||
| bool | GetUserDefinedAttribute_Int32
(
const UInterchangeBaseNode* InterchangeNode, |
||
| TArray< FInterchangeUserDefinedAttributeInfo > | GetUserDefinedAttributeInfos
(
const UInterchangeBaseNode* InterchangeNode |
||
| void | GetUserDefinedAttributeInfos
(
const UInterchangeBaseNode* InterchangeNode, |
||
| bool | RemoveUserDefinedAttribute
(
UInterchangeBaseNode* InterchangeNode, |
Remove the specified user defined attribute param UserDefinedAttributeName - The name of the user defined attribute to remove return - True if the attribute exist and was remove or if the attribute doesn't exist. |