docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LabelConfig<T>

    A definition for how a Labeling should be resolved to a single label and id for ground truth generation.

    Inheritance
    object
    Object
    ScriptableObject
    LabelConfig<T>
    IdLabelConfig
    SemanticSegmentationLabelConfig
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Perception.GroundTruth
    Assembly: solution.dll
    Syntax
    public class LabelConfig<T> : ScriptableObject where T : ILabelEntry
    Type Parameters
    Name Description
    T

    The entry type. Must derive from ILabelEntry

    Fields

    Name Description
    DoesLabelMatchAnEntryName

    Name of the function that checks whether a given string matches any of the label entries in this label configuration, used for reflection purposes.

    labelEntriesFieldName

    The name of the serialized field for label entries.

    m_LabelEntries

    List of LabelEntry items added to this label configuration

    publicLabelEntriesFieldName

    Name of the public accessor for the list of label entries, used for reflection purposes.

    Properties

    Name Description
    labelEntries

    A sequence of ILabelEntry which defines the labels relevant for this configuration and their values.

    Methods

    Name Description
    DoesLabelMatchAnEntry(string)

    Does the given string match any of the label entries added to this label configuration.

    Init(IEnumerable<T>)

    Initialize the list of LabelEntries on this LabelingConfiguration. Should only be called immediately after instantiation.

    OnInit()

    Called when the labelEntries list is assigned using Init(IEnumerable<T>)

    TryGetMatchingConfigurationEntry(Labeling, out T)

    Attempts to find the matching index in m_LabelEntries for the given Labeling.

    TryGetMatchingConfigurationEntry(Labeling, out T, out int)

    Attempts to find the matching index in m_LabelEntries for the given Labeling.

    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)