大约有 245 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)
...(图形组件):image_xxx; 不是以上规则的,都会被识别为Sprite。 下面是示例组件图片: ![1](img\1.png)(图1) 对应在资源管理器中显示为: ![2](img\2.png)(图2) ### 特殊组件: 特殊组件需要多张图片组成,命名规则在遵守上面规则的基础...
来源: Laya2.0_文档 发布时间: 20210714
...问题 Dialog:屏蔽点击Dialog之外的区域关闭弹框 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 [分享]Dialog 点击边缘不关...
来源: Laya_社区 发布时间: 20171114
...以查看官方示例([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
... Batch Make The First Level Game Objects 批量导出(选择sprite3d才会有)批量导出场景中所有一级节点 Other Setting --- 其他设置 Cover Original Export Files 导出时覆盖原始...
来源: Laya_社区 发布时间: 20170428
...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
...以查看官方示例([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
...ture2D, priority:1, params:[true]} 场景中初始化MeshTerrainSprite3D: //通过场景中子父级节点寻找可行走区域网格模型 var meshSprite3D:MeshSprite3D = sceneSprite3d.getChildAt(0).getChildAt(0).getChildAt(13) as MeshSprite3D;...
来源: Laya_社区 发布时间: 20170505
... 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
...例([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
...3坐标,只能设置X,y,这样不能和3D的物体融合在一起.用一个Sprite3D加贴图又不好加上文字. 2017-03-18 0 0 分享 微博 QZONE 微信 suone 赞同来自: 同问,如何把文字渲染到3d对象上,有3dText吗? 2017-03-19 0 0 分享 微博 QZONE 微信 183*****755 赞同...
来源: Laya_社区 发布时间: 20170317