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

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

171. 3D粒子编辑模块 · LayaAir3文档 · 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_文档 发布时间: 20250104

172. rigidBody.applyForce 物体不会移动 [ 32%]

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

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

174. Steam扩展实例 · LayaAir3.3 · 引擎文档 · LAYABOX [ 31%]

...用Steam中的所有扩展功能,包括用户打开 Steam 叠加界面时暂停游戏、邀请好友、允许玩家解锁 Steam 成就等。 在集成Steam扩展前,开发者需要准备以下内容: 阅读Windows扩展文档,集成Steam扩展功能需要使用LayaNative扩展工具,安装...

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

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

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

177. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · 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_文档 发布时间: 20251010

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

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

180. laya.media.VideoNode_API3.0 [ 15%]

...paused(): boolean Defined in laya/media/VideoNode.ts:281 返回视频是否暂停 Returns boolean pivotX get pivotX(): number set pivotX(value: number): void Inherited from Text.pivotX Defined in laya/display/Sprite.ts:926 X轴 轴心点的位置,单位为像素,默认为0。轴心点会影响...

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