大约有 296 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0072 秒)
Laya_社区(84) Laya3.0_api(62) Laya2.0_api(58) laya_api(53) Laya2.0_文档(18) Laya_示例(16) Laya2.0_示例(4) Laya3.0_文档(1)
...ntional/Main.ls',Laya.Handler.create(this,(scene:Laya.Scene3D)=> { Laya.stage.addChild(scene); })); }); } 这样的加载一定包异常,不延时直接在构造函数里,执行加载没问题 2019-07-19 0 0 分享 微博 QZONE 微信 139*****202 赞同来自: 试试看用settimeout呢 ...
来源: Laya_社区 发布时间: 20190719
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...
来源: Laya3.0_api 发布时间: 20231115
...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scroll...
来源: Laya3.0_api 发布时间: 20231115
... { //初始化引擎 Laya.init(1136, 640, Laya.WebGL); //等比缩放 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, this.onFrame); } onFrame(): void { //如果创建对象时间为100帧间隔后 if (this.cre...
来源: Laya2.0_文档 发布时间: 20210715
...: ```typescript //初始化引擎 Laya.init(600, 400, Laya.WebGL); Laya.stage.bgColor = "#ffcccc"; var data = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); ``` 通过data来...
来源: Laya2.0_文档 发布时间: 20210714
...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...
来源: Laya3.0_api 发布时间: 20231115
...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...
来源: Laya3.0_api 发布时间: 20231115
...ar video = new Laya.Video(); video.loop = true; video.load(blob_url); Laya.stage.addChild(video); video.play(); v = video; Laya.timer.once(5000, this, function() { v.destroy(); }); }顺便提供一个简单的修复方法: laya.device.js Line 623: 增加以下代码while(this.videoElement.childEl...
来源: Laya_社区 发布时间: 20170515
...entTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize externalSkins filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playState rotation scaleX scal...
来源: Laya3.0_api 发布时间: 20231115
...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize effectClass effectData filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY p...
来源: Laya3.0_api 发布时间: 20231115