build

function

build([_vertexFormat])

Description

Builds a mesh from the added vertices and faces.

Arguments

Name Type Description
_vertexFormat Struct.BBMOD_VertexFormat The vertex format of the mesh. This must be compatible with the format of the added vertices. If undefined, then the format of the first added vertex is used.

Returns

Struct.BBMOD_Mesh The created mesh.

Throws

See also

BBMOD_Mesh, BBMOD_VertexFormat

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.