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

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

1201. laya.ui.Panel_API3.0 [ 36%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

1202. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 36%]

...this.index].x; this._position.z = this.resPath[this.index++].y; //HeightMap获取高度数据 this._position.y = this.terrainSprite.getHeight(this._position.x, this._position.z); if (isNaN(this._position.y)) { this._position.y = this.moveSprite3D.transform.position.y; } this._tarPosition.x = this._p...

来源: Laya3.0_文档 发布时间: 20230303

1203. laya.ui.HScrollBar_API3.0 [ 35%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...

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

1204. laya.ui.VScrollBar_API3.0 [ 35%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...

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

1205. 微信小游戏提审后,提示说代码侵权 [ 35%]

...else{ //遍历读取到的文件列表 files.forEach(function(filename){ //获取当前文件的绝对路径 var filedir = path.join(filePath,filename); //根据文件路径获取文件信息,返回一个fs.Stats对象 fs.stat(filedir,function(eror,stats){ if(eror){ console.warn('获取文件stats...

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

1206. 微信小游戏分包实战(TypeScript-小游戏适配文档-微信小游戏) [ 35%]

...base/subpackage/LoadSubpackageTask.html),可以通过 LoadSubpackageTask 获取当前下载进度。示例代码如下: ```javascript loadTask.onProgressUpdate(res => { console.log('下载进度', res.progress) console.log('已经下载的数据长度', res.totalBytesWritten) console.log('预期...

来源: Laya2.0_文档 发布时间: 20210715

1207. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 35%]

...ind console.log("c:",c.id);//c:2 } 是不是发现b只处理了set后无法获取id的值。 5.pomelo 说实话,框架真心不错,客户端也简单,具体介绍看github上的介绍吧,https://github.com/NetEase/pomelo,谈到这个就顺便讲讲如何使用第三方库吧,以pomeloClien...

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

1208. WebSocket通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...长轮询技术。 轮询是指客户端定期向服务器发送请求来获取最新数据,这种方式会造成大量不必要的请求,浪费带宽和服务器资源; 长轮询虽然有所改进,但仍不是真正意义上的实时通信。为了解决这些问题,HTML5 规范引入了 ...

来源: Laya3.0_文档 发布时间: 20251010

1209. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 33%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已...

来源: laya_api 发布时间: 20170929

1210. laya.net.Loader_API3.0 [ 32%]

...las getAtlas(url: string): AtlasResource Defined in laya/net/Loader.ts:688 获取指定资源地址的图集地址列表。 Parameters url: string 图集地址。 Returns AtlasResource 返回地址集合。 Static getBaseTexture getBaseTexture<T>(url: string): T Defined in laya/net/Loader.ts:6...

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