Class: NodeIterator
WebSG.NodeIterator
An iterator for node objects.
Table of contents
Constructors
Methods
Constructors
constructor
• new NodeIterator()
Methods
[iterator]
▸ [iterator](): NodeIterator
Returns
Defined in
next
▸ next(): Object
Returns the next node in the iterator.
Returns
Object
Name | Type |
---|---|
done | boolean |
value | Node |