Click or drag to resize
Ab4d.SharpEngine logo

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.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public void ChangeMaterial(
	Material? newMaterial
)

Parameters

newMaterial  Material
new Material
See Also