Class SemanticSegmentationLabelConfig
A definition for how a Labeling should be resolved to a single label and color for semantic segmentation generation.
Inheritance
SemanticSegmentationLabelConfig
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Perception.GroundTruth.LabelManagement
Assembly: Unity.Perception.Runtime.dll
Syntax
[CreateAssetMenu(fileName = "SemanticSegmentationLabelConfig", menuName = "Perception/Semantic Segmentation Label Config", order = 1)]
[MovedFrom("UnityEngine.Perception.GroundTruth")]
public class SemanticSegmentationLabelConfig : LabelConfig<SemanticSegmentationLabelEntry>
Fields
s_StandardColors
List of standard color based on which this type of label configuration assigns new colors to added labels.
Declaration
public static readonly List<Color> s_StandardColors
Field Value
Type | Description |
---|---|
List<Color> |
skyColor
The color to use for the sky in semantic segmentation images
Declaration
public Color skyColor
Field Value
Type | Description |
---|---|
Color |