Navigation
API > API/Editor > API/Editor/AdvancedPreviewScene
| Name | FAdvancedPreviewScene |
| Type | class |
| Header File | /Engine/Source/Editor/AdvancedPreviewScene/Public/AdvancedPreviewScene.h |
| Include Path | #include "AdvancedPreviewScene.h" |
Syntax
class FAdvancedPreviewScene :
public FPreviewScene,
public FTickableEditorObject
Inheritance Hierarchy
- FGCObject → FPreviewScene → FAdvancedPreviewScene
- FTickableObjectBase → FTickableEditorObject → FAdvancedPreviewScene
Derived Classes
FAdvancedPreviewScene derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAdvancedPreviewScene
(
ConstructionValues CVS, |
AdvancedPreviewScene.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAdvancedPreviewScene() |
AdvancedPreviewScene.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnProfileChanged | TMulticastDelegate_TwoParams< void, const FPreviewSceneProfile &, FName > | An event for when a profile changes. | AdvancedPreviewScene.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FLinearColor GetBackgroundColor() |
Begin FPreviewScene | AdvancedPreviewScene.h | |
TSharedPtr< FUICommandList > GetCommandList() |
AdvancedPreviewScene.h | ||
FPreviewSceneProfile * GetCurrentProfile() |
AdvancedPreviewScene.h | ||
const int32 GetCurrentProfileIndex() |
AdvancedPreviewScene.h | ||
const UStaticMeshComponent * GetFloorMeshComponent() |
AdvancedPreviewScene.h | ||
float GetFloorOffset() |
AdvancedPreviewScene.h | ||
bool GetFloorVisibility() |
Sets the visiblity state for the floor/environment by storing it in the scene profile and refreshing the scene, in case bDirect is true it sets the visibility directly and leaves the profile untouched. | AdvancedPreviewScene.h | |
const float GetSkyRotation() |
AdvancedPreviewScene.h | ||
virtual TStatId GetStatId() |
AdvancedPreviewScene.h | ||
virtual ETickableTickType GetTickableTickType() |
AdvancedPreviewScene.h | ||
const bool HandleInputKey
(
const FInputKeyEventArgs& EventArgs |
AdvancedPreviewScene.h | ||
void HandleToggleEnvironment() |
Toggle the sky sphere on and off | AdvancedPreviewScene.h | |
void HandleToggleFloor() |
Toggle the floor mesh on and off | AdvancedPreviewScene.h | |
void HandleToggleGrid() |
Toggle the grid on and off. | AdvancedPreviewScene.h | |
void HandleTogglePostProcessing() |
Toggle post processing on and off | AdvancedPreviewScene.h | |
const bool HandleViewportInput
(
FViewport* InViewport, |
AdvancedPreviewScene.h | ||
bool IsEnvironmentEnabled() |
Whether the sky sphere is on. | AdvancedPreviewScene.h | |
bool IsFloorEnabled() |
Whether the floor is on | AdvancedPreviewScene.h | |
bool IsGridEnabled() |
Whether the grid is enabled. | AdvancedPreviewScene.h | |
bool IsPostProcessingEnabled() |
Whether post processing is enabled | AdvancedPreviewScene.h | |
const bool IsUsingPostProcessing() |
AdvancedPreviewScene.h | ||
FOnProfileChanged & OnProfileChanged() |
AdvancedPreviewScene.h | ||
void SetEnvironmentVisibility
(
const bool bVisible, |
AdvancedPreviewScene.h | ||
void SetFloorOffset
(
const float InFloorOffset |
AdvancedPreviewScene.h | ||
void SetFloorVisibility
(
const bool bVisible, |
AdvancedPreviewScene.h | ||
void SetProfileIndex
(
const int32 InProfileIndex |
AdvancedPreviewScene.h | ||
void SetSkyRotation
(
const float SkyRotation |
AdvancedPreviewScene.h | ||
virtual void Tick
(
float DeltaTime |
End FPreviewScene Begin FTickableEditorObject | AdvancedPreviewScene.h | |
void UpdateScene
(
FPreviewSceneProfile& Profile, |
AdvancedPreviewScene.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BindCommands() |
Create and map the command list. | AdvancedPreviewScene.h | |
virtual TSharedRef< FUICommandList > CreateCommandList() |
Add commands to a provided command list. | AdvancedPreviewScene.h | |
void OnAssetViewerSettingsRefresh
(
const FName& InPropertyName |
Handle refreshing the scene when settings change | AdvancedPreviewScene.h |