This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Полезные советы
Программирование на C#
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров узла
Setting Up Materials
Setting Up Properties
Освещение
Landscape Tool
Sandworm (Experimental)
Использование инструментов редактора для конкретных задач
Extending Editor Functionality
Встроенные объекты
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
UnigineScript
C++
C#
Унифицированный язык шейдеров UUSL
File Formats
Rebuilding the Engine Tools
GUI
Двойная точность координат
API
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
Работа с контентом
Оптимизация контента
Материалы
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Exporting Nodes

Any part of the scene (both a single node or a group of nodes including all children) can be exported from UnigineEditor and saved to a .node, .mesh or .fbx file.

To export a node (or nodes), right-click it in the World Hierarchy window and choose the required menu item:

Exporting Nodes to a NodeReference#

Any node (or nodes) from the World Hierarchy can be exported to a node reference. Exporting a node to a node reference may be required, for example, if you want to implement instancing of nodes in your project.

To export a node to a .node file, right-click the target node in the World Hierarchy window and choose Create a NodeReference in the drop-down list.

Exporting Node to NodeReference

Another way to export a node (nodes) is to select it in any available way and choose Edit -> Convert To NodeReference in the Menu Bar. In both cases, the selected node will be converted to NodeReference, and the .node file named after the node will be created.

If you select several nodes, they will be exported to a single .node file as child nodes of the dummy node.

The exported node will be saved in local coordinates (relative to the zero of coordinates or to the parent node, if any).

Exporting Nodes to a Mesh#

Exporting nodes to a mesh may be required, for example, when you have several mesh-based nodes, and you want to get them as a single mesh.

Nodes of the following object-related types can be exported to the .mesh file:

To export a node to a .mesh file, right-click the target node in the World Hierarchy window and choose Export to -> UNIGINE Mesh file (.mesh) in the drop-down list.

Notice
The exported mesh will be saved in the world coordinates.

Exporting Node to Mesh

The exported mesh can be used, for example, to create a mesh-based node.

Exporting Nodes to FBX#

Exporting nodes to an .fbx file provides a wide range of use cases for artists: for example, after exporting the scene you can bake lightmaps with the 3rd-party tool (for example, V-Ray).

Nodes of the following types can be exported to the .fbx file:

Notice
If you export a node of any other type, an empty .fbx file will be created.

  • When exporting a static or dynamic mesh that has more than one surface with the same material, a separate mesh for each surface will be created and saved in the FBX container.
  • When exporting a node reference, the node stored by the reference (in the .node file) will be exported.

To export a node to an .fbx file, right-click the target node in the World Hierarchy window and choose Export to -> FBX in the drop-down list.

Exporting Node to FBX

You can export both a single node or nodes hierarchy tree branch. However, exporting to FBX is available only if one node in the hierarchy is selected. To export the hierarchy tree branch, select and export the parent node: the child nodes will be exported as well. If you need to export the whole scene or its part, the nodes should be added as children to a dummy or layer node in the hierarchy.

Notice
If you export the hierarchy tree branch, only nodes that are on the list of the supported types will be exported.

The exported node will be saved in local coordinates (relative to the zero of coordinates or to the parent node, if any).

Notice
  • When exporting a static or dynamic mesh that has more than one surface with the same material, transformation of each created mesh is saved in the parent coordinates. In this case, the parent of the meshes is the static/dynamic mesh that is exported.
  • When exporting a node reference, transformation of this node reference is saved rather than transformation of the node stored by the reference.
Last update: 24.11.2020
Build: ()