Display in UMG
Pattern
Section titled “Pattern”sequenceDiagram participant UI as User Widget participant Gen as QR Generator participant Img as Image UI->>Gen: Generate QR Code Texture Simple(Text) Gen-->>UI: UTexture2D UI->>Img: Set Brush from Texture
Blueprint
Section titled “Blueprint”- Add an Image named e.g.
QRImage(Is Variable). - On Event Construct (or when your payload changes):
Generate QR Code Texture Simple (DynamicText) → QRImage → Set Brush from Texture- For editable fields, call the same chain from On Text Changed on an Editable Text box.
Example payloads
Section titled “Example payloads”| Use case | String example |
|---|---|
| Product link | https://store.example/item/42 |
| WiFi | WIFI:T:WPA;S:Guest;P:Welcome123;; |
| Deep link | mygame://join/lobby/ABCDEF |
Study WBP_QrCodeSampleWidget under QrCodeGenerator/ for the shipped layout.