大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...ndManager.stopMusic(); Laya.SoundManager.playMusic("res/sound/BGM.mp3", 0, null); // var test = new EffectFlicker(); // test.startRun(); // test.startRun(); // test.create(); // var test = new Q1Buff1(); Laya.stage.off(Laya.Event.MOUSE_DOWN); Laya.stage.off(Laya.Event.MOUSE_MOVE); Laya.stage.off...
来源: Laya_社区 发布时间: 20180514
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2020-05-07 15:34 浏览: 2744 关注: 5 人 如果你也听说 • 2021-01-05 11:48 我这边也遇到同样得问题 没添加ccd 不管设置不设置0.1 有时候就是不触...
来源: Laya_社区 发布时间: 20200426
...son和图集 Laya.loader.load(["res/atlas/test.atlas"],Laya.Handler.create(null,function(){ //加载完成 //使用接口将图集透传到子域 Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); }));子域main.ts: import GameConfig from "./GameConfig"; import BigRank from "./view/...
来源: Laya_社区 发布时间: 20200314
...3D.RENDER_STATE_DEPTH_WRITE } var shader = Laya.Shader3D.add("BLINNPHONG", null, null, true); var subShader = new Laya.SubShader(attributeMap, uniformMap); shader.addSubShader(subShader); subShader.addShaderPass(MeshBlinnPhongVS, MeshBlinnPhongPS, stateMap); ``` > BLINNPHONG材质关联渲染通道...
来源: Laya2.0_文档 发布时间: 20210715
...0, m42:Number = 0, m43:Number = 0, m44:Number = 1, elements:Float32Array = null) 创建一个 Matrix4x4 实例。 Matrix4x4 billboard(objectPosition:Vector3, cameraPosition:Vector3, cameraRight:Vector3, cameraUp:Vector3, cameraForward:Vector3, mat:Matrix4x4):void[static] 计算BlillBoard矩阵 Ma...
来源: Laya2.0_api 发布时间: 20190513
...or = "#eeffcc"; Laya.loader.load("lang.lang",Handler.create(this,onLoaded),null,Loader.JSON); } private function onLoaded():void { var obj:Object=Laya.loader.getRes("lang.lang"); Text.langPacks=obj; var texts:Text=new Text(); texts.text="hello!welcom LayaBox"; Laya.stage.addChild(texts); } } } 20...
来源: Laya_社区 发布时间: 20161018
...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { ape.rotation += 2; //心跳缩放 scaleDelta += 0.02; var scaleValue:Number = Math.sin(scaleDelta); ape.scale(scaleValue, scaleValue); } } }
来源: Laya_示例 发布时间: 20260303
...nsList.array = data; } private function renderList(item:ListItemRender,e:*=null):void { item.setLabel(item.dataSource); } private function onEaseFunctionChange(list:List,e:*=null):void { character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x : 350, y:250 }, duration, Ease[li...
来源: Laya2.0_示例 发布时间: 20260303
...调用Java PlatformClass undefined Cannot read property 'displayObject' of null 浏览器运行提示TypeError: xxx is not a function Uncaught unknown animationClip version. Uncaught TypeError: Cannot read property 'props' of undefined 问题状态 最新活动: 2021-09-01 19:47 浏览: 2016 关注:...
来源: Laya_社区 发布时间: 20210901
...a.timer.callLater(this, onCallLater); } } private function onCallLater(e:*=null):void { trace("onCallLater triggered"); var text:Text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.w...
来源: Laya2.0_示例 发布时间: 20260303