Files
UnrealEngine/Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestructionEditor/Private/DestructibleMeshThumbnailScene.h
2025-05-18 13:04:45 +08:00

33 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
/*
***************************************************************
FDestructibleMeshThumbnailScene
***************************************************************
*/
#pragma once
#include "ThumbnailHelpers.h"
class APEXDESTRUCTIONEDITOR_API FDestructibleMeshThumbnailScene : public FThumbnailPreviewScene
{
public:
/** Constructor */
FDestructibleMeshThumbnailScene();
PRAGMA_DISABLE_DEPRECATION_WARNINGS
/** Sets the skeletal mesh to use in the next CreateView() */
void SetDestructibleMesh(class UDestructibleMesh* InMesh);
PRAGMA_ENABLE_DEPRECATION_WARNINGS
protected:
// FThumbnailPreviewScene implementation
virtual void GetViewMatrixParameters(const float InFOVDegrees, FVector& OutOrigin, float& OutOrbitPitch, float& OutOrbitYaw, float& OutOrbitZoom) const override;
private:
PRAGMA_DISABLE_DEPRECATION_WARNINGS
/** The skeletal mesh actor used to display all skeletal mesh thumbnails */
class ADestructibleActor* PreviewActor;
PRAGMA_ENABLE_DEPRECATION_WARNINGS
};