MeshDataCopyVertex

class MeshDataCopyVertex()

The data for a single vertex in a [[MeshDataCopy]], returned by a [[MeshDataCopyIterator]].

Properties


Properties

MeshDataCopyVertex.RGBA
Type

[number] optional

The color of the vertex in RGBA format, if available. Possible values are integers 0-255.

MeshDataCopyVertex.UV
Type

[number] optional

The vertex’s 2-dimensional texture coordinates, if available.

MeshDataCopyVertex.normal
Type

[number] optional

The vertex’s 3-dimensional normal, if available.

MeshDataCopyVertex.position
Type

[number]

The vertex’s 3-dimensional position.