Navigation
API > API/Runtime > API/Runtime/InterchangeCore
UInterchangeUserDefinedAttributesAPI is used to store and retrieve user-defined attributes such as DCC node attributes, so that pipelines have access to those attributes. Every user-defined attribute has a name, a value, and an optional AnimationPayloadKey: an FRichCurve that is a float curve. The value type must be supported by the UE::Interchange::EAttributeTypes enumeration.
| Name | UInterchangeUserDefinedAttributesAPI |
| Type | class |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeUserDefinedAttribute.h |
| Include Path | #include "Nodes/InterchangeUserDefinedAttribute.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI)
class UInterchangeUserDefinedAttributesAPI : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInterchangeUserDefinedAttributesAPI
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| UserDefinedAttributeBaseKey | const FString | Nodes/InterchangeUserDefinedAttribute.h | |
| UserDefinedAttributeDelegateKey | const FString | Nodes/InterchangeUserDefinedAttribute.h | |
| UserDefinedAttributePayLoadPostKey | const FString | Nodes/InterchangeUserDefinedAttribute.h | |
| UserDefinedAttributeValuePostKey | const FString | Nodes/InterchangeUserDefinedAttribute.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddApplyAndFillDelegatesToFactory
(
UInterchangeFactoryBaseNode* InterchangeFactoryNode, |
Nodes/InterchangeUserDefinedAttribute.h | ||
static bool CreateUserDefinedAttribute
(
UInterchangeBaseNode* InterchangeNode, |
Create a user-defined attribute with a value and a optional payload key. | Nodes/InterchangeUserDefinedAttribute.h | |
static bool CreateUserDefinedAttribute_Boolean
(
UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool CreateUserDefinedAttribute_Double
(
UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool CreateUserDefinedAttribute_Float
(
UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool CreateUserDefinedAttribute_FString
(
UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool CreateUserDefinedAttribute_Int32
(
UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static void DuplicateAllUserDefinedAttribute
(
const UInterchangeBaseNode* InterchangeSourceNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool GetUserDefinedAttribute
(
const UInterchangeBaseNode* InterchangeNode, |
Get the value of a user-defined attribute and an optional payload key. | Nodes/InterchangeUserDefinedAttribute.h | |
static bool GetUserDefinedAttribute_Boolean
(
const UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool GetUserDefinedAttribute_Double
(
const UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool GetUserDefinedAttribute_Float
(
const UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool GetUserDefinedAttribute_FString
(
const UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool GetUserDefinedAttribute_Int32
(
const UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static TArray< FInterchangeUserDefinedAttributeInfo > GetUserDefinedAttributeInfos
(
const UInterchangeBaseNode* InterchangeNode |
Nodes/InterchangeUserDefinedAttribute.h | ||
static void GetUserDefinedAttributeInfos
(
const UInterchangeBaseNode* InterchangeNode, |
Nodes/InterchangeUserDefinedAttribute.h |
|
|
static bool HasAttribute
(
const UInterchangeBaseNode* InterchangeSourceNode, |
Nodes/InterchangeUserDefinedAttribute.h | ||
static UE::Interchange::FAttributeKey MakeUserDefinedPropertyKey
(
const FStringView UserDefinedAttributeName, |
Nodes/InterchangeUserDefinedAttribute.h | ||
static UE::Interchange::FAttributeKey MakeUserDefinedPropertyKey
(
const FString& UserDefinedAttributeName, |
Nodes/InterchangeUserDefinedAttribute.h | ||
static UE::Interchange::FAttributeKey MakeUserDefinedPropertyPayloadKey
(
const FStringView UserDefinedAttributeName, |
Nodes/InterchangeUserDefinedAttribute.h | ||
static UE::Interchange::FAttributeKey MakeUserDefinedPropertyPayloadKey
(
const FString& UserDefinedAttributeName, |
Nodes/InterchangeUserDefinedAttribute.h | ||
static UE::Interchange::FAttributeKey MakeUserDefinedPropertyValueKey
(
const FStringView UserDefinedAttributeName, |
Nodes/InterchangeUserDefinedAttribute.h | ||
static UE::Interchange::FAttributeKey MakeUserDefinedPropertyValueKey
(
const FString& UserDefinedAttributeName, |
Nodes/InterchangeUserDefinedAttribute.h | ||
static bool RemoveUserDefinedAttribute
(
UInterchangeBaseNode* InterchangeNode, |
Remove the specified user-defined attribute. | Nodes/InterchangeUserDefinedAttribute.h |
|