Skip to content

Commit

Permalink
Doc: update chinese doc for WebGLRenderer. (#23778)
Browse files Browse the repository at this point in the history
The Chinese documentation is missing a description of the required parameter `target` of `getSize`.
  • Loading branch information
jynxio authored Mar 23, 2022
1 parent 734b127 commit ddb724d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/zh/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ <h3>[method:Object getDrawingBufferSize]()</h3>
<h3>[method:number getPixelRatio]()</h3>
<p>返回当前使用设备像素比</p>

<h3>[method:Object getSize]()</h3>
<h3>[method:Vector2 getSize]( [param:Vector2 target] )</h3>
<p>返回包含渲染器输出canvas的宽度和高度(单位像素)的对象。</p>

<h3>[method:undefined initTexture]( [param:Texture texture] )</h3>
Expand Down

0 comments on commit ddb724d

Please sign in to comment.