---
title: "Spatial2DView"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

⚠️ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
For viewing spatial 2D data.

## Properties

### `background`
Configuration for the background of the view.

* `kind`: The type of the background.
* `color`: Color used for the solid background type.
### `visual_bounds`
The visible parts of the scene, in the coordinate space of the scene.

Everything within these bounds are guaranteed to be visible.
Somethings outside of these bounds may also be visible due to letterboxing.
### `time_ranges`
Configures which range on each timeline is shown by this view (unless specified differently per entity).

If not specified, the default is to show the latest state of each component.
If a timeline is specified more than once, the first entry will be used.

## API reference links
 * 🐍 [Python API docs for `Spatial2DView`](https://ref.rerun.io/docs/python/stable/common/blueprint_views#rerun.blueprint.views.Spatial2DView)

## Example

### Use a blueprint to customize a Spatial2DView.

snippet: views/spatial2d

<picture data-inline-viewer="snippets/views/spatial2d">
  <source media="(max-width: 480px)" srcset="https://static.rerun.io/Spatial2DVIew/824a075e0c50ea4110eb6ddd60257f087cb2264d/480w.png">
  <source media="(max-width: 768px)" srcset="https://static.rerun.io/Spatial2DVIew/824a075e0c50ea4110eb6ddd60257f087cb2264d/768w.png">
  <source media="(max-width: 1024px)" srcset="https://static.rerun.io/Spatial2DVIew/824a075e0c50ea4110eb6ddd60257f087cb2264d/1024w.png">
  <source media="(max-width: 1200px)" srcset="https://static.rerun.io/Spatial2DVIew/824a075e0c50ea4110eb6ddd60257f087cb2264d/1200w.png">
  <img src="https://static.rerun.io/Spatial2DVIew/824a075e0c50ea4110eb6ddd60257f087cb2264d/full.png">
</picture>


## Visualized archetypes

* [`AnnotationContext`](../archetypes/annotation_context.md)
* [`Arrows2D`](../archetypes/arrows2d.md)
* [`AssetVideo`](../archetypes/asset_video.md)
* [`Boxes2D`](../archetypes/boxes2d.md)
* [`Clear`](../archetypes/clear.md)
* [`CoordinateFrame`](../archetypes/coordinate_frame.md)
* [`DepthImage`](../archetypes/depth_image.md)
* [`Ellipses2D`](../archetypes/ellipses2d.md)
* [`EncodedDepthImage`](../archetypes/encoded_depth_image.md)
* [`EncodedImage`](../archetypes/encoded_image.md)
* [`GridMap`](../archetypes/grid_map.md)
* [`Image`](../archetypes/image.md)
* [`LineStrips2D`](../archetypes/line_strips2d.md)
* [`Pinhole`](../archetypes/pinhole.md)
* [`Points2D`](../archetypes/points2d.md)
* [`SegmentationImage`](../archetypes/segmentation_image.md)
* [`VideoFrameReference`](../archetypes/video_frame_reference.md)
* [`VideoStream`](../archetypes/video_stream.md)
* [`Arrows3D`](../archetypes/arrows3d.md) (if logged above active projection)
* [`Asset3D`](../archetypes/asset3d.md) (if logged above active projection)
* [`Boxes3D`](../archetypes/boxes3d.md) (if logged above active projection)
* [`Capsules3D`](../archetypes/capsules3d.md) (if logged above active projection)
* [`Cylinders3D`](../archetypes/cylinders3d.md) (if logged above active projection)
* [`Ellipsoids3D`](../archetypes/ellipsoids3d.md) (if logged above active projection)
* [`InstancePoses3D`](../archetypes/instance_poses3d.md) (if logged above active projection)
* [`LineStrips3D`](../archetypes/line_strips3d.md) (if logged above active projection)
* [`Mesh3D`](../archetypes/mesh3d.md) (if logged above active projection)
* [`Points3D`](../archetypes/points3d.md) (if logged above active projection)
* [`Transform3D`](../archetypes/transform3d.md) (if logged above active projection)

