大约有 67 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...erited Externals Only exported Menu Globals "Laya" Laya Class Laya Laya 是全局对象的引用入口集。 Laya类引用了一些常用的全局对象,比如Laya.stage:舞台,Laya.timer:时间管理器,Laya.loader:加载管理器,使用时注意大小写。 Hierarchy Laya Index Prope...
来源: Laya3.0_api 发布时间: 20231115
...r): void Defined in laya/d3/core/render/command/CommandBuffer.ts:126 设置全局Vector4数据 Parameters nameID: number Vector4数据ID source: Color 数据 Returns void setGlobalInt setGlobalInt(nameID: number, source: number): void Defined in laya/d3/core/render/command/CommandBuffer.ts:226 设...
来源: Laya3.0_api 发布时间: 20231115
...t Properties Static I I: WeakObject Defined in laya/utils/WeakObject.ts:17 全局WeakObject单例 Static delInterval delInterval: number = 10 * 60 * 1000 Defined in laya/utils/WeakObject.ts:15 如果不支持WeakMap,则多少时间清理一次缓存,默认10分钟清理一次 Static supportWeakM...
来源: Laya3.0_api 发布时间: 20231115
...atic getGID getGID(): number Defined in laya/utils/Utils.ts:77 获取一个全局唯一ID。 Returns number Static parseInt parseInt(str: string, radix?: number): number Defined in laya/utils/Utils.ts:120 解析一个字符串,并返回一个整数。和JS原生的parseInt不同:如果str为空...
来源: Laya3.0_api 发布时间: 20231115
...rowser.ts:70 Static canvas canvas: any Defined in laya/utils/Browser.ts:80 全局离线画布(非主画布)。主要用来测量字体、获取image数据。 Static context context: CanvasRenderingContext2D Defined in laya/utils/Browser.ts:82 全局离线画布上绘图的环境(非主画布...
来源: Laya3.0_api 发布时间: 20231115
...new Handler(this, this.closeEffect) Defined in laya/ui/DialogManager.ts:48 全局默认弹出对话框效果,可以设置一个效果代替默认的弹出效果,如果不想有任何效果,可以赋值为null hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined i...
来源: Laya3.0_api 发布时间: 20231115
...默认的关闭效果,如果不想有任何效果,可以赋值为null 全局默认关闭效果可以通过manager.closeEffect修改 closeHandler closeHandler: Handler Defined in laya/ui/Dialog.ts:176 对话框被关闭时会触发的回调函数处理器。 回调函数参数为用户点击的...
来源: Laya3.0_api 发布时间: 20231115
...on(): number Defined in laya/display/Sprite.ts:1789 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Returns number globalScaleX get globalScaleX(): number Defined in laya/display/Sprite.ts:1775 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩...
来源: Laya3.0_api 发布时间: 20231115
...obalRotation Defined in laya/display/Sprite.ts:1735 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Returns number globalScaleX get globalScaleX(): number Inherited from AnimationBase.globalScaleX Defined in laya/display/Sprite.ts:1721 获得相对于stage的全局X...
来源: Laya3.0_api 发布时间: 20231102
...obalRotation Defined in laya/display/Sprite.ts:1789 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Returns number globalScaleX get globalScaleX(): number Inherited from Text.globalScaleX Defined in laya/display/Sprite.ts:1775 获得相对于stage的全局X轴缩放...
来源: Laya3.0_api 发布时间: 20231115