如何使用HelixToolkit旋转3D模型? [英] How do you rotate a 3D model using HelixToolkit?

查看:543
本文介绍了如何使用HelixToolkit旋转3D模型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在视觉工作室的WPF项目中,我需要一些旋转3D模型的帮助.我已经通过使用helix工具包导入了模型.但是我找不到任何有关如何在线旋转3D模型的示例.我发现了一些C#和xaml示例,但它们似乎主要是在旋转相机而不是旋转模型.

I need some help rotating a 3D model in a WPF project on visual studios. I have imported the model in through the use of the helix toolkit. But I can not find any example of how to rotate the 3D model online. I've found some C# and xaml examples but they mainly seem to rotate the camera not the model.

推荐答案

为您的GeometryModel3D.Transform创建RotateTransform3D

Create a RotateTransform3D for your GeometryModel3D.Transform

这篇关于如何使用HelixToolkit旋转3D模型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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