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

大约有 3,266 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0069 秒)

3171. 将字节数组转为图片 [ 46%]

...       var picPath:String = file.resolvePath("img.png").nativePath;//获取图片路径             //读取图片文件到字节数组             var readFile:File = new File(picPath);             var readByte:ByteArray = new ByteArray();             var re...

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

3172. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 46%]

...机型都是正常的。 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 unity中的模型导出后在laya中显示不正常 TypeScript下HttpRequest发送Post请求有Bug? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连...

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

3173. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 45%]

... 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 发布时间: 20231115

3174. 看下这个问题是不是Bug [ 45%]

...在根节点脚本组件上阻止图片脚本组件的enable方法,可以获取到图片脚本组件后设置enabled或者在图片脚本组件的onAdded声明周期内根据owner的active状态来设置enabled状态。 2023-10-07 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

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

3175. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 45%]

...clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到...

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

3176. 2.0下资源加载和销毁内存问题 [ 45%]

...;绘制图形以后,怎么删除释放资源? 分享:LayaAir下如何获取图集下的小图资源? 请问下loader如何强制加载一个文件,避免浏览器的缓存 Animation 的createFrames 使用已经加载的图集缓存动画失败 编辑了图片 执行代码说加载不出来...

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

3177. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为2D坐标? [ 45%]

...化]希望官方可以增加stencil功能 localToGlobal坐标转换 怎么获取对象的坐标 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2017-08-08 09:15 浏览: 1353 关注: 2 人 sfsmmc • 2017-08-08 09:14 比如说:我想把模型放在(0,0,0)位置,我该...

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

3178. laya.physics.joint.PulleyJoint_API3.0 [ 45%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 ratio ratio: number = 1.5 Defined in laya/physics/joint/PulleyJoint.ts:27 [首次设置有效]两刚体移动距离比率 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdito...

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

3179. 运行时网页黑屏,报错提示 [ 45%]

...GameManager.js的LoadSceneFin方法内,在制作拐弯墙预制体时,获取的节点wallCurve未添加组件,错误的给wall又添加了一次组件导致,将制作拐弯墙预制体的wall.addComponent(Wall)改为wallCurve.addComponent(Wall);另外在GameManager.js的spawnCurveWall方...

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

3180. laya.physics.joint.WeldJoint_API3.0 [ 45%]

... 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 发布时间: 20231115