XRMarkerDatabase

A marker database is a collection of XRMarkerDatabaseEntry which stores marker information used to configure marker tracking at runtime when XRMarkerTrackingFeature is enabled.

Marker Databases are immutable at runtime. Create and manipulate an database via Editor, then update XRReferenceImageLibrary and assign to ARTrackedImageManager.referenceLibrary for runtime configuration.

Summary

Inheritance

Inherits from: ScriptableObject, IEnumerable< XRMarkerDatabaseEntry >

Public attributes

Count => _entries.Count
int
Gets the count of entries.

Properties

this[int index]
Gets an XRMarkerDatabaseEntry from the database.

Public functions

GetEnumerator()
IEnumerator< XRMarkerDatabaseEntry >

Public attributes

Count

int Count => _entries.Count

Gets the count of entries.

Properties

this[int index]

XRMarkerDatabaseEntry this[int index]

Gets an XRMarkerDatabaseEntry from the database.

Details
Parameters
index
The index of the entry . Must be between 0 and Count - 1.
Returns
The XRMarkerDatabaseEntry at index .

Public functions

GetEnumerator

IEnumerator< XRMarkerDatabaseEntry > GetEnumerator()