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

大约有 176 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0067 秒)

161. 自从layaflash起,就一直存在的bug [ 38%]

... 微博 QZONE 微信 1565401917用户 赞同来自: 在最小化,或timer暂停,也可能是断点的情况下,也容易出这个报错,游戏卡住不动了 一直没找到是怎么出现这个bug的 但是如果AS3.0能开源,起码我可以自己改底层进行测试,看能否避免...

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

162. laya.media.VideoTexture_API3.0 [ 33%]

...sed(): boolean Defined in laya/media/VideoTexture.ts:398 返回视频是否暂停 Returns boolean playbackRate get playbackRate(): number set playbackRate(value: number): void Defined in laya/media/VideoTexture.ts:372 playbackRate 属性设置或返回音频/视频的当前播放速度。如: 1.0 ...

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

163. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 32%]

... { Pool } from "./Pool"; //粒子特效的基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<S...

来源: Laya3.0_文档 发布时间: 20241014

164. rigidBody.applyForce 物体不会移动 [ 31%]

...("Walk"); this.animator.speed = 1.0; } private onKeyDown(): void { //開始暂停動畫 this.MonsterMoveToMainCharacter(); // console.log(this.monster_character.transform.position); //this.animator.speed = 0.0; let keyW = Laya.KeyBoardManager.hasKeyDown(87); let keyS = Laya.KeyBoardManager.hasKeyDow...

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

165. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 31%]

...ew Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width, Laya.stage.height); } function onSuccess(url) { this.video = new Laya.Video(Laya.stage.width, Laya.st...

来源: Laya2.0_文档 发布时间: 20210714

166. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 30%]

...ew Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width,Laya.stage.height); } private onSuccess(url:string):void{ this.video = new Laya.Video(Laya.stage.width...

来源: Laya2.0_文档 发布时间: 20210715

167. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 27%]

...= new Text(); Laya.stage.addChild(text); text.text = "单击舞台播放和暂停"; text.color = "#FFFFFF"; text.fontSize = 100; text.valign = "middle"; text.align = "center"; text.size(Laya.stage.width, Laya.stage.height); } private function onSuccess(url:String):void { video = new Video(Laya.stage...

来源: Laya2.0_文档 发布时间: 20210715

168. 和原生Dom交互 · LayaAir3.0文档 · LAYABOX [ 27%]

...ew Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width,Laya.stage.height); } private onSuccess(url:string):void{ this.video = new Laya.Video(Laya.stage.width...

来源: Laya3.0_文档 发布时间: 20241014

169. laya.resource.VideoTexture_API3.0 [ 25%]

...videoPause videoPause(): void Defined in laya/resource/VideoTexture.ts:106 暂停播放视频 Returns void videoPlay videoPlay(): void Defined in laya/resource/VideoTexture.ts:97 开始播放视频 Returns void Static destroyUnusedResources destroyUnusedResources(): void Inherited from Resource.dest...

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

170. laya.device.media.Video_API3.0 [ 15%]

...sed(): boolean Defined in laya/device/media/Video.ts:397 返回视频是否暂停 Returns boolean pivotX get pivotX(): number set pivotX(value: number): void Inherited from AnimationBase.pivotX Defined in laya/display/Sprite.ts:888 X轴 轴心点的位置,单位为像素,默认为0。轴心点...

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