如何在Unity运行时读取FBX数据

发布于 2025-02-10 07:57:35 字数 168 浏览 4 评论 0原文

我正在尝试读取像SkinMeshrenderer在Unity运行时一样读取FBX数据,不知道该怎么做,我对加载FB​​X的加载感到困惑,

因为现在问题是我无法从FBX B/C中创建一个预制件可以从网络上加载只需阅读其Skinmeshrenderer,网格或材料,

如果您知道任何解决方案,请分享

I'm trying to read FBX data like SkinMeshRenderer in unity Runtime don't know how to do that I'm confused at loading FBX as the game object

now the problem is I can't create a prefab out of FBX b/c it can be loaded from web just need to read its skinMeshRenderer or mesh or material

if you know any solution please share it

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦境 2025-02-17 07:57:36

实际上很简单并不是很难将FBX作为游戏对象加载,然后很容易读取数据,

以上代码仅用于测试,不要看循环:p

enter image description here

actually it was simple not that hard loading the FBX as game Object and then it's made easy to read the data

the above code is just for testing don't look at the loop :P

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文