# cbd **Repository Path**: wrc330/cbd ## Basic Information - **Project Name**: cbd - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-04-22 - **Last Updated**: 2024-04-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 测报灯网页调用示例 需用web服务打开该demo ## 调用 ```js ``` ## 方法 | 方法名 | 说明 | 参数 | 返回值 | | ------------- |-------------| -------| -------| | openLight | 打开测报灯 | -- | -- | | closeLight | 关闭测报灯 | -- | -- | | showSize | 显示测报灯尺寸 | -- | -- | | hideSize | 隐藏测报灯尺寸 | -- | -- | | autoRotate | 测报灯自动旋转 | Boolean | -- | ## 注意 - 3D场景cannvs,是透明的,背景色是HTML的背景色 - baseURL是调用该demo的web服务的根路径 - 引用整个assets资源文件 目录结构 ``` ├── index.html ├── assets │   ├── js │   │   └── index.js │   │   └── node_modules │   ├── glb │   └── img --- ![如图](index.png)