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

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

331. laya.display.Text [ 53%]

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

332. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 53%]

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

333. laya.ui.List [ 53%]

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

334. laya.ui.Dialog [ 53%]

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

335. 通过绘制纹理生成的图片,改变scale时会出现图片不绘制的情况 [ 53%]

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

336. 内置骨骼动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

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

337. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 53%]

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

338. laya.device.media.Video [ 53%]

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

339. laya.device.media.Video_API3.0 [ 53%]

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

340. laya.display.Animation [ 52%]

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