大约有 618 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0148 秒)
Laya3.0_api(242) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_社区(20) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...成卡顿,尽量少用)。 Parameters Default value realSize: boolean = false (可选)使用图片的真实大小,默认为false Returns Rectangle 位置与宽高组成的 一个 Rectangle 对象。 loadImage loadImage(url: string, x?: number, y?: number, width?: number, height?: number, com...
来源: Laya3.0_api 发布时间: 20231115
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...illTextureCmd 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Func...
来源: Laya2.0_api 发布时间: 20190513
...ll(true),则x坐标将立刻设置为500。 调用kill(true): 调用kill(false): 如果缓动的目标对象被销毁,那么缓动会立刻结束。 Laya.Tween.create(aSprite).duration(1000).to("x", 100) aSprite.destroy(); //上面的缓动会立刻结束 如果缓动的目标对象不是具有...
来源: Laya3.0_文档 发布时间: 20251010
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 frameLoop frameLoop(delay: number, caller: any, method: Function, args?: any[], coverBefore?: boolean): void Inherited from Node.frameLoop Defined in laya/display/Node.ts:588 定时重复执行某函数(基于帧率)...
来源: Laya3.0_api 发布时间: 20231115
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115