build

function

build([_vertexFormat])

Description

Builds a mesh from the added vertices and faces.

Arguments

Name Type Description
The `Struct.BBMOD_VertexFormat/Undefined [_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.

@return {Struct.BBMOD_Mesh` | created mesh. |

Throws

See also

BBMOD_Mesh, BBMOD_VertexFormat

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.