DisconnectedSpace (deprecated)
⚠️ This type is deprecated and may be removed in future versions Use [archetypes.Transform3D] with an invalid transform instead
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 views that work with spatial transformations, i.e. 2D & 3D views. This is useful for specifying that a subgraph is independent of the rest of the scene.
Components components
Required: DisconnectedSpace
Shown in shown-in
API reference links api-reference-links
- 🌊 C++ API docs for
DisconnectedSpace
- 🐍 Python API docs for
DisconnectedSpace
- 🦀 Rust API docs for
DisconnectedSpace
Example example
Disconnected space 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]]))