UWidgetComponent::CalcBounds

Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USceneComponent::CalcBounds()

UWidgetComponent::CalcBounds()

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h

Include

#include "Components/WidgetComponent.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp

Syntax

virtual FBoxSphereBounds CalcBounds
(
    const FTransform & LocalToWorld
) const

Remarks

Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size.