大约有 2,666 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)
Laya_社区(2033) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(50)
... ```typescript { //在舞台上添加鼠标事件监听 Laya.stage.on(Laya.Event.MOUSE_DOWN,this, this.onMouseDown); } //点击触发事件 onMouseDown() { //记录点击到舞台上的点 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //产生射...
来源: Laya2.0_文档 发布时间: 20210715
... ```typescript { //在舞台上添加鼠标事件监听 Laya.stage.on(Laya.Event.MOUSE_DOWN,this, this.onMouseDown); } //点击触发事件 onMouseDown() { //记录点击到舞台上的点 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //产生射...
来源: Laya2.0_文档 发布时间: 20210715
... 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 toLocalNormal translate ...
来源: Laya3.0_api 发布时间: 20231115
...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...
来源: Laya3.0_api 发布时间: 20231115
...rties | Methods Packagelaya.mediaClasspublic class SoundInheritanceSound EventDispatcher Object Sound 类是用来播放控制声音的类。 Public Properties PropertyDefined By duration : Number[read-only] 获取总时间。 SoundPublic Methods Hide Inherited Public Methods Show Inherited Pu...
来源: laya_api 发布时间: 20170929
...数组能console出,那个list中的数据也存在,但没渲染出。 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 如何获取图片每个像素点的RGB? 问题状态 最新活动: 2018-08-09 17:11 浏览: 1275 关注: 3 人 189*****974 • 201...
来源: Laya_社区 发布时间: 20180809
...题 我这样载入场景问题出现在哪呢?? graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2016-05-17 21:46 浏览: 4021 关注: 3 人
来源: Laya_社区 发布时间: 20160415
... this.ani1.play(0, false);//出错了 this.ani1.on(Laya.Event.COMPLETE, this, () => { this.removeSelf(); }); } 这样播放动画有时候会报错,如附件图,但有时候又不报错 附件 : --> 2017-06-14 添加评...
来源: Laya_社区 发布时间: 20170614
...往对话框中传一个参数吗 对象池对类怎么传参数 Dispather.event参数传的是数组,为什么收到的参数却是个int类型? 问题状态 最新活动: 2024-10-23 19:45 浏览: 1837 关注: 2 人
来源: Laya_社区 发布时间: 20241022
...lose_1.ani"); lose1.x=150; lose1.y=400; lose1.size(100,300); lose1.on(Laya.Event.CLICK,this.listP,this.play1); lose1.name="lose1"; this.listP.addChild(lose1); play1():void { console.log("111"); this.lose1.play(); //this._childs[5].play(); } 2017-10-25 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20171025