BBMOD_Mesh

Extends BBMOD_Class

constructor

new BBMOD_Mesh(_vertexFormat[, _model])

Description

A mesh struct.

Arguments

Name Type Description
_vertexFormat Struct.BBMOD_VertexFormat The vertex format of the or undefined.
_model Struct.BBMOD_Model The model to which the mesh belongs or undefined.

Properties

Name Description
BboxMax The maximum coordinate of the mesh's bounding box. Available since model version 3.1. Can be undefined.
BboxMin The minimum coordinate of the mesh's bounding box. Available since model version 3.1. Can be undefined.
MaterialIndex An index of a material that the mesh uses.
Model The model to which the mesh belongs or undefined.
PrimitiveType The primitive type of the mesh.
VertexBuffer A vertex buffer.
VertexFormat The vertex format of the mesh.

See also

BBMOD_Model, BBMOD_VertexFormat

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on September 19, 2022 using GMDoc.