class
MSkeleton
- Module
- Miri
- Header
#include "Miri/Widgets/MSkeleton.h"- Namespace
Miri
Public functions
| Returns | Name | Description |
|---|---|---|
MIRI_WIDGET_ARGS | ||
void | Construct | |
float | GetShimmer | 0..1 towards Surface4 this frame; 0 under reduced motion. |
MiriVec2 | ComputeDesiredSize | |
int32_t | OnPaint | |
bool | CanCacheDesiredSize | |
const char* | GetTypeName |
Function details
MIRI_WIDGET_ARGS
C++
MIRI_WIDGET_ARGS(MSkeleton) MIRI_ARG(float, Width) MIRI_ARG(float, Height) MIRI_WIDGET_ARGS_END() static constexpr float SHIMMER_SECONDS = 1.2fConstruct
C++
void Construct(const CArguments& args)GetShimmer
C++
float GetShimmer() const0..1 towards Surface4 this frame; 0 under reduced motion.
ComputeDesiredSize
C++
MiriVec2 ComputeDesiredSize(float scale) const overrideOnPaint
C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const overrideCanCacheDesiredSize
C++
bool CanCacheDesiredSize() const overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Miri/Widgets/MSkeleton.h via miri.json · Dec 5, 2026Version 1.1.0