class
MOverlay
- Module
- Miri
- Header
#include "Miri/Widgets/MOverlay.h"- Namespace
Miri
Type aliases
| Alias | Description |
|---|---|
using CSlot = COverlaySlot |
Public functions
| Returns | Name | Description |
|---|---|---|
MIRI_WIDGET_ARGS | ||
CSlot& | AddSlot | |
MOverlay& | operator+ | |
CSlot | Slot | |
bool | CanCacheDesiredSize | |
bool | CanSkipArrange | Alignment and padding are plain slot fields behind setters that invalidate; the arranged rects follow from them and the children's cached sizes. |
bool | CanRetainPaint | Paints nothing of its own; slot order is the whole slice. |
MiriVec2 | ComputeDesiredSize | |
void | ArrangeChildren | |
int32_t | OnPaint | |
int32_t | GetNumChildren | |
TSharedPtr<MWidget> | GetChildAt | |
const char* | GetTypeName |
Function details
MIRI_WIDGET_ARGS
C++
MIRI_WIDGET_ARGS(MOverlay) MIRI_WIDGET_ARGS_END() void Construct(const CArguments& args)AddSlot
C++
CSlot& AddSlot()operator+
C++
MOverlay& operator+(CSlot&& slot)Slot
C++
static CSlot Slot()CanCacheDesiredSize
C++
bool CanCacheDesiredSize() const overrideCanSkipArrange
C++
bool CanSkipArrange() const overrideAlignment and padding are plain slot fields behind setters that invalidate; the arranged rects follow from them and the children's cached sizes.
CanRetainPaint
C++
bool CanRetainPaint() const overridePaints nothing of its own; slot order is the whole slice.
ComputeDesiredSize
C++
MiriVec2 ComputeDesiredSize(float scale) const overrideArrangeChildren
C++
void ArrangeChildren(const CGeometry& geo) overrideOnPaint
C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const overrideGetNumChildren
C++
int32_t GetNumChildren() const overrideGetChildAt
C++
TSharedPtr<MWidget> GetChildAt(int32_t index) const overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Miri/Widgets/MOverlay.h via miri.json · Dec 5, 2026Version 1.1.0