This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
Полезные советы
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Программирование
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
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
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Nodes

In terms of Unigine, all of the objects added into the scene are called nodes. Nodes can be used both directly or as reference nodes to which the other nodes refer.

Nodes and Node References

Nodes and node references are fundamental objects that form the world:

  •   Node is a generic entity representing any object that is positioned and stored in the world.
  •   Node Reference is a node that refers to an external file on the disk, which contains a pre-fabricated node (or a hierarchy of nodes) with all the materials and properties that are required for its rendering.
Notice
The node reference should be used instead of the node if there are a lot of identical objects repeated in the world: it will enable to avoid manual editing each object if you need to make the same changes in all of these objects. For more details, read the article on Node Reference.

There are also the following differences between nodes and node references:

  • To create a node, you need to simply add any object to the scene. To create a node reference, you will need to export a node from UnigineEditor into a .node file and then specify it to be a node reference.
  • All changes made for the node are saved in the .world file and affect only one specific node. All changes made for the node reference are saved in the source .node file and affect all the nodes referenced to this file.

Base Nodes

Base nodes are invisible and perform the following:

  •   Dummy Node is used to organize the other nodes into a hierarchy.
  •   Layer enables to save all its child nodes into a separate.node file.
  •   Trigger fires callbacks when it is enabled/disabled or its transformation has been changed.
Last update: 31.07.2020
Build: ()