Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

27 lines
733 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ThumbnailHelpers.h"
class AGeometryCacheActor;
class UGeometryCache;
class FGeometryCacheThumbnailScene : public FThumbnailPreviewScene
{
public:
/** Constructor */
FGeometryCacheThumbnailScene();
/** Sets the static mesh to use in the next CreateView() */
void SetGeometryCache(UGeometryCache* GeometryCache);
protected:
// FThumbnailPreviewScene implementation
virtual void GetViewMatrixParameters(const float InFOVDegrees, FVector& OutOrigin, float& OutOrbitPitch, float& OutOrbitYaw, float& OutOrbitZoom) const override;
private:
/** The static mesh actor used to display all static mesh thumbnails */
AGeometryCacheActor* PreviewActor;
};