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.

Index

Properties

Methods

Properties

MeshDataCopyElement.bits
bits: number

The selection filter bits supplied for this element.

MeshDataCopyElement.vertexCount
vertexCount: number

The number of vertices in this element.

Methods

MeshDataCopyElement.iterate()

Returns: MeshDataCopyIterator

An iterator over the vertices in this element.