Spatial2DView

A Spatial 2D view.

Properties

Background

Configuration for the background of a view.

  • kind: The type of the background. Defaults to BackgroundKind.GradientDark.
  • color: Color used for BackgroundKind.SolidColor.

VisualBounds

Controls the visual bounds of a 2D space view.

  • visual_bounds: The visible parts of a 2D space view, in the coordinate space of the scene.