Browse Source

docs: box type and reference

astanusic 2 years ago
parent
commit
ecd7d037f7
1 changed files with 13 additions and 0 deletions
  1. 13 0
      docs/cientos/shapes/box.md

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

@@ -4,6 +4,19 @@
 
 
 The `cientos` package provides a `<Box />` component that serves as a short-cut for a `BoxGeometry` and a `MeshBasicMaterial` with a `Mesh` object.
 The `cientos` package provides a `<Box />` component that serves as a short-cut for a `BoxGeometry` and a `MeshBasicMaterial` with a `Mesh` object.
 
 
+```typescript
+args: [
+        width: number,
+        height: number,
+        depth: number,
+        widthSegments: number,
+        heightSegments: number,
+        depthSegments: number
+      ]
+```
+reference: [BoxGeometry](https://threejs.org/docs/?q=box#api/en/geometries/BoxGeometry)
+
+
 ## Usage
 ## Usage
 
 
 ```html
 ```html