大约有 1,587 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0047 秒)
Laya_社区(1114) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(52) Laya3.0_api(11) Laya2.0_api(2)
...):void { Laya.SoundManager.playSound("res/sound/onClick.wav"); } 你看看是不是你的代码逻辑有问题那? 2018-05-03 0 2 分享 微博 QZONE 微信 176*****233 赞同来自: 在h5和微信开发工具上是正常的,但发布成微信...
来源: Laya_社区 发布时间: 20180503
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/HierarchyResource" Prefab Class Prefab Hierarchy Resource Prefab PrefabImpl Index Constructors constructor Properties _id destroyedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMe...
来源: Laya3.0_api 发布时间: 20231115
...函数里,Laya播放音效失败。 在游戏里直接调用pause,然后resume,背景音乐先消失,后出现, 在wx分享成功的回调函数里,调用resume打印显示调用成功,但并未播放音乐。 wx.shareAppMessage({ title: "小猪佩奇身上纹,掌声送给社会...
来源: Laya_社区 发布时间: 20180514
...r MultiplePassOutlineMaterial.initShader(); //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new L...
来源: Laya2.0_文档 发布时间: 20210715
...al = new Laya.BlinnPhongMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.albedoTexture = texture; })); earth2.meshRenderer.material = material; ``` (图4) ##### 法线贴图...
来源: Laya2.0_文档 发布时间: 20210715
...{ var p = new HTMLIframeElement(); Laya.stage.addChild(p); p.href = "../../res/html/test.html"; p.y = 200; } })(); 2017-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 参考下这个链...
来源: Laya_社区 发布时间: 20170314
... 0, 0), true, false); var mc:Sprite3D = scene.addChild(Sprite3D.load("res/mod5_13.lh")) as Sprite3D; c416288806 • 2018-03-05 11:41 有看到回复的话...说一下处理情况啊。T.T不要没动静了亲... qian • 2018-03-05 11:42 已经把你的问题上传给引擎部 他一会有...
来源: Laya_社区 发布时间: 20180305
...al = new Laya.BlinnPhongMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.albedoTexture = texture; })); earth2.meshRenderer.material = material; ``` (图4) ##### 法线贴图...
来源: Laya2.0_文档 发布时间: 20210714
...成功后执行回调方法 roleAni.loadAtlas("http://10.10.20.58/chicken/res ... ot%3B,laya.utils.Handler.create(this,function(){ //添加到舞台 Laya.stage.addChild(roleAni); roleAni.play(); })); 代码就这几行.... 2018-03-22 0 0 分享 微博 QZONE 微信 wdmingzi2 赞同来自: 只...
来源: Laya_社区 发布时间: 20180322
...escript //初始化3D场景 var scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")); //获取球型精灵 var sphere = scene.getChildByName("Sphere"); //获取精灵的mesh var sphereMesh = sphere.meshFilter.sharedMesh; //此时已经拿...
来源: Laya2.0_文档 发布时间: 20210714