How to display MeshElement3D as wireframe?

こ雲淡風輕ζ 提交于 2019-12-05 07:58:18
Erno

By calling MeshElement3D.Tesselate() you can get the MeshGeometry3D (mesh).

Next create a LinesVisual3D object.

Copy the Points of the mesh to the Points of the LinesVisual3D.

This will create the internal mesh (see the sources: LinesVisual3D.cs in helix toolkit)

Finally, make sure you set the thickness of the LinesVisual3D and add it to the scene.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!