Browse Source

docs: cone type and reference

astanusic 2 years ago
parent
commit
b6a2e9f71a
1 changed files with 14 additions and 0 deletions
  1. 14 0
      docs/cientos/shapes/cone.md

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

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