大约有 902 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya_社区(525) Laya_示例(65) Laya3.0_api(65) Laya2.0_api(62) Laya2.0_文档(60) laya_api(57) Laya2.0_示例(51) Laya3.0_文档(17)
...entTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX pivotY playbackRa...
来源: Laya3.0_api 发布时间: 20231102
...ion Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var tab:Tab = new Tab();/...
来源: Laya3.0_api 发布时间: 20231115
...aya.Browser.container.appendChild(Laya.Input['inputContainer']); Laya.Laya.stage.on("resize", null, MiniInput._onStageResize); MiniAdpter.window.wx.onWindowResize && MiniAdpter.window.wx.onWindowResize(function (res) { }); Laya.SoundManager._soundClass = MiniSound; Laya.SoundManage...
来源: Laya_社区 发布时间: 20200103
...ource.getSpineResource("ani/role/1/1.sk").buildArmature(1); Laya.stage.addChild(ske); let info:any = ske.templet.eventAniArr ske.x = 100; ske.y = 100; CUtil.Log(ske.getAniNameByIndex(0)) ske.play("atk",false) ske.on(Laya.Event.LABEL,this,function(e:any) { CUtil.Log("发动...
来源: Laya_社区 发布时间: 20180315
...ext(); txt.pos(200, 200); txt.color = "#FFFFFF"; txt.text = "000000"; Laya.stage.addChild(txt); var spr = new Sprite(); spr.size(50, 50); Laya.stage.addChild(spr); spr.texture = "images/circle.png"; txt.text = spr.texture.getPixels(25,25,1,1);希望通过使用getPixels方法使txt的文本内...
来源: Laya_社区 发布时间: 20190401
....pos(0, 0); reference.size('100%', '100%'); this.addChild(reference); Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement,reference,0, 0,'100%','100%']); Laya.Utils.fitDOMElementInArea(videoElement,reference,0, 0,'100%','100%') } } 2018-11-24 添加评论 免费帖 -...
来源: Laya_社区 发布时间: 20181124
...Sprite$/_initRenderFun() at laya.display::Sprite/render() at laya.display::Stage/render() at laya.display::Stage/_loop() at laya.renders::Render/_enterFrame()然后尝试用graphics直接绘制图形,绘制了一个星星,可以运行 之后做了各种尝试,总之貌似需要载入图片...
来源: Laya_社区 发布时间: 20200217
... Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene())...
来源: Laya_社区 发布时间: 20180725
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D s...
来源: Laya3.0_api 发布时间: 20231115
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231115