您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
20 行
556 B
20 行
556 B
using System;
|
|
|
|
namespace UnityEngine.Perception.GroundTruth {
|
|
/// <summary>
|
|
/// An entry for <see cref="IdLabelConfig"/> mapping a label to an integer id.
|
|
/// </summary>
|
|
[Serializable]
|
|
public struct IdLabelEntry : ILabelEntry
|
|
{
|
|
string ILabelEntry.label => this.label;
|
|
/// <summary>
|
|
/// The label string to associate with the id.
|
|
/// </summary>
|
|
public string label;
|
|
/// <summary>
|
|
/// The id to associate with the label.
|
|
/// </summary>
|
|
public int id;
|
|
}
|
|
}
|