-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
…nent replacing Range2D component (#6333) ### What This changeset makes the 2D visual bound more similar to what we want it to look like once introducing `DataRange`, i.e. it means that when we fix: * #6247 the api won't break ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6333?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6333?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/6333) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
include "arrow/attributes.fbs"; | ||
include "python/attributes.fbs"; | ||
include "rust/attributes.fbs"; | ||
|
||
include "rerun/blueprint/components/visual_bounds2d.fbs"; | ||
|
||
namespace rerun.blueprint.archetypes; | ||
|
||
|
||
/// Controls the visual bounds of a 2D view. | ||
/// | ||
/// Everything within these bounds are guaranteed to be visible. | ||
/// Somethings outside of these bounds may also be visible due to letterboxing. | ||
/// | ||
/// If no visual bounds are set, it will be determined automatically, | ||
/// based on the bounding-box of the data or other camera information present in the view. | ||
table VisualBounds2D ( | ||
"attr.rerun.scope": "blueprint", | ||
"attr.rust.derive": "Copy" | ||
) { | ||
/// Controls the visible range of a 2D view. | ||
/// | ||
/// Use this to control pan & zoom of the view. | ||
range: rerun.blueprint.components.VisualBounds2D ("attr.rerun.component_required", order: 1000); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.