ApiDisplayMode

ApiDisplayMode

Api 模型显示风格方法类(材质风格,白模风格,线框风格,纯色风格)

Constructor

new ApiDisplayMode(options)

Parameters:
Name Type Description
options object

配置参数

Classes

ApiDisplayMode

Members

(static) 显示风格设置

Example
renderViewer.ws.api.displayMode.setDisplayMode({"style":"line","line":{"enable":true,"width":2.63,"color_r":0,"color_g":0,"color_b":0}})