mojo3d.Mesh.AddMaterials - nitrologic/monkey2 GitHub Wiki

mojo3d::mojo3d.mojo3d.Mesh.AddMaterials

Method AddMaterials:monkey:monkey.types.Int( count:monkey:monkey.types.Int )

Adds materials to the mesh.

Adds count logical materials to the mesh.

Returns the first material id of the newly added materials.