大约有 1,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
...widget, headImgUrl) { if (!headImgUrl) { return; } // 通过服务器中转获取图片数据 var url = "http://" + LayaHttp.HALL_HOST + "/public/load_img?url=" + encodeURI(headImgUrl); // 新建一个Sprite放置头像, var sp = new Laya.Sprite(); sp.loadImage(url, 0, 0, widget.width, widget.heig...
来源: Laya_社区 发布时间: 20171229
...a中显示不正常 骨骼动画播放完后的回调时间 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 关于apk打包动画卡的问题 ID...
来源: Laya_社区 发布时间: 20190301
无法获取模型上的动画 通过示例https://ldc.layabox.com/doc/?nav=zh-as-4-0-9 的方式 获取不到动画节点 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 新版...
来源: Laya_社区 发布时间: 20180621
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
...ir中如何使图片以圆形的方式显示? 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问laya有没有地图编辑器工具? LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 请问在layaIDE里,怎么调用微信小程...
来源: Laya_社区 发布时间: 20170714
...图3-4) LayaAir 3D引擎的Sprite3D类提供了 getComponent() 方法来获取模型上的组件。带动画的模型在加载创建时引擎默认赋予了Animator(动画状态机)动画组件,因此我们可以这样获取: //获得状态机 this.animator = this.target.getComponent<La...
来源: Laya3.0_文档 发布时间: 20251010
...载Texture还是Texture2D,他们在内存中都只有一份,但可以获取不同类型。 Laya.loader.load("1.png").then((res)=> { /* res是Texture */ }); Laya.loader.load("1.png", Loader.Texture2D).then((res)=> { /* res是Texture2D */ }); Laya.loader.getRes("1.png"); //res是Texture Laya...
来源: Laya3.0_文档 发布时间: 20251010
...亮这两个层,可以通过以下方式实现: 使用左移位运算获取各层的2次幂值 通过按位或运算组合这些值 将结果赋值给图层遮罩属性 示例代码如下: const { regClass, property } = Laya; @regClass() export class lightTest extends Laya.Script { declare own...
来源: Laya3.0_文档 发布时间: 20251010
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
...吗? unity中的模型导出后在laya中显示不正常 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 动画混合无效(版本2.6) 骨骼动画播放完后的回调时间 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道...
来源: Laya_社区 发布时间: 20201231