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

大约有 2,767 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0083 秒)

1001. laya.d3.core.scene.SceneRenderManager_API3.0 [ 69%]

...otionObject removeRenderObject updateMotionObjects Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface

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

1002. 二进制图片(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 69%]

...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

1003. laya3.0中jszip使用异常 [ 69%]

..."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

1004. 我二进制资源load之后,为什么通过getRes获取不到。 [ 69%]

...代码如下: 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

1005. 开关页面导致内存一直增长 [ 69%]

...ResList: Array<Object> = [         { url: "npc.json", typeLaya.Loader.JSON },         { url: "packatlas/uiatlasnew/talk.atlas", typeLaya.Loader.ATLAS }     ]; 通过直接加载数组的形式    “通过这种方式清理资源发现每次“打开关...

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

1006. laya.ui.TextInput_API3.0 [ 69%]

...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

1007. laya.d3.core.HeightMap_API3.0 [ 69%]

...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

1008. laya.d3.core.trail.VertexTrail_API3.0 [ 69%]

...texDeclaration1 vertexDeclaration2 Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property

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

1009. 2.2.0使用2d粒子报错 [ 69%]

...粒子使用报错,按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

1010. laya.ui.ComboBox [ 69%]

...域的属性为: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