DisconnectedSpace
Spatially disconnect this entity from its parent.
Specifies that the entity path at which this is logged is spatially disconnected from its parent, making it impossible to transform the entity path into its parent's space and vice versa. It only applies to space views that work with spatial transformations, i.e. 2D & 3D space views. This is useful for specifying that a subgraph is independent of the rest of the scene.
Components
Required: DisconnectedSpace
Links
- 🌊 C++ API docs for
DisconnectedSpace
- 🐍 Python API docs for
DisconnectedSpace
- 🦀 Rust API docs for
DisconnectedSpace
Example
Disconnected space
"""Disconnect two spaces.""" import rerun as rr rr.init("rerun_example_disconnected_space", spawn=True) # These two points can be projected into the same space.. rr.log("world/room1/point", rr.Points3D([[0, 0, 0]])) rr.log("world/room2/point", rr.Points3D([[1, 1, 1]])) # ..but this one lives in a completely separate space! rr.log("world/wormhole", rr.DisconnectedSpace()) rr.log("world/wormhole/point", rr.Points3D([[2, 2, 2]]))
Open example recording