Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FSceneViewFamily
- FSceneViewFamilyContext
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/SceneView.h |
| Include | #include "SceneView.h" |
Syntax
class FSceneViewFamily
Remarks
A set of views into a scene which only have different view transforms and owner actors.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< const FSceneView * > | AllViews | All views include main camera views and scene capture views. | |
| bool | bAdditionalViewFamily | Indicates this view family is an additional one. | |
| bool | bCurrentlyBeingEdited | Whether the scene is currently being edited, which can be used to speed up lighting propagation. | |
| bool | bDeferClear | Used to defer the back buffer clearing to just before the back buffer is drawn to | |
| bool | bDrawBaseInfo | Indicates whether, or not, the base attachment volume should be drawn. | |
| bool | bIsFirstViewInMultipleViewFamily | Whether this view is the first of multiple view families rendered in a single frame. | |
| bool | bIsHDR | When enabled, the post processing will output in HDR space | |
| bool | bIsMainViewFamily | Whether this is the "main" view family. | |
| bool | bIsMultipleViewFamily | Whether this view is one of multiple view families rendered in a single frame. | |
| bool | bIsViewFamilyInfo | ||
| bool | bMultiGPUForkAndJoin | If true then each view is not rendered using the same GPUMask. | |
| bool | bNullifyWorldSpacePosition | Indicates whether the shader world space position should be forced to 0. | |
| bool | bOverrideVirtualTextureThrottle | Whether to disable virtual texture update throttling. | |
| bool | bRealtimeUpdate | Indicates whether the view family is updated in realtime. | |
| bool | bRequireMultiView | True if scenecolor and depth should be multiview-allocated | |
| bool | bResolveScene | If true then results of scene rendering are copied/resolved to the RenderTarget. | |
| bool | bSplitScreenDebugAllowed | Whether this view allows split screen debug we only want it for editor and game viewports, not other random scene renders | |
| bool | bThumbnailRendering | Whether this view is for thumbnail rendering | |
| bool | bUsedDebugViewVSDSHS | ||
| bool | bWorldIsPaused | GetWorld->IsPaused() && !Simulate Simulate is excluded as the camera can move which invalidates motionblur | |
| float | CurrentRealTime | ||
| float | CurrentWorldTime | ||
| float | DebugDPIScale | DPI scale to be used for debugging font. | |
| EDebugViewShaderMode | DebugViewShaderMode | ||
| float | DeltaWorldTime | ||
| FDisplayInternalsData | DisplayInternalsData | For r.DisplayInternals (allows for easy passing down data from main to render thread) | |
| FEngineShowFlags | EngineShowFlags | The new show flags for the views (meant to replace the old system). | |
| FExposureSettings | ExposureSettings | Editor setting to allow designers to override the automatic expose. | |
| uint64 | FrameCounter | Copy from main thread GFrameCounter to be accessible on render thread side. | |
| uint32 | FrameNumber | Copy from main thread GFrameNumber to be accessible on render thread side. | |
| float | GammaCorrection | Gamma correction used when rendering this family. Default is 1.0 | |
| int8 | LandscapeLODOverride | Override the LOD of landscape in this viewport. | |
| TOptional< uint64 > | OverrideFrameCounter | When deleted, remove PRAGMA_DISABLE_DEPRECATION_WARNINGS / PRAGMA_ENABLE_DEPRECATION_WARNINGS from ~FSceneViewFamily() | |
| FString | ProfileDescription | Optional description of view family for Unreal Insights profiling. | |
| float * | ProfileSceneRenderTime | Optional tracking of scene render time in seconds, useful when rendering multiple scenes (such as via UDisplayClusterViewportClient) where the user may want a live breakdown of where render time is going per scene, which the stat system otherwise doesn't provide. | |
| const FRenderTarget * | RenderTarget | The render target which the views are being rendered to. | |
| const FRenderTarget * | RenderTargetDepth | ||
| FSceneInterface * | Scene | The scene being viewed. | |
| ESceneCaptureCompositeMode | SceneCaptureCompositeMode | When enabled, the scene capture will composite into the render target instead of overwriting its contents. | |
| ESceneCaptureSource | SceneCaptureSource | Which component of the scene rendering should be output to the final render target. | |
| ESecondaryScreenPercentageMethod | SecondaryScreenPercentageMethod | ||
| float | SecondaryViewFraction | Secondary view fraction to support High DPI monitor still with same primary screen percentage range for temporal upscale to test content consistently in editor no mater of the HighDPI scale. | |
| TArray< FVector, TInlineAllocator< 2 > > | StreamingViewOrigins | Views' origin of the (optional) streaming views. Used for prefetching rendering data ahead of time. | |
| FGameTime | Time | The current time. | |
| TArray< TSharedRef< class ISceneViewExtension, ESPMode::ThreadSafe > > | ViewExtensions | Extensions that can modify view parameters on the render thread. | |
| EViewModeIndex | ViewMode | View mode of the family. | |
| int32 | ViewModeParam | ||
| FName | ViewModeParamName | ||
| TArray< const FSceneView * > | Views | The views which make up the family. | |
| int32 | VirtualTextureFeedbackFactor | Size in pixels of a virtual texture feedback tile. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSceneViewFamily
(
const ConstructionValues& CVS |
Initialization constructor. | ||
FSceneViewFamily
(
FSceneViewFamily&& InViewFamily |
Allow moving view family as long as no screen percentage interface are set. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | |||
| EDebugViewShaderMode | |||
| EDebugViewShaderMode | |||
| const TExtensionData * | |||
| TExtensionData * | |||
| ERHIFeatureLevel::Type | |||
| bool | GetIsInFocus () |
||
| TExtensionData * | |||
| const ISpatialUpscaler * | |||
| ISceneRenderer * | |||
| const ISceneViewFamilyScreenPercentage * | |||
| const ISpatialUpscaler * | |||
| EShaderPlatform | |||
| const UE::Renderer::Private::ITemporalUpscaler * | |||
| int32 | |||
| const FName & | |||
| void | SetIsInFocus
(
bool bInIsInFocus |
||
| void | SetPrimarySpatialUpscalerInterface
(
ISpatialUpscaler* InSpatialUpscalerInterface |
||
| void | SetSceneRenderer
(
ISceneRenderer* NewSceneRenderer |
||
| void | SetScreenPercentageInterface
(
ISceneViewFamilyScreenPercentage* InScreenPercentageInterface |
Safely sets the view family's screen percentage interface. | |
| void | SetSecondarySpatialUpscalerInterface
(
ISpatialUpscaler* InSpatialUpscalerInterface |
||
| void | SetTemporalUpscalerInterface
(
UE::Renderer::Private::ITemporalUpscaler* InTemporalUpscalerInterface |
||
| bool | Returns whether the screen percentage show flag is supported or not for this view family. | ||
| bool | |||
| bool |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator=
(
const FSceneViewFamily& |
View family assignment operator is not allowed because of ScreenPercentageInterface lifetime. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| ConstructionValues | Helper struct for creating FSceneViewFamily instances If created with specifying a time it will retrieve them from the world in the given scene. |