Version: Unity 7.0 Alpha (7000.0)
Language : English
View mesh data visualizations
Creating and accessing meshes via script

Create a mesh

You can add meshes to a Unity project in the following ways:

  • Create a mesh as part of a modelA 3D model representation of an object, such as a character, a building, or a piece of furniture. More info
    See in Glossary
    in a 3D modeling program, then import it. Unity creates a mesh asset as a part of the model hierarchy when you import a model. For more information, see Importing Models.
  • Create a mesh directly with in-Editor tools. Unity has built-in primitive shapes such as spheres and capsules that you can place directly into a Scene. You can also use a package like ProBuilder to model a custom mesh in the Editor.
  • Create meshes with code, either at runtime or in the Editor.
View mesh data visualizations
Creating and accessing meshes via script
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961