DreamGUI
Reference

FDreamUIImageBrush

Dream UIImage Brush

Declared in Public/Core/DreamUIImageBrush.h.

Dream UIImage Brush

Properties

NameTypeCategoryIn the details panelFrom BlueprintDescription
ResourceObjectTObjectPtr<UObject>ImageBrushyesread / write
TintColorFColorImageBrushyesread / write
DrawAsEDreamUIImageBrushDrawTypeImageBrushyesread / write
ImageSizeFVector2fImageBrushyesread / write
MarginFMarginImageBrushyesread / writeMargin size from 0 to 1.
UVRegionFVector4fImageBrushyesread / writeUV region for an image, xy for min and zw for max.
PixelsPerUnitMultiplierfloatImageBrushyesread / write
FillAmountfloatImageBrushyesread / writeFilled only: how much of the image is shown, 0 shows none of it and 1 all of it.
FillMethodEDreamUIImageBrushFillMethodImageBrushyesread / writeFilled only: the shape of the cut.
FillOriginuint8ImageBrushyesread / writeFilled only: which corner or edge a radial fill starts from. Held as a byte for the same reason UDreamSprite holds it as one: which enum it means depends on FillMethod (EDreamUISpriteFillOriginType_Radial90 / _Radial180 / _Radial360), and only one of them applies at a time. Ignored by the horizontal and vertical methods.
FillDirectionFlipboolImageBrushyesread / writeFilled only: fill from the other end.
CornerRadiusFVector4fImageBrushyesread / writeRoundedBox only: corner radius in pixels, X top-left, Y top-right, Z bottom-right, W bottom-left -- clockwise from the top left, the order CSS and UDreamRectBlock both use. Each is clamped to half the shorter side, so a big enough radius gives a capsule rather than an error.
CornerSegmentsint32ImageBrushyesread / writeRoundedBox only: points along each corner arc. More is smoother and costs two triangles each.

On this page