大约有 2,767 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0083 秒)
Laya_社区(1624) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(65) Laya2.0_示例(16) Laya_示例(11)
...otionObject removeRenderObject updateMotionObjects Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObj...
来源: Laya2.0_文档 发布时间: 20210714
..."resources/files/config.zip"; Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then( (value) => { JSZip.loadAsync(value).then( (zipData: J...
来源: Laya_社区 发布时间: 20230208
...代码如下: var resources = [ { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load(resources, Handler.create(this, this.onComplete), Handler.create(this, this.onProcess), null, 1, false); } onComplete(e,a,b) { c...
来源: Laya_社区 发布时间: 20180816
...ResList: Array<Object> = [ { url: "npc.json", type: Laya.Loader.JSON }, { url: "packatlas/uiatlasnew/talk.atlas", type: Laya.Loader.ATLAS } ]; 通过直接加载数组的形式 “通过这种方式清理资源发现每次“打开关...
来源: Laya_社区 发布时间: 20200915
...trokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubble...
来源: Laya3.0_api 发布时间: 20231115
...ight creatFromMesh createFromImage Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231102
...texDeclaration1 vertexDeclaration2 Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231102
...粒子使用报错,按F12看到下面信息 laya.core.js:2554 Uncaught TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'. at ParticleShader._compile (VM258 laya.core.js:2554) at ParticleShader.recreateResource (VM258 laya....
来源: Laya_社区 发布时间: 20190906
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: laya_api 发布时间: 20170929