是否可以在 Unity 中在运行时选择顶点? [英] Is it possible to select vertices at runtime in Unity?

查看:54
本文介绍了是否可以在 Unity 中在运行时选择顶点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我只是想添加一个在运行时选择顶点的函数.(拖动并选择)有什么办法吗?就像 3ds Max 或 Maya.

Hello, I just want to add a function for selecting vertices at runtime. (drag and select) Is there any way to do it? just like 3ds Max or Maya.

推荐答案

不,您必须自己实现逻辑.然而,这并非微不足道,也因为 Unity 作为游戏引擎并非旨在处理大量顶点.

No, you'll have to implement the logic yourself. However this will not be trivial, also due to the fact that Unity being a game engine is not designed to deal with large numbers of vertices.

查看网格文档.您可以在那里了解统一的顶点操作.

Have a look at the mesh documentation. There you can find out about vertex manipulation in unity.

这篇关于是否可以在 Unity 中在运行时选择顶点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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