This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Layer

Creating virtual world and filling it with different kinds of assets is usually a laborious task, rarely fulfilled by one person. The node layers is a special feature facilitating collaborative work on one project. To eliminate the conflicts arising from simultaneous editing of the same world by several people, some part of it can be saved in the separate .node file. It will contain the parent layer and all the nodes that are made its child. This way you are free to make any changes in the layer nodes, because it will not affect the source world configuration file. This feature is especially convenient when using the VCS, because by merging the project modifications there will be no need to match the conflicted files.

The contents of the layer depend on the hierarchy structure: to become part of the layer, the node should be assigned to it as a child. In the list the node layer is displayed as a usual hierarchy branch and can be dealt exactly the same way as other nodes, that is moved, cloned, etc.

See also

Last update: 2017-07-03
Build: ()