 |
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: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void ChangeMaterial(
Material? newMaterial
)
Parameters
- newMaterial Material
- new Material
See Also