소스 검색

docs: plane type and reference

astanusic 2 년 전
부모
커밋
0434cad679
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      docs/cientos/shapes/plane.md

+ 5 - 0
docs/cientos/shapes/plane.md

@@ -4,6 +4,11 @@
 
 The `cientos` package provides a `<Plane />` component that serves as a short-cut for a `PlaneGeometry` and a `MeshBasicMaterial` with a `Mesh` object.
 
+```typescript
+args: [width: number, height: number, widthSegments: number, heightSegments: number]
+```
+reference: [PlaneGeometry](https://threejs.org/docs/?q=plane#api/en/geometries/PlaneGeometry)
+
 ::: info
 A convenient default rotation is applied to the _x-axis_ of the plane (`-Math.PI / 2`), so that it is facing up (along the Y axis).
 :::