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

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

171. laya.ui.LayoutBox [ 74%]

...ddChildAt(child:Node, index:int):Node[override] 添加子节点到指定的索引位置。 LayoutBox addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):Nod...

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

172. laya.ui.ViewStack [ 74%]

...持0,0点位置不变。 Sprite  selectedIndex : int 表示当前视图索引。 ViewStack  selection : Node 获取或设置当前选择的项对象。 ViewStack  setIndexHandler : Handler 索引设置处理器。 默认回调参数:index:int ViewStack skewX : Number水平倾斜角度,默...

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

173. laya.d3.graphics.VertexDeclaration_API3.0 [ 74%]

...): VertexElement Defined in laya/d3/graphics/VertexDeclaration.ts:79 通过索引获取顶点元素。 Parameters index: number 索引。 Returns VertexElement Globals "laya/d3/graphics/VertexDeclaration" VertexDeclaration constructor id vertexElementCount vertexStride getVertexElementByIndex Legend...

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

174. laya.d3.shader.Shader3D_API3.0 [ 73%]

...dex: number): SubShader Defined in laya/d3/shader/Shader3D.ts:261 在特定索引获取子着色器。 Parameters index: number 索引。 Returns SubShader 子着色器。 Static add add(name: string, attributeMap?: any, uniformMap?: any, enableInstancing?: boolean, supportReflectionProbe?: boolean)...

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

175. laya.ui.UIGroup [ 73%]

...,0点位置不变。 Sprite  selectedIndex : int 表示当前选择的项索引。默认值为-1。 UIGroup  selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup  selection : ISelect 获取或设置当前选择的...

来源: laya_api 发布时间: 20170929

176. 如何给Tab里的button设置点击事件? [ 73%]

...t); } function onSelect(index) { console.log("当前选择的标签页索引为:" + index);); this.Tab_ZM.on(Event.CLICK,this,onDaoju(index)); } 想请问下,这样添加,我上面点击事件只执行一次,就连打印出onSelect里的东西也只有一次? cuixueying • 2017-...

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

177. laya.d3.core.MeshTerrainSprite3D [ 73%]

...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode...

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

178. SphereMesh的recreateResource()中关于vertices和indices数据原理(3d球体) [ 73%]

...原理(3d球体) 下面的这段代码看不懂 关于顶点和顶点索引为何要这么写。我知道是3点确定一个面,然后球体有很多面构成。就是不清楚顶点和顶点索引如何对应,才符合这边要求。需要哪方面的知识。求解 附件 : --> 2016-12-07 ...

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

179. laya.ui.UIGroup [ 73%]

...,0点位置不变。 Sprite  selectedIndex : int 表示当前选择的项索引。默认值为-1。 UIGroup  selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup  selection : ISelect 获取或设置当前选择的...

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

180. 请问list如何判断已经拉到底部了 [ 73%]

...判断的方法 可以通过,get startIndex 可以获取当前显示的索引,然后根据 一共有多少个, 能显示多少个,用这个当前索引能算出来 最后一个是否显示了,就判断是否到底了 2018-07-02 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...

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