Interface: BatchableMeshElement

BatchableMeshElement

Represents a batchable mesh element.

Properties:
Name Type Description
attributeOffset number

The offset in the attribute buffer.

indexOffset number

The offset in the index buffer.

indices Array<number> | Uint16Array | Uint32Array

The indices of the mesh.

packAsQuad false

Indicates that this element should not be packed as a quad.

positions Array<number> | Float32Array

The vertex positions of the mesh.

uvs Array<number> | Float32Array

The UV coordinates of the mesh.

Extends

  • BatchableElement

Members

attributeOffset number

The offset in the attribute buffer.

indexOffset number

The offset in the index buffer.

indices Array<number> | Uint16Array | Uint32Array

The indices of the mesh.

packAsQuad false

Indicates that this element should not be packed as a quad.

positions Array<number> | Float32Array

The vertex positions of the mesh.

uvs Array<number> | Float32Array

The UV coordinates of the mesh.