FPreviewSceneProfile

Preview scene profile settings structure.

Choose your operating system:

Windows

macOS

Linux

References

Module

AdvancedPreviewScene

Header

/Engine/Source/Editor/AdvancedPreviewScene/Public/AssetViewerSettings.h

Include

#include "AssetViewerSettings.h"

Syntax

struct FPreviewSceneProfile

Remarks

Preview scene profile settings structure.

Variables

Name Description

Public variable

bool

 

bPostProcessingEnabled

Whether or not the Post Processing should influence the scene

Public variable

bool

 

bRotateLightingRig

Toggle rotating of the sky and directional lighting, press K and drag for manual rotating of Sky and L for Directional lighting

Public variable

bool

 

bSharedProfile

Whether or not this profile should be stored in the Project ini file

Public variable

bool

 

bShowEnvironment

Toggle visibility of the environment sphere

Public variable

bool

 

bShowFloor

Toggle visibility of the floor mesh

Public variable

bool

 

bUseSkyLighting

Whether or not image based lighting is enabled for the environment cube map

Public variable

FLinearColor

 

DirectionalLightColor

Manually set the directional light colour

Public variable

float

 

DirectionalLightIntensity

Manually set the directional light intensity (0.0 - 20.0)

Public variable

FRotator

 

DirectionalLightRotation

Rotation for directional light

Public variable

FLinearColor

 

EnvironmentColor

The environment color, used if Show Environment is false.

Public variable

TSoftObjectPtr<...

 

EnvironmentCubeMap

Sets environment cube map used for sky lighting and reflections

Public variable

FString

 

EnvironmentCubeMapPath

Storing path to environment cube to prevent it from getting cooked

Public variable

float

 

EnvironmentIntensity

The environment intensity (0.0 - 20.0), used if Show Environment is false.

Public variable

float

 

LightingRigRotation

Current rotation value of the sky in degrees (0 - 360)

Public variable

FPostProcessSet...

 

PostProcessingSettings

Manual set post processing settings

Public variable

FString

 

ProfileName

Name to identify the profile

Public variable

float

 

RotationSpeed

Speed at which the sky rotates when rotating is toggled

Public variable

float

 

SkyLightIntensity

Manually set the sky light intensity (0.0 - 20.0)

Constructors

Name Description

Public function

FPreviewSceneProfile()

Functions

Name Description

Public function

void

 

LoadEnvironmentMap()

Retrieve the environment map texture using the saved path