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

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

171. laya.ui.DialogManager_API3.0 [ 66%]

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

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

172. laya.ani.swf.MovieClip_API3.0 [ 66%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 basePath basePath: string Defined in laya/ani/swf/MovieClip.ts:71 资源根目录。 hitTestPrior h...

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

173. laya.html.dom.HTMLIframeElement_API3.0 [ 66%]

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

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

174. laya.d3.core.scene.Scene3D_API3.0 [ 65%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 currentCreationLayer currentCreationLayer: number = Math.pow(2, 0) Defined in laya/d3/core/scene/Sc...

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

175. laya.html.dom.HTMLDivElement_API3.0 [ 64%]

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

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

176. laya.display.Stage_API3.0 [ 64%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 canvasDegree canvasDegree: number = 0 Defined in laya/display/Stage.ts:126 画布的旋转角度。...

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

177. laya.display.Stage [ 58%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMod...

来源: laya_api 发布时间: 20170929

178. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

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

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

179. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 50%]

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

180. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...

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