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

大约有 2,837 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)

2541. 用最新版本的IDE开发,用AS语言开发,用HttpRequest加载图片报错,用JS语言开发却可以加载 [ 48%]

...始读取数据 var blob:Object = new Browser.window.Blob([byte.buffer], { type: "image/png" }); var url:String = Browser.window.URL.createObjectURL(blob);//创建一个url对象; ////我们先用第一种方式显示图片到舞台; var sp:Sprite = new Sprite(); sp.loadImage(url); Laya.stage.ad...

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

2542. laya.d3.core.light.PointLightCom_API3.0 [ 48%]

...ked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType range shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate...

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

2543. 使用es6里面的MAP 然后加断点后IDE 报错 [ 48%]

...面的MAP 然后加断点后IDE 报错     Error processing "variables": TypeError: Cannot read property 'length' of undefined at trimProperty (d:\Tools\LayaAirIDE_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:137:18) at propertyPreviewT...

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

2544. as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? [ 48%]

...e="width:100px; height:100px; margin-top:15px;"></div> <script type="text/javascript"> var qrcode = new QRCode(document.getElementById("qrcode"), { width : 100, height : 100 }); function makeCode (_qrchr) { qrcode.makeCode(_qrchr); } makeCode("asfasdfas5151a31fsefasefsafe"); </scri...

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

2545. LayaDictionary的使用问题 [ 48%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 预设怎么在代码中使用 问题状态 最新活动: 2015-12-06 19:06 浏览: 3914 关注:...

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

2546. 高频使用遮罩 导致手机扫码测试闪屏/黑屏 2.12.2 [ 48%]

...1.1导致APP上架被拒的说明 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 ios升级到15.4后游戏会一直闪屏,可...

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

2547. native 问题实在太多了 使用自定义的动态字经常出现崩溃 [ 47%]

...erdefense.gp-nL3Za3jIt5tpqzSue73YEQ==/lib/arm64/liblayaair.so (laya::JCFreeTypeFontRender::getTextLineBitmapData(char*, laya::BitmapData*, int, laya::JCFontInfo*, int, int, double, double)+1580) [arm64-v8a] 2 #01 pc 00000000001f9e74 /data/app/com.gemclash.towerdefense.gp-nL3Za3jIt5tpqzSue73YEQ==/li...

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

2548. Layabox web 复制一段文字到剪贴板 [ 47%]

...visibility = "visible"; } //点击取消按钮关闭模态框 ShowDiv.prototype.CloseDiv = function () {  this.modlueDiv.style.visibility = "hidden"; this.mask.style.visibility = "hidden"; } //点击确认按钮关闭模态框,提示增加信息 ShowDiv.prototype.CloseDivAndInfoMesg = function ()...

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

2549. [LayaAir2] 在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 47%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? 微信小游戏...

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

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

...ow.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行上边这段代码呢?打开谷歌浏...

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