大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
layaair2-cmd compile 报错 版本如下 E:\test2\test2> layaair2-cmd -v 1.6.15 PS E:\test2\test2> gulp -v CLI version: 2.3.0 Local version: Unknown PS E:\test2\test2> npm -v 7.19.0 附件 : --> 2021-07-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20210701
...UnitX UnitY UnitZ ZERO Methods clone cloneTo forNativeElement fromArray length lengthSquared setValue toArray writeTo Clamp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new Vector4(x?: number, y?: number, z?: number, ...
来源: Laya3.0_api 发布时间: 20231102
...rror: this.nativeInput.setBgColor is not a function at Input.<anonymous> (http://stand.alone.version/lib ... 712:21) at TextInput.<anonymous> (http://stand.alone.version/libs/laya.ui.js:2751:19) at Function.SceneUtils.setCompValue (http://stand.alone.version/lib ... 978:14) at Function.S...
来源: Laya_社区 发布时间: 20190227
...ew laya.html.dom.HTMLDivElement(); testHTMLDivElement.innerHTML = "<br/><span> 我的第一行要换行</span>"; laya.stage.addChild(testHTMLDivElement); } 运行时报错(如附件截图) 另在编辑器中直接添加html控件后也报错 附件 : --> 2018-10-11 添加评...
来源: Laya_社区 发布时间: 20181011
...vscrollBar的min,max,value属性,不能用,求解 (<Laya.TextArea>this.view["textArea_world"]).vScrollBar.min = 1; (<Laya.TextArea>this.view["textArea_world"]).vScrollBar.max = 10; (<Laya.TextArea>this.view["textArea_world"]).vScrollBar.value = 10 附件 : --> 2017-10-20 添...
来源: Laya_社区 发布时间: 20171020
...不同环境中的运行效果。LayaAir-IDE提供了四种模式(版本>=3.2),如图2-1所示,分别是IDE内预览,浏览器预览,移动端预览,Windows端预览。 (图2-1) 2.1 IDE内预览与调试 IDE内置了浏览器预览环境,点击IDE内后,直接在IDE内预览...
来源: Laya3.0_文档 发布时间: 20251011
...加启动参数可以解决跨域问题。 在chrome浏览器快捷方式->右击打开属性->快捷方式一栏->目标末尾添加 --allow-file-access-from-files 打开快捷方式,将转换后自动生成的html文件拖拽至chrome浏览器即可正常显示。 2018-01-07 0 0 分...
来源: Laya_社区 发布时间: 20180107
...du.com"; goToNewWindow(url); } 这是index.html的js方法 <script> function goToNewWindow(payurl) { var a = $("<a href='"+payurl+"' target='_blank'>click</a>").get(0); console.log("aaa",a); var e = document.createEvent('MouseEvents'); e.initEvent...
来源: Laya_社区 发布时间: 20180321
...nvas width="1024" height="512" style="left: -10000px; position: absolute;"></canvas> 附件 : --> 2022-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 shiyang 赞同来自: 渲染文字用的 2022-07...
来源: Laya_社区 发布时间: 20220720
...Limit = 200; dragRegion = new Rectangle(Laya.stage.width - dragWidthLimit >> 1, Laya.stage.height - dragHeightLimit >> 1, dragWidthLimit, dragHeightLimit); //画出拖动限制区域 Laya.stage.graphics.drawRect( dragRegion.x, dragRegion.y, dragRegion.width, dragRegion.height, null, "#FF...
来源: Laya_社区 发布时间: 20180627