docs.unity3d.com
Search Results for

    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
    Implements
    IMessageProducer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Perception.GroundTruth.DataModel
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    public abstract class DataModelElement : IMessageProducer

    Constructors

    DataModelElement(string)

    Public constructor for DataModelElement

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

    Element Id

    Properties

    id

    The ID of the component.

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

    modelType

    Type of the data object

    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
    bool

    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
    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)