Navigation
API > API/Runtime > API/Runtime/SlateCore
Classes
| Type | Name | Description | |
|---|---|---|---|
| AlignmentArrangeResult | |||
| EVisibility | Is an entity visible? | ||
| FArrangedChildren | The results of an ArrangeChildren are always returned as an FArrangedChildren. | ||
| FArrangedWidget | A pair: Widget and its Geometry. | ||
| FBasicLayoutWidgetSlot | The basic slot that can be used by layout. | ||
| FChildren | FChildren is an interface that must be implemented by all child containers. | ||
| FClipStateHandle | |||
| FCombinedChildren | Occasionally you may need to keep multiple discrete sets of children with differing slot requirements. | ||
| FGeometry | Represents the position, size, and absolute position of a Widget in Slate. | ||
| FLayoutGeometry | |||
| FLayoutLocalization | Class containing utilities for getting layout localization information. | ||
| FMargin | Describes the space around a Widget. | ||
| FNoChildren | Widgets with no Children can return an instance of FNoChildren. | ||
| FPaintGeometry | A Paint geometry contains the window-space (draw-space) info to draw an element on the screen. | ||
| FSingleWidgetChildrenWithBasicLayoutSlot | |||
| FSingleWidgetChildrenWithSlot | A FChildren that has only one child. | ||
| FSlateCachedClipState | |||
| FSlateClippingManager | The clipping manager maintain the running clip state. | ||
| FSlateClippingZone | The Clipping Zone represents some arbitrary plane segment that can be used to clip the geometry in Slate. | ||
| FSlateRect | A rectangle defined by upper-left and lower-right corners. | ||
| FSlateRotatedRect | Stores a rectangle that has been transformed by an arbitrary render transform. | ||
| FWeakWidgetPath | Just like a WidgetPath, but uses weak pointers and does not store geometry. | ||
| FWidgetAndPointer | |||
| FWidgetMatcher | Matches widgets against InWidget | ||
| FWidgetPath | A widget path is a vertical slice through the tree. | ||
| GetChildAlignment | Gets the alignment of an axis-agnostic int32 so that we can do alignment on an axis without caring about its orientation | ||
| TAlignmentSingleWidgetSlotMixin | Mixin to add the alignment functionality to a base slot that is also a single children. | ||
| TAlignmentWidgetSlotMixin | Mixin to add the alignment functionality to a base slot. | ||
| TBasicLayoutWidgetSlot | A templated basic slot that can be used by layout. | ||
| TOneDynamicChild | Required to implement GetChildren() in a way that can dynamically return the currently active child. | ||
| TPaddingSingleWidgetSlotMixin | Mixin to add the padding functionality to a base slot that is also a single children. | ||
| TPaddingWidgetSlotMixin | Mixin to add the padding functionality to a base slot. | ||
| TPanelChildren | A generic FChildren that stores children along with layout-related information. | ||
| TPanelChildrenConstIterator | |||
| TSingleWidgetChildrenWithBasicLayoutSlot | A FChildren that has only one child and support alignment and padding. | ||
| TSingleWidgetChildrenWithSlot | A FChildren that has only one child and can take a templated slot. | ||
| TSlotlessChildren | Some advanced widgets contain no layout information, and do not require slots. | ||
| TWeakChild | For widgets that do not own their content, but are responsible for presenting someone else's content. | ||
| TWidgetSlotWithAttributeSupport | A base slot that supports TSlateContainedAttribute. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EClippingFlags | Indicates the method of clipping that should be used on the GPU. | ||
| EClippingMethod | Indicates the method of clipping that should be used on the GPU. | ||
| EFlowDirection | Widgets may need to flow left or right depending upon the current culture/localization that's active. | ||
| EFlowDirectionPreference | |||
| EWidgetClipping | This enum controls clipping of widgets in Slate. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| AlignmentArrangeResult | AlignChild
(
float AllottedSize, |
||
| AlignmentArrangeResult | AlignChild
(
float AllottedSize, |
||
| AlignmentArrangeResult | AlignChild
(
EFlowDirection InLayoutFlow, |
||
| AlignmentArrangeResult | AlignChild
(
EFlowDirection InLayoutFlow, |
Helper method to BoxPanel::ArrangeChildren. | |
| void | ArrangeChildrenInStack
(
EFlowDirection InLayoutFlow, |
||
| void | ArrangeSingleChild
(
const FGeometry& AllottedGeometry, |
Arrange a ChildSlot within the AllottedGeometry and populate ArrangedChildren with the arranged result. | |
| void | ArrangeSingleChild
(
const FGeometry& AllottedGeometry, |
||
| void | ArrangeSingleChild
(
EFlowDirection InFlowDirection, |
||
| void | ArrangeSingleChild
(
EFlowDirection InFlowDirection, |
||
| AlignmentArrangeResult | ArrangeUtils::AlignCenter
(
float AllottedSize, |
Same as AlignChild but force the alignment to be center. | |
| AlignmentArrangeResult | ArrangeUtils::AlignFill
(
float AllottedSize, |
Same as AlignChild but force the alignment to be fill. | |
| UE::Slate::FDeprecateVector2DResult | ComputePopupFitInRect
(
const FSlateRect& InAnchor, |
Given information about a popup and the space available for displaying that popup, compute best placement for it. | |
| Captures everything about a single draw calls clipping state. | |||
| FMargin | LayoutPaddingWithFlow
(
EFlowDirection InLayoutFlow, |
||
| FSlateRect | TransformRect
(
const TransformType& Transform, |
Transforms a rect by the given transform, ensuring the rect does not get inverted. | |
| FSlateRotatedRect | TransformRect
(
const TransformType& Transform, |
Transforms a rect by the given transform. |
Variables
| Type | Name | Description | |
|---|---|---|---|
| EFlowDirection | GSlateFlowDirection | ||
| int32 | GSlateFlowDirectionShouldFollowCultureByDefault |