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

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

821. laya.utils.Stat_API3.0 [ 47%]

...oopCount loopCount: number = 0 Defined in laya/utils/Stat.ts:104 主舞台 Stage 渲染次数计数。 Static memoryShow memoryShow: Array<StatUIParams> = [Stat.GPUMemory, Stat.TextureMemeory, Stat.RenderTextureMemory, Stat.BufferMemory] Defined in laya/utils/Stat.ts:65 Static renderShow rende...

来源: Laya3.0_api 发布时间: 20231115

822. laya.events.Event [ 46%]

... 键是处于活动状态 (true) 还是非活动状态 (false)。 Event  stageX : Number[read-only] 鼠标在 Stage 上的 X 轴坐标Event  stageY : Number[read-only] 鼠标在 Stage 上的 Y 轴坐标Event  target : Sprite 事件目标触发对象。Event  touches : Array[read-only] 触摸...

来源: Laya2.0_api 发布时间: 20190513

823. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 46%]

...sUtils.regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报错 Main.js:61 Uncaught ReferenceError: ui is not defined 之前有人提过这个问题,但是一直都没有解答,也有人说要先注册class,但是也是没...

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

824. List 组件做的手风琴Demo [ 46%]

...继承BOX类         list.vScrollBarSkin ="";         Laya.stage.addChild(list);         list.array =this.arr;         list.renderHandler =new Laya.Handler(this,this.updateItem);         this.listArr.push(list); //----------------------------------------------...

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

825. laya.events.Event [ 46%]

... 键是处于活动状态 (true) 还是非活动状态 (false)。 Event  stageX : Number[read-only] 鼠标在 Stage 上的 X 轴坐标Event  stageY : Number[read-only] 鼠标在 Stage 上的 Y 轴坐标Event  target : Sprite 事件目标触发对象。Event  touches : Array[read-only] 触摸...

来源: laya_api 发布时间: 20170929

826. 微信小游戏利用开放域好友关系链做排行榜 [ 45%]

...rite:Laya.Sprite = new Laya.Sprite();                 Laya.stage.addChild(sprite);                 sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height);                  // console.log("再次往开放域发请求");   ...

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

827. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 45%]

...let video = this.scene.getChildByName('VideoNode') as Laya.VideoNode; Laya.stage.on(Laya.Event.MOUSE_DOWN,this, ()=>{ console.error('Laya.Event.MOUSE_DOWN'); video.play(); }); 很简单的结构,只有在微信上播放不了 1677851971用户 • 2024-03-16 19:56 测试可以播放了,就是...

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

828. 射线检测报错,outHitInfo.sprite3D=null; [ 44%]

...Laya.Vector3.ZERO); this.phasorSprite3D = new Laya.PhasorSpriter3D(); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDown); }  private onMouseDown():void{ this.camera.viewportPointToRay(new Laya.Vector2(Laya.MouseManager.instance.mouseX,Laya.MouseManager.instance.mouseY),this.ray); Laya.Physi...

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

829. laya.ui.UIEvent [ 44%]

...ft 键是处于活动状态 (true) 还是非活动状态 (false)。 Event stageX : Number[read-only] 鼠标在 Stage 上的 X 轴坐标Event stageY : Number[read-only] 鼠标在 Stage 上的 Y 轴坐标Event target : Sprite 事件目标触发对象。Event touches : Array[read-only] 触摸点列...

来源: Laya2.0_api 发布时间: 20190513

830. Skeleton骨骼动画内存泄漏 [ 43%]

...Armature(0); this.sk.x = 400; this.sk.y = 700; this.sk.play(0, true); Laya.stage.addChild(this.sk); } Demo如下: 附件 : --> skTest.zip 2019-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 10 个回复 Lee3260 赞同...

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