Skip to content
On this page

Class: NodeIterator

WebSG.NodeIterator

An iterator for node objects.

Table of contents

Constructors

Methods

Constructors

constructor

new NodeIterator()

Methods

[iterator]

[iterator](): NodeIterator

Returns

NodeIterator

Defined in

websg.d.ts:628


next

next(): Object

Returns the next node in the iterator.

Returns

Object

NameType
doneboolean
valueNode

Defined in

websg.d.ts:627