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

大约有 769 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0078 秒)

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

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

562. 关于Graphics绘制多次后使用它仍然是多个drawcall [ 53%]

...FFF"); var arr = [g1, g2, g3]; var index = 0; var sp: Sprite = new Sprite; stage.addChild(sp); setInterval(function () { sp.graphics = arr[index++] if (index >= arr.length) { index = 0; } }, 1000); 这种方式按照我的理解应该每次切换一个Graphics,但一个Graphics绘制了N次,...

来源: Laya_社区 发布时间: 20170729

563. laya.display.Text_API3.0 [ 52%]

...() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例...

来源: Laya3.0_api 发布时间: 20231115

564. 微信小游戏内TextInput不能实现只输数字的功能 [ 52%]

... = [0, 4, 0, 4]; input.restrict = "0-9";//限制输入字符为数字 Laya.stage.addChild(input); 2019-02-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wu语 相关问题 关于微信小游戏关系链的问题 微信关系链:Laya...

来源: Laya_社区 发布时间: 20190225

565. movieClip stop 没有用 [ 52%]

...Clip(); mc.load('reset.swf'); mc.on(Event.LOADED,this,onLoaded,[mc]); Laya.stage.addChild(mc); } private function onLoaded(mc:MovieClip):void { mc.gotoAndStop(0); } } }我测试是没有问题,注意下,在资源加载完成后再去对你的swf进行控制,你可以试下! 2017-05-18 0 0 ...

来源: Laya_社区 发布时间: 20170116

566. laya.display.Scene_API3.0 [ 52%]

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

567. laya.ui.Box_API3.0 [ 52%]

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

568. laya.ui.OpenDataContextView_API3.0 [ 52%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters fps globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene ...

来源: Laya3.0_api 发布时间: 20231115

569. laya.ui.LayoutBox_API3.0 [ 52%]

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

570. laya.ui.HScrollBar_API3.0 [ 52%]

...rollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.png"], Handler.create(this, onLoad...

来源: Laya3.0_api 发布时间: 20231115