Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c68f3df

Browse files
committed
mention default draw orders in archetype docs
1 parent 850db74 commit c68f3df

29 files changed

+64
-23
lines changed

crates/store/re_types/definitions/rerun/archetypes/boxes2d.fbs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ table Boxes2D (
4747
/// An optional floating point value that specifies the 2D drawing order.
4848
///
4949
/// Objects with higher values are drawn on top of those with lower values.
50-
///
51-
/// The default for 2D boxes is 10.0.
50+
/// Defaults to `10.0`.
5251
draw_order: rerun.components.DrawOrder ("attr.rerun.component_optional", nullable, order: 3100);
5352

5453
/// Optional [components.ClassId]s for the boxes.

crates/store/re_types/definitions/rerun/archetypes/depth_image.fbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@ table DepthImage (
6767
/// An optional floating point value that specifies the 2D drawing order, used only if the depth image is shown as a 2D image.
6868
///
6969
/// Objects with higher values are drawn on top of those with lower values.
70+
/// Defaults to `-20.0`.
7071
draw_order: rerun.components.DrawOrder ("attr.rerun.component_optional", nullable, order: 3500);
7172
}

crates/store/re_types/definitions/rerun/archetypes/image.fbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@ table Image (
5050
/// An optional floating point value that specifies the 2D drawing order.
5151
///
5252
/// Objects with higher values are drawn on top of those with lower values.
53+
/// Defaults to `-10.0`.
5354
draw_order: rerun.components.DrawOrder ("attr.rerun.component_optional", nullable, order: 3100);
5455
}

crates/store/re_types/definitions/rerun/archetypes/line_strips2d.fbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ table LineStrips2D (
4141
/// An optional floating point value that specifies the 2D drawing order of each line strip.
4242
///
4343
/// Objects with higher values are drawn on top of those with lower values.
44+
/// Defaults to `20.0`.
4445
draw_order: rerun.components.DrawOrder ("attr.rerun.component_optional", nullable, order: 3100);
4546

4647
/// Optional [components.ClassId]s for the lines.

crates/store/re_types/definitions/rerun/archetypes/points2d.fbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ table Points2D (
4545
/// An optional floating point value that specifies the 2D drawing order.
4646
///
4747
/// Objects with higher values are drawn on top of those with lower values.
48+
/// Defaults to `30.0`.
4849
draw_order: rerun.components.DrawOrder ("attr.rerun.component_optional", nullable, order: 3100);
4950

5051
/// Optional class Ids for the points.

crates/store/re_types/definitions/rerun/archetypes/segmentation_image.fbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ table SegmentationImage (
3939
/// An optional floating point value that specifies the 2D drawing order.
4040
///
4141
/// Objects with higher values are drawn on top of those with lower values.
42+
/// Defaults to `0.0`.
4243
draw_order: rerun.components.DrawOrder ("attr.rerun.component_optional", nullable, order: 3100);
4344
}

crates/store/re_types/definitions/rerun/archetypes/video_frame_reference.fbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ table VideoFrameReference (
4242
/// An optional floating point value that specifies the 2D drawing order.
4343
///
4444
/// Objects with higher values are drawn on top of those with lower values.
45+
/// Defaults to `-15.0`.
4546
draw_order: rerun.components.DrawOrder ("attr.rerun.component_optional", nullable, order: 2100);
4647
}

crates/store/re_types/src/archetypes/boxes2d.rs

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/store/re_types/src/archetypes/depth_image.rs

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/store/re_types/src/archetypes/image.rs

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)