docs.unity3d.com
    Show / Hide Table of Contents

    Struct InstanceSegmentationEntry

    An instance segmentation entry

    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public struct InstanceSegmentationEntry

    Properties

    instanceId

    The instance ID associated with a pixel color

    Declaration
    public int instanceId { readonly get; set; }
    Property Value
    Type Description
    Int32

    labelId

    The label ID of the instance

    Declaration
    public int labelId { readonly get; set; }
    Property Value
    Type Description
    Int32

    labelName

    The label name of the instance

    Declaration
    public string labelName { readonly get; set; }
    Property Value
    Type Description
    String

    rgba

    The color (rgba) value

    Declaration
    public Color32 rgba { readonly get; set; }
    Property Value
    Type Description
    Color32

    Methods

    ToMessage(IMessageBuilder)

    Declaration
    public void ToMessage(IMessageBuilder builder)
    Parameters
    Type Name Description
    IMessageBuilder builder
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023