docs.unity3d.com
    Show / Hide Table of Contents

    Struct BoundingBox

    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public struct BoundingBox : IMessageProducer

    Properties

    dimension

    (width/height) dimensions of the bounding box

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

    instanceId

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

    labelId

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

    labelName

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

    origin

    (xy) pixel location of the object's bounding box

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

    Methods

    ToMessage(IMessageBuilder)

    Convert contents int a message.

    Declaration
    public 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