PortalComponent
Constructs a PortalComponent with the specified parameters.
Parameters
Whether the portal is enabled. The default value is true. If true, the portal is rendered; otherwise, it is not.
Whether both sides (forward and backward) of the portal are rendered. The default value is false. If true, both the forward and backward sides are rendered; if false, only the forward side is rendered.
Whether entities intersecting with the portal are clipped. The default value is true. If true, the part of entities in the portal world will be clipping when they intersect with the portal itself; otherwise, it is not.
The target entity representing the world visible through the portal. The default value is true. If true, entities crossing the portal will be rendered outside of the portal; otherwise, they are not.