UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm (Experimental)
使用编辑器工具执行特定任务
Extending Editor Functionality
编程
基本原理
搭建开发环境
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes

静态网格物体

A  static mesh is an object that represents a collection of vertices, edges and triangular faces (organized in polygons) defining the object's geometry. The static mesh can be moved, rotated and scaled, but cannot be modified: vertices of the static mesh are immutable.   静态网格物体是一个对象,代表顶点,边和三角形面的集合(以多边形)定义对象的几何形状。静态网格物体可以移动,旋转和缩放,但不能修改:静态网格物体的顶点是不可变的。

Static meshes are usually used to add non-animated geometry: buildings, furniture, vehicles, and so on.静态网格物体通常用于添加非动画几何体:建筑物,家具,车辆等。

Static meshes consist of groups of polygons that called surfaces. Each surface requires a separate draw call to the GPU. To render a surface, the material should be assigned to it. Each surface has 2 UV channels. Read more about surfaces and materials here.静态网格物体由称为 surfaces 的多边形组组成。每个表面都需要对GPU进行单独的绘制调用。要渲染表面,应为其指定材质。每个表面都有2个紫外线通道。在此处了解更多有关表面和材料的信息。

Static meshes are created in the third-party graphics programs (such as 3ds Max, Maya, etc.) and can be imported via UnigineEditor and converted to the UNIGINE native format (.mesh). In UNIGINE meshes have a float precision. That is why it is highly recommended to export meshes from third-party graphic programs near the origin and then place the mesh in UnigineEditor.静态网格物体是在第三方图形程序(例如3ds Max, Maya等)中创建的,可以通过UnigineEditor 导入并转换为UNIGINE原始格式(.mesh)。在UNIGINE中,网格具有浮点精度。这就是为什么强烈建议从靠近原点的第三方图形程序中导出网格,然后将其放置在UnigineEditor中的原因。

注意
The maximum number of surfaces organized in hierarchy for static mesh is 32768.静态网格的层次结构中组织的最大曲面数为 32768

See Also也可以看看#

Adding a Static Mesh添加静态网格物体#

To add a static mesh to the scene via UnigineEditor do the following:要通过UnigineEditor向场景中添加静态网格物体,请执行以下操作:

  1. Run UnigineEditor. 运行 UnigineEditor。
  2. On the Menu bar, click Create -> Mesh -> Static.

    在菜单栏上,单击Create -> Mesh -> Static.

  3. In the dialog window that opens, choose the path to the .mesh file.在打开的对话框窗口中,选择.mesh文件的路径。
  4. Place the mesh somewhere in the world.将网格物体放置在世界上某个地方。
注意
You can change the path to the mesh at any time in the Mesh field.您可以随时在 Mesh 字段中更改网格的路径。
最新更新: 2020-09-30