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

    Struct BoundingBox3DLabeler.BoxData

    Each 3D bounding box data record maps a tuple of (instance, label) to translation, size and rotation that draws a 3D bounding box, as well as velocity and acceleration (optional) of the 3D bounding box. All location data is given with respect to the sensor coordinate system.

    bounding_box_3d label_id (int): Integer identifier of the label label_name (str): String identifier of the label instance_id (str): UUID of the instance. translation (float, float, float): 3d bounding box's center location in meters as center_x, center_y, center_z with respect to global coordinate system. size (float, float, float): 3d bounding box size in meters as width, length, height. rotation (float, float, float, float): 3d bounding box orientation as quaternion: w, x, y, z. velocity (float, float, float) [optional]: 3d bounding box velocity in meters per second as v_x, v_y, v_z. acceleration (float, float, float) [optional]: 3d bounding box acceleration in meters per second^2 as a_x, a_y, a_z.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    [Serializable]
    public struct BoxData
    Remarks

    Currently not supporting exporting velocity and acceleration. Both values will be null.

    Fields

    acceleration

    Declaration
    public Vector3 acceleration
    Field Value
    Type Description
    Vector3

    instance_id

    Declaration
    public uint instance_id
    Field Value
    Type Description
    UInt32

    label_id

    Declaration
    public int label_id
    Field Value
    Type Description
    Int32

    label_name

    Declaration
    public string label_name
    Field Value
    Type Description
    String

    rotation

    Declaration
    public Quaternion rotation
    Field Value
    Type Description
    Quaternion

    size

    Declaration
    public Vector3 size
    Field Value
    Type Description
    Vector3

    translation

    Declaration
    public Vector3 translation
    Field Value
    Type Description
    Vector3

    velocity

    Declaration
    public Vector3 velocity
    Field Value
    Type Description
    Vector3
    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