Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
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#
- WorldPortal class to manage portals via API
Creating a Portal#
To create a world portal via UnigineEditor:
- On the Menu bar, choose Create -> Optimization -> Portal
- Place the node in the scene.
Editing a Portal#
In the Node tab of the Parameters window, you can adjust the following parameters of the portal:
Node tab of the World Portal node
Edit Size | Toggles the editing mode for the world portal node on and off. When enabled, the portal's rectangle sides that can be resized are highlighted with the colored rectangles. To change the size of a side, drag the corresponding rectangle.
|
---|---|
Width | The width of the portal's rectangle, in units. |
Height | The height of the portal's rectangle, in units. |
Last update:
2019-08-16
Help improve this article
(or select a word/phrase and press Ctrl+Enter)