new FluidSpecular(options){Object}
engineExtensions/simulation/fluid/FluidSpecular.js, line 1
流体高光对象
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
实例化流体高光对象所需的参数
|
Returns:
| Type | Description |
|---|---|
| Object | 返回根据参数实例化的流体高光对象 |
Example
// ES5引入方式
const { FluidSpecular } = zondy
// ES6引入方式
import { FluidSpecular } from "@mapgis/webclient-cesium-plugin"
// 创建流体高光对象
const FluidSpecular = new FluidSpecular({
show: true,
brightness: 0.5,
size: 30,
length: 50,
})
Members
-
brightnessNumber
-
高光的亮度
-
lengthNumber
-
高光的长度
-
showBoolean
-
高光的显隐
-
sizeNumber
-
高光的大小