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

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

1901. laya.net.Downloader_API3.0 [ 45%]

...WithBlob imageWithWorker Properties httpRequestPool httpRequestPool: Array<HttpRequest> = [] Defined in laya/net/Downloader.ts:80 Methods audio audio(owner: any, url: string, originalUrl: string, onProgress: (progress: number) => void, onComplete: (data: any, error?: string) => void): vo...

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

1902. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 45%]

...每次累加的同时清空上次的路径 var sp; var x = 0; export default class Scene extends Laya.Sprite{ constructor(){ super(); Laya.init(500, 300, Laya.WebGL); var bg = new Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); // drawSometh...

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

1903. laya.d3.math.Quaternion_API3.0 [ 45%]

...n Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFrom...

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

1904. conch.config.getUsedMem() 安卓包中 定时运行报错 [ 45%]

...t/runtime/indirect_reference_table.cc:113] 510: 0x6fc37838 java.lang.Class<java.lang.String> 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art: art/runtime/indirect_reference_table.cc:113] 509: 0x131f4ae0 java.lang.String "682464.0" 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art...

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

1905. laya2.0调试时候Error: "abort Cannot enlarge memory arrays.这个问题定位到了Physics3D,要怎么解决呀 [ 45%]

...初始化内存 window['Config3D'] && (window['Config3D']['_defaultConfig']['_defaultPhysicsMemory']=100);   2018-11-01 0 6 分享 微博 QZONE 微信 dss 赞同来自: 请问这个问题具体是哪里引起的,有方案了吗? 2018-11-28 0 0 分享 微博 QZONE 微信 永林 赞同来...

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

1906. laya.display.Scene_API3.0 [ 45%]

...e destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY sta...

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

1907. layaair2-cmd compile 一直报错loader.js:638 throw err; [ 45%]

...     at require (internal/modules/cjs/helpers.js:25:18)     at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\vinyl\index.js:12:25)     at Module._compile (internal/modules/cjs/loader.js:778:30)     at Object.Module._extensions..js...

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

1908. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 45%]

...用 let y = 400; let unitWidth = Laya.stage.width / 16; for (let i = 0; i < 16; i++) { let person = templet.buildArmature(); Laya.stage.addChild(person); person.x = i * unitWidth; person.y = y; person.play("hongse_daiji", true); } }));  //飞碟 this.genSpine("res/spine/ludo_feidie.skel", Laya.H...

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

1909. 2.4.0怎么调试呢? [ 45%]

....js物理引擎出错。 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 本地调试加载本地图片都报错 LayaAir下如何成功调试matter.js物理引擎Demo? 在FB中编...

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

1910. laya.ui.View_API3.0 [ 45%]

...e destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY sta...

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