浏览代码

docs clarification

/0.8.0-preview.1_staging
Mohsen Kamalzadeh 4 年前
当前提交
69e19ccc
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 8
      com.unity.perception/Runtime/GroundTruth/IGroundTruthGenerator.cs

8
com.unity.perception/Runtime/GroundTruth/IGroundTruthGenerator.cs


public interface IGroundTruthGenerator
{
/// <summary>
/// Called by <see cref="LabelManager"/> when a <see cref="Labeling"/> component is first registered, created at runtime, or enabled at runtime.
/// Enables ground truth generation for a <see cref="Labeling"/> component or its associated <see cref="MaterialPropertyBlock"/>. This function is called by <see cref="LabelManager"/> when a <see cref="Labeling"/> component is registered, created, or enabled.
/// <param name="mpb">The MaterialPropertyBlock for the given <see cref="MeshRenderer"/>. Can be used to set properties for custom rendering.</param>
/// <param name="mpb">The <see cref="MaterialPropertyBlock"/> for the given <see cref="MeshRenderer"/>. Can be used to set properties for custom rendering.</param>
/// <param name="renderer">The <see cref="Renderer"/> under the given <see cref="LabelManager"/>.</param>
/// <param name="labeling">The <see cref="LabelManager"/> component that was registered, created, or enabled</param>
/// <param name="instanceId">The instanceId assigned to the given <see cref="LabelManager"/> instance.</param>

/// Called by <see cref="LabelManager"/> when a <see cref="Labeling"/> component is disabled, causing it to not be included in ground-truth generation.
/// Disables ground truth generation for a <see cref="Labeling"/> component or its associated <see cref="MaterialPropertyBlock"/>. This function is called by <see cref="LabelManager"/> when a <see cref="Labeling"/> component is disabled.
/// <param name="mpb">The MaterialPropertyBlock for the given <see cref="MeshRenderer"/>. Can be used to set properties for custom rendering.</param>
/// <param name="mpb">The <see cref="MaterialPropertyBlock"/> for the given <see cref="MeshRenderer"/>. Can be used to set properties for custom rendering.</param>
/// <param name="renderer">The <see cref="Renderer"/> under the given <see cref="LabelManager"/>.</param>
/// <param name="labeling">The <see cref="LabelManager"/> component for which ground-truth generation should stop.</param>
/// <param name="instanceId">The instanceId assigned to the given <see cref="LabelManager"/> instance.</param>

正在加载...
取消
保存