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 |