大约有 1,004 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0098 秒)
Laya_社区(712) Laya3.0_api(68) Laya2.0_api(59) laya_api(56) Laya2.0_文档(47) Laya_示例(27) Laya3.0_文档(25) Laya2.0_示例(10)
...开始,我用ts编写的相关内容,都要使用import和export吗? Texture图片能否进行翻转? IDE通过.ui自动生成的ui代码报错 为什么给Sprite容器添加点击事件没反应 3d 添加灯光 模型变的黑呼呼的 很多黑面 JS 是没有自动补全提示吗 localToG...
来源: Laya_社区 发布时间: 20171025
...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...
来源: Laya2.0_文档 发布时间: 20210715
...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...
来源: Laya2.0_文档 发布时间: 20210714
...材质类型。 分类 材质 Build in 管线 Standard 材质 Ulit Color/Texture/Cut Out/ Transparent 材质 URP 管线 URP Lit材质 URP Ulit材质 天空盒 Procedural 程序化天空盒 6 Sideed Panoramic 全景图 旧版着色器(只做兼容考虑, 不建议) Diffuse Fast Diffuse Diffuse De...
来源: Laya3.0_文档 发布时间: 20251010
...rial: Laya.StandardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; var layaMonkey = scene.addChild(Laya.Sprite3D.load("res/LayaMonkey/LayaMonkey.lh")); 2018-03-12 0 0 分享 微博 QZONE 微信 banmini 赞...
来源: Laya_社区 发布时间: 20180312
...IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 Texture图片能否进行翻转? 救命!canvas定位后 点击区域偏移,求大大们解答 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的...
来源: Laya_社区 发布时间: 20180810
... player_rank = body.wxData.get_canvas_4_code("SHOW_PLAYER_RANK",0) var rankTexture = new Laya.Texture(sharedCanvas); rankTexture.bitmap.alwaysChange = true; var pl = new Laya.Sprite() pl.graphics.drawTexture(rankTexture, 0, 0); body.addChild(pl) } 附件 : --> 2018-12-17 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20181217
...使用mask? 关于Laya实现Matter.js官方案例凹多边形的问题 Texture图片能否进行翻转? 成都雨墨游戏 求 laya 程序开发人员 Laya mac版的IDE 是没测试就上线了吗? Laya拖尾怎么停止或清除,比如要瞬移角色的时候停止。伤脑壳~~!! Laya ...
来源: Laya_社区 发布时间: 20181214
...oad("res/atlas/comp.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:...
来源: Laya2.0_文档 发布时间: 20210714
...-7所示 (图1-7) 默认值:默认情况下,图片作为3D模型的Texture贴图文件,只能用在材质球上。 精灵纹理:图片作为2D的Sprite对象的图片纹理格式,通常在2D开发中使用。此属性在图片资源按照官方的命名规则去命名的时候自动为...
来源: Laya3.0_文档 发布时间: 20251010