You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UETOOL-4055 #rb none #preflight 61f17bd8be0f0e0a6234afb2 #ROBOMERGE-AUTHOR: anousack.kitisa #ROBOMERGE-SOURCE: CL 18737179 in //UE5/Release-5.0/... via CL 18737385 via CL 18738249 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472) [CL 18738699 by anousack kitisa in ue5-main branch]
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;
|
|
};
|