大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0084 秒)
...间中一点 OrientedBoundBox containsPoints(points:Vector.<Vector3>):int 该包围盒是否包含空间中多点 OrientedBoundBox containsSphere(sphere:BoundSphere, ignoreScale:Boolean = false):int 该包围盒是否包含空间中一包围球 OrientedBoundBox createByBoundBox(box:Bo...
来源: Laya2.0_api 发布时间: 20190513
...001. 简单写法如在init中: SoundManager.playSound("XXX", this, ()=>{ console.log('触发1'); Laya.timer.scale = 0; SoundManager.playSound("XXX", this, ()=>{ console.log('触发2'); ...
来源: Laya_社区 发布时间: 20201107
...utton.as中处理下 /** * 对象的 <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件侦听处理函数。 * @param e Event 对象。 */ protected function onM...
来源: Laya_社区 发布时间: 20170926
...码 class List extends Box implements IRender, IItem { /**改变 <code>List</code> 的选择项时执行的处理器,(默认返回参数: 项索引(index:number))。*/ selectHandler: Handler; /**单元格渲染处理器(默认返回参数cell:Box,index:number)。*/ renderHandler:...
来源: Laya_社区 发布时间: 20180801
...内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 示例 ->2d-> 缓动->缓动函数演示里有, https://layaair.ldc.layabox.co ... sDemo 2018-01-22 0 0 分享 微博 QZONE 微信 182*****369 赞同来自: 如果你想停止缓动,就不能直接Tween.to调用,需要new ...
来源: Laya_社区 发布时间: 20180122
勾选调试面板运行报错 编辑模式下>项目设置>预览设置>勾选调试模式,显示一个调试面板,F12,运行,控制台报错。demo已上传。 附件 : --> School_SecMiddle_Laya2.rar 2019-07-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20190730
...;input type="file" id="myfile" value="" name="myfile" multiple="multiple"/> 这种功能在laya里面可以使用吗? 如果调用这个方法在原生js里面是可以弹出窗口的。var ne = document.createEvent('MouseEvents'); ne.initEvent('click', true, true); document.getElementById('...
来源: Laya_社区 发布时间: 20180723
...ize = function () { var u = navigator.userAgent; if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) { isIos=false; }else if(!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)){ isIos=true; } var windowWidth=true; if(window.document.body.clientWidth>document.body.clientHeight){ windowWidth=fa...
来源: Laya_社区 发布时间: 20190313
...javascript" src="http://int.dpool.sina.com.cn/i ... ot%3B charset="gb2312"></script> <script type="text/javascript"> window.onload = function (){ ipmsg(); } function ipmsg() { var...
来源: Laya_社区 发布时间: 20170120
... = "~/ui/icons/global.svg"; //这里可以换显示图标 btn.onClick(() => { //false 为启动场景,true为当前场景。 //editor 为编辑器内运行模式,browser 为浏览器运行模式 SceneEditor.playControls.play(false, "editor"); console.log("播放按钮点击"); }); } } } 直...
来源: Laya3.0_文档 发布时间: 20251216