Blueprint Reference
Reference for UOperatingSystemQrCodeGenerator (/Script/OperatingSystemQRCode.OperatingSystemQrCodeGenerator).
Class diagram
Section titled “Class diagram”flowchart TB Gen["«static» UOperatingSystemQrCodeGenerator<br/>GenerateQrCodeTextureSimple() · GenerateQrCodeTexture()"] ECL["EQrCodeErrorCorrectionLevel<br/>Low · Medium · High · VeryHigh"] Gen --> ECL
EQrCodeErrorCorrectionLevel
Section titled “EQrCodeErrorCorrectionLevel”| Value | Approx. damage tolerance |
|---|---|
| Low | ~7% |
| Medium | ~15% (default on full node) |
| High | ~25% |
| Very High | ~30% |
Higher correction may increase QR version (more modules).
Blueprint functions
Section titled “Blueprint functions”Generate QR Code Texture Simple
Section titled “Generate QR Code Texture Simple”| Input | Type | Description |
|---|---|---|
| String To Encode | String | Payload text |
| Return | Texture 2D | QR bitmap (black on white) |
Category: Qr Code Generator. Callable from any Blueprint.
Generate QR Code Texture
Section titled “Generate QR Code Texture”| Input | Type | Default | Description |
|---|---|---|---|
| String To Encode | String | — | Payload |
| Error Correction Level | Enum | Medium | See table above |
| Invert | Boolean | false | Swap foreground/background |
| Color 1 | Linear Color | White | Module color 1 |
| Color 2 | Linear Color | Black | Module color 2 |
| SRGB | Boolean | true | Convert linear colors via sRGB |
| Return | Texture 2D | — | Custom-colored QR |
Example — branded QR
Section titled “Example — branded QR”Event Construct → Generate QR Code Texture String: "WIFI:T:WPA;S:MyNetwork;P:secret;;" Error Correction: High Color 1: (1,1,1,1) Color 2: (0.1, 0.2, 0.8, 1) → Set Brush from TextureContent paths
Section titled “Content paths”| Item | Location |
|---|---|
| Sample widget | QrCodeGenerator/WBP_QrCodeSampleWidget |
| Demo map | QrCodeGenerator/DemoMap |