大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0166 秒)
...份规矩,老老实实,勤勤恳恳用utf8编码的,长这个样子 <layout> <clip id="1" res="res/logo.png" anchorX="0.5" anchorY="0.5" clipX="4" clipY="4" interval="100"/> <clip id="2" res="res/light1.png" anchorX="0.5" anchorY="0.5" clipX="4" clipY="4" in...
来源: Laya_社区 发布时间: 20170918
... Function.showDisBound (laya.debugtool.js:3365) at dhtmlXTreeObject.<anonymous> (laya.debugtool.js:4840) at dhtmlXTreeObject.e.callEvent (eval at init (laya.debugtool.js:4050), <anonymous>:1:9630) at dhtmlXTreeObject._selectItem (eval at init (laya.debugtool.js:4050), &...
来源: Laya_社区 发布时间: 20200420
...yaSample,在我删除这个类的时候,index.html中启动类依然是 <!--启动类添加到这里--> <!--jsfile--Main--> <script src="js/LayaSample.js"></script> <!--jsfile--Main--> 这个要怎么改成我新建的类呢 附件 : --> 2018-03-21 添加评论 免...
来源: Laya_社区 发布时间: 20180321
按钮点击的位置发生偏移 <div style="padding: 50px 0px;height:100vh"> <div style="position: relative"> <div id="mylayaCanvas" ></div> </div> </div>如代码所示 指定layacanvas外包两层div 样式如代码这样设置后发生点击的范围跟实...
来源: Laya_社区 发布时间: 20200825
...有下划线 var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span style='font-weight:bold;" + "font:24px Arial' " + "color='red' " + "href='www.baidu.com'>" + "LayaBox</span><span>欢迎你的加入</span>" Laya.stage.addChild(div); Ts HTMLDivElement href标签...
来源: Laya_社区 发布时间: 20180611
...fari中显示一半 苹果电脑下safair显示一半,跟tranform有关 <canvas id="layaCanvas" width="760" height="650" style="position: absolute; left: 0px; top: 110px; background-color: rgb(255, 237, 118); transform-origin: 0px 0px 0px; transform: matrix(0.5, 0, 0, 0.5, 311, 0);"></can...
来源: Laya_社区 发布时间: 20190401
...estObject:*):void 克隆。 BoundSphere createfromPoints(points:Vector.<Vector3>, out:BoundSphere):void[static] 从顶点队列生成包围球。 BoundSphere createFromSubPoints(points:Vector.<Vector3>, start:int, count:int, out:BoundSphere):void[static] 从顶点的子队列生成...
来源: Laya2.0_api 发布时间: 20190513
HTMLDivElement <img>标签width、height在手机端无效 请问一下 我用HTMLDivElement,设置"<img src='"+iconImg+"' width='45' height='45'></img>"标签设置图片的width、height,在编辑器或网页上显示正常,但是打包android apk后安装游戏,就显...
来源: Laya_社区 发布时间: 20190112
...6:1、\n无换行效果,但不报错:div.innerHtml = '一\n二' 2、<br>或<br/>均无效,且必定报错。为:laya.html.js映射出的HtmlElement.ts的90行。 var _style: HTMLStyle = (<HTMLStyle>o._style); 当包含<br>这个标签,里面并不会包含_style...
来源: Laya_社区 发布时间: 20230413
...识别,引擎API的组其实是2的N次幂值。 例如图2-1中的Default是2的0次幂,也就是1,而自己添加的npc组是2的2次幂,实际值是4,以此类推,分组ID为3的碰撞组实际值为8。 所以,如果我们不通过IDE来设置碰撞分组的话,引擎API的碰撞...
来源: Laya3.0_文档 发布时间: 20251010