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

Overview

class BarcodeDisplay: MonoBehaviour {
public:
    // 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

Note

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

Properties

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.