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

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

281. Shader预编译(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 43%]

...例改自官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function(){ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["DIRECT...

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

282. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 42%]

...y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是否踩在地板上面了 for(var ...

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

283. Shader预编译(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 42%]

...例改自官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function():void{ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["D...

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

284. Shader预编译(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 41%]

...例改自官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function():void{ var arr:Array; for(var i:int = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "define...

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

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

286. laya.display.Text [ 36%]

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

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

287. laya.display.Text [ 35%]

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

来源: laya_api 发布时间: 20170929

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

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

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

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