大约有 746 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
Laya_社区(639) Laya2.0_文档(43) Laya3.0_文档(37) Laya2.0_api(12) laya_api(7) Laya3.0_api(4) Laya2.0_示例(2) Laya_示例(2)
...新没有同步到bin目录去 版本:1.7.12 今天改了2个ts,然后src下的js有改动,而bin下的没有,后来重启了IDE,再切换了一下项目再切回来,js就更新了,但是ui那个不行:layaUI.max.all.js src下是新的,但是bin没有同步到最新的,请问怎...
来源: Laya_社区 发布时间: 20171208
...bute("type","text/javascript"); fileref.setAttribute("src", filename); trace(fileref); if (typeof fileref!="undefined")Browser.document.getElementsByTagName("head")[0].appendChild(fileref); } 上面是加载js的方法,...
来源: Laya_社区 发布时间: 20170321
... BaseTexture source : *[read-only] 获取纹理资源。 BaseTexture src : String[read-only] 获取文件路径全名。 DataTexture2D width : int[read-only] 获取宽度。 BaseTexturePublic Methods MethodDefined By DataTexture2D() 创建一个 Texture2D 实例。 DataTexture2D create(...
来源: laya_api 发布时间: 20170929
HTMLDivElement img 标签问题 做聊天图文混排 <img src='image/chat/face15.png' width='30px' height='30px'></img> 原图为81*81,第一次发,显示是81*81,第2次发就是30*30 图片非要预加载一次吗 附件 : --> 2017-03-29 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20170329
...adingView){ nPercent+=33; window.loadingView.loading(nPercent); } } image1.src = "a.png"; var image2 = document.createElement('img'); image2.onload=function() { if(window.loadingView){ nPercent+=33; window.loadingView.loading(nPercent); } } image2.src = "b.png"; var image3 = document.createElement('...
来源: Laya2.0_文档 发布时间: 20210715
...们之间的依赖关系和引用顺序<script type="text/javascript" src="libs/pomelo/index.js"></script> <script type="text/javascript" src="libs/pomelo/protocol.js"></script> <script type="text/javascript" src="libs/pomelo/protobuf.js"></script> <script type...
来源: Laya_社区 发布时间: 20180109
... module.def 分包,例如: ``` module:"a" path:"../../libs/subpackageA/src" module:"b" path:"../../libs/subpackageB/src" ``` 在外部包引用这两个分包里的代码时,会编译生成以下引用代码: ```javascript //编译生成 var TestA=Laya.TestA,TestB=Laya.TestB,TestGame=game.Test...
来源: Laya2.0_文档 发布时间: 20210714
... Laya.RenderState.BLEND_ENABLE_ALL; this.pass.renderState.srcBlend = Laya.RenderState.BLENDPARAM_SRC_ALPHA; this.pass.renderState.dstBlend = Laya.RenderState.BLENDPARAM_ONE_MINUS_SRC_ALPHA; this.renderQueue = Laya.Material.RENDERQUEUE_TRANSPAREN...
来源: Laya_社区 发布时间: 20200506
...无效呢 var tar = new Laya.Vector3(); var dir = new Laya.Vector3(); var src = model.transform.position; spotLight.transform.position = camera.transform.position; Laya.Vector3.subtract(src, camera.transform.position,tar); Laya.Vector3.normalize(tar, dir); spotLight.direction = dir; 目的是让聚...
来源: Laya_社区 发布时间: 20171105
...无效呢 var tar = new Laya.Vector3(); var dir = new Laya.Vector3(); var src = model.transform.position; spotLight.transform.position = camera.transform.position; Laya.Vector3.subtract(src, camera.transform.position,tar); Laya.Vector3.normalize(tar, dir); spotLight.direction = dir; 目的是让聚...
来源: Laya_社区 发布时间: 20171105