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

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

3761. 我想问下如果要调用手机本地相册,能不能用HTMLDivElement?该怎么用 [ 48%]

...); } //把base64添加到图片上 img.src = base64; }; file.readAsDataURL(this.files[0]); }); </script> 能不能通过这种方法把他转换成canvas里的image再显示在舞台上。 2017-01-11 0 1 分享 微博 QZONE 微信 AllenYT 赞同来自: 您好  成功了嘛  怎么调用的 2...

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

3762. layaAirIDE 打包APK 后 真机运行报错 [ 48%]

...e;Laya.stage.addChild(i)}!function(){createApes()}(function(){function i(){this.BG_WIDT ReferenceError: createApes is not defined at BG_WIDTH (http://stand.alone.version/main.min.js:1:149) at eval (http://stand.alone.version/main.min.js:1:162) at eval (native) at Document._downloadOk (apploader.js:6...

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

3763. laya.d3.core.BaseCamera_API3.0 [ 48%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...

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

3764. 嵌套类型的protobuf报错 [ 48%]

...  这种嵌套类型的proto decode的时候报错   Uncaught TypeError: this.clazz is not a constructor     at Message.ProtoBuf.Reflect.MessagePrototype.decode (protobuf.js?tick=17185:3213)     at Element.ProtoBuf.Reflect.ElementPrototype.decode (protobuf.js?tick=17185:2201)     at Field.Pr...

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

3765. [LayaNative2]IOS native打包 webview播放视频 返回后没声音 [ 48%]

...tions)}   代码如下: Laya.Browser.window["conch"].setExternalLinkEx( this.videoPlayerHtmlUrl, 0, 0, 1000, 800, true); 附件 : --> 2024-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠...

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

3766. Laya.Pool.getItemByClass 闪退 [ 48%]

...:18186:8) at loop CFFish的init方法如下 public init(type:string):void{ this.type = type } 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Apple 赞同来自: console.log(fish) 输出的是什么 2018...

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

3767. laya.d3.core.light.SpotLight_API3.0 [ 48%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...

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

3768. 文本-单行输入 [ 48%]

..._CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.createInput(); } private createInput(): void { var inputText: Input = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1;...

来源: Laya_示例 发布时间: 20251223

3769. 分享:LayaAir下如何获取图集下的小图资源? [ 48%]

....load([{url:"res/atlas/atlas_res.json",type:Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //获取图集下的单张小图 var texture:Texture=Laya.loader.getRes("atlas_res/01.png"); var sp:Sprite=new Sprite(); sp.graphics.drawTexture(texture,200,100); Laya.st...

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

3770. 在网页设定区域内播放video。 [ 48%]

...libs/modules/egret/egret.web.min.js?v=312  像代码中这样toBitmapData(this.video)转一下可以吗 laya能不能提供类似这样可以将视频转为纹理的方法,不然我们做流媒体视屏这方面的应用做不下去啊。 2016-10-14 0 2 分享 微博 QZONE 微信 为什么被折...

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