Contents

PortalComponent.CrossingMode

Specifies the mode of crossing for a portal.

Declaration

enum CrossingMode

Overview

You pass this type to crossingMode to configure the portal component’s crossing feature.

Use PortalComponent.CrossingMode.disabled to disallow contents within the portal to cross out of the portal boundary.

Use PortalComponent.CrossingMode.plane(_:) to allow contents within the portal world with a PortalCrossingComponent to cross out of this planar definition of the portal boundary.

Topics

Enumeration Cases