提交 05592295 编写于 作者: M Mr.doob

Merge pull request #8377 from BenJenkinson/patch-1

Added documentation for getSize() method
......@@ -163,6 +163,9 @@
<div>
Return a [page:Boolean] true if the context supports vertex textures.
</div>
<h3>[method:Object getSize]()</h3>
<div>Returns an object containing the width and height of the renderer's output canvas, in pixels.</div>
<h3>[method:null setSize]( [page:Integer width], [page:Integer height], [page:Boolean updateStyle] )</h3>
<div>Resizes the output canvas to (width, height), and also sets the viewport to fit that size, starting in (0, 0). Setting updateStyle to true adds explicit pixel units to the output canvas style.</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册