Navigation
API > API/Runtime > API/Runtime/Slate
Arranges widgets in a circular fashion
| Name | SRadialBox |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SRadialBox.h |
| Include Path | #include "Widgets/Layout/SRadialBox.h" |
Syntax
class SRadialBox : public SPanel
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SRadialBox
- FSlateControlledConstruction → SWidget → SPanel → SRadialBox
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SRadialBox() |
Widgets/Layout/SRadialBox.h |
Classes
| Name | Remarks |
|---|---|
| FChildArranger | |
| FSlot | Basic Slot without padding or alignment |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FScopedWidgetSlotArguments | TPanelChildren< FSlot >::FScopedWidgetSlotArguments | Widgets/Layout/SRadialBox.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AngleBetweenItems | float | How many degrees apart should the elements be? | Widgets/Layout/SRadialBox.h | |
| bClockwiseOrder | bool | If true children will be arranged in a clockwise order from starting angle | Widgets/Layout/SRadialBox.h | |
| bDistributeItemsEvenly | bool | Ignore AngleBetweenItems and distribute items evenly inside the whole circle | Widgets/Layout/SRadialBox.h | |
| bUseAllottedWidth | bool | If true the box will have a preferred width equal to its alloted width | Widgets/Layout/SRadialBox.h | |
| PreferredWidth | TSlateAttribute< float, EInvalidateWidgetReason::Layout > | How wide this panel should appear to be. | Widgets/Layout/SRadialBox.h | |
| SectorCentralAngle | float | If we need a section of a radial (for example half-a-radial) we can define a central angle < 360 (180 in case of half-a-radial). | Widgets/Layout/SRadialBox.h | |
| Slots | TPanelChildren< FSlot > | The slots that contain this panel's children. | Widgets/Layout/SRadialBox.h | |
| StartingAngle | float | Offset of the first element in the circle in degrees | Widgets/Layout/SRadialBox.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedWidgetSlotArguments AddSlot() |
Widgets/Layout/SRadialBox.h | ||
void ClearChildren() |
Widgets/Layout/SRadialBox.h | ||
void Construct
(
const FArguments& InArgs |
Widgets/Layout/SRadialBox.h | ||
int32 RemoveSlot
(
const TSharedRef< SWidget >& SlotWidget |
Removes a slot from this radial box which contains the specified SWidget | Widgets/Layout/SRadialBox.h | |
void SetAngleBetweenItems
(
float InAngleBetweenItems |
Widgets/Layout/SRadialBox.h | ||
void SetDistributeItemsEvenly
(
bool bInDistributeItemsEvenly |
Widgets/Layout/SRadialBox.h | ||
void SetSectorCentralAngle
(
float InSectorCentralAngle |
Widgets/Layout/SRadialBox.h | ||
void SetStartingAngle
(
float InStartingAngle |
Widgets/Layout/SRadialBox.h | ||
void SetUseAllottedWidth
(
bool bInUseAllottedWidth |
Widgets/Layout/SRadialBox.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
Widgets/Layout/SRadialBox.h | ||
virtual FChildren * GetChildren() |
Widgets/Layout/SRadialBox.h | ||
virtual void OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Widgets/Layout/SRadialBox.h | ||
virtual void Tick
(
const FGeometry& AllottedGeometry, |
Widgets/Layout/SRadialBox.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FSlot::FSlotArguments Slot() |
Widgets/Layout/SRadialBox.h |