FPreviewSceneProfile

Preview scene profile settings structure.

Unreal Engine C++ API Reference > Editor > AdvancedPreviewScene

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

Type Name Description
bool bPostProcessingEnabled Whether or not the Post Processing should influence the scene
bool bRotateLightingRig Toggle rotating of the sky and directional lighting, press K and drag for manual rotating of Sky and L for Directional lighting
bool bSharedProfile Whether or not this profile should be stored in the Project ini file
bool bShowEnvironment Toggle visibility of the environment sphere
bool bShowFloor Toggle visibility of the floor mesh
bool bUseSkyLighting Whether or not image based lighting is enabled for the environment cube map
FLinearColor DirectionalLightColor Manually set the directional light colour
float DirectionalLightIntensity Manually set the directional light intensity (0.0 - 20.0)
FRotator DirectionalLightRotation Rotation for directional light
FLinearColor EnvironmentColor The environment color, used if Show Environment is false.
TSoftObjectPtr<... EnvironmentCubeMap Sets environment cube map used for sky lighting and reflections
FString EnvironmentCubeMapPath Storing path to environment cube to prevent it from getting cooked
float EnvironmentIntensity The environment intensity (0.0 - 20.0), used if Show Environment is false.
float LightingRigRotation Current rotation value of the sky in degrees (0 - 360)
FPostProcessSet... PostProcessingSettings Manual set post processing settings
FString ProfileName Name to identify the profile
float RotationSpeed Speed at which the sky rotates when rotating is toggled
float SkyLightIntensity Manually set the sky light intensity (0.0 - 20.0)

Constructors

Type Name Description
  FPreviewSceneProfile ()  

Functions

Type Name Description
void LoadEnvironmentMap () Retrieve the environment map texture using the saved path

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library