SViewport::ComputeDesiredSize

Computes the ideal size necessary to display this widget.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Slate

Header

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

Include

#include "Widgets/SViewport.h"

Syntax

virtual FVector2D ComputeDesiredSize
(
    float
) const

Remarks

Computes the ideal size necessary to display this widget.

Returns

The desired width and height.