EM_Task/UnrealEd/Classes/TexAligner/TexAlignerBox.h
Boshuang Zhao 5144a49c9b add
2026-02-13 16:18:33 +08:00

33 lines
920 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
//~=============================================================================
// TexAlignerBox
// Aligns to the best U and V axis according to the polys normal.
//
//~=============================================================================
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "TexAligner/TexAligner.h"
#include "TexAlignerBox.generated.h"
class FBspSurfIdx;
class FPoly;
class UModel;
UCLASS(hidecategories = Object)
class UTexAlignerBox: public UTexAligner
{
GENERATED_UCLASS_BODY()
//~ Begin UObject Interface
virtual void PostInitProperties() override;
//~ End UObject Interface
//~ Begin UTexAligner Interface
virtual void AlignSurf(ETexAlign InTexAlignType, UModel* InModel, FBspSurfIdx* InSurfIdx, FPoly* InPoly, FVector* InNormal) override;
//~ End UTexAligner Interface
};