 |
SubMeshChangeMaterial Method |
ChangeMaterial method changes the material that is used to render font-side triangles defined by this SubMesh.
This changes the
MaterialIndex.
This method can be called only after the SubMesh has been added to the MultiMaterialModelNode.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntaxpublic void ChangeMaterial(
Material? newMaterial
)
Parameters
- newMaterial Material
- new Material
See Also