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

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

321. drawToCanvas截图在某些手机上会变暗 [ 68%]

... snapshot.id = "snapshot"; //将整个STAGE画到图片里 snapshot.src = Laya.stage.drawToCanvas(1080,1920, 0, 0).getCanvas().toDataURL(); //图片显示在页面中 document.body.appendChild(snapshot); //隐藏游戏画布 document.getElementById("layaContainer").style.display = "none"; 大致过...

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

322. 新手常问问题 欢迎补充 [ 68%]

...本号,安卓版本号,ios版本号,手机型号之类 https://ask.layabox.com/question/2604   2018-03-08 0 0 分享 微博 QZONE 微信 qian 赞同来自: 2.跨域  https://ask.layabox.com/question/13 2018-03-08 0 0 分享 微博 QZONE 微信 qian 赞同来自: 3.官网demo地址 https://gi...

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

323. laya.d3.core.ui3d.UI3D_API3.0 [ 68%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/UI3D/UI3D" UI3D Class UI3D BaseCamera 类用于创建摄像机的父类。 Hierarchy BaseRender UI3D Implements IBoundsCell...

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

324. laya.d3.physics.CharacterController_API3.0 [ 68%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/CharacterController" CharacterController Class CharacterController CharacterController 类用于创建角色控制器。...

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

325. Laya_API3.0 [ 68%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "Laya" Laya Class Laya Laya 是全局对象的引用入口集。 Laya类引用了一些常用的全局对象,比如Laya.stage:舞台...

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

326. laya.d3.component.animation.CameraAnimations [ 68%]

... Frames No Frames CameraAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class CameraAnimationsInheritanceCameraAnimations KeyframeAnimations Component3D EventDispatcher Object CameraAnimations 类用于创建摄像机动画组件。 Public Properties Hide In...

来源: laya_api 发布时间: 20170603

327. laya.ui.Widget [ 68%]

...ndex | Frames No Frames WidgetProperties | Methods | Constants Packagelaya.uiClasspublic class WidgetInheritanceWidget Component Object 相对布局插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  bottom : Number表示距底边的...

来源: Laya2.0_api 发布时间: 20190513

328. Native 在iOS上支付失败的问题,及临时解决方法 [ 68%]

Native 在iOS上支付失败的问题,及临时解决方法 在LayaNative 2.0 上使用TS调用conchMarket.recharge方法,发起支付返回失败,输出报错如下:Warning: This app is not entitled to use SKPayment requestData. requestData will not be sent. [IAP] Transaction error: 无法...

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

329. 显卡驱动停止响应,且大概率蓝屏,原来是Handler惹的祸,但原因是什么 [ 68%]

...原来是Handler惹的祸,但原因是什么 问题来自于 http://ask.layabox.com/question/3673   谷歌浏览器直接崩,其他浏览器的话,也是CPU很高,操作窗口卡顿厉害   原因是一个run once = true的Handler,如果再次run就会导致死循环, 代码如下,...

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

330. laya.d3.resource.TextureCube_API3.0 [ 68%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties destoryedImmediately lock name url uuid DEB...

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