FMaterialThumbnailScene

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

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

Include

#include "ThumbnailHelpers.h"

Syntax

class FMaterialThumbnailScene : public FThumbnailPreviewScene

Variables

Name Description

Protected variable

bool

 

bForcePlaneThumbnail

Material being used for something that only makes sense to visualize as a plane (UI, particle sprites)

Protected variable

AStaticMeshActo...

 

PreviewActor

The static mesh actor used to display all material thumbnails

Constructors

Name Description

Public function

FMaterialThumbnailScene()

Constructor

Functions

Name Description

Public function

void

 

SetMaterialInterface

(
    UMaterialInterface* InMaterial
)

Sets the material to use in the next GetView()

Public function Const

bool

 

ShouldSetSeparateTranslucency

(
    UMaterialInterface* InMaterial
)

Overridden from FThumbnailPreviewScene

Name Description

Protected function Virtual Const

void

 

GetViewMatrixParameters

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

FThumbnailPreviewScene implementation.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss