Struct IdLabelEntry | Perception | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct IdLabelEntry

    An entry for IdLabelConfig mapping a label to an integer id.

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    [Serializable]
    public struct IdLabelEntry : ILabelEntry, IEquatable<IdLabelEntry>

    Fields

    id

    The id to associate with the label.

    Declaration
    public int id
    Field Value
    Type Description
    Int32

    label

    The label string to associate with the id.

    Declaration
    public string label
    Field Value
    Type Description
    String

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(IdLabelEntry)

    Declaration
    public bool Equals(IdLabelEntry other)
    Parameters
    Type Name Description
    IdLabelEntry other
    Returns
    Type Description
    Boolean
    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Explicit Interface Implementations

    ILabelEntry.label

    Declaration
    string ILabelEntry.label { get; }
    Returns
    Type Description
    String
    Implements
    ILabelEntry.label
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023