大约有 610 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0064 秒)
Laya3.0_api(274) laya_api(104) Laya2.0_api(97) Laya_社区(75) Laya2.0_文档(39) Laya3.0_文档(12) 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
....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
... }) } function onSelect(index) { console.log("当前选择的索引:" + index); } function createAPIList(api_list_view) { let data = []; for (let i = 0; i < 10; i++) { let text_view = createTextView("12345", "black", 18, innerWidth, 35, "white"); ...
来源: Laya_社区 发布时间: 20180724
...dex(): number Defined in laya/ani/AnimationPlayer.ts:132 获取当前动画索引 Returns number value 当前动画索引 currentFrameTime get currentFrameTime(): number Defined in laya/ani/AnimationPlayer.ts:156 获取当前帧时间,不包括重播时间 Returns number value 当前时间 current...
来源: Laya3.0_api 发布时间: 20231115