Contents

PortalComponent.CrossingMode.volume(_:)

Allows contents within the portal to cross using a volumetric box.

Declaration

case volume(PortalComponent.Volume)

Parameters

  • volume:

    A Volume describing the box position and extents

Discussion

Entities with PortalCrossingComponent will cross the box boundary. Parts of entities inside the volume render as portal content, parts outside render normally.