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

大约有 189 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)

111. Laya List给子元素添加事件后,滚动事件被劫持了 [ 58%]

... storeTxList.vScrollBarSkin = "store/c.png"; let scrollBar = storeTxList.getChildByName('scrollBar'); scrollBar.showButtons = false; let slider = scrollBar.slider; slider.bar.stateNum = 1; let txArray = ; for (let i = 0; i <20; ++i) { let list = new Laya.Sprite(); list.width = 600 ; list.height =...

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

112. Animtor是否支持单独控制每个动画的播放速度? [ 58%]

...4f; anim.Play("change_out"); Laya里面我的代码如下 ani = this.scene.getChildByName("cha1").getComponentByType(Laya.Animator); //正常播放动画 ani.play("change_out", 0.2);   请问,有相关API对播放速度单独设置吗?   另外补问一下,Laya的动画融合大约什么时...

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

113. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 57%]

...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getLine hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChil...

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

114. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 57%]

...染吗? Image元件读不了资料流 3D模型无法修改scale? 使用getChildByName()无法得到子节点对象 问题状态 最新活动: 2019-07-17 09:46 浏览: 2550 关注: 2 人 星夜 • 2019-07-17 13:55 1.并非概念不清楚, 同在世界坐标系下的第一层级子节点, 世...

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

115. laya.ui.Dialog_API3.0 [ 57%]

...event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getNodeByID getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalTo...

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

116. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 57%]

...l,具有代码提示效果。而script脚本获取只能通过this.owner.getChildByName("xxx") 等方式获取节点** - **建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用runtime继承式写法,如果是独立小模块,功能单一,建议用script脚本...

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

117. laya.display.Node [ 56%]

...nt):Node 根据子节点的索引位置,获取子节点对象。 Node  getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node  getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node  getComponent(clas:*):* 获得组件...

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

118. laya.d3.core.Camera_API3.0 [ 56%]

...ographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderCo...

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

119. 如何在场景中获得node的位置信息? [ 56%]

如何在场景中获得node的位置信息? let target3 = this.scene.getChildByName("Target3"); 现在我需要知道target3这个node的位置信息。有什么办法吗? 2017-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

120. laya.display.Sprite_API3.0 [ 55%]

...ToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHid...

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