Parcourir la source

docs: box type and reference

astanusic il y a 2 ans
Parent
commit
ecd7d037f7
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  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.
 
+```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
 
 ```html