new Snow(map [, opt])
雪景特效
Parameters:
| Name | Type | Argument | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
map |
Glodon.CIMCube | CIMCube实例 | |||||||||||||||||||||
opt |
Object |
<optional> |
雪景特效参数
Properties
|
Methods
-
dispose()
-
释放资源
-
hide()
-
隐藏
-
show()
-
显示
-
updateOption(opt)
-
更新选项
Parameters:
Name Type Description optObject 雪景特效参数 Properties
Name Type Description darknessNumber 阴天,天空暗度,0.1~0.9;默认0.5 densityString 雪的密度;雪停:none;小雪:small;中雪:normal;大雪:great; thicknessNumber 雪的厚度,0~1;