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

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

2231. laya.resource.RenderTexture2D_API3.0 [ 45%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture ...

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

2232. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 45%]

LayaAir引擎 动态加载代码后,总是出现 ProgressBar is not a constructor //动态加载js文件--my.js function loadJs(jspath,defer = true) { //得到html的头部dom // var theHead = document.getElementsByTagName('head').item(0); var theHead = document.getElementsByTagName('body').item(...

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

2233. LayaAir打包发布PC或MAC平台的桌面应用程序 [ 45%]

LayaAir打包发布PC或MAC平台的桌面应用程序 Laya仅提供了移动平台的原生应用打包方案,如果我们的作品想要发布到Steam,微软商店或者MacAppStore等平台,就需要打包成exe,app等格式。目前主流的方案有node-webkit,Electron,Hex等,node...

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

2234. 2D方向光 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...简单的昼夜更替效果。 示例代码如下: const { regClass } = Laya; @regClass() export class DayNight extends Laya.Script { declare owner: Laya.Sprite; private lightComp: Laya.DirectionLight2D; private dayTime: number = 0; private dayDuration: number = 24; // 一个完整周期的秒数 ...

来源: Laya3.0_文档 发布时间: 20251010

2235. swf转成H5资源显示超出原有范围 [ 45%]

swf转成H5资源显示超出原有范围 swf显示是正常的,用的LayaFlash编译之后图片超出设定范围 且载入的data.swf尺寸跟原来不同,不方便调整大小及位置来适配不同设备,麻烦帮忙看下,谢谢啦,贴上代码。 package {     import flash.disp...

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

2236. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 45%]

跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 偶发性bug。 Uncaught (in promise) TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler._...

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

2237. TextInput 在panle里滚动后输入位置错乱,求解 [ 45%]

...找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 把这个项目demo 发上来吧 2018-06-12 0 1 分享 微博 QZONE 微信 慢先生 赞同来自: package  {     import laya.display.Input;     import laya.display.Sprite;     import laya.di...

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

2238. 发现TimeLine的一些问题,像是BUG [ 45%]

...关的链接 提交 1 个回复 cuixueying 赞同来自: package { import laya.display.Sprite; import laya.events.Event; import laya.net.Loader; import laya.utils.Ease; import laya.utils.Handler; import laya.utils.Stat; import laya.utils.TimeLine; public class AirDemo { private var sp1:Sprite; priva...

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

2239. laya.resource.NativeRenderTexture2D_API3.0 [ 45%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hier...

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

2240. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 45%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/shape/CannonSphereColliderShape" CannonSphereColliderShape Class CannonSphereColliderShape SphereColliderShape 类用于创建球形碰撞器。 Hierarchy CannonColliderShape CannonSphereColliderShape Im...

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