All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Modules Pages
Loading...
Searching...
No Matches
BarcodeBehaviour Class Reference

This class serves both as an augmentation definition for a Barcode observer. More...

Inheritance diagram for BarcodeBehaviour:
ObserverBehaviour VuforiaMonoBehaviour

Public Types

enum  BarcodeType {
  UPCA ,
  UPCE ,
  EAN8 ,
  EAN13 ,
  CODE39 ,
  CODE93 ,
  CODE128 ,
  CODABAR ,
  ITF ,
  QRCODE ,
  DATAMATRIX ,
  AZTEC ,
  PDF417 ,
  MICROQRCODE
}
 Types of supported barcodes. More...
 

Properties

bool DetectMultipleBarcodes [get]
 Flag to indicate if the observer can detect multiple barcodes in parallel.
 
BarcodeInstanceData InstanceData [get]
 The data of the tracked Barcode instance.
 
HashSet< BarcodeTypeObservedTypes [get]
 All Barcode types that can be observed.
 
Action< Vector3[]> OnBarcodeOutlineChanged
 Event that is executed when the barcode instance's outline has changed. The vertices are in local space relative to the BarcodeBehaviour's transform.
 
- Properties inherited from ObserverBehaviour
int? ID [get]
 The runtime Id of the Observer.
 
string TargetName [get]
 Name of the target of the Observer.
 
TargetStatus TargetStatus = TargetStatus.NotObserved [get]
 Current status information of the target.
 

Additional Inherited Members

- Events inherited from ObserverBehaviour
Action< ObserverBehaviourOnBehaviourDestroyed
 Triggered when this behaviour is destroyed. Can be used for script cleanup.
 
Action< ObserverBehaviour, TargetStatusOnTargetStatusChanged
 Triggered when the TargetStatus changes.
 

Detailed Description

This class serves both as an augmentation definition for a Barcode observer.

Member Enumeration Documentation

◆ BarcodeType

Types of supported barcodes.

Enumerator
UPCA 

1D barcode type, UPC-A

UPCE 

1D barcode type, UPC-E

EAN8 

1D barcode type, EAN-8

EAN13 

1D barcode type, EAN-13

CODE39 

1D barcode type, CODE 39

CODE93 

1D barcode type, CODE 93

CODE128 

1D barcode type, CODE 128

CODABAR 

1D barcode type, Codabar

ITF 

1D barcode type, ITF

QRCODE 

2D barcode type, QR Code

DATAMATRIX 

2D barcode type, Data Matrix

AZTEC 

2D barcode type, Aztec

PDF417 

2D barcode type, PDF417

MICROQRCODE 

2D barcode type, Micro QR Code

Property Documentation

◆ DetectMultipleBarcodes

bool DetectMultipleBarcodes
get

Flag to indicate if the observer can detect multiple barcodes in parallel.

◆ InstanceData

BarcodeInstanceData InstanceData
get

The data of the tracked Barcode instance.

◆ ObservedTypes

HashSet<BarcodeType> ObservedTypes
get

All Barcode types that can be observed.

◆ OnBarcodeOutlineChanged

Action<Vector3[]> OnBarcodeOutlineChanged
addremove

Event that is executed when the barcode instance's outline has changed. The vertices are in local space relative to the BarcodeBehaviour's transform.