Skip to content

Commit

Permalink
Docs: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jul 12, 2019
1 parent db1a7a7 commit 7b5e5a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
10 changes: 0 additions & 10 deletions docs/api/en/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,6 @@ <h3>[property:Array clippingPlanes]</h3>
Default is [].
</p>

<h3>[property:WebGLRenderingContext context]</h3>
<p>
The renderer obtains a [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext] context
from its [page:WebGLRenderer.domElement domElement] by default, using
[link:https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext HTMLCanvasElement.getContext]().<br /><br />

You can create this manually, however it must correspond to the
[page:WebGLRenderer.domElement domElement] in order to render to the screen.
</p>

<h3>[property:DOMElement domElement]</h3>
<p>
A [link:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas canvas] where the renderer draws its output.<br />
Expand Down
9 changes: 0 additions & 9 deletions docs/api/zh/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,6 @@ <h3>[property:Array clippingPlanes]</h3>
默认值是[]
</p>

<h3>[property:WebGLRenderingContext context]</h3>
<p>
渲染器默认使用[link:https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext HTMLCanvasElement.getContext]()从其
[page:WebGLRenderer.domElement domElement]获取渲染环境([link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext])<br /><br />

你可以手动创建创建它,但它必须与[page:WebGLRenderer.domElement domElement]对应,才能呈现到屏幕上。

</p>

<h3>[property:DOMElement domElement]</h3>
<p>
一个[link:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas canvas],渲染器在其上绘制输出。<br />
Expand Down

0 comments on commit 7b5e5a0

Please sign in to comment.