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

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

161. laya.map.MapLayer [ 74%]

...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是...

来源: laya_api 发布时间: 20170929

162. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 74%]

.../Material.ts:585 获得bool属性值 Parameters uniformIndex: number 属性索引 Returns boolean getBuffer getBuffer(name: string): Float32Array Inherited from Material.getBuffer Defined in laya/d3/core/material/Material.ts:955 获得Buffer Parameters name: string 属性名称 Returns Float32Array ...

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

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

164. laya.ui.ViewStack [ 74%]

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

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

165. laya.d3.graphics.VertexDeclaration_API3.0 [ 73%]

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

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

167. laya.ui.UIGroup [ 73%]

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

来源: laya_api 发布时间: 20170929

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

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

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

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

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

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

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