Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SViewport
| Name | FArguments |
| Type | struct |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h |
| Include Path | #include "Widgets/SViewport.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SViewport >
Inheritance Hierarchy
- FSlateBaseNamedArgs → TSlateBaseNamedArgs → SViewport::FArguments
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArguments() |
Widgets/SViewport.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| WidgetArgsType | FArguments | Widgets/SViewport.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
NamedSlotProperty< FArguments > Content() |
Widgets/SViewport.h | ||
WidgetArgsType & EnableBlending
(
bool InArg |
Allow this viewport to blend with its background. | Widgets/SViewport.h | |
WidgetArgsType & EnableGammaCorrection
(
bool InArg |
Whether or not to enable gamma correction. Doesn't apply when rendering directly to a backbuffer. | Widgets/SViewport.h | |
WidgetArgsType & EnableStereoRendering
(
bool InArg |
Whether or not to enable stereo rendering. | Widgets/SViewport.h | |
WidgetArgsType & IgnoreTextureAlpha
(
bool InArg |
If true, the viewport's texture alpha is ignored when performing blending. | Widgets/SViewport.h | |
WidgetArgsType & PreMultipliedAlpha
(
bool InArg |
True if the viewport texture has pre-multiplied alpha | Widgets/SViewport.h | |
WidgetArgsType & RenderDirectlyToWindow
(
bool InArg |
Whether or not to render directly to the window's backbuffer or an offscreen render target that is applied to the window later Rendering to an offscreen target is the most common option in the editor where there may be many frames which this viewport's interface may wish to not re-render but use a cached buffer instead Rendering directly to the backbuffer is the most common option in the game where you want to update each frame without the cost of writing to an intermediate target first. | Widgets/SViewport.h | |
WidgetArgsType & ReverseGammaCorrection
(
bool InArg |
Whether or not to reverse the gamma correction done to the texture in this viewport. | Widgets/SViewport.h | |
WidgetArgsType & ShowEffectWhenDisabled
(
const TAttribute< bool >& InAttribute |
Whether or not to show the disabled effect when this viewport is disabled | Widgets/SViewport.h | |
WidgetArgsType & ViewportInterface
(
TSharedPtr< ISlateViewport > InArg |
The interface to be used by this viewport for rendering and I/O. | Widgets/SViewport.h | |
WidgetArgsType & ViewportSize
(
const TAttribute< FVector2D >& InAttribute |
Size of the viewport widget. | Widgets/SViewport.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UE::Slate::FDeprecateVector2DResult GetDefaultViewportSize() |
Widgets/SViewport.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArguments & operator[]
(
const TSharedRef< SWidget >& InChild |
Widgets/SViewport.h |