backdrop property

Component backdrop

The backdrop component is rendered statically behind the world.

Here you can add things like the parallax component which should be static when the camera moves around.

Implementation

Component get backdrop => _backdrop;
void backdrop=(Component newBackdrop)

Implementation

set backdrop(Component newBackdrop) {
  _backdrop.removeFromParent();
  add(newBackdrop);
  _backdrop = newBackdrop;
}