大约有 3,084 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0071 秒)
Laya_社区(2354) Laya2.0_文档(237) Laya_示例(147) Laya2.0_示例(117) Laya3.0_api(70) Laya2.0_api(64) laya_api(59) Laya3.0_文档(36)
.../?nav=zh-js-3-4-1 //初始化引擎Laya.init(600, 400, Laya.WebGL);Laya.stage.bgColor = "#ffcccc";var data = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' +'<foreignObject width="100%" height="100%">' +'<div xmlns="http://www.w3.org/199...
来源: Laya_社区 发布时间: 20190306
....max.js:25487) at RenderContext.__proto.flush (GameLoader.max.js:11156) at Stage.__proto.render (GameLoader.max.js:33262) at Stage.__proto._loop (GameLoader.max.js:33188) at loop (GameLoader.max.js:10648) 2018-01-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180125
....skewX = i * 6; spr.scaleY = 1 / Math.cos(Utils.toRadian(spr.skewX)); Laya.stage.addChild(spr); } for (i = 0; i < 31; i++ ) { var spr:Sprite = new Sprite(); spr.x = 30+i*17; spr.y = 500; spr.graphics.drawRect(-10, -40, 20, 80,colors[i%2]); spr.scaleX = i%2==0?-1:1; spr.skewX = i*6; Laya.stage.add...
来源: Laya_社区 发布时间: 20180323
...to.setScreenSize=function(screenWidth,screenHeight) 这是你调用了Laya.stage.screenMode=XXXXX之后 他就会在这里调用这个方法,然后适配屏幕。你会发现在某些 机型内 this.designWidth 、与 this.designHeight 是无法获取的。这就尴尬了。导致后面直接不...
来源: Laya_社区 发布时间: 20190228
... sk.pos(200,200) Laya.stage.addChild(sk); })) Laya.timer.once(2000,this,function(){ sk.destroy(true) ...
来源: Laya_社区 发布时间: 20180828
...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
...mature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); play(); } private function onEvent(e:*):void { var tEventData:EventData = e as EventData; Laya.stage.add...
来源: Laya_社区 发布时间: 20170406
... 微博 QZONE 微信 ZMLaya 赞同来自: 亲,我在程序入口将 Laya.stage.scaleMode = Laya.Stage.SCALE_EXACTFIT,这样不行吗? 你说的调整ui大小,该怎么调呢?是在load.js文件里调整吗?如果方便的话,给我详细说明一下好吗?拜托了。谢谢 2017-12-1...
来源: Laya_社区 发布时间: 20171209
...• 2021-02-22 12:02 @fftidus:这个不算是bug,文档中有做说明。stage坐标系和3d viewport坐标系不一致,stage坐标需要乘以缩放才等于viewport的坐标系的值。你可以手动处理。所以,我们没有当成bug去修复。不过,为了用户体验,我们也有...
来源: Laya_社区 发布时间: 20201013