大约有 803 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
...aya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Textur...
来源: Laya_社区 发布时间: 20190126
...好的,导入手机里就不行了- - Laya.loader.load(url, Handler.create(this, function () { var t = Laya.loader.getRes(url) var sp = new Sprite() sp.graphics.drawTexture(t, 0, 0, 80, 80) that.addChild(sp) var cMask = new Sprite() cMask.graphics.drawCircle(40, 40, 37, "#ff0000") sp.mask = c...
来源: Laya_社区 发布时间: 20180710
...ld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animationDelay); 无法直接设置原因是浅拷贝变量无法同步到原对象中去 2018-01-12 0 0 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20180112
...TICE: Compiled with OpenSSL support NOTICE: Doing SSL library init NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 on NOTICE: lws_context_init_client_ssl: doing cert filepath NOTICE: Loaded client cert /var/mobile/Containers/Data/Application/191B3AE2-4606-48EF-932D-E1D1A59B5773/Library/C...
来源: Laya_社区 发布时间: 20181018
...odel/LayaMonkey2/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { ........ //上面省略,我们再网格加载完成3秒后对该网格进行销毁 Laya.timer.once(3000,this,function() { //销毁了使用了该网格的精灵 layaMonkey.destroy(); //对网...
来源: Laya2.0_文档 发布时间: 20210715
...错 问题如图所示,资源路径正确,就是报找不到 private createAniTemplate(name: string, len: number = 8): void { let aniFrames: Array<string> = []; for (let i: number = 0; i < len; i++) { aniFrames.push("resources/UI/role/atlasAni2/139x/" + name + i ...
来源: Laya_社区 发布时间: 20230713
...ader.load([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameScenesUI(); this.addChildren(this.gameScenes); })); 但页面上却没有任何内容显示出来!求教!!我看了论坛里面的教程:https://ask.layabo...
来源: Laya_社区 发布时间: 20171012
...盒 BaseMaterial.load("res/threeDimen/skyBox/skyBox1/skyBox.lmat", Handler.create(null, function(mat:SkyBoxMaterial):void { camera.skyboxMaterial = mat; Laya.timer.frameLoop(1, this, function():void { mat.rotation += 0.1; }); })); } 2018-10-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20181017
...quot;, type: Laya.Loader.ATLAS} ]; Laya.loader.load(resArray, Laya.Handler.create(null,LoadResComplete)); cuixueying • 2017-03-21 16:15 好的,谢谢你的建议,我们会考虑的,谢谢!
来源: Laya_社区 发布时间: 20170317
...D.load("res/LayaScene_Model_1001/Conventional/Model_1001.lh", Laya.Handler.create(null, (sprite:Laya.Sprite3D) => { this.mScene.addChild(sprite); sprite.transform.translate(new Laya.Vector3(-0.3, 0, 0)); })); 报错信息laya.d3.js:6573 Uncaught TypeError: Cannot set property 'x' of undefined ...
来源: Laya_社区 发布时间: 20200107