SRadialBox

Arranges widgets in a circular fashion

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SRadialBox.h

Include

#include "Widgets/Layout/SRadialBox.h"

Syntax

class SRadialBox : public SPanel

Remarks

Arranges widgets in a circular fashion

Constructors

Name Description

Public function

SRadialBox()

Functions

Name Description

Public function

FSlot &

 

AddSlot()

Public function

void

 

ClearChildren()

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function Const

int32

 

NormalizeAngle

(
    int32 Angle
)

Mods the angle so it's between 0-360

Public function

int32

 

RemoveSlot

(
    const TSharedRef< SWidget >& SlotW...
)

Removes a slot from this radial box which contains the specified SWidget

Public function

void

 

SetAngleBetweenItems

(
    float InAngleBetweenItems
)

Public function

void

 

SetDistributeItemsEvenly

(
    bool bInDistributeItemsEvenly
)

Public function

void

 

SetSectorCentralAngle

(
    float InSectorCentralAngle
)

Public function

void

 

SetStartingAngle

(
    float InStartingAngle
)

Public function

void

 

SetUseAllottedWidth

(
    bool bInUseAllottedWidth
)

Public function Static

FSlot &

 

Slot()

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float
)

A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user.

Public function Virtual

FChildren &#...

 

GetChildren()

All widgets must provide a way to access their children in a layout-agnostic way.

Public function Virtual Const

void

 

OnArrangeChildren

(
    const FGeometry& AllottedGeometry,
    FArrangedChildren& ArrangedChildre...
)

Panels arrange their children in a space described by the AllottedGeometry parameter.

Public function Virtual

void

 

Tick

(
    const FGeometry& AllottedGeometry,
    const double InCurrentTime,
    const float InDeltaTime
)

Ticks this widget with Geometry.

Classes

Name

Description

Public struct

FArguments

Public class

FChildArranger

Public class

FSlot

Basic Slot without padding or alignment

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