A function defined in BBMOD_Model.gml
submit([_materials[, _transform[, _batchData]]])
Immediately submits the model for rendering.
||An array of materials, one for each material slot of the model. If not specified, then BBMOD_Model.Materials is used. Defaults to
||An array of dual quaternions for transforming animated models or
||Data for dynamic batching or
// Render a terrain model (does not have animation data) modTerrain.submit([mat_grass]); // Render a character model (animated by animationPlayer) modCharacter.submit([mat_head, mat_body], animationPlayer.get_transform()); bbmod_material_reset();
Only parts of the model that use materials compatible with the current render pass are submitted! This method does not do anything if the model has not been loaded yet.
Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.