UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
InterchangeHelper.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "CoreMinimal.h"
7
8namespace UE::Interchange
9{
14 INTERCHANGECORE_API void SanitizeName(FString& InOutName, bool bIsJoint = false);
15
20 INTERCHANGECORE_API FString MakeSanitizedName(const FString& InName, bool bIsJoint = false);
21
22 UE_DEPRECATED(5.7, "Use MakeSanitizedName instead.")
23 INTERCHANGECORE_API FString MakeName(const FString& InName, bool bIsJoint = false);
24
33
42
44 {
45 public:
46 FScopedLambda(TFunction<void(void)>&& Lambda)
47 : _Lambda(Lambda)
48 {}
49
51 {
52 if (_Lambda)
53 {
54 _Lambda();
55 }
56 }
57
58 private:
59 TFunction<void(void)> _Lambda;
60 };
61};
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
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
Definition AndroidPlatformMisc.h:14
Definition InterchangeHelper.h:44
FScopedLambda(TFunction< void(void)> &&Lambda)
Definition InterchangeHelper.h:46
~FScopedLambda()
Definition InterchangeHelper.h:50
Definition InterchangeHelper.cpp:9
void SanitizeName(FString &InOutName, bool bIsJoint)
Definition InterchangeHelper.cpp:62
int32 GetAssetNameMaxCharCount(const FString &ParentPackage)
Definition InterchangeHelper.cpp:125
FString MakeName(const FString &InName, bool bIsJoint)
Definition InterchangeHelper.cpp:120
FString GetAssetNameWBudget(const FString &DesiredAssetName, int32 CharBudget, TCHAR CharReplacement)
Definition InterchangeHelper.cpp:140
FString MakeSanitizedName(const FString &InName, bool bIsJoint)
Definition InterchangeHelper.cpp:113
@ false
Definition radaudio_common.h:23