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

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

41. UI-RefreshList [ 86%]

....scrollBarIsStop=false; /** 移动前的上次坐标位置 */ this.moveLastPos = null; /** 列表单元是否已打开 */ this.itemIsOpen=false; /**展开的单元格索引ID */ this.itemOpenId=-1; /**展开的单元格对象 */ this.openedItem = null; /** 记录模拟数据的红点状态 */ this.r...

来源: Laya2.0_示例 发布时间: 20260303

42. 关于射线检测,返回所有碰撞结果的问题 [ 86%]

...的问题 this.scene.physicsSimulation.raycastAllFromTo(new Laya.Vector3(pos.x, -1, pos.z + 1), new Laya.Vector3(pos.x, 0 + 99, pos.z + 1), vAlign);   这里的 vAlign,数组内的碰撞结果 顺序是随机的还是和射线方向有关,我使用的时候,这个碰撞结果顺序是随机的 ...

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

43. Label属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 86%]

...d { //创建各种文本效果并设置位置 createLabel("#FFFFFF", null).pos(30, 50); createLabel("#00FFFF", null).pos(290, 50); createLabel("#FFFF00", "#FFFFFF").pos(30, 100); createLabel("#000000", "#FFFFFF").pos(290, 100); createLabel("#FFFFFF", "#00FFFF").pos(30, 150); createLabel("#0080FF", "...

来源: Laya2.0_文档 发布时间: 20210714

44. laya.html.HtmlLink_API3.0 [ 86%]

...tor Accessors element height width Methods addRect contains create destroy pos release resetArea Constructors constructor new HtmlLink(): HtmlLink Defined in laya/html/HtmlLink.ts:14 Returns HtmlLink Accessors element get element(): HtmlElement Defined in laya/html/HtmlLink.ts:27 Returns HtmlElement...

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

45. 使用laya官方示例代码制作微信小游戏无法显示 [ 86%]

... this.setup(); } private setup(): void { this.createLabel("#FFFFFF", null).pos(30, 50); this.createLabel("#00FFFF", null).pos(290, 50); this.createLabel("#FFFF00", "#FFFFFF").pos(30, 100); this.createLabel("#000000", "#FFFFFF").pos(290, 100); this.createLabel("#FFFFFF", "#00FFFF").pos(30, 150); this...

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

46. laya.display.cmd.DrawTexturesCmd_API3.0 [ 86%]

...集合绘制多个贴图 Hierarchy DrawTexturesCmd Index Properties colors pos texture ID Methods recover Properties colors colors: number[] Defined in laya/display/cmd/DrawTexturesCmd.ts:21 附加顶点色 pos pos: ArrayLike<number> Defined in laya/display/cmd/DrawTexturesCmd.ts:18 绘制次...

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

47. laya.events.TouchInfo_API3.0 [ 86%]

...rties began clickCancelled clickCount downTargets event lastRollOver moved pos target touchId Methods begin clickTest end move reset Constructors constructor new TouchInfo(touches: Array<TouchInfo>): TouchInfo Defined in laya/events/InputManager.ts:597 Parameters touches: Array<TouchInfo&gt...

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

48. 监听按键事件怎么写呀,TS的 [ 86%]

...           if(e.keyCode==37){//左            this.hero.pos(this.hero.x-100,this.hero.y);                   }else if(e.keyCode==39){//右            this.hero.pos(this.hero.x+100,this.hero.y);        }else if(e.keyCode==38){//上           ...

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

49. 为什么获取不到getBounds()的width,height [ 86%]

...取不到动画的显示区域,用控制台输出都是0 还有this.body.pos(-bound.width / 2, -bound.height / 2);是动画里面的 feiji.pos(Laya.stage.mouseX, Laya.stage.mouseY);是鼠标监听事件 2个都是设置this.body的位置呢。先运行谁,还有  //设置机身的锚点为机...

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

50. 自定义panel类问题 [ 85%]

...是不能创建多个?   g_uiScroll = new UIScroll(610,127); g_uiScroll.pos(70,30); scollbg.addChild(g_uiScroll); m_talkScroll = new UIScroll(610.0, 250); m_talkScroll.pos(60, 500); this.addChild(m_talkScroll);     2017-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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