docs.unity3d.com
    Show / Hide Table of Contents

    Class DataModelElement

    Parent class for all data model objects. IMessageProducer

    Inheritance
    Object
    DataModelElement
    Annotation
    AnnotationDefinition
    Frame
    Metric
    MetricDefinition
    Sensor
    SensorDefinition
    Namespace: UnityEngine.Perception.GroundTruth.DataModel
    Syntax
    public abstract class DataModelElement : object, IMessageProducer

    Constructors

    DataModelElement(String)

    Declaration
    protected DataModelElement(string id)
    Parameters
    Type Name Description
    String id

    Properties

    id

    The ID of the component.

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

    modelType

    Declaration
    public abstract string modelType { get; }
    Property Value
    Type Description
    String

    Methods

    IsValid()

    Is the component valid?

    Declaration
    public virtual bool IsValid()
    Returns
    Type Description
    Boolean

    Is the component valid?

    ToMessage(IMessageBuilder)

    Convert contents int a message.

    Declaration
    public virtual void ToMessage(IMessageBuilder builder)
    Parameters
    Type Name Description
    IMessageBuilder builder

    The message builder that will convert the class's contents into a message

    Implements
    IMessageProducer.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