如何在Viewport3D中唯一标识GeometryModel3D。 [英] How to Uniquely Identify the GeometryModel3D in Viewport3D.

查看:130
本文介绍了如何在Viewport3D中唯一标识GeometryModel3D。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Viewport3D中添加了多个Geometries。现在我必须唯一地识别每个几何体,以便我可以对特定的几何体进行更改。



请帮我解决这个问题。

I have added multiple Geometries in my Viewport3D. Now I Have to uniquely identify each geometry so that i can make changes on a particular geometry.

Please Help me in resolving this Issue.

推荐答案

不清楚问题是什么。您还可以将对几何几何实例的引用添加到某个集合中;然后你可以通过某些键识别它我的索引。我不明白为什么你需要它,因此标识符的访问以及集合的类型和通用参数的类型将取决于你想要使用的目标和技术。所以,无论如何,请参阅: http://msdn.microsoft.com/en-us/ library / system.collections.generic.aspx [ ^ ]。



-SA
Not really clear what the problems is. You can also add the references to each instance of geometry to some collection; then you can identify it my index of by some key. I don't understand why would you need it, so the access by identifier and hence the type of collection and type of its generic parameters will depend on your goals and techniques you want to use. So, anyway, see: http://msdn.microsoft.com/en-us/library/system.collections.generic.aspx[^].

—SA


这篇关于如何在Viewport3D中唯一标识GeometryModel3D。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆