Explorar o código

docs: ring type and reference

astanusic %!s(int64=2) %!d(string=hai) anos
pai
achega
71a27b01b9
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  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