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

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

591. 创建模型以后,调用destroy,以前clone的对象也消失了 [ 73%]

...象也消失了 是我的方法使用不对吗? 创建模型 let s:Laya.Sprite3D = (Laya.Loader.getRes("LayaScene_Plant/Conventional/Tree_52.lh") ).clone() as Laya.Sprite3D;   销毁模型 destroy(); 帮我看看 谢谢 附件 : --> TestPrefab.zip 2020-06-11 添加评论 免费帖 --> 分享 微...

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

592. 2.0.0beta: 模型贴图不显示+点击事件穿透+其他 [ 73%]

...台的3D模型不显示贴图 Animation如何加点击事件 如何设置Sprite的宽高和点击区域? unity中的模型导出后在laya中显示不正常 关于遍历产生的sprite的点击事件,急,大神帮看哈 求指点3d射线碰撞和UI点击穿透的问题 问题状态 最新活...

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

593. laya.map.TileAniSprite_API3.0 [ 73%]

...tected All Inherited Externals Only exported Menu Globals "laya/map/TileAniSprite" TileAniSprite Class TileAniSprite TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) author ... Hierarchy Sprite TileAniSprite Index Constructors c...

来源: Laya3.0_api 发布时间: 20231115

594. layabox有API直接从url生成二维码加载到精灵吗 [ 73%]

... cuixueying 赞同来自: 你可以获取到二维码的texture,然后让sprite进行drawTexture,没有直接给sprite的方法! 2017-03-08 0 0 分享 微博 QZONE 微信 sogetsu 赞同来自: 怎么从url生成二维码的texture 2017-03-08 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自:...

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

595. 自动旋转后残影 [ 73%]

...   现在只是简单的色块改变位置 package { import laya.display.Sprite; import laya.events.Event; import laya.events.IEventDispatcher; import laya.utils.Browser; import laya.utils.Tween;     public class testVH {   protected var _tip:Sprite; public function testVH() { IEventDispatcher;...

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

596. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 73%]

...ot;) as Laya.Camera; camera.addComponent(CameraMoveScript); var tiger:Laya.Sprite3D = this._scene.getChildByName("tiger_idle") as Laya.Sprite3D; console.log(tiger); var animator:Laya.Animator = tiger.getComponentByIndex(0) as Laya.Animator; animator.play("idle"); var cat:Laya.Spr...

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

597. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 73%]

...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1.mesh...

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

598. 关于3D场景资源释放问题 [ 73%]

...问题 分享:LayaAir下如何获取图集下的小图资源? new Laya.Sprite();绘制图形以后,怎么删除释放资源? 问题状态 最新活动: 2017-09-11 17:23 浏览: 909 关注: 2 人 jison_ailin • 2017-09-11 18:19 好的。谢谢

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

599. matter 2d 碰撞检测 [ 73%]

...复被折叠 要回复问题请先登录 发起人 冰水blue 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 求指点3d射线碰撞和UI点击穿透的问题 matter中layasprite怎么改变图片大小? ma...

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

600. 遮罩在安卓显示正常,在ios下显示不正常。 [ 72%]

...正常的 let tx:Laya.Texture = Laya.loader.getRes(url); let maskMc:Laya.Sprite = new Laya.Sprite(); maskMc.graphics.drawTexture(tx,0,0,tx.width,tx.height); this.bar.displayObject.mask = maskMc; this.bar.visible = true; maskMc 是外部加载的一个纹理,就算是一起放在fairygui里面的还...

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