MeshDataCopyElement

class MeshDataCopyElement()

Provides access to mesh data of a single face, line, or point element in a [[MeshDataCopyElementGroup]].

This object additionally supports the ECMAScript 2015 iterable protocol and therefore can be iterated over using a for..of loop.

Properties

Methods


Properties

MeshDataCopyElement.bits
Type:number

The selection filter bits supplied for this element.

MeshDataCopyElement.vertexCount
Type:number

The number of vertices in this element.

Methods

iterate

MeshDataCopyElement.iterate()
Returns:An iterator over the vertices in this element.
Return type:MeshDataCopyIterator