大约有 336 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0035 秒)
Laya_社区(183) Laya2.0_文档(42) Laya3.0_api(25) Laya3.0_文档(21) laya_api(18) Laya_示例(17) Laya2.0_api(16) Laya2.0_示例(14)
...calScaleZ owner position rotation rotationEuler scale worldMatrix worldNeedUpdate Methods event getForward getFrontFaceValue getRight getUp getWorldLossyScale globalToLocal hasListener localToGlobal lookAt objLookat off offAll offAllCaller on once rotate rotationTo setWorldLossyScale toDir toLocalNo...
来源: Laya3.0_api 发布时间: 20231115
鼠标事件 mouseout 异常触发问题 layaAir2.1.0,鼠标mouse_up事件会自动触发mouse_out事件 导致没办法正确判断鼠标cancel事件 mouse_out事件不是作为鼠标cancel的标志吗? 或者谁有鼠标cancel判断更好的方法? 2019-06-28 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20190628
...{console.log("mouseout")}); Laya.stage.on(Laya.Event.MOUSE_UP, this, function(){console.log("mouseup")}); mouseup能正常监听到,stage上加的MOUSE_OUT事件,当鼠标移出屏幕时,在浏览器不开device模式下能正常响应,手机上或者浏览器打开de...
来源: Laya_社区 发布时间: 20200407
...rties elements ForwardLH ForwardRH NAN NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Accessors x y z Methods clone cloneTo fromArray setValue toDefault Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract tr...
来源: Laya3.0_api 发布时间: 20231102
...t; Laya.stage.size(Browser.width,Browser.height); } protected function ShuPing(): void { trace("设置竖屏" ); var layaCanvas:Object = Browser.getElementById("layaCanvas"); layaCanvas.width = Browser.width; layaCanvas.height = Browser.height; Laya.stage.size(Browser.width,Browser.height); } prot...
来源: Laya_社区 发布时间: 20190520
...创建两个sprite,都绑定以下事件 MOUSE_DOWN,MOUSE_MOVE,MOUSE_UP,MOUSE_OUT当将先创建的sprite拖拽到后创建的sprite上的时候(鼠标进入第二个sprite的范围的时候)会直接执行MOUSE_OUT事件,但是后创建的sprite拖拽正常,不会出现这个问题...
来源: Laya_社区 发布时间: 20200714
...ya.stage.on(Event.MOUSE_MOVE, this, scrollText); Laya.stage.on(Event.MOUSE_UP, this, finishScrollText); } /* 停止滚动文本 */ function finishScrollText(e) { Laya.stage.off(Event.MOUSE_MOVE, this, scrollText); Laya.stage.off(Event.MOUSE_UP, this, finishScrollText); } /* 鼠标滚动文本 */ fun...
来源: Laya2.0_文档 发布时间: 20210714
...件响应得到一个触摸点后 如何在Event.MOUSE_MOVE和Event.MOUSE_UP事件中区分是先前那个触摸点,这点如果不能区分的话,就分不清楚是摇杆的触摸点还是其他按钮的触摸点 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20170307
...{ // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); setup(); } private function setup():void { var t1:Text = createText(); //设置不进行任何裁剪 t1.overflow = Text.VISIBLE; t1.pos(10, 10); var t2:Text= createText(); //设置不显示文本域外的字符像素 t2.overflow...
来源: Laya2.0_文档 发布时间: 20210715
...: 在rec文件中没有对应的路径啊! 在bin目录下,不存在up、right 等目录,打包图集的rec也存在这样的路径,然后还报这个路径重复加载了! 附件 : --> rec.rar 2017-06-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170622