interface IMarkerParser (Niantic.ARDK.Utilities.Marker.IMarkerParser)

Overview

interface IMarkerParser {
    // methods

    bool Decode(
        Color32[] pixels,
        int width,
        int height,
        out IParserResult parserResult
    );
};

// direct descendants

class ZXingBarcodeParser;

Detailed Documentation

Methods

bool Decode(
    Color32[] pixels,
    int width,
    int height,
    out IParserResult parserResult
)

Process and try to obtain marker from the given image.

Parameters:

pixels

Array of pixels of the image to process.

width

Width of the image to process.

height

Height of the image to process.

parserResult

Information about the marker, if one was parsed from the image.

Returns:

True if a barcode was found.