You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
28 lines
755 B
C++
28 lines
755 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "ThumbnailHelpers.h"
|
|
|
|
class AGeometryCacheActor;
|
|
class UGeometryCache;
|
|
|
|
class FGeometryCacheThumbnailScene : public FThumbnailPreviewScene
|
|
{
|
|
public:
|
|
/** Constructor */
|
|
FGeometryCacheThumbnailScene();
|
|
|
|
/** Sets the static mesh to use in the next GetView() */
|
|
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;
|
|
};
|