Class Labeling
Defines a set of labels associated with the object and its descendants. A Labeling component will override any Labeling components on the object's ancestors.
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth
Assembly: solution.dll
Syntax
public class Labeling : MonoBehaviour
Fields
Name | Description |
---|---|
labels | The label names to associate with the GameObject. Modifications to this list after the Update() step of the frame the object is created in are not guaranteed to be reflected by labelers. |
Properties
Name | Description |
---|---|
instanceId | The unique id of this labeling component instance |
Methods
Name | Description |
---|---|
RefreshLabeling() | Refresh ground truth generation for the labeling of the attached GameObject. This is necessary when the list of labels changes or when renderers or materials change on objects in the hierarchy. |