FThumbnailPreviewScene

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/ThumbnailHelpers.h

Include

#include "ThumbnailHelpers.h"

Syntax

class FThumbnailPreviewScene :
    public FPreviewScene,
    public FTickableEditorObject

Constructors

Name Description

Public function

FThumbnailPreviewScene()

Constructor

Functions

Name Description

Protected function Const

float

 

GetBoundsZOffset

(
    const FBoxSphereBounds& Bounds
)

Helper function to get the bounds offset to display an asset

Public function Const

void

 

GetView

(
    FSceneViewFamily* ViewFamily,
    int32 X,
    int32 Y,
    uint32 SizeX,
    uint32 SizeY
)

Allocates then adds an FSceneView to the ViewFamily.

Protected function Const

void

 

GetViewMatrixParameters

(
    const float InFOVDegrees,
    FVector& OutOrigin,
    float& OutOrbitPitch,
    float& OutOrbitYaw,
    float& OutOrbitZoom
)

Gets parameters to create a view matrix to be used by GetView().

Overridden from FTickableObjectBase

Name Description

Public function Virtual Const

TStatId

 

GetStatId()

Return the stat id to use for this tickable

Public function Virtual Const

ETickableTic...

 

GetTickableTickType()

Virtual that can be overloaded by the inheriting class.

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Begin FTickableEditorObject