This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and 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
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Managing Worlds

A world in UNIGINE is a scene that includes a set of different built-in objects with certain parameters. UnigineEditor provides an ability to create new worlds, load or reload existing ones and save them if any changes are made. You can also adjust various settings for the worlds you create.

Creating a New World

To create a new world via UnigineEditor:

  1. Click File -> Create New World in the main menu, or press CTRL + N.

  2. In the window, that opens, specify a name for the new world and choose the target directory within your project.

After that, two new assets will be created in the target folder:

  • newworld.world - an XML file containing rendering settings of the created world.
  • newworld.cpp - a world script.

Notice
A new world with default sun node will be created. You can keep this node or delete it at your own discretion.

Loading an Existing World

To load an existing world via UnigineEditor:

  1. Click File -> Open World in the main menu, or press CTRL + O.

  2. Choose the directory and select the required world.
    Notice
    Via UnigineEditor, you can only load worlds that are available within your project.

  3. Click Ok. The selected world will be loaded.

To load one of the recently closed worlds, click File -> Recent Worlds in the main menu, choose the required world and click it.

Notice
4 recently closed worlds are available.

Saving a World

To save the current world under a different name via UnigineEditor:

  1. Click File -> Save World As.. in the main menu.

  2. Specify a new name for the world to save and choose the target directory within your project:

  3. Click Ok.

To save a world under its current name:

  1. Click File -> Save World in the main menu, or press CTRL + S.

Reloading a World

To reload the current world:

  1. Click File -> Reload World in the main menu.

    If there are unsaved changes in the world, the dialog box will open.
  2. Click Yes in the dialog box to save all changes before reloading.

Closing a World

To close the current world:

  1. Click File -> Close World in the main menu.

    If there are unsaved changes in the world, the dialog box will open.
  2. Click Yes in the dialog box to save all changes before closing.

    The world will be closed as a result.

Adjusting World Settings

Each world can have its unique sound, physics, and rendering settings. This allows you to adjust everything from gravity to how the Global Illumination will look in a particular world. All world settings are available in the corresponding section of the Settings window.

To view or adjust settings for your current world:

  1. Click Windows -> Settings in the main menu.

  2. Then in the left panel of the Settings window choose the desired section from Runtime -> World.

Learn more about the Settings window.
Last update: 2018-04-26
Build: ()