init
TypeScriptstatic init(): WorldComponentSwift declarationinit()struct · iOS 18.0+ · SDK 27.1
struct WorldComponentA component that defines a portal world. This component separates an entity and its descendants from the default world, allowing it to only be visible through a portal. Use a ``PortalComponent`` and point its ``PortalComponent/targetEntity`` to this entity to render this world. See ``PortalComponent`` for information about example usage, clipping, crossing, and lighting.
static init(): WorldComponentSwift declarationinit()No declarations were skipped in this snapshot.