docs.unity3d.com
    Show / Hide Table of Contents

    Class SemanticSegmentationAnnotation

    Inheritance
    Object
    DataModelElement
    Annotation
    SemanticSegmentationAnnotation
    Inherited Members
    Annotation.m_Definition
    Annotation.annotationId
    Annotation.modelType
    Annotation.description
    Annotation.sensorId
    Annotation.IsValid()
    DataModelElement.id
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public class SemanticSegmentationAnnotation : Annotation, IMessageProducer

    Constructors

    SemanticSegmentationAnnotation(SemanticSegmentationDefinition, String, ImageEncodingFormat, Vector2, IEnumerable<SemanticSegmentationDefinitionEntry>, Byte[])

    Declaration
    public SemanticSegmentationAnnotation(SemanticSegmentationDefinition definition, string sensorId, ImageEncodingFormat imageFormat, Vector2 dimension, IEnumerable<SemanticSegmentationDefinitionEntry> instances, byte[] buffer)
    Parameters
    Type Name Description
    SemanticSegmentationDefinition definition
    String sensorId
    ImageEncodingFormat imageFormat
    Vector2 dimension
    IEnumerable<SemanticSegmentationDefinitionEntry> instances
    Byte[] buffer

    Properties

    buffer

    Declaration
    public byte[] buffer { get; set; }
    Property Value
    Type Description
    Byte[]

    dimension

    Declaration
    public Vector2 dimension { get; set; }
    Property Value
    Type Description
    Vector2

    imageFormat

    Declaration
    public ImageEncodingFormat imageFormat { get; set; }
    Property Value
    Type Description
    ImageEncodingFormat

    instances

    Declaration
    public IEnumerable<SemanticSegmentationDefinitionEntry> instances { get; set; }
    Property Value
    Type Description
    IEnumerable<SemanticSegmentationDefinitionEntry>

    Methods

    ToMessage(IMessageBuilder)

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