для этой страницы,
отображается код на другом
A node is a generic entity representing any object that is presented in the world and specifically positioned and oriented. The node is created and stored in the world. All changes made to the node are saved in the .world file. You can also export the node into an external .node file and then import it into the world when necessary or create a reference to it. However, all changes made for the original node via UnigineEditor will still be saved into the .world file.
- The Node class to edit nodes via API
Creating a Node#
To create a new node via UnigineEditor, click Create on the Menu bar, choose a required object and add it to the scene. The new node will appear in the World hierarchy list. For example, you can add a static mesh which will be a node in terms of Unigine:
Editing a Node#
The node can be edited via the Parameters window of UnigineEdtior. All nodes have common settings which are presented in the Node tab. Also each node has special settings, which vary depending on the type of the node.
Importing a Node#
Besides creating a new node, you can import the existing node which was previously exported into an external .node file.
To import a node into the current world, click the Import button in the AssetBrowser window. In the Import Node dialog window that opens, choose the required .node file.
Deleting a Node#
To delete a node from the world, select it and press Delete. The node will be removed from the .world file after saving the world via UnigineEditor.