docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BoundingBox3D

    The specifics of each reported box

    Implements
    IMessageProducer
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Perception.GroundTruth.Labelers
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    [MovedFrom("UnityEngine.Perception.GroundTruth")]
    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
    uint

    labelId

    Integer identifier of the label

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

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