UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1

Portal

A portal is a rectangular opening between two adjacent sectors, through which one sector can be partially seen if looking from another.

A Portal between Sectors

See also

Creating a Portal

To create a portal, choose the Add World Portal option in the list of nodes of Editor panel. In the opened creation dialog window specify initial parameters:

A Creation Window
Width The width of the portal's rectangular, in units.
Height The height of the portal's rectangular, in units.

After the initial parameters are set, click Ok and place the portal somewhere in the world.

Editing a Portal

In the Portal tab you can adjust the following parameters of the portal:

A Portal tab

Bounding Box Parameters

A set of bounding box parameters:

Width The width of the portal's rectangular, in units.
Height The height of the portal's rectangular, in units.
Last update: 2017-07-03