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 |
|
| EnvironmentFloorMaterial | TSoftObjectPtr< UMaterialInterface > | Sets the environment floor material | AssetViewerSettings.h |
|
| EnvironmentFloorMaterialPath | FString | Storing path to the environment floor material to prevent it from getting cooked | AssetViewerSettings.h |
|
| EnvironmentFloorMesh | TSoftObjectPtr< UStaticMesh > | Sets the environment floor mesh | AssetViewerSettings.h |
|
| EnvironmentFloorMeshPath | FString | Storing path to the environment floor mesh to prevent it from getting cooked | AssetViewerSettings.h |
|
| EnvironmentFloorRotation | FRotator | Sets the rotation of the floor mesh | AssetViewerSettings.h |
|
| EnvironmentFloorScale | FVector | Sets the scale of the floor mesh | 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 |
|---|---|---|---|
UMaterialInterface * GetEnvironmentFloorMaterial() |
Loads and returns the environment floor material | AssetViewerSettings.h | |
UStaticMesh * GetEnvironmentFloorMesh() |
Loads and returns the environment floor mesh | AssetViewerSettings.h | |
void LoadEnvironmentMap() |
Retrieve the environment map texture using the saved path | AssetViewerSettings.h | |
void LoadProfileObjects() |
Loads required objects for this profile | AssetViewerSettings.h | |
void PostEditChangeProperty
(
FPropertyChangedEvent& InEvent |
Called when a profile property has been changed | AssetViewerSettings.h | |
void SetShowFlags
(
FEngineShowFlags& ShowFlags |
AssetViewerSettings.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FPreviewSceneProfile& InOther |
AssetViewerSettings.h | ||
bool operator==
(
const FPreviewSceneProfile& InOther |
AssetViewerSettings.h |