大约有 441 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0064 秒)
Laya_社区(172) Laya3.0_api(172) Laya2.0_api(30) Laya2.0_文档(23) laya_api(21) Laya3.0_文档(16) Laya2.0_示例(5) Laya_示例(2)
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...的状态。比如查询数据等。 GET请求的示例代码如下: //创建HttpRequest对象 const xhr = new Laya.HttpRequest(); //发送HTTP的GET请求,数据会附加在URL中,适用于无需发送大量数据的情况。 xhr.send('https://httpbin.org/get', null, 'get', 'text'); 2.1.3 POS...
来源: Laya3.0_文档 发布时间: 20251010
...structor Defined in laya/d3/core/particleShuriKen/ShuriKenParticle3D.ts:56 创建一个 Particle3D 实例。 Returns ShuriKenParticle3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _scene _scene: Node Inherited from Node._scene Defined i...
来源: Laya3.0_api 发布时间: 20231115
...ableSprite3D.constructor Defined in laya/d3/core/SkinnedMeshSprite3D.ts:50 创建一个 MeshSprite3D 实例。 Parameters Default value mesh: Mesh = null 网格,同时会加载网格所用默认材质。 Default value name: string = null 名字。 Returns SkinnedMeshSprite3D Properties Optional _ext...
来源: Laya3.0_api 发布时间: 20231115
...il/TrailSprite3D" TrailSprite3D Class TrailSprite3D TrailSprite3D 类用于创建拖尾渲染精灵。 Hierarchy RenderableSprite3D TrailSprite3D Index Constructors constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS ...
来源: Laya3.0_api 发布时间: 20231115
...anager Overrides Sprite.constructor Defined in laya/ui/DialogManager.ts:48 创建一个新的 DialogManager 类实例。 Returns DialogManager Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inheri...
来源: Laya3.0_api 发布时间: 20231115
...当前页面的关闭而结束;这意味着Dedicated web worker只能被创建它的页面访问。与之相对应的Shared web worker可以被多个页面访问。但是web worker有些限制,并非所有的接口和方法都能使用。 - Web Worker无法访问DOM节点; - Web Worker无法...
来源: Laya2.0_文档 发布时间: 20210715
...rrides BaseTexture.constructor Defined in laya/resource/VideoTexture.ts:28 创建VideoTexture对象, Returns VideoTexture Properties destoryedImmediately destoryedImmediately: boolean Inherited from Resource.destoryedImmediately Defined in laya/resource/Resource.ts:104 是否在引用计数为0的...
来源: Laya3.0_api 发布时间: 20231102
...URL Defined in laya/resource/Resource.ts:198 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...
来源: Laya3.0_api 发布时间: 20231115
...Texture" WebXRRenderTexture Class WebXRRenderTexture author miner 类用来创建WebXRRenderTexture Hierarchy RenderTexture WebXRRenderTexture Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _renderTarget destroyedImmediately frameLoop l...
来源: Laya3.0_api 发布时间: 20231115