godot-portals-plugin-csharp

Portal3D.PortalViewportSizeMode enumeration

Options for different sizes of the internal viewports. This helps to reduce memory usage by not rendering the portals at full resolution. Viewports are resized on window resize.

public enum PortalViewportSizeMode

Values

name value description
Full 0 Render at full window resolution.
MaxWidthAbsolute 1 Portal will be at most this wide. Height is calculated from the window aspect ratio.
Fractional 2 Portal viewport will be a fraction of the full window size.

See Also