docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)