• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,666 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)

2051. 如何对3D精灵进行鼠标检测(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 53%]

... ```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

2052. 如何对3D精灵进行鼠标检测(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 53%]

... ```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

2053. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 53%]

... 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

2054. laya.ui.ComboBox_API3.0 [ 53%]

...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

2055. laya.media.Sound [ 53%]

...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

2056. list有办法获取到全部cell吗? [ 53%]

...数组能console出,那个list中的数据也存在,但没渲染出。 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 如何获取图片每个像素点的RGB? 问题状态 最新活动: 2018-08-09 17:11 浏览: 1275 关注: 3 人 189*****974 • 201...

来源: Laya_社区 发布时间: 20180809

2057. Mac layaAirIDE快捷键问题 [ 53%]

...题 我这样载入场景问题出现在哪呢?? graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2016-05-17 21:46 浏览: 4021 关注: 3 人

来源: Laya_社区 发布时间: 20160415

2058. ani动画问题,cannot read property '_tf' of null [ 53%]

... this.ani1.play(0, false);//出错了             this.ani1.on(Laya.Event.COMPLETE, this, () => {                 this.removeSelf();             });         } 这样播放动画有时候会报错,如附件图,但有时候又不报错 附件 : --> 2017-06-14 添加评...

来源: Laya_社区 发布时间: 20170614

2059. [LayaAir3]drawToRenderTexture2D缺少isDrawRenderRect参数 [ 53%]

...往对话框中传一个参数吗 对象池对类怎么传参数 Dispather.event参数传的是数组,为什么收到的参数却是个int类型? 问题状态 最新活动: 2024-10-23 19:45 浏览: 1837 关注: 2 人

来源: Laya_社区 发布时间: 20241022

2060. addchild后,怎么去引用? [ 53%]

...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