docs.unity3d.com
    Show / Hide Table of Contents

    Struct BoundingBox3D

    The specifics of each reported box

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

    Properties

    acceleration

    [optional]: 3d bounding box acceleration in meters per second^2 as a_x, a_y, a_z

    Declaration
    public Vector3 acceleration { readonly get; set; }
    Property Value
    Type Description
    Vector3

    instanceId

    UUID of the instance

    Declaration
    public uint instanceId { readonly get; set; }
    Property Value
    Type Description
    UInt32

    labelId

    Integer identifier of the label

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

    labelName

    String identifier of the label

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

    rotation

    3d bounding box orientation as quaternion: w, x, y, z

    Declaration
    public Quaternion rotation { readonly get; set; }
    Property Value
    Type Description
    Quaternion

    size

    3d bounding box size in meters as width, length, height

    Declaration
    public Vector3 size { readonly get; set; }
    Property Value
    Type Description
    Vector3

    translation

    3d bounding box's center location in meters as center_x, center_y, center_z with respect to global coordinate system

    Declaration
    public Vector3 translation { readonly get; set; }
    Property Value
    Type Description
    Vector3

    velocity

    [optional]: 3d bounding box velocity in meters per second as v_x, v_y, v_z

    Declaration
    public Vector3 velocity { readonly get; set; }
    Property Value
    Type Description
    Vector3

    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