大约有 247 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0048 秒)
Laya_社区(114) Laya2.0_文档(96) Laya3.0_文档(25) Laya_示例(5) Laya2.0_示例(4) Laya3.0_api(2) Laya2.0_api(1)
... //添加地图层 m_MapImgUrl = "Res/Map/map.jpg"; m_mapLayer = new Sprite(); Laya.stage.addChild(m_mapLayer); //添加角色对象 m_Role = new Animation(); Laya.st...
来源: Laya_社区 发布时间: 20170921
... //加载纹理资源 Laya.Texture2D.load("res/wood.jpg", Laya.Handler.create(this, (tex: Laya.Texture2D) => { this.mat1.albedoTexture = tex; //添加一个球体 Laya.timer.once(100, this, ()...
来源: Laya_社区 发布时间: 20201120
...r.clearTextureRes("res/atlas/comp.atlas"); Loader.clearTextureRes("hall/bg.jpg"); clearUnLoaded()method public function clearUnLoaded():void 清理当前未完成的加载,所有未加载的内容全部停止加载。create()method public function create(url:*, complete:Handler = null, progres...
来源: Laya2.0_api 发布时间: 20190513
...ial=new StandardMaterial(); floorMat.diffuseTexture=Texture2D.load("res/bw.jpg"); floor.meshRender.material=floorMat; //添加天空盒 camera.clearFlag=BaseCamera.CLEARFLAG_SKY; var sky:SkyBox=new SkyBox(); sky.textureCube=TextureCube.load("res/skybox/skybox.ltc"); camera.sky=sky; initCannon(); } p...
来源: Laya_社区 发布时间: 20170331
...我们写出更多优质文档的动力。 
来源: Laya2.0_文档 发布时间: 20210715
...game.laya I/LayaBox﹕ Download [ ]:http://192.168.167.103:8901/bi ... g.jpg 04-11 11:17:11.090 8591-8658/com.mygame.laya E/LayaBox﹕ download image file error! http://192.168.167.103:8901/bi ... g.png 04-11 11:17:11.092 8591-8658/com.mygame.laya W/LayaBox﹕ [warn]Retry to load: 04-11 ...
来源: Laya_社区 发布时间: 20170411
...我们写出更多优质文档的动力。 
来源: Laya2.0_文档 发布时间: 20210715
...勾选,则即使图片使用了压缩格式,仍然把源文件(png/jpg)打包。目的是遇到不支持压缩格式的系统时,fallback到源文件。 2.2 发布后的小游戏目录介绍 发布后的目录结构如图2-2所示 : (图2-2) js目录 与 libs目录: 项目代码和...
来源: Laya3.0_文档 发布时间: 20251010
...r.clearTextureRes("res/atlas/comp.atlas"); Loader.clearTextureRes("hall/bg.jpg"); Returns void clearUnLoaded clearUnLoaded(): void Defined in laya/net/LoaderManager.ts:451 清理当前未完成的加载,所有未加载的内容全部停止加载。 Returns void create create(url: string | (string ...
来源: Laya3.0_api 发布时间: 20231102
...勾选,则即使图片使用了压缩格式,仍然把源文件(png/jpg)打包。目的是遇到不支持压缩格式的系统时,fallback到源文件。 2.2 发布后的小游戏目录介绍 发布后的目录结构如图2-2所示 : (图2-2) js目录 与 libs目录: 项目代码和...
来源: Laya3.0_文档 发布时间: 20251010