Преглед на файлове

docs: box type and reference

astanusic преди 2 години
родител
ревизия
ecd7d037f7
променени са 1 файла, в които са добавени 13 реда и са изтрити 0 реда
  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