• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,726 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0112 秒)

1591. Cannot read property 'rayCast' of undefined [ 45%]

....8, -1); this.directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); Laya.Sprite3D.load("res/scene/LayaScene_webgl_sky/Conventional/webgl_sky.lh", Laya.Handler.create(this, this.onLoadFinish)); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); } onLoadFinish(layaMonkey){ this.layaMonkey=t...

来源: Laya_社区 发布时间: 20200903

1592. Laya怎么使用雪碧图(spritesheet)? [ 45%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 关于Laya实现Matter.js官方案例...

来源: Laya_社区 发布时间: 20151217

1593. u3d 插件导出 简单场景,用最新引擎无法加载成功 [ 45%]

...ition = new Laya.Vector3(0,4,10); //载入并显示3D建筑 var map = Laya.Sprite3D.load("LayaScene_test/test.lh"); scene.addChild(map); //map.transform.localPosition = new Laya.Vector3(0,-4,-10); //控制摄像机 camera.addComponent(CameraMoveScript);   2017-05-24 添加评论 免费帖 --> 分...

来源: Laya_社区 发布时间: 20170524

1594. 项目的版本管理怎么使用 [ 45%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩...

来源: Laya_社区 发布时间: 20180822

1595. Mesh网格-网格加载 [ 45%]

...r3(1, -1, -1); //加载网格 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Qu...

来源: Laya_示例 发布时间: 20260303

1596. [LayaAir3]静态合批与合批组件问题 [ 45%]

...我把动态合批关掉,只勾选静态合批,以及场景里的每个Sprite3D是静态。纹理用默认的defalut。然后无论勾不勾选静态合批场景的drawCall都没有降低。查源码laya.d3.js 的Config3D.enableStaticBatch 无论true与false 走的都代码流程都一样。 总...

来源: Laya_社区 发布时间: 20231214

1597. LayaAir下TTF字体的使用方式? [ 44%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement...

来源: Laya_社区 发布时间: 20160514

1598. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 44%]

...只能做棋牌吗?和flash比谁更强?本视频给你答疑解惑! sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask...

来源: Laya_社区 发布时间: 20240305

1599. layaAir1.3.0版本swf组件的使用 [ 44%]

...,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 分享:适配LayaAir版本的PureMVC框架 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 分享:打地鼠 AS、JS...

来源: Laya_社区 发布时间: 20160912

1600. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 44%]

...{ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.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...

来源: Laya2.0_文档 发布时间: 20210715