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

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

291. [LayaNative3]Laya3.28/9原生打包ISO视频播放闪退 [ 39%]

...ntime extends VideoRuntimeBase {     onEnable(): void {         Laya.stage.on(Laya.Event.MOUSE_DOWN, () => {             //Laya.loader.load("resources/files/layaAir.mp4").then(() => {                 this.VideoNode.play(); //播放视频             //});         ...

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

292. laya.display.Text [ 36%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以...

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

293. laya.display.Text [ 35%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node filters : Array滤镜集合。可以设置多个滤镜组合。Sprite  font : String 文本的字体名称,以字符串形式表示。 默认值为...

来源: laya_api 发布时间: 20170929

294. 使用3D摄像机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 34%]

....x; this._rayViewport.y = this.viewport.y; this._rayViewport.width = ILaya.stage._width; this._rayViewport.height = ILaya.stage._height; Picker.calculateCursorRay(point, this._rayViewport, this._projectionMatrix, this.viewMatrix, null, out); } 参照3D-RPG项目,我们加上一段代码,当鼠...

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

295. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 13%]

...rite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.addChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThroug...

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