FThumbnailPreviewScene

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback