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