Node class

Available extensions

Constructors

Node(List<int> bytes)
factory

Properties

children → List<int>?
no setter
combinedLocalAabb → Aabb3?
Union of this node's mesh primitive AABBs together with each descendant node's combined_local_aabb transformed by the descendant's local transform. Expressed in this node's local space.
no setter
hashCode → int
The hash code for this object.
no setterinherited
meshPrimitives → List<MeshPrimitive>?
no setter
name → String?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skin → Skin?
no setter
transform → Matrix?
no setter

Methods

getChild(Scene scene, int index) → Node?

Available on Node, provided by the NodeHelpers extension

Returns the index-th direct child of this node, resolved against scene's shared node table, or null if the index is out of range.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override
unpack() → NodeT

Operators

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

Static Methods

pack(Builder fbBuilder, NodeT? object) → int

Constants

reader → const Reader<Node>