WebGL_0009:canvas 画布 旋转90度
1,
var ii = this.app.graphicsDevice.canvas.parentElement; var ee = this.app.camera; var nn = ee ? ee.script.orbitCamera : null; var a = window.innerWidth; var r = window.innerHeight; ii.style.width = r + "px", ii.style.height = a + "px", ii.style.top = "0px", ii.style.left = a + "px"; ii.style.webkitTransformOrigin = "0% 0%", ii.style.transformOrigin = "0% 0%", ii.style.webkitTransform = "rotate(90deg)", ii.style.transform = "rotate(90deg)";
琥珀君的博客