@castianta/calc-3d
1.0.2 • Public • Published
计算 3D 绘制组件
@castianta/calc-3d
API
参数名 |
说明 |
必填 |
类型 |
默认值 |
备注 |
canvas |
绘制参数 |
否 |
CanvasProps |
- |
- |
dataSource |
曲线绘制数据 |
否 |
DataSourceProps |
- |
见下 |
target |
目标卫星 |
否 |
TargetProps |
- |
- |
timer |
时间标识 |
否 |
TimerProps |
- |
见下 |
DataSourceProps
参数名 |
说明 |
必填 |
类型 |
默认值 |
备注 |
name |
名称 |
是 |
String |
- |
- |
url |
txt 数据 url 地址 |
是 |
String |
- |
- |
TimerProps
参数名 |
说明 |
必填 |
类型 |
默认值 |
备注 |
value |
数据值 |
是 |
String |
- |
- |
style |
样式 |
是 |
CSSProperties |
- |
- |
TargetProps
参数名 |
说明 |
必填 |
类型 |
默认值 |
备注 |
name |
名称 |
是 |
String |
- |
- |
url |
模型静态路径 |
是 |
String |
/public/Satellite+A.fbx |
支持文件格式fbx、glb、gltf |
primitive |
模型 ReactNode |
是 |
String |
Props |
- |
Package Sidebar
Install
Weekly Downloads