feat(all): init commit

This commit is contained in:
plum
2026-04-19 18:46:28 +08:00
commit 5d7f479765
479 changed files with 178500 additions and 0 deletions
@@ -0,0 +1,61 @@
---
outline: [2, 3]
---
# DExtrudeGeometry
- 源文件:`packages/sdk/src/source/DExtrudeGeometry.ts`
- 文档位置:`packages/docs/api/source/DExtrudeGeometry.md`
## 类:`DExtrudeGeometry`
- 作用:DExtrudeGeometry 类。
- 继承/实现:`extends BufferGeometry`
### 构造函数
#### `new DExtrudeGeometry(shapes = new Shape([new Vector2(0.5, 0.5), new Vector2(-0.5, 0.5), new Vector2(-0.5, -0.5), new Vector2(0.5, -0.5)]), options: ExtrudeGeometryOptions = {})`
- 作用:Constructs a new extrude geometry.
- 入参:
| 参数名 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| `shapes` | `Shape` | 否 | - A shape or an array of shapes. |
| `options` | `ExtrudeGeometryOptions` | 否 | 当前功能对应的配置项。 |
- 出参:`DExtrudeGeometry`
- 返回说明:返回当前类实例。
### 方法
#### `copy(source): this`
- 作用:执行 copy 相关逻辑。
- 入参:
| 参数名 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| `source` | `any` | 是 | 参数 `source`,类型为 `any`。 |
- 出参:`this`
- 返回说明:返回 `this`
#### `toJSON(): any`
- 作用:执行 to JSON 相关逻辑。
- 入参:无
- 出参:`any`
- 返回说明:返回 `any`
## 构造示例
- 当前 Demo 中没有直接展示 `DExtrudeGeometry` 的构造调用。
## 函数示例
- 当前 Demo 中没有直接展示 `DExtrudeGeometry` 的公开方法调用。
+9
View File
@@ -0,0 +1,9 @@
---
outline: [2, 3]
---
# Curve
- 源文件:`packages/sdk/src/source/core/Curve.ts`
- 文档位置:`packages/docs/api/source/core/Curve.md`
@@ -0,0 +1,9 @@
---
outline: [2, 3]
---
# CatmullRomCurve3
- 源文件:`packages/sdk/src/source/curves/CatmullRomCurve3.ts`
- 文档位置:`packages/docs/api/source/curves/CatmullRomCurve3.md`