浏览代码

docs: ring type and reference

astanusic 2 年之前
父节点
当前提交
71a27b01b9
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      docs/cientos/shapes/ring.md

+ 13 - 0
docs/cientos/shapes/ring.md

@@ -4,6 +4,19 @@
 
 The `cientos` package provides a `<Ring />` component that serves as a short-cut for a `RingGeometry` and a `MeshBasicMaterial` with a `Mesh` object.
 
+```typescript
+args: [
+         innerRadius: number,
+         outerRadius: number,
+         thetaSegments: number,
+         phiSegments: number,
+         thetaStart: number,
+         thetaLength: number
+      ]
+```
+reference: [RingGeometry](https://threejs.org/docs/?q=ring#api/en/geometries/RingGeometry)
+
+
 ## Usage
 
 ```html