docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct InstanceSegmentationEntry

    An instance segmentation entry

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Perception.GroundTruth.Labelers
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    [Serializable]
    [MovedFrom("UnityEngine.Perception.GroundTruth")]
    public struct InstanceSegmentationEntry

    Properties

    color

    The color (rgba) value

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

    instanceId

    The instance ID associated with a pixel color

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

    labelId

    The label ID of the instance

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

    labelName

    The label name of the instance

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

    Methods

    ToMessage(IMessageBuilder)

    Declaration
    public void ToMessage(IMessageBuilder builder)
    Parameters
    Type Name Description
    IMessageBuilder builder
    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)