docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method ClearDataStore

    ClearDataStore(XRReferenceImageLibrary)

    Clears the binary data store.

    Declaration
    public static void ClearDataStore(this XRReferenceImageLibrary library)
    Parameters
    Type Name Description
    XRReferenceImageLibrary library

    The XRReferenceImageLibrary being extended.

    Remarks

    Provider-specific binary data can be associated with each XRReferenceImageLibrary (see SetDataForKey(XRReferenceImageLibrary, string, byte[])). This is used to store arbitrarily large blocks of binary data required at runtime -- usually some form of processed image data. This data is regenerated during Player Build, and may be safely discarded otherwise. Use this method to clear the data store to avoid large files in your project.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)