Struct AnnotationDefinition | Perception | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct AnnotationDefinition

    A metric type, used to define a kind of annotation. RegisterAnnotationDefinition(String, String, String, Guid).

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public struct AnnotationDefinition : IEquatable<AnnotationDefinition>

    Fields

    Id

    The ID of the annotation type. Used in the json metadata to associate anntations with the type.

    Declaration
    public readonly Guid Id
    Field Value
    Type Description
    Guid

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(AnnotationDefinition)

    Declaration
    public bool Equals(AnnotationDefinition other)
    Parameters
    Type Name Description
    AnnotationDefinition other
    Returns
    Type Description
    Boolean
    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    Back to top
    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