大约有 13 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0027 秒)
...**/ CustomTerrainMaterial.__init__(); .... } private _setDetailNum(value){ switch (value) { case 1: this._shaderValues.addDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM1); this._shaderValues.removeDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM2); this._shaderValues.removeDefine(CustomTer...
来源: Laya2.0_文档 发布时间: 20210715
...**/ CustomTerrainMaterial.__init__(); .... } private _setDetailNum(value){ switch (value) { case 1: this._shaderValues.addDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM1); this._shaderValues.removeDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM2); this._shaderValues.removeDefine(CustomTer...
来源: Laya2.0_文档 发布时间: 20210714
...mTerrainMaterial.__init__(); .... } private function _setDetailNum(value){ switch (value) { case 1: this._shaderValues.addDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM1); this._shaderValues.removeDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM2); this._shaderValues.removeDefine(CustomTer...
来源: Laya2.0_文档 发布时间: 20210714
...ayaAir3D--Help--Tutorial中查看。** 在菜单栏--LayaAir3D--Shortcuts--Switch to LayaAir3D shader,能将项目内所有材质改为LayaAir3D的默认材质(BlinnPhong)。 在导出完成后,我们把文件复制到简单示例的bin文件夹下。 Tips:本章节中只介绍简单加载...
来源: Laya2.0_文档 发布时间: 20210715
...ayaAir3D--Help--Tutorial中查看。** 在菜单栏--LayaAir3D--Shortcuts--Switch to LayaAir3D shader,能将项目内所有材质改为LayaAir3D的默认材质(BlinnPhong)。 在导出完成后,我们把文件复制到简单示例的bin文件夹下。 Tips:本章节中只介绍简单加载...
来源: Laya2.0_文档 发布时间: 20210714
...ayaAir3D--Help--Tutorial中查看。** 在菜单栏--LayaAir3D--Shortcuts--Switch to LayaAir3D shader,能将项目内所有材质改为LayaAir3D的默认材质(BlinnPhong)。 在导出完成后,我们把文件复制到简单示例的bin文件夹下。 Tips:本章节中只介绍简单加载...
来源: Laya2.0_文档 发布时间: 20210715
... ```typescript function(e:Event) { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.gar...
来源: Laya2.0_文档 发布时间: 20210715
...on)) ```typescript function(e:Event):void { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不为空表示场景已加载完成 garbageCollection(); b...
来源: Laya2.0_文档 发布时间: 20210715
...cript function(e:Laya.Event):void { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.ga...
来源: Laya2.0_文档 发布时间: 20210715
...对象 */ function updateColor(txt){ var c = Math.floor(Math.random()*3); switch (c) { case 0: txt.color = "#eee000"; break; case 1: txt.color = "#ffffff"; break; case 2: txt.color = "#ff0000"; break; default: txt.color = "#eee000"; break; } } /** * 缓动完成后的回调方法 * txt 缓动对象 ...
来源: Laya2.0_文档 发布时间: 20210715