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

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

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

652. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 41%]

...发起获得最短路径的调用: //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { //起始和目标点 var start = this.graph.grid[this.startPoint.x][this.startPoint.y]; var end = this.graph.grid[this.endPoint.x][this.endPoint.y]; //调用A* serach方法...

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

653. laya.ui.CheckBox_API3.0 [ 39%]

...heckBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成...

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

654. laya.ui.TextArea_API3.0 [ 36%]

...extArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea =...

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

655. 使用3D UI · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...e { onAwake(): void { this.bar.value = 1; this.value.visible = false; Laya.stage.on(Laya.Event.CLICK, this, this.onHurt); } onHurt(): void { this.bar.value = this.bar.value - 0.9; this.value.y = 35; this.value.visible = true; Main.instance.animator.play("stun"); Laya.Tween.create(this.value).to("y",...

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

656. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 30%]

...ame("MoveBlockPivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot") as Laya.Sprite3D; let newRot = new Laya.Quaternion(0, 0...

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

657. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 28%]

...mp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("test/test.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya....

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

658. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 26%]

... */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.addChild(opendata); opendata.pos(100,100); opendata.size(500,500); } } 成功创建开放数据域视图节点后,我们只是完成了引擎层面要完成的工作流程,接下来我们还要完成微信小游戏...

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

659. lib/arm/liblayaair.so 总是崩溃 [ 25%]

...so     M EF6AE000 00000000 0000E000 AD12F266E11C52CE47A48142E9D9E4B60 libstagefright_amrnb_common.so     M EF6BB000 00000000 00022000 F4EED9E0DBCD0039613199B23DA49AD50 libexif.so     M EF6EA000 00000000 00015000 9DF5297991EBB31404CF11CD9C34AA6B0 libmtp.so 08-14 10:57:49.249 22858-22354/? A/goo...

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

660. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 23%]

...mmc 赞同来自: ls场景文件通过Laya.loader.create()预加载后Laya.stage.destroyChildren()出现异常Cannot read property 'visible' of null。 问题详情见:https://ask.layabox.com/question/5103 2017-06-15 0 1 分享 微博 QZONE 微信 150*****372 赞同来自: 目前,使用最新版...

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