From NeoAxis 3D Engine Wiki
|Language:||English • Russian||Status:||Approved|
Types of Portals
Portals can be of two types:
- those connecting two zones,
- and those connecting a zone with an open space.
The parameter Outdoor is used to determine the type of the areas being connected. If this parameter is set to True the portal is connecting a zone to an open space. If this parameter is set to False the portal is connecting two zones.
If a portal is connecting two zones, its direction (which side is an entrance and which one is an exit) is of no importance.
If a portal is used to mark an aperture through which an open space may be seen, it should be directed to this open space.
|Components||List of attached components.|
|LogicClass||Reference to the Logic Editor class. Read more about how to work with the Logic Editor class.|
|Tags||User defined information. Defined as key — value pairs. It is used for user's needs.|
|Type||Object type. It can not be changed.|
|Position||Object position on the map.|
|Rotation||Object rotation. The angle of rotation is set in degrees.|
|Enabled||Enable/disable the portal.|
|Outdoor||If the portal links area with open space. If parameter True is set, it is considered, that the portal links area with open space. If parameter False is set, portal is considered as linking 2 areas.|
|VisibilityDistance||Maximum visible distance of the portal. If the value is 0, then the distance check is not made.|
|AutoVerticalAlignment||Automatical alignment by height mode. Allows to set the value among 4 variants: None (without alignment ), ByBounds (by dimensions), ByBoundsWithRotation (by dimension with possible rotation), ByCenter (by center).|
|Layer||The layer of the map these objects belong to.|