提交 ba8f78a2 编写于 作者: L looeee

Added some detail to CubeCamera doc

上级 5d557f25
......@@ -43,22 +43,20 @@
<h2>Constructor</h2>
<h3>[name]( [page:number near], [page:number far], [page:number cubeResolution] )</h3>
<h3>[name]( [page:Number near], [page:Number far], [page:Number cubeResolution] )</h3>
<div>
near -- The near clipping distance. <br />
far -- The far clipping distance <br />
cubeResolution -- Sets the width of the cube.
cubeResolution -- Sets the length of the cube's edges.
</div>
<div>
Constructs a CubeCamera that contains 6 [page:PerspectiveCamera PerspectiveCameras] that then
render to a [page:WebGLRenderTargetCube]
Constructs a CubeCamera that contains 6 [page:PerspectiveCamera PerspectiveCameras] that
render to a [page:WebGLRenderTargetCube].
</div>
<h2>Properties</h2>
<h3>[property:WebGLRenderTargetCube renderTarget]</h3>
<div>
The cube texture that gets generated.
......@@ -74,7 +72,7 @@
scene -- The current scene
</div>
<div>
Call this to update the renderTarget.
Call this to update the [page:CubeCamera.renderTarget renderTarget].
</div>
<h2>Source</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册