目录 - 关于 - 安装 - API 概述 - 许可 - 第三方许可 - 参与开发 ProBuilder 是一个 3D 建模插件,可在 Unity 中使用。
目录 - 关于 - 安装 - API 概述 - 许可 - 第三方许可 - 参与开发 ProBuilder 是一个 3D 建模插件,可在 Unity 中使用。
ProBuilder is a 3D modeling plugin for Unity.
This readme provides a brief introduction for developers interested in working with the API. For more information, the following guides are available:
Working code samples are also available from the package repository under the Samples~ subfolder, or from the Package Manager you can import them directly into your Unity project.
Unity provides ProBuilder as a package, distributed with the Package Manager.
To start working with ProBuilder source, clone the repository into your Packages directory.
~/Desktop/MyProject$ cd Packages/
~/Desktop/MyProject/Packages$ git clone https://github.com/Unity-Technologies/com.unity.probuilderThen you can install the cloned package directly in the Package Manager using the "local" method. For more information on installing local packages in the Package Manager, see the Package Manager documentation.
There are 3 major namespaces.
| Namespace | Function |
|---|---|
UnityEngine.ProBuilder |
Mesh types and functions to compile meshes to Unity compatible assets. |
UnityEngine.ProBuilder.MeshOperations |
Mesh editing. |
UnityEditor.ProBuilder |
Editor integration. |
Mesh data is stored in a component (ProBuilderMesh) and compiled to a UnityEngine.Mesh (referred to as UMesh from here on) as necessary.
ProBuilderMesh retains the following mesh information:
Normals, tangents, collisions, and UVs are calculated as necessary.
*ProBuilder can automatically UV unwrap triangles on a per-face basis. Face
has a toggle to enable or disable this feature (users are free to unwrap faces
by manually as well).
Modifying a ProBuilder mesh is a bit different from a Unity mesh. Instead of
working with the MeshFilter.sharedMesh you'll instead be operating on the
ProBuilder representation of the mesh: ProBuilderMesh.
A typical workflow looks like this:
…All contributions are subject to the Unity Contribution Agreement(UCA).
By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions.
Pull Requests
Please include an entry to the changelog for any PR, along with a Fogbugz ticket number if applicable.
New logs should be placed under the ## [Unreleased] header at the top of the changelog. See Contributing for more details.
暂无开放 Issues,或尚未同步最近议题。