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

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

31. 向服务器发送图片无法使用atob解码? [ 63%]

... dataURLtoBlob: function (dataurl) {             var arr = dataurl.split(',');             var mime = arr[0].match(/:(.*?);/)[1];// 结果:   image/png             var bstr = atob(arr[1]);             var n = bstr.length;             var u8arr = new Uint8Array(n);  ...

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

32. as3字符串截取int的问题 [ 62%]

as3字符串截取int的问题 String("10,12").split(','); 被自动转成以下JS并报错Uncaught ReferenceError: int is not defined function DConfig(){}; __class(DConfig,'DConfig'); __getset(1,DConfig,'GamrRoomEnterPower',function(){ return DConfig.gamrRoomEnterPower; },function(value){ DConfig....

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

33. 加载一个txt文件 getRes出来类型为string 能转换成数组吗 [ 62%]

...交 1 个回复 cuixueying 赞同来自: z298959 可以,你用string的split方法即可! 2017-06-20 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 z298959 相关问题 两个对象new了一个相同的对象,调用第一个的一...

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

34. laya.d3.core.scene.bvhscenerendermanager.BVHRenderBox_API3.0 [ 61%]

...tNearlist getchild0 getchild1 isContentBox isRoot recaculateBox removeCell splitBox traverseBoundsCell sciContainsBox sciIntersectsBox Constructors constructor new BVHRenderBox(bvhmanager: BVHSpatialManager, config: BVHSpatialConfig): BVHRenderBox Inherited from BVHSpatialBox.constructor Defined in ...

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

35. 播放swf动画的时候,有的时候会崩溃在这里, Cannot read property 'dir' of undefined [ 60%]

...is.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/"; 2018-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 能提供下swf源文件吗,...

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

36. 【英语版IDE生成的项目】无法在【中文版IDE】中生成【layaMaxUI.ts的内容】 [ 60%]

...yaMaxUI.ts的内容】 原因是:pageStyles.xml 英文版是  ifExport="Splite" 中文版是  ifExport="分离模式" <item name="test/TestScene.scene" props="" ifExport="Split" aName=""/> 附件 : --> testLang.zip 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

37. 播放swf动画的时候,会出现 Cannot read property 'dir' of undefined崩溃 [ 59%]

...is.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/";    我们采用的播放模式是this.effectMovieClip.load(effectsPath,true);  effectsPath 是路径 我们的swf 文件在附件中, 附件 : --> boomswf.zip zhadanLeftswf.zip 2018-04-08 添...

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

38. 关于导出粒子特效报错问题 [ 59%]

...,加载的时候报错了   Uncaught TypeError: Cannot read property 'split' of undefined     at Function.Laya3D._getSprite3DHierarchyInnerUrls (GameStart.max.js:48791)     at Function.Laya3D._getSprite3DHierarchyInnerUrls (GameStart.max.js:48845)     at Function.Laya3D._getSprite3DHiera...

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

39. layaPlayer无法获取canvas.toDataURL数据 [ 59%]

...0);   htmlC.toBase64("png", 0.92, base64Str => { base64Str = base64Str.split(",")[1]; console.log(base64Str); if(Laya.Browser.window.conch) { // App 分享 let brdige = common.utils.ConchUtils.getBridge(); brdige.call("share", base64Str); } }); 2019-09-04 0 0 分享 微博 QZONE 微信 为什么...

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

40. laya.d3.loaders.ShaderParser_API3.0 [ 58%]

...tData getMapKey getShaderBlock getShaderDataType parse CGBlock shaderBlock split shaderDataOBJ Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

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