docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LabelEntryMatchCache

    Cache of instance id -> label entry index for a LabelConfig. This is not well optimized and is the source of a known memory leak for apps that create new instances frequently.

    Inheritance
    object
    LabelEntryMatchCache
    Implements
    IGroundTruthGenerator
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Perception.GroundTruth
    Assembly: solution.dll
    Syntax
    public class LabelEntryMatchCache : IGroundTruthGenerator, IDisposable

    Methods

    Name Description
    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    TryGetLabelEntryFromInstanceId(uint, out IdLabelEntry, out int)

    Retrieves the label entry for the given instance id.

    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)