1. addView

添加视图。

1.1. 参数说明:

名称 说明 类型 是否必填 示例
modelKey 模型key 字符串 string M123456
projectKey 项目key 字符串 string bos3d
token 校验token 字符串 string eyjxhbGciO
返回值说明 类型 示例
无返回值 NULL NULL

1.2. 调用方式:

/**
* 添加视图
*    @method addView
*    @param modelKey {string} 模型的Key
*    @param projectKey {string} 项目Key
*    @param token {string} 校验token,可选
*    @return 无
*/
var viewer2D = new BOS2D.Viewer2D(); 
viewer2D.addView("M123456","bos3d",token);

1.3. Demo示例:

示例名称 示例地址
添加视图 去体验
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2021 all right reserved,powered by Gitbook该文件修订时间: 2021-12-20 10:14:24

results matching ""

    No results matching ""