This page has been translated automatically.
Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
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
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

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
Build: ()