QR Code
QR Code Generator
The QR Code Generator is a behavior that generates a QR code from a specified text and displays it as an image. It can be used in both 2D and 3D scenes. The generated QR code is primarily displayed as a bitmap and can be used within the scene. The text can be dynamically updated via properties or data binding.
| Property Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| PropertyReference |
Enum
|
Specifies how the text value is obtained.
|
||||||||
|
PropertyProvider
|
Candera::AbstractNodePointer |
Specifies the behavior or node that provides the text value when PropertyReference is set to "Other".
|
||||||||
| Size |
Integer
|
Specifies the size of the bitmap containing the QR code (in pixels). Primarily used when displaying as a bitmap in 2D scenes.
|
||||||||
| Text |
String
|
Specifies the text to encode into the QR code. This value can be dynamically updated via data binding.
|
||||||||
| ErrorCorrection | Enum |
Specifies the error correction level. Determines how much of the QR code can be damaged while still remaining readable.
|
||||||||
|
MaxVersion
|
Integer
|
Specifies the maximum QR code version (size limit). Increasing this value allows more data to be stored.
|
Supported data capacity depends on the selected error correction level and version.
Up to 4296 alphanumeric characters can be stored. For details, see:
https://en.wikipedia.org/wiki/QR_code#Information_capacity
A higher error correction level improves readability in cases where the QR code is partially obscured or hard to scan, for example due to glare on the screen.
Kanji mode is not supported.
Characters other than numeric and alphanumeric (such as Japanese text) are encoded in byte mode, which increases data size and may reduce the maximum number of characters that can be stored.