UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
InterchangeSourceNode.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "HAL/Platform.h"
10
11#include "InterchangeSourceNode.generated.h"
12
14class UObject;
15struct FFrame;
16
17namespace UE::Interchange
18{
19
26}
27
31UCLASS(BlueprintType, MinimalAPI)
33{
35
37
38public:
45 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | source")
46 INTERCHANGECORE_API void InitializeSourceNode(const FString& UniqueID, const FString& DisplayLabel, UInterchangeBaseNodeContainer* NodeContainer);
47
51 INTERCHANGECORE_API virtual FString GetTypeName() const override;
52
53 /* Translators that want to modify the common data should ensure they create the unique common pipeline node. */
54 static INTERCHANGECORE_API UInterchangeSourceNode* FindOrCreateUniqueInstance(UInterchangeBaseNodeContainer* NodeContainer);
55
56 /* This function should be use by pipelines to avoid creating a node. If the unique instance doesn't exist, returns nullptr. */
57 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | source")
58 static INTERCHANGECORE_API const UInterchangeSourceNode* GetUniqueInstance(const UInterchangeBaseNodeContainer* NodeContainer);
59
61 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
62 INTERCHANGECORE_API bool GetCustomSourceFrameRateNumerator(int32& AttributeValue) const;
63
65 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
66 INTERCHANGECORE_API bool SetCustomSourceFrameRateNumerator(const int32& AttributeValue);
67
69 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
70 INTERCHANGECORE_API bool GetCustomSourceFrameRateDenominator(int32& AttributeValue) const;
71
73 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
74 INTERCHANGECORE_API bool SetCustomSourceFrameRateDenominator(const int32& AttributeValue);
75
77 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
78 UE_DEPRECATED(5.6, "Please, use UInterchangeSkeletalAnimationTrackNode::GetCustomSourceTimelineAnimationStartTime")
79 INTERCHANGECORE_API bool GetCustomSourceTimelineStart(double& AttributeValue) const;
80
82 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
83 UE_DEPRECATED(5.6, "Please, use UInterchangeSkeletalAnimationTrackNode::SetCustomSourceTimelineAnimationStartTime")
84 INTERCHANGECORE_API bool SetCustomSourceTimelineStart(const double& AttributeValue);
85
87 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
88 UE_DEPRECATED(5.6, "Please, use UInterchangeSkeletalAnimationTrackNode::GetCustomSourceTimelineAnimationStopTime")
89 INTERCHANGECORE_API bool GetCustomSourceTimelineEnd(double& AttributeValue) const;
90
92 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
93 UE_DEPRECATED(5.6, "Please, use UInterchangeSkeletalAnimationTrackNode::SetCustomSourceTimelineAnimationStopTime")
94 INTERCHANGECORE_API bool SetCustomSourceTimelineEnd(const double& AttributeValue);
95
97 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
98 UE_DEPRECATED(5.6, "Please, use UInterchangeSkeletalAnimationTrackNode::GetCustomAnimationStartTime")
99 INTERCHANGECORE_API bool GetCustomAnimatedTimeStart(double& AttributeValue) const;
100
102 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
103 UE_DEPRECATED(5.6, "Please, use UInterchangeSkeletalAnimationTrackNode::SetCustomAnimationStartTime")
104 INTERCHANGECORE_API bool SetCustomAnimatedTimeStart(const double& AttributeValue);
105
107 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
108 UE_DEPRECATED(5.6, "Please, use UInterchangeSkeletalAnimationTrackNode::GetCustomAnimationStopTime")
109 INTERCHANGECORE_API bool GetCustomAnimatedTimeEnd(double& AttributeValue) const;
110
112 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
113 UE_DEPRECATED(5.6, "Please, use UInterchangeSkeletalAnimationTrackNode::SetCustomAnimationStopTime")
114 INTERCHANGECORE_API bool SetCustomAnimatedTimeEnd(const double& AttributeValue);
115
117 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
118 INTERCHANGECORE_API bool GetCustomImportUnusedMaterial(bool& AttributeValue) const;
119
121 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
122 INTERCHANGECORE_API bool SetCustomImportUnusedMaterial(const bool& AttributeValue);
123
124
126 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
127 INTERCHANGECORE_API bool SetExtraInformation(const FString& Name, const FString& Value);
128
130 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
131 INTERCHANGECORE_API bool RemoveExtraInformation(const FString& Name);
132
134 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
135 INTERCHANGECORE_API void GetExtraInformation(TMap<FString, FString>& OutExtraInformation) const;
136
137
139 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
140 INTERCHANGECORE_API bool GetCustomAxisConversionInverseTransform(FTransform& AxisConversionInverseTransform) const;
141
143 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
144 INTERCHANGECORE_API bool SetCustomAxisConversionInverseTransform(const FTransform& AxisConversionInverseTransform);
145
146
148 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
149 INTERCHANGECORE_API bool GetCustomUseLegacySkeletalMeshBakeTransform(bool& AttributeValue) const;
150
152 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
153 INTERCHANGECORE_API bool SetCustomUseLegacySkeletalMeshBakeTransform(const bool& AttributeValue);
154
160 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
161 INTERCHANGECORE_API bool GetCustomSubPathPrefix(FString& Prefix) const;
162
164 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
165 INTERCHANGECORE_API bool SetCustomSubPathPrefix(const FString& Prefix);
166
176 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
177 INTERCHANGECORE_API bool GetCustomUseAssetTypeSubPathSuffix(bool& Suffix) const;
178
183 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
184 INTERCHANGECORE_API bool SetCustomUseAssetTypeSubPathSuffix(const bool& Suffix);
185
187 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
188 INTERCHANGECORE_API bool GetCustomReimportStrategyFlags(uint8& StrategyFlag) const;
189
191 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
192 INTERCHANGECORE_API bool SetCustomReimportStrategyFlags(uint8 StrategyFlag);
193
195 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
196 INTERCHANGECORE_API bool GetCustomSkeletalMeshFrontAxis(uint8& AttributeValue) const;
197
199 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
200 INTERCHANGECORE_API bool SetCustomSkeletalMeshFrontAxis(uint8 AttributeValue);
201
203 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
204 INTERCHANGECORE_API bool GetCustomNaniteTriangleThreshold(int64& MinNumTriangles) const;
205
207 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
208 INTERCHANGECORE_API bool SetCustomNaniteTriangleThreshold(const int64& MinNumTriangles);
209
211 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
212 INTERCHANGECORE_API bool GetCustomAllowSceneRootAsJoint(bool& bAllowSceneRootAsJoint) const;
213
215 UFUNCTION(BlueprintCallable, Category = "Interchange | Node | Source")
216 INTERCHANGECORE_API bool SetCustomAllowSceneRootAsJoint(const bool& bAllowSceneRootAsJoint);
217
218private:
234
235 // Extra InformationTo show in the Config Panel.
237};
238
FString GetTypeName()
Definition Casts.h:66
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define IMPLEMENT_NODE_ATTRIBUTE_KEY(AttributeName)
Definition InterchangeBaseNode.h:120
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition UnrealString.h.inl:34
Definition InterchangeBaseNodeUtilities.h:294
Definition InterchangeBaseNodeContainer.h:39
Definition InterchangeBaseNode.h:195
Definition InterchangeSourceNode.h:33
Definition Object.h:95
Definition InterchangeHelper.cpp:9
Definition Stack.h:114
Definition InterchangeSourceNode.h:21
static INTERCHANGECORE_API const FString & GetApplicationNameExtraInfoKey()
Definition InterchangeSourceNode.cpp:23
static INTERCHANGECORE_API const FString & GetApplicationVersionExtraInfoKey()
Definition InterchangeSourceNode.cpp:29
static INTERCHANGECORE_API const FString & GetApplicationVendorExtraInfoKey()
Definition InterchangeSourceNode.cpp:17