SceneNode class abstract
Base class for all nodes stored in a Scene.
The model is mutable by design.
transform is the single source of truth for translation/rotation/scale. Geometry is stored in the node's local coordinate space around (0,0).
Constructors
Properties
- boundsWorld → Rect
-
Axis-aligned bounds in world coordinates.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hitPadding ↔ double
-
Additional hit-test tolerance in scene units.
(Serialized as part of JSON v2.)
getter/setter pair
- id → NodeId
-
final
- isDeletable ↔ bool
-
getter/setter pair
- isLocked ↔ bool
-
getter/setter pair
- isSelectable ↔ bool
-
getter/setter pair
- isTransformable ↔ bool
-
getter/setter pair
- isVisible ↔ bool
-
getter/setter pair
- localBounds → Rect
-
Axis-aligned bounds in local coordinates.
no setter
- opacity ↔ double
-
Node opacity in the range
[0,1].getter/setter pair - position ↔ Offset
-
Translation component of transform.
getter/setter pair
- rotationDeg ↔ double
-
Derived rotation in degrees.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleX ↔ double
-
Derived X scale magnitude (convenience accessor).
getter/setter pair
- scaleY ↔ double
-
Derived Y scale (convenience accessor).
getter/setter pair
- transform ↔ Transform2D
-
Local-to-world node transform.
getter/setter pair
- type → NodeType
-
final
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