Get list of all material names in this model used by all parts
Get list of parts in this model, names are the material names
Get number of parts in this model
Simple getter for the number of triangles in the model
Render is used draw this model, this is called from the Instance that wraps this renderable.
Optional
materialOverride: MaterialOptional
programOverride: ProgramInfoStatic
parseParse an OBJ file & MTL material libraries, returns a new Model
The path to the OBJ file
The name of the OBJ file
Apply texture filtering to textures, default: true
Flip the Y axis of textures as they are loaded, default: false
Flip the UV coords of the model in the vertex/mesh data, default: true
Static
parseParse a custom model from a ModelBuilder, this is used to build models in code
The ModelBuilder to parse
The name of the model
Holds a 3D model, as a list of parts, each with a material Plus map of named materials