大约有 9 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0072 秒)
...。clip.total="+ clip.total); if (clip.isPlaying == true) { clip.stop();//停止动画。 }else { clip.play();//播放动画。 } } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var clip; Laya.loader.load("resource/ui/clip_num...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/display/Stage.ts:131 设置是否渲染,设置为false,可以停止渲染,画面会停留到最后一次渲染上,减少cpu消耗,此设置不影响时钟。 比如非激活状态,可以设置renderingEnabled=false以节省消耗。 screenAdaptationEnabled screenAdaptationEnabl...
来源: Laya3.0_api 发布时间: 20231115
...urns void stopDrag stopDrag(): void Defined in laya/display/Sprite.ts:1732 停止拖动此对象。 Returns void timerLoop timerLoop(delay: number, caller: any, method: Function, args?: any[], coverBefore?: boolean, jumpFrame?: boolean): void Inherited from Node.timerLoop Defined in laya/display/Nod...
来源: Laya3.0_api 发布时间: 20231115
...ase Overrides AnimationBase.clear Defined in laya/display/Animation.ts:254 停止动画播放,并清理对象属性。之后可存入对象池,方便对象复用。 override Returns AnimationBase clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in...
来源: Laya3.0_api 发布时间: 20231115
...eStopScroll: boolean = false Defined in laya/ui/List.ts:182 禁用滚动条停止 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标事件检测发...
来源: Laya3.0_api 发布时间: 20231115
... from ScrollBar.disableDrag Defined in laya/ui/ScrollBar.ts:66 调用滚动停止接口stopMoveLimit时,是否禁止内容的拖拽 downButton downButton: Button Inherited from ScrollBar.downButton Defined in laya/ui/ScrollBar.ts:58 下按钮 elasticBackTime elasticBackTime: number = 500 Inherited...
来源: Laya3.0_api 发布时间: 20231115
... from ScrollBar.disableDrag Defined in laya/ui/ScrollBar.ts:66 调用滚动停止接口stopMoveLimit时,是否禁止内容的拖拽 downButton downButton: Button Inherited from ScrollBar.downButton Defined in laya/ui/ScrollBar.ts:58 下按钮 elasticBackTime elasticBackTime: number = 500 Inherited...
来源: Laya3.0_api 发布时间: 20231115
...herited from AnimationBase.stopDrag Defined in laya/display/Sprite.ts:1678 停止拖动此对象。 Returns void timerLoop timerLoop(delay: number, caller: any, method: Function, args?: any[], coverBefore?: boolean, jumpFrame?: boolean): void Inherited from Node.timerLoop Defined in laya/display/Nod...
来源: Laya3.0_api 发布时间: 20231102
...ader.ts:859 清理当前未完成的加载,所有未加载的内容全部停止加载。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional da...
来源: Laya3.0_api 发布时间: 20231115