FPreviewPlatformInfo

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Syntax

struct FPreviewPlatformInfo

Variables

Name Description

Public variable

bool

 

bPreviewFeatureLevelActive

Is feature level preview currently active

Public variable

FName

 

DeviceProfileName

The device profile to preview.

Public variable

ERHIFeatureLeve...

 

PreviewFeatureLevel

The feature level we should use when loading or creating a new world

Public variable

FName

 

PreviewPlatformName

The the platform to preview, or NAME_None if there is no preview platform

Public variable

FName

 

PreviewShaderFormatName

The shader platform to preview, or NAME_None if there is no shader preview platform

Constructors

Name Description

Public function

FPreviewPlatformInfo()

Public function

FPreviewPlatformInfo

(
    ERHIFeatureLevel::Type InFeatureLev...,
    FName InPreviewPlatformName,
    FName InPreviewShaderFormatName,
    FName InDeviceProfileName,
    bool InbPreviewFeatureLevelActive
)

Functions

Name Description

Public function Const

ERHIFeatureL...

 

GetEffectivePreviewFeatureLevel()

Returns the preview feature level if active, or GMaxRHIFeatureLevel otherwise

Public function Const

FName

 

GetEffectivePreviewPlatformName()

Return platform name like "Android", or NAME_None if none is set or the preview feature level is not active

Public function Const

bool

 

Matches

(
    const FPreviewPlatformInfo& Other
)

Checks if two FPreviewPlatformInfos are for the same preview platform.

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