大约有 439 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya_社区(59) Laya2.0_示例(8) Laya_示例(7) Laya3.0_文档(6) Laya2.0_文档(6)
...3beta,然后在HTMLImageElement的reset方法里加了一行:this._tex.off(Laya.Event.READY, this, this.onloaded); 其他没区别 133*****831 • 2019-10-29 14:10 嗯,升级2.3.0版本,Unity3D也要升级2018.4了,看样子无解了,直接升级了
来源: Laya_社区 发布时间: 20191028
...ishScrollText); } /* 停止滚动文本 */ finishScrollText() { Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Laya.Event.MOUSE_UP, this, this.finishScrollText); } /* 鼠标滚动文本 */ scrollText() { let nowX = this.txt.mouseX; let nowY = this.txt.mouseY; this.txt.s...
来源: Laya3.0_文档 发布时间: 20251010
...分享】通过命令行调用compile.js编译,不使用laya-cmd @echo off chcp 65001>nul ::LayaAirIDE目录,根据自己的目录修改 set IDE_DIR=%~dp0..\..\LayaAirIDE\ set IDE_APP_DIR=%IDE_DIR%resources\app\ set gulpjs=%IDE_APP_DIR%node_modules\gulp\bin\gulp.js set compilejs=%~dp0.laya\...
来源: Laya_社区 发布时间: 20200325
...) this.on(Laya.Event.PROGRESS, this, this.onProgress) } onDestroy() { this.off(Laya.Event.PROGRESS, this, this.onProgress) } onProgress(val) { // 渲染界面效果 this.text.text += `\r\n${(val * 100).toFixed(2)}%` } } page2Runtime.jsexport default class page2 extends Laya.Scene { constructor() { s...
来源: Laya_社区 发布时间: 20181124
...htmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取...
来源: Laya2.0_api 发布时间: 20190513
...ightmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷...
来源: Laya2.0_api 发布时间: 20190513
...oyed detailAlbedoTexture detailNormalScale detailNormalTexture detailTilingOffset emissionColor emissionIntensity emissionTexture enableEmission enableVertexColor gpuMemory id materialRenderMode metallic metallicGlossTexture normalTexture normalTextureScale obsolute occlusionTexture occlusionTexture...
来源: Laya3.0_api 发布时间: 20231115
...ightmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender localBounds : Bounds 获取局部边界。 SkinnedMeshRenderer material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象...
来源: Laya2.0_api 发布时间: 20190513
...ightmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷...
来源: laya_api 发布时间: 20170929
...e"); _htmlCanvas.clear(); _htmlCanvas.destroy(); _tex.destroy(); _colorSpr.off(Event.MOUSE_MOVE, this, __moveHandler); } } private function getPixel(tex:Texture):int { var pixelCount:int = 0; /************getPixels内存泄漏*************/ var arr:Array = tex.getPixels(0, 0, tex.width, tex.height);...
来源: Laya_社区 发布时间: 20180302