• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 88 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0077 秒)

81. laya.ui.FontClip [ 45%]

...自动播放值为true,否则值为false; 可控制切片动画播放、停止。 Clip autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容变化而变化,如果想根据绘制内容获取宽高,...

来源: Laya2.0_api 发布时间: 20190513

82. 播放背景音乐报错,引发闪退 [ 42%]

... drawToCanvas 报错 ImageData is not defined? 求教: soundManager如何停止正在播放背景音乐 本地调试加载本地图片都报错 播放背景音乐问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() laya2 发布微信开放域工程,用微信...

来源: Laya_社区 发布时间: 20191226

83. laya.display.AnimationBase_API3.0 [ 31%]

... clear clear(): AnimationBase Defined in laya/display/AnimationBase.ts:277 停止动画播放,并清理对象属性。之后可存入对象池,方便对象复用。 Returns AnimationBase 返回对象本身 clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer ...

来源: Laya3.0_api 发布时间: 20231115

84. laya.display.FrameAnimation_API3.0 [ 28%]

...rited from AnimationBase.stop Defined in laya/display/AnimationBase.ts:185 停止动画播放。 Returns void stopDrag stopDrag(): void Inherited from Text.stopDrag Defined in laya/display/Sprite.ts:1732 停止拖动此对象。 Returns void timerLoop timerLoop(delay: number, caller: any, method: Fu...

来源: Laya3.0_api 发布时间: 20231115

85. laya.display.EffectAnimation_API3.0 [ 27%]

...加多个动效。 当一个动效开始播放时,其他动效会自动停止播放。 可以通过LayaAir IDE创建。 Hierarchy FrameAnimation EffectAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag w...

来源: Laya3.0_api 发布时间: 20231115

86. laya.ui.Clip_API3.0 [ 26%]

...。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

87. laya.display.Animation_API3.0 [ 22%]

...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

88. laya.ui.FontClip_API3.0 [ 19%]

...自动播放值为true,否则值为false; 可控制切片动画播放、停止。 Returns boolean Inherited from Clip.autoPlay Defined in laya/ui/Clip.ts:420 表示是否自动播放切片动画,若自动播放值为true,否则值为false; 可控制切片动画播放、停止。 Parameters v...

来源: Laya3.0_api 发布时间: 20231115