Scene class

A mutable scene graph used by the canvas engine.

The scene is organized into ordered layers, with a camera offset and background settings. Nodes are stored in scene coordinates.

Constructors

Scene({List<Layer>? layers, Camera? camera, Background? background, ScenePalette? palette})

Properties

background Background
getter/setter pair
camera Camera
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
layers List<Layer>
Layer list owned by the scene.
final
palette ScenePalette
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited