Navigation
API > API/Editor > API/Editor/AdvancedPreviewScene
Inheritance Hierarchy
- FPreviewScene
- FTickableEditorObject
- FAdvancedPreviewScene
- FContextualAnimPreviewScene
- FDatabasePreviewScene
- IDisplayClusterConfiguratorPreviewScene
- IPersonaPreviewScene
References
| Module | AdvancedPreviewScene |
| Header | /Engine/Source/Editor/AdvancedPreviewScene/Public/AdvancedPreviewScene.h |
| Include | #include "AdvancedPreviewScene.h" |
Syntax
class FAdvancedPreviewScene :
public FPreviewScene,
public FTickableEditorObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPostProcessing | ||
| bool | bRotateLighting | ||
| bool | bSkyChanged | ||
| int32 | CurrentProfileIndex | ||
| float | CurrentRotationSpeed | ||
| UAssetViewerSettings * | DefaultSettings | ||
| UStaticMeshComponent * | FloorMeshComponent | ||
| UMaterialInstanceConstant * | InstancedSkyMaterial | ||
| UPostProcessComponent * | PostProcessComponent | ||
| float | PreviousRotation | ||
| FDelegateHandle | RefreshDelegate | Delegate handle used to refresh the scene when settings change | |
| UStaticMeshComponent * | SkyComponent | ||
| TSharedPtr< FUICommandList > | UICommandList | Command list for input handling | |
| float | UILightingRigRotationDelta |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAdvancedPreviewScene
(
ConstructionValues CVS, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BindCommands () |
Bind our command bindings to handlers | |
| const int32 | |||
| const UStaticMeshComponent * | |||
| float | |||
| bool | 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. | ||
| const float | |||
| const bool | HandleInputKey
(
const FInputKeyEventArgs& EventArgs |
||
| void | Toggle the sky sphere on and off | ||
| void | Toggle the floor mesh on and off | ||
| void | Toggle post processing on and off | ||
| const bool | HandleViewportInput
(
FViewport* InViewport, |
||
| const bool | |||
| void | OnAssetViewerSettingsRefresh
(
const FName& InPropertyName |
Handle refreshing the scene when settings change | |
| void | SetEnvironmentVisibility
(
const bool bVisible, |
||
| void | SetFloorOffset
(
const float InFloorOffset |
||
| void | SetFloorVisibility
(
const bool bVisible, |
||
| void | SetProfileIndex
(
const int32 InProfileIndex |
||
| void | SetSkyRotation
(
const float SkyRotation |
||
| void | UpdateScene
(
FPreviewSceneProfile& Profile, |
Overridden from FPreviewScene
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | Begin FPreviewScene |
Overridden from FTickableObjectBase
| Type | Name | Description | |
|---|---|---|---|
| TStatId | GetStatId () |
Return the stat id to use for this tickable | |
| ETickableTickType | Virtual that can be overloaded by the inheriting class. | ||
| void | Tick
(
float DeltaTime |
End FPreviewScene Begin FTickableEditorObject |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| const bool | HandleInputKey
(
FViewport* InViewport, |
This version of HandleInputKey is deprecated. Please use the version that takes EventArgs instead. | |
| const bool | HandleViewportInput
(
FViewport* InViewport, |
This version of HandleInputKey is deprecated. Please use the version that takes EventArgs instead. |