大约有 2,796 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0122 秒)
...tTween()或是Laya.Tween.getTweens()方法查询对象关联的缓动。 //获取对象上的第一个缓动 let tween = Tween.getTween(aSprite); if (tween != null) tween.kill(); //获取对象上的全部缓动 let tweens = Tween.getTweens(sSprite); tweens.forEach(tween => tween.kill()); kill()...
来源: Laya3.0_文档 发布时间: 20251010
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in lay...
来源: Laya3.0_api 发布时间: 20231102
... getRes getRes(url: string): any Defined in laya/net/LoaderManager.ts:410 获取指定资源地址的资源。 Parameters url: string 资源地址。 Returns any 返回资源。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDisp...
来源: Laya3.0_api 发布时间: 20231102
...= false; } } /** * 获取是否运行中 */ public get running(): boolean { return this.$running; } /** * 获取运行的时间 */ publi...
来源: Laya_社区 发布时间: 20181114
... Defined in laya/d3/physicsCannon/shape/CannonCompoundColliderShape.ts:135 获取子形状数量。 Returns number removeChildShape removeChildShape(shape: CannonColliderShape): void Defined in laya/d3/physicsCannon/shape/CannonCompoundColliderShape.ts:79 移除子碰撞器形状。 Parameters shape...
来源: Laya3.0_api 发布时间: 20231102
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in lay...
来源: Laya3.0_api 发布时间: 20231102
...nt(): number Defined in laya/d3/physics/shape/CompoundColliderShape.ts:146 获取子形状数量。 Returns number removeChildShape removeChildShape(shape: ColliderShape): void Defined in laya/d3/physics/shape/CompoundColliderShape.ts:119 移除子碰撞器形状。 Parameters shape: ColliderShape ...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in lay...
来源: Laya3.0_api 发布时间: 20231102
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 canvasDegree canvasDegree: number = 0 Defined in laya/display/Stage.ts:126 画布的旋转角度。...
来源: Laya3.0_api 发布时间: 20231115