class BarcodeDisplay (Niantic.ARDK.Extensions.MarkerSync.BarcodeDisplay)


class BarcodeDisplay: MonoBehaviour {
    // properties

    Vector2 Center;
    Vector2[] Points;

    // methods

    ZXingMarkerGenerator.MarkerGenerationResult GenerateBarcode(
        MarkerMetadata info,
        bool showAfterGenerating = false

    void Hide(bool force = false);
    void Show(bool force = false);

Detailed Documentation


This is part of an experimental feature that is not advised to be used in release builds.


Vector2[] Points

Each corner provides its screen space value. The returned array of 4 vertices is clockwise. It starts bottom left and rotates to top left, then top right, and finally bottom right.