Navigation
API > API/Editor > API/Editor/AdvancedPreviewScene
Preview scene profile settings structure.
| Name | FPreviewSceneProfile |
| Type | struct |
| Header File | /Engine/Source/Editor/AdvancedPreviewScene/Public/AssetViewerSettings.h |
| Include Path | #include "AssetViewerSettings.h" |
Syntax
USTRUCT ()
struct FPreviewSceneProfile
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPreviewSceneProfile() |
AssetViewerSettings.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableToneMapping | bool | Useful when editing in an unlit view, prevents colors from being adjusted by the tonemapping | AssetViewerSettings.h |
|
| bIsEngineDefaultProfile | bool | Whether or not this profile is one of the default profiles included with the engine | AssetViewerSettings.h |
|
| bPostProcessingEnabled | bool | Whether or not the Post Processing should influence the scene | AssetViewerSettings.h |
|
| bRotateLightingRig | bool | Toggle rotating of the sky and directional lighting, press K and drag for manual rotating of Sky and L for Directional lighting | AssetViewerSettings.h |
|
| bSharedProfile | bool | Whether or not this profile should be stored in the Project ini file | AssetViewerSettings.h |
|
| bShowEnvironment | bool | Toggle visibility of the environment sphere | AssetViewerSettings.h |
|
| bShowFloor | bool | Toggle visibility of the floor mesh | AssetViewerSettings.h |
|
| bShowGrid | bool | Toggle visibility of floor grid on/off | AssetViewerSettings.h |
|
| bShowMeshEdges | bool | Show wireframes composited on top of the shaded view | AssetViewerSettings.h |
|
| bUseSkyLighting | bool | Whether or not image based lighting is enabled for the environment cube map | AssetViewerSettings.h |
|
| DirectionalLightColor | FLinearColor | Manually set the directional light colour | AssetViewerSettings.h |
|
| DirectionalLightIntensity | float | Manually set the directional light intensity (0.0 - 20.0) | AssetViewerSettings.h |
|
| DirectionalLightRotation | FRotator | Rotation for directional light | AssetViewerSettings.h |
|
| EnvironmentColor | FLinearColor | The environment color, used if Show Environment is false. | AssetViewerSettings.h |
|
| EnvironmentCubeMap | TSoftObjectPtr< UTextureCube > | Sets environment cube map used for sky lighting and reflections | AssetViewerSettings.h |
|
| EnvironmentCubeMapPath | FString | Storing path to environment cube to prevent it from getting cooked | AssetViewerSettings.h |
|
| EnvironmentIntensity | float | The environment intensity (0.0 - 20.0), used if Show Environment is false. | AssetViewerSettings.h |
|
| LightingRigRotation | float | Current rotation value of the sky in degrees (0 - 360) | AssetViewerSettings.h |
|
| PostProcessingSettings | FPostProcessSettings | Manual set post processing settings | AssetViewerSettings.h |
|
| ProfileName | FString | Name to identify the profile | AssetViewerSettings.h |
|
| RotationSpeed | float | Speed at which the sky rotates when rotating is toggled | AssetViewerSettings.h |
|
| SkyLightIntensity | float | Manually set the sky light intensity (0.0 - 20.0) | AssetViewerSettings.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void LoadEnvironmentMap() |
Retrieve the environment map texture using the saved path | AssetViewerSettings.h | |
void SetShowFlags
(
FEngineShowFlags& ShowFlags |
AssetViewerSettings.h |