大约有 435 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0048 秒)
Laya_社区(273) Laya2.0_文档(120) Laya3.0_文档(26) Laya_示例(7) Laya2.0_示例(5) Laya3.0_api(2) Laya2.0_api(2)
...的摩擦系数所以会慢慢停止。 示例效果展示: 
来源: Laya2.0_文档 发布时间: 20210714
...th("png")) { return "application/binarary" ; } else if (fileName.endsWith("jpg")) { return "image/jpeg" ; } else if (fileName.endsWith("js")) { return "application/x-javascript" ; } else if (fileName.endsWith("swf")) { return "application/x-shockwave-flash" ; } return "*/*" ; } } 参考链接:andr...
来源: Laya_社区 发布时间: 20160104
...的摩擦系数所以会慢慢停止。 示例效果展示: 
来源: Laya2.0_文档 发布时间: 20210715
...状。 玩家可以自己调整半径和高度调整胶囊体。 (图4) (图5) ```typescript var raidius:int = Math.random() * 0.2 + 0.2; var height:int = Math.random() * 0.5 + 0.8; //创建胶囊MeshSprite3D var capsule:MeshSprite3D = scene.addChild(new MeshSprite3D(Prim...
来源: Laya2.0_文档 发布时间: 20210714
...形成,类似盒子拆开平铺。例如下图的纹理,  球形网格的天空则采用1张纹理贴图形成,该技术方案相较于天空盒,可以制作出完全相同的视觉效果,但球形网格的顶点要多于天空盒,性能的消耗自然要大一些。如...
来源: Laya2.0_文档 发布时间: 20210714
...状。 玩家可以自己调整半径和高度调整胶囊体。 (图4) (图5) ```typescript var raidius:number = Math.random() * 0.2 + 0.2; var height:number = Math.random() * 0.5 + 0.8; //创建胶囊MeshSprite3D var capsule = scene.addChild(new Laya.MeshSprite3D(Laya.P...
来源: Laya2.0_文档 发布时间: 20210714
...勾选,则即使图片使用了压缩格式,仍然把源文件(png/jpg)打包。目的是遇到不支持压缩格式的系统时,fallback到源文件。 2.2 发布后的小游戏目录介绍 点击版本发布,由于在发布前会检查rpk发布环境(用于生成rpk包),如果没...
来源: Laya3.0_文档 发布时间: 20251010
...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
...勾选,则即使图片使用了压缩格式,仍然把源文件(png/jpg)打包。目的是遇到不支持压缩格式的系统时,fallback到源文件。 2.2 发布后的小游戏目录介绍 点击版本发布,由于在发布前会检查rpk发布环境(用于生成rpk包),如果没...
来源: Laya3.0_文档 发布时间: 20251010
...y.png",type:Laya.Loader.IMAGE}, {url:"wxlocal/bg2.jpg",type:Laya.Loader.IMAGE} ]; Laya.loader.load(resArr, Laya.Handler.create(null, onLoaded)); function onLoaded(): void { Laya.URL.basePath ="https://xxx.com/"; //实例UI界面 var Main: MenuPage...
来源: Laya_社区 发布时间: 20191122