大约有 730 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0058 秒)
Laya_社区(629) Laya2.0_文档(43) Laya3.0_文档(31) Laya2.0_api(12) laya_api(7) Laya3.0_api(4) Laya2.0_示例(2) Laya_示例(2)
...涉及到链接类,需要将你的链接类提取出来放置到项目的src目录下。 参考:private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventLis...
来源: Laya_社区 发布时间: 20151216
...terial blendDst : int 获取混合目标。 PBRStandardMaterial blendSrc : int 获取混合源。 PBRStandardMaterial cull : int 获取剔除方式。 PBRStandardMaterial depthTest : int 获取深度测试方式。 PBRStandardMaterial depthWrite : Boolean 获取是否写入深度。 P...
来源: Laya2.0_api 发布时间: 20190513
...UI 在IDE界面按`F12`发布制作遮罩效果的UI页面,会在`src/ui`目录下生成UI类,如图9所示。  (图9) ### 4.2 使用IDE生成的类与图集,实现遮罩效果 按F9 在引擎预览设置启动场景为maskDemoUI, 主类...
来源: Laya2.0_文档 发布时间: 20210715
... property 'rotate' of undefined at file:///E:/LayaWorkspace/javaScriptLaya/src/doShow3D.js:24:18 bing8310124 • 2018-01-04 17:21 @Laya_Aaron:我研究下,怎么直接oncomplete里return,谢谢了 bing8310124 • 2018-01-04 17:08 @Laya_Aaron 老哥是不是不能这样用啊 Laya_Aaron • 2018-...
来源: Laya_社区 发布时间: 20180104
..._webframe = Browser.document.createElement("img"); _webframe.setAttribute('src', base64String); //_webframe.setAttribute('frameborder', 0); _webframe.setAttribute('width', "100%"); _webframe.setAttribute('height', "100%"); //_webframe.setAttribute('align', "middle"); _webframe.setAttribute('scrollin...
来源: Laya_社区 发布时间: 20180103
...: 1281 关注: 3 人 xiangfenr • 2017-11-16 15:10 横竖屏都设置了, src下的文件也都copy到了和index.html同级的文件夹下! 可是还是弹窗提示加载游戏失败 xiangfenr • 2017-11-16 15:14 写好的项目是需要先发布,再构建吗? Monica • 2017-11-16 15:35 是的...
来源: Laya_社区 发布时间: 20171116
...UI 在IDE界面按`F12`发布制作遮罩效果的UI页面,会在`src/ui`目录下生成UI类,如图9所示。  (图9) ### 4.2 使用IDE生成的类与图集,实现遮罩效果 编辑模式下按F9 设置引擎预览 ,启动场景为maskDemoUI  2.加载模式 发布后bin目录下会有一个ui.json文件里面保存着场景数据 加载模式第一步就是加载ui.json赋值到Laya.View.uiMap 接下来就是创建场...
来源: Laya_社区 发布时间: 20181028
...localfile)); //console.log('md5='+md5); let zip = new ZipFile(); if(zip.setSrc(localfile)){ zip.forEach((id,name,dir,sz)=>{ if(!dir){ let buf = zip.readFile(id); //console.log("update "+name); let fid = window.appcache.hashstr('/'+name); //TODO 测试 if(window.appcache.updateFile(fid,0,buf,false...
来源: Laya_社区 发布时间: 20180108
...导出动态链接库(.dll)后,可以将该文件放置到assets或src的任意目录,并且勾选“导入为插件”,如图3-1所示。 (图3-1) 然后在IDE中,创建一个脚本文件,命名为TestLib.ts,添加如下代码: interface ITestLib { nativeAdd(a: number, b: numb...
来源: Laya3.0_文档 发布时间: 20250214