Constructor SemanticSegmentationLabeler
SemanticSegmentationLabeler()
Creates a new SemanticSegmentationLabeler. Be sure to assign labelConfig before adding to a PerceptionCamera.
Declaration
public SemanticSegmentationLabeler()
SemanticSegmentationLabeler(SemanticSegmentationLabelConfig, RenderTexture)
Creates a new SemanticSegmentationLabeler with the given SemanticSegmentationLabelConfig.
Declaration
public SemanticSegmentationLabeler(SemanticSegmentationLabelConfig labelConfig, RenderTexture targetTextureOverride = null)
Parameters
Type | Name | Description |
---|---|---|
SemanticSegmentationLabelConfig | labelConfig | The label config associating labels with colors. |
RenderTexture | targetTextureOverride | Override the target texture of the labeler. Will be reformatted on startup. |