Skip to content

ICamera.SetViewport(int, int) Method

Definition

Namespace: Brine2D.Rendering

Sets the viewport size \(typically called when window resizes\).

C#
void SetViewport(int width, int height);

Parameters

width System.Int32

height System.Int32