大约有 196 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0103 秒)
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 closeEffectHandler closeEffectHandler: Handler = new Handler(this, this.closeEffect) Defined in laya/ui/DialogManager.ts:48 全局默认弹出对话框效果,可以...
来源: Laya3.0_api 发布时间: 20231115
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...
来源: Laya3.0_api 发布时间: 20231115
...回收,需要删除对该对象的所有引用。Sprite提供的destory()方法会帮助设置内部引用为null。 例如,以下代码确保对象能够被作为垃圾回收: //创建一个Sprite实例 var sp:Laya.Sprite = new Laya.Sprite(); //将sp内部引用设置为null sp.destroy(); 当...
来源: Laya3.0_文档 发布时间: 20251010
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...
来源: Laya3.0_api 发布时间: 20231115
...度', res.totalBytesExpectedToWrite) }) ``` 本篇文档主要是讲分包方法与开发者经常遇到的window域导致的分包问题。下载进度较为容易理解,且未碰到开发者反馈相关问题,所以未在实战代码中提及,如果有遇到这块问题的,可以在社区...
来源: Laya2.0_文档 发布时间: 20210715
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...
来源: Laya3.0_api 发布时间: 20231115
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...
来源: Laya3.0_api 发布时间: 20231115
...p地图 #### 2.1.1 createMap API 说明 laya.map.TiledMap类中的createMap方法可以创建一个TiledMap地图。基础的参数说明如图6所示。  (图6) #### 2.1.2 创建地图示例 ```javascript //初始化舞台 Laya.init(Laya.Browser.width,Laya.Browser.height,Laya.WebG...
来源: Laya2.0_文档 发布时间: 20210715
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 canvasDegree canvasDegree: number = 0 Defined in laya/display/Stage.ts:126 画布的旋转角度。 canvasRotation canvasRotation: boolean = false Defined in laya/displ...
来源: Laya3.0_api 发布时间: 20231115
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...
来源: Laya3.0_api 发布时间: 20231115