get_vertex_format

function

get_vertex_format([_bones[, _ids]])

Description

Retrieves or creates a vertex format compatible with the model. This can be used when creating a BBMOD_StaticBatch.

Arguments

Name Type Description
_bones Bool Use true to include bone data in the vertex format. Defaults to true.
_ids Bool Use true to include model instance ids in the vertex format. Defaults to false.

Returns

Struct.BBMOD_VertexFormat The vertex format.

Example

staticBatch = new BBMOD_StaticBatch(mod_tree.get_vertex_format());
Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on April 11, 2022 using GMDoc.