Property dataStore
dataStore
(Read Only) Binary data associated with a string key.
Declaration
public IReadOnlyDictionary<string, byte[]> dataStore { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<string, byte[]> |
Remarks
This is used by providers to associate provider-specific data with the library. During Player Build (in an IPreprocessBuildWithReport.OnPreprocessBuild callback), the data store is first cleared. Each enabled provider then has an opportunity to add one or more entries for itself.
Providers can use this to store a serialized version of the image library specific to that provider. Set data with SetDataForKey(XRReferenceImageLibrary, string, byte[]).