大约有 1,451 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)
Laya_社区(932) Laya2.0_文档(177) Laya_示例(132) Laya2.0_示例(115) Laya3.0_api(61) Laya3.0_文档(32) laya_api(1) Laya2.0_api(1)
...例改自官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function(){ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["DIRECT...
来源: Laya2.0_文档 发布时间: 20210714
...terList.length) * z, 0, bg.width / letterList.length, bg.height / 2); Laya.stage.addChild(letter); letter.on("click", this, (function(para){ console.log("z:"+z+";para:"+para+";letterList[para]:"+letterList[para]); return function () { alert("z:"+z+";para:" + para + "I'm letter " + letterList[para]);...
来源: Laya_社区 发布时间: 20180810
...nventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); })); ```
来源: Laya2.0_文档 发布时间: 20210715
...(laya.webgl.js:5937) at RenderContext.__proto.flush (laya.core.js:5982) at Stage.__proto.render (laya.core.js:18593) Utils3D._mulMatrixArray @ laya.d3.js:18192 __proto._renderUpdate @ laya.d3.js:37732 FrustumCulling.renderObjectCulling @ laya.d3.js:6487 __proto._preRenderScene @ laya.d3.js:29274 __p...
来源: Laya_社区 发布时间: 20180724
...0, null, true, true, null, 80/56, 80/56); let t2 = new Laya.Sprite(); Laya.stage.addChild(t2); let Texture = Laya.Texture.create(t, 0, 0, t.width, t.height); t2.graphics.drawImage(Texture, 0, 0, 56, 56); } 2025-09-23 0 0 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 肖亮亮 您好,我...
来源: Laya_社区 发布时间: 20250827
...sp.graphics.drawTexture(texEnd,240,230,120,120) Laya.stage.addChild(sp); } } } 3、最终效果 2016-05-06 0 0 分享 微博 QZONE 微信 anghuo 赞同来自: 不错 不错!学习了 不错 不错!学习了 不错 不错!学习了 不错 不错!...
来源: Laya_社区 发布时间: 20160506
...nventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera") as Laya.Camera; camera.addComponent(CameraMoveScript); })); ```
来源: Laya2.0_文档 发布时间: 20210715
...exture.height,matrix); sp.graphics.drawRect(100,50,200,90,'#000000'); Laya.stage.addChild(sp); } } } 2017-04-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 silverys 相关问题 微信关系链:LayaAir引擎针对微信小游戏好...
来源: Laya_社区 发布时间: 20170414
... ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(0, 0); })); 业务: 图片服务器会修改上传新的图片,图片的文件名不变 流程: 我清理了一边缓存,确认了缓存里没有资源...
来源: Laya_社区 发布时间: 20170831
... 10, "#fff333"); //位置正确 sprite.scale(scaleRatio, scaleRatio); Laya.stage.addChild(sprite); console.log(sprite.width); console.log(sprite.height); 比如我在一个sprite的中心画一个圆,用scale放大后,圆偏离中心。 必须在原位置减去位置除以缩放比才能达到...
来源: Laya_社区 发布时间: 20170821