CPortraitWidget
Overview
UCPortraitWidget displays a UTexture2D portrait image in a UImage widget. The texture is received through the consume pattern and applied via the CDRYX_SET_UIMAGE_BRUSH macro.
Functions
| Name | Description |
|---|---|
| consume | Sets the portrait image from the provided UTexture2D object |
// UCPortraitWidget receives data via consume:
// - object: UTexture2D* portrait icon
// The texture is applied to CReservedKeyword_portrait_Image using CDRYX_SET_UIMAGE_BRUSH
// with the texture's native size and white tint/outline.
// Logs a warning if the object is not a UTexture2D.