获取UIElement3D的每个顶点的屏幕位置(像素)或获取缩放比例因子 [英] Get screen position (pixel) for each vertex of a UIElement3D or get zoom scale factor
本文介绍了获取UIElement3D的每个顶点的屏幕位置(像素)或获取缩放比例因子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
据我所知,并且已经提到了你的知识库和类库,没有明显的方法来获取UIElement3D对象的顶点。我真的需要这样做,以便我可以计算相对缩放系数。在屏幕上绘制UIElement3D时,如果有任何方法可以获得缩放比例因子,对我来说更好。
获取缩放系数对我来说至关重要,我需要解释3D对象与其实际运动的显示比率(机器人技术)。
解决方案
这是你必须要做的:Robotic Motion< - >几何模型 - >屏幕演示。
您需要排除这一点:屏幕演示 - > (任何事情)。
这将消除你的相当人为的问题。
-SA
To my knowledge, and having referred to your knowledgebase and class library, there is no obvious way of getting the vertices of a UIElement3D object. I am in real need of doing this, so that I can calculate the relative zoom factor. Even better for me if there is any way of getting the zoom scale factor when drawing a UIElement3D on screen
Getting the zoom factor is crucial for me, I need to interpret the display ratio of 3D objects to their actual movements (robotics).
解决方案
This is what you have to do: Robotic Motion <--> Geometry Model --> On-screen Presentation.
You need to exclude this: On-screen Presentation --> (anything).
This will eliminate your rather artificial problem.
—SA
这篇关于获取UIElement3D的每个顶点的屏幕位置(像素)或获取缩放比例因子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文