One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PortalComponent.CrossingMode

enum · iOS 18.0+ · SDK 27.1

enum CrossingMode

Specifies the mode of crossing for a portal. You pass this type to ``PortalComponent/crossingMode-swift.property`` to configure the portal component's crossing feature. Use ``disabled`` to disallow contents within the portal to cross out of the portal boundary. Use ``plane(_:)`` to allow contents within the portal world with a ``PortalCrossingComponent`` to cross out of this planar definition of the portal boundary. Use ``volume(_:)`` to allow contents to cross using a volumetric box boundary.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →