Class CM3ItemTorus extends CM3Item
CM3ItemTorus Class
THREE.js documentation: https://threejs.org/docs/#api/en/geometries/TorusGeometry
Settings Group: Dimensions
Setting | Name | Type | Options | Default | Comments |
---|---|---|---|---|---|
radius | radius | CMTYPE_FLOAT | 10 | Radius of the torus, from the center of the torus to the center of the tube. Default is 1. | |
tube | tube | CMTYPE_FLOAT | 8,Range:[3,Infinity] | Radius of the tube. Default is 0.4. | |
radialSegments | radialSegments | CMTYPE_INTEGER | 6,Range:[2,Infinity] | Number of segements dividing up the torus as it goes around to form a ring | |
tubularSegments | tubularSegments | CMTYPE_INTEGER | 6,Range:[0,Math.PI*2] | Number of segment of each tube in the torus | |
arc | arc | CMTYPE_FLOAT | Math.PI*2,Range:[0,Math.PI*2] | Central angle |