|
@@ -56,12 +56,7 @@
|
|
|
|
|
|
<h2>方法</h2>
|
|
|
|
|
|
- <h3>[method:null dispose]()</h3>
|
|
|
- <p>
|
|
|
- 清除[page:WebGLRenderer]内部所缓存的场景相关的数据。
|
|
|
- </p>
|
|
|
-
|
|
|
- <h3>[method:Object toJSON]( [param:Object meta] )</h3>
|
|
|
+ <h3>[method:JSON toJSON]</h3>
|
|
|
<p>
|
|
|
meta -- 包含有元数据的对象,例如场景中的的纹理或图片。
|
|
|
将scene对象转换为 three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format](three.js JSON 物体/场景格式)。
|