FArguments

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h

Include

#include "Widgets/SViewport.h"

Syntax

struct FArguments : public TSlateBaseNamedArgs< SViewport >

Constructors

Name Description

Public function

FArguments()

Functions

Name Description

Public function

NamedSlotPro...

 

Content()

Public function

WidgetArgsTy...

 

EnableBlending

(
    bool InArg
)

Allow this viewport to blend with its background.

Public function

WidgetArgsTy...

 

EnableGammaCorrection

(
    bool InArg
)

Whether or not to enable gamma correction. Doesn't apply when rendering directly to a backbuffer.

Public function

WidgetArgsTy...

 

EnableStereoRendering

(
    bool InArg
)

Whether or not to enable stereo rendering.

Public function Static

FVector2D

 

GetDefaultViewportSize()

Public function

WidgetArgsTy...

 

IgnoreTextureAlpha

(
    bool InArg
)

If true, the viewport's texture alpha is ignored when performing blending.

Public function

WidgetArgsTy...

 

PreMultipliedAlpha

(
    bool InArg
)

True if the viewport texture has pre-multiplied alpha

Public function

WidgetArgsTy...

 

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.

Public function

WidgetArgsTy...

 

ReverseGammaCorrection

(
    bool InArg
)

Whether or not to reverse the gamma correction done to the texture in this viewport.

Public function

WidgetArgsTy...

 

ShowEffectWhenDisabled

(
    const TAttribute< bool >& InAttrib...
)

Whether or not to show the disabled effect when this viewport is disabled

Public function

WidgetArgsTy...

 

ViewportInterface

(
    TSharedPtr< ISlateViewport > InArg
)

The interface to be used by this viewport for rendering and I/O.

Public function

WidgetArgsTy...

 

ViewportSize

(
    const TAttribute< FVector2D >& InA...
)

Size of the viewport widget.

Operators

Name Description

Public function

FArguments &

 

operator[]

(
    const TSharedRef< SWidget > InChild
)

Typedefs

Name

Description

WidgetArgsType

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss