.generated.h files must come last, but there's no way to specify this to clang-format.
@@ -46,6 +46,7 @@ ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PointerAlignment: Right
ReflowComments: false
+SortIncludes: false
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
@@ -29,9 +29,11 @@
#pragma once
+// clang-format off
#include "SpineAtlasAsset.h"
#include "UnrealEd.h"
#include "SpineAtlasImportFactory.generated.h"
+// clang-format on
UCLASS()
class USpineAtlasAssetFactory : public UFactory, public FReimportHandler {
#include "SpineSkeletonImportFactory.generated.h"
class USpineSkeletonAssetFactory : public UFactory, public FReimportHandler {
#include "Engine.h"
#include "spine/spine.h"
#include "SpineAtlasAsset.generated.h"
UCLASS(BlueprintType, ClassGroup = (Spine))
class SPINEPLUGIN_API USpineAtlasAsset : public UObject {
@@ -29,10 +29,12 @@
#include "Components/ActorComponent.h"
#include "SpineSkeletonComponent.h"
#include "SpineSkeletonAnimationComponent.generated.h"
USTRUCT(BlueprintType, Category = "Spine")
struct SPINEPLUGIN_API FSpineEvent {
#include "SpineSkeletonDataAsset.h"
#include "SpineSkeletonComponent.generated.h"
class USpineSkeletonComponent;
#include "SpineSkeletonDataAsset.generated.h"
struct SPINEPLUGIN_API FSpineAnimationStateMixData {
@@ -29,11 +29,13 @@
#include "Runtime/UMG/Public/UMG.h"
#include "Runtime/UMG/Public/UMGStyle.h"
#include "SpineWidget.generated.h"
class SSpineWidget;
@@ -4,8 +4,8 @@
#include "Components/SceneComponent.h"
#include "CoreMinimal.h"
-#include "SpineSkeletonRendererComponent.h"
#include "MySceneComponent.generated.h"
+#include "SpineSkeletonRendererComponent.h"
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))