SetMeshMaterial()
语法
SetMeshMaterial(#Mesh, MaterialID [, SubMesh])概要
Set the mesh default material.
参数
Mesh The mesh to use. MaterialID The default material to use for the mesh. To get a valid 'MaterialID', use MaterialID(). SubMesh (optional) If specified, the material will be applied only to the submesh. The first submesh index is 0 (main mesh).
返回值
无.
参阅
CreateMesh(), LoadMesh()
已支持操作系统
所有