WebGL API的 WebGLRenderingContext.viewport() 方法设置视口,该视口指定x和y从标准化设备坐标到窗口坐标的仿射变换。 ... void gl.viewport(x, y, width, height); ...
確定! 回上一頁