Selaa lähdekoodia

docs: sphere type and reference

astanusic 2 vuotta sitten
vanhempi
commit
054d3405ae
1 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  1. 14 0
      docs/cientos/shapes/sphere.md

+ 14 - 0
docs/cientos/shapes/sphere.md

@@ -4,6 +4,20 @@
 
 The `cientos` package provides a `<Sphere />` component that serves as a short-cut for a `SphereGeometry` and a `MeshBasicMaterial` with a `Mesh` object.
 
+```typescript
+args: [
+         radius: number,
+         widthSegments: number,
+         heightSegments: number,
+         phiStart: number,
+         phiLength: number,
+         thetaStart: number,
+         thetaLength: number
+      ]
+```
+reference: [SphereGeometry](https://threejs.org/docs/?q=sphere#api/en/geometries/SphereGeometry)
+
+
 ## Usage
 
 ```html