大约有 615 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(274) laya_api(104) Laya2.0_api(97) Laya_社区(76) Laya2.0_文档(39) Laya3.0_文档(16) Laya2.0_示例(5) Laya_示例(4)
...。 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
...的值。 Dictionary indexOf(key:Object):int 获取指定对象的键名索引。 Dictionary remove(key:*):Boolean 移除指定键名的值。 Dictionary set(key:*, value:*):void 给指定的键名设置值。 DictionaryProperty Detailkeyspropertykeys:Array [read-only] 获取所有的子...
来源: laya_api 发布时间: 20170929
...。 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
....addChildAt Defined in laya/display/Node.ts:264 添加子节点到指定的索引位置。 Parameters node: Node 节点对象。 index: number 索引位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/N...
来源: Laya3.0_api 发布时间: 20231115
....addChildAt Defined in laya/display/Node.ts:264 添加子节点到指定的索引位置。 Parameters node: Node 节点对象。 index: number 索引位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/N...
来源: Laya3.0_api 发布时间: 20231115
...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
... } private function onSelect(index:int):void { trace("当前选择的项目索引: index= ", index); } } } import laya.ui.Box; import laya.ui.Label; class Item extends Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "1000...
来源: Laya3.0_api 发布时间: 20231115
...; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信息 var bounds = ani.getGraphicBounds(); ani.scale(80/bounds.width ,80/bounds.height) this.addChild(ani) } } Laya.class(Item1, "Item1", Box); var List = Laya...
来源: Laya_社区 发布时间: 20170627
....addChildAt Defined in laya/display/Node.ts:264 添加子节点到指定的索引位置。 Parameters node: Node 节点对象。 index: number 索引位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/N...
来源: Laya3.0_api 发布时间: 20231115
...为false。UI的View组建默认为true。 Sprite index : int当前播放索引。AnimationPlayerBase interval : int 播放间隔(单位:毫秒),默认为50毫秒,可以通过Config.animationInterval修改默认时间间隔。AnimationPlayerBase isPlaying : Boolean[read-only] 是否在播...
来源: laya_api 发布时间: 20170422