This is the [page:BufferGeometry] port of [page:TorusKnotGeometry].
const geometry = new THREE.TorusKnotBufferGeometry( 10, 3, 100, 16 );
const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
const torusKnot = new THREE.Mesh( geometry, material );
scene.add( torusKnot );
共有属性请参见其基类[page:BufferGeometry]。
一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
共有方法请参见其基类[page:BufferGeometry]。
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]