SceneGraph mixin
Defines a common interface for managing a scene graph, allowing the addition and removal of Nodes
.
SceneGraph
provides a set of methods that can be implemented by a class
to manage a hierarchy of nodes within a 3D scene.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
Node child) → void - Add a child node.
-
addAll(
Iterable< Node> children) → void - Add a list of child nodes.
-
addMesh(
Mesh mesh) → void - Add a mesh as a child node.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
Node child) → void - Remove a child node.
-
removeAll(
) → void - Remove all children nodes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited