大约有 413 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0087 秒)
Laya_社区(130) Laya3.0_api(69) Laya2.0_api(64) laya_api(59) Laya2.0_文档(46) Laya3.0_文档(26) Laya_示例(12) Laya2.0_示例(7)
...ethods MethodDefined By Text() 创建一个新的 Text 实例。 Text addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node changeText(text:String):void ...
来源: laya_api 发布时间: 20170929
...s.progressBar.changeHandler = new Handler(this, this.onChange); Laya.stage.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); } private changeValue(): void { if (this.progressBar.value >= 1) this.progressBar.value = 0; this.progressBar.value += 0.05; } private onChange(value: ...
来源: Laya2.0_文档 发布时间: 20210715
...how Inherited Public Methods MethodDefined By _afterInited():voidList addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...Methods Show Inherited Public Methods MethodDefined By Dialog()Dialog addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...hics.drawTexture(new Laya.Texture(b)); Laya.stage.addChild(sp); let _picScale:number=1; //每点一下就缩小0.05倍 Laya.stage.on(Laya.Event.MOUSE_DOWN,this,()=>{ _...
来源: Laya_社区 发布时间: 20200422
... = 300; this.mArmature.y = 350; this.mArmature.scale(0.5, 0.5); this.owner.addChild(this.mArmature); //设置动画播放完成后,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void ...
来源: Laya3.0_文档 发布时间: 20251010
...ew Laya.Sprite(); ball_sprite.loadImage("common1/btn_new.png"); Laya.stage.addChild(ball_sprite); ball_sprite.scale(-1, 1, true); // !!! 如果屏蔽此行代码,球能正常显示 var ballOptions = { layaSprite:ball_sprite, render: ...
来源: Laya_社区 发布时间: 20180621
...ethods MethodDefined By Video(width:int = 320, height:int = 240)Video addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...iewport visible volume width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater canPlayType clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOn...
来源: Laya3.0_api 发布时间: 20231102
...efined By Animation() 创建一个新的 Animation 实例。 Animation addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addLabel(label:String, index:int)...
来源: laya_api 发布时间: 20170929