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

大约有 245 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

221. 组件命名规则(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 62%]

...(图形组件):image_xxx; 不是以上规则的,都会被识别Sprite。 下面是示例组件图片: ![1](img\1.png)(图1) 对应在资源管理器中显示: ![2](img\2.png)(图2) ### 特殊组件: 特殊组件需要多张图片组成,命名规则在遵守上面规则的基础...

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

222. 如何控制dialog只在指定区域弹出 [ 62%]

...问题 Dialog:屏蔽点击Dialog之外的区域关闭弹框 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 iphoneX环境下新手引导的抠图透明区域黑色,其它机型都是正常的。 [分享]Dialog 点击边缘不关...

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

223. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 61%]

...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` ![](img/5.png)(图5) ##### 高...

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

224. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 61%]

...     Batch Make The First Level Game Objects     批量导出(选择sprite3d才会有)批量导出场景中所有一级节点         Other Setting   ---    其他设置                  Cover Original Export Files                          导出时覆盖原始...

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

225. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 61%]

...ion():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:Texture = Laya.loader.getRes("test/test.png"); var sp:...

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

226. BlinnPhong材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 61%]

...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material as Laya.BlinnPhongMaterial; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` ![](i...

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

227. 3D中如何限制角色的行走区域? [ 61%]

...ture2D, priority:1, params:[true]}        场景中初始化MeshTerrainSprite3D:               //通过场景中子父级节点寻找可行走区域网格模型               var meshSprite3D:MeshSprite3D = sceneSprite3d.getChildAt(0).getChildAt(0).getChildAt(13) as MeshSprite3D;...

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

228. Cannot read property '_physicsUpdateList' of null 错误 [ 61%]

...   at PhysicsCollider.__proto._destroy (laya.core.js:6989)     at MeshSprite3D.__proto._destroyAllComponent (laya.core.js:13738)     at MeshSprite3D.__proto.destroy (laya.core.js:13089)     at MeshSprite3D.__proto.destroy (laya.d3.js:29943)     at MeshSprite3D.__proto.destroy (laya.d3....

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

229. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 60%]

...例([demo地址]())。 ```typescript var material:BlinnPhongMaterial = meshSprite3D.meshRenderer.material as BlinnPhongMaterial; //法线贴图 Texture2D.load(normalMapUrl[i], Handler.create(this, function(texture:Texture2D):void { //设置发现贴图 material.normalTexture = texture; })); ``` ![](...

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

230. 如何在3D环境中的角色头上显示角色名称 [ 60%]

...3坐标,只能设置X,y,这样不能和3D的物体融合在一起.用一个Sprite3D加贴图又不好加上文字. 2017-03-18 0 0 分享 微博 QZONE 微信 suone 赞同来自: 同问,如何把文字渲染到3d对象上,有3dText吗? 2017-03-19 0 0 分享 微博 QZONE 微信 183*****755 赞同...

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