SceneNode constructor
SceneNode({})
Implementation
SceneNode({
required this.id,
required this.type,
this.hitPadding = 0,
Transform2D? transform,
this.opacity = 1,
this.isVisible = true,
this.isSelectable = true,
this.isLocked = false,
this.isDeletable = true,
this.isTransformable = true,
}) : transform = transform ?? Transform2D.identity;