 |
MultiMaterialModelNodeRemoveSubMesh Method |
RemoveSubMesh removes the specified SubMesh.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic bool RemoveSubMesh(
SubMesh subMeshToRemove,
bool removeUnusedMaterials = true
)
Parameters
- subMeshToRemove SubMesh
- SubMesh to remove
- removeUnusedMaterials Boolean (Optional)
- optional Boolean that specifies if unused materials are removed from the internal collection of materials (when true; by default). If you plan to add SubMesh back to this MultiMaterialModelNode, then set that to false.
Return Value
Booleantrue when the SubMesh was removed; false if it was not part of this MultiMaterialModelNode
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.MultiMaterialModelNode.RemoveSubMesh(Ab4d.SharpEngine.Meshes.SubMesh,System.Boolean)"]
See Also