@@ -61,15 +61,6 @@
<p>
An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
</p>
- <p>
- Using the above example:
- <code>
- geometry.parameters; // {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined, depthSegments: undefined}
- cube.geometry.parameters; // as above
- cube.geometry.parameters.width; // === 1
- cube.geometry.parameters.widthSegments; // === undefined.
- </code>
- </p>
<h2>Methods</h2>
<p>See the base [page:BufferGeometry] class for common methods.</p>
@@ -56,17 +56,8 @@
<h3>[property:Object parameters]</h3>
- 一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
- 使用上面的示例代码来作为基础:
- geometry.parameters; // outputs an object {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined}
- cube.geometry.parameters.widthSegments // === undefined.
+ 一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
+ </p>
<h2>方法(Methods)</h2>
<p>共有方法请参见其基类[page:BufferGeometry]。</p>