1. setZoomOutLimitRate
设置模型缩小的相对限度。
只有BOS3D.GlobalData.ConstraintZoom为true才有效(此时开启缩放限制)。
1.1. 参数说明:
名称 | 说明 | 类型 | 是否必填 | 示例 |
---|---|---|---|---|
rate | 相对比例 | number | 是 | 11.4514 |
返回值说明 | 类型 | 示例 |
---|---|---|
无返回值 | NULL | NULL |
1.2. 调用方式:
/**
* 设置模型缩小的相对限度
* @desc 只有BOS3D.GlobalData.ConstraintZoom为true才有效
* @param {number} rate - 相对比例(默认值11.4514)
*/
viewer3D.setZoomOutLimitRate(10);