Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/SViewport
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SViewport::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h |
| Include | #include "Widgets/SViewport.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SViewport >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| NamedSlotProperty< FArguments > | Content () |
||
| WidgetArgsType & | EnableBlending
(
bool InArg |
Allow this viewport to blend with its background. | |
| WidgetArgsType & | EnableGammaCorrection
(
bool InArg |
Whether or not to enable gamma correction. Doesn't apply when rendering directly to a backbuffer. | |
| WidgetArgsType & | EnableStereoRendering
(
bool InArg |
Whether or not to enable stereo rendering. | |
| UE::Slate::FDeprecateVector2DResult | |||
| WidgetArgsType & | IgnoreTextureAlpha
(
bool InArg |
If true, the viewport's texture alpha is ignored when performing blending. | |
| WidgetArgsType & | PreMultipliedAlpha
(
bool InArg |
True if the viewport texture has pre-multiplied alpha | |
| 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. | |
| WidgetArgsType & | ReverseGammaCorrection
(
bool InArg |
Whether or not to reverse the gamma correction done to the texture in this viewport. | |
| WidgetArgsType & | ShowEffectWhenDisabled
(
const TAttribute< bool >& InAttribute |
Whether or not to show the disabled effect when this viewport is disabled | |
| WidgetArgsType & | ViewportInterface
(
TSharedPtr< ISlateViewport > InArg |
The interface to be used by this viewport for rendering and I/O. | |
| WidgetArgsType & | ViewportSize
(
const TAttribute< FVector2D >& InAttribute |
Size of the viewport widget. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FArguments & | operator[]
(
const TSharedRef< SWidget >& InChild |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |