Просмотр исходного кода

Added documentation for getSize() method

Ben Jenkinson 10 лет назад
Родитель
Сommit
9e23d7da12
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      docs/api/renderers/WebGLRenderer.html

+ 3 - 0
docs/api/renderers/WebGLRenderer.html

@@ -163,6 +163,9 @@
 		<div>
 		<div>
 		Return a [page:Boolean] true if the context supports vertex textures.
 		Return a [page:Boolean] true if the context supports vertex textures.
 		</div>
 		</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>
 		<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>
 		<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>

粤ICP备19079148号