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

42 lines
907 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
/**
* Thumbnail information for world assets
*/
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "ThumbnailRendering/SceneThumbnailInfo.h"
#include "Camera/CameraTypes.h"
#include "WorldThumbnailInfo.generated.h"
UENUM()
namespace EOrthoThumbnailDirection
{
enum Type
{
Top,
Bottom,
Left,
Right,
Front,
Back
};
} // namespace EOrthoThumbnailDirection
UCLASS(MinimalAPI)
class UWorldThumbnailInfo: public USceneThumbnailInfo
{
GENERATED_UCLASS_BODY()
/** The type of projection to use */
UPROPERTY(EditAnywhere, Category = Thumbnail)
TEnumAsByte<ECameraProjectionMode::Type> CameraMode;
/** The direction of the camera when in Orthographic CameraMode */
UPROPERTY(EditAnywhere, Category = Thumbnail)
TEnumAsByte<EOrthoThumbnailDirection::Type> OrthoDirection;
};