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

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

1681. 怎么在laya2里使用第三方库 [ 53%]

...哪有文档不? 2018-09-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复   赞同来自: 在bin目录下 index.js里直接引用 2018-09-21 0 2 分享 微博 QZONE 微信 一花一世界 赞同来自: 唉,...

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

1682. 3D开启多线程报错 [ 53%]

...错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225)     at Texture2D.__proto.recreateResource (laya.d3.js:37271)     at T...

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

1683. [LayaAir3]3.3 native视频节点使用报错,无法播放视频 [ 53%]

...08-08 18:50:56.420  2554  2589 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaPlayer.setVolume(float, float)' on a null object reference 08-08 18:50:56.420  2554  2589 W System.err:    at layaair.game.browser.LayaVideoPlayer.setVolume(La...

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

1684. 2.2.0beta2中,ui使用相对布局时初始化会报错 [ 53%]

... --> LayoutTest2.zip 2019-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 请上传一个复现的demo ,优先解决,没有demo的没法解决 2019-08-08 0 1 分享 微博 QZONE ...

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

1685. [2.2.0] ColorFilterSetter组件无法使用 [ 53%]

... laya.core.js:29646 at getCompInstance (file:///D:/WQSG/Documents/testLayaFont/testLayaFont2/bin/libs/laya.core.js:29646:13)   at createComp (file:///D:/WQSG/Documents/testLayaFont/testLayaFont2/bin/libs/laya.core.js:29494:35)   at createComp (file:///D:/WQSG/Documents/testLayaFont/testLayaFont2/b...

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

1686. 3D模式下使用Tween使模型移动如何写法 [ 53%]

...显示鱼模型 var fish = new Laya.MeshSprite3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg"); fish.meshRend...

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

1687. protobuf使用 [ 53%]

...空   附件 : --> 2017-02-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 laya21126 赞同来自: 我就是按网官的这个例子做的呀,现在就卡在,html页面中要如何引用 2017-02-19 0 1 分...

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

1688. 使用Bloom后处理后微信ios部分机型闪退 [ 53%]

...oom后处理后微信ios部分机型闪退 目前闪退机型有 X Max  phone11  phone12 max 有时候必现,有时候概率闪退 代码片段: var postProcess = new Laya.PostProcess();             var bloom = new Laya.BloomEffect();             postProcess.add...

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

1689. 关于对象池Laya.Pool的用法 [ 53%]

...法有些疑问,var SPRITE_SIGN = 'spriteSign'; var sprites = []; function initialize() { for (var i = 0; i < 1000; i++) { var sp = Pool.getItemByClass(SPRITE_SIGN, Sprite) sprites.push(sp); Laya.stage.addChild(sp); } } initialize(); Laya.stage.on("click", this, function() {     var sp; ...

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

1690. [LayaAir3]Area2D使用transformPoint方法返回的位置点偏移 [ 53%]

...当Camera2D的可视区域超过镜头的Limit_Left和Limit_Top时,组件onMouseClick中调用Area2D的transformPoint转换舞台坐标,返回Area2D中的坐标点会偏移,四周都会有这个情况,只有在镜头的限制边界内时才是对的,这个是bug么还是哪里设置的不...

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