大约有 778 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
Laya_社区(405) Laya2.0_文档(169) Laya_示例(108) Laya2.0_示例(67) Laya3.0_文档(16) Laya3.0_api(11) Laya2.0_api(2)
...的错误 "Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided." 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: ...
来源: Laya_社区 发布时间: 20180605
...件,参数为错误信息。 Loader off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...
来源: Laya2.0_api 发布时间: 20190513
...ial.load("res/threeDimen/skyBox/skyBox1/skyBox.lmat", Handler.create(this, function(mat:BaseMaterial):void { //设置相机的清除标识为天空盒 camera.clearFlag = BaseCamera.CLEARFLAG_SKY; //获取相机的天空渲染器 var skyRenderer:SkyRenderer = camera.skyRenderer; //创建天空盒的m...
来源: Laya2.0_文档 发布时间: 20210715
...1 gameThirdScriptError self is not defined;at api request success callback function ReferenceError: self is not defined at new s (game.js:6:16022) at (../../src/script/GameUI.js:10:1) at (../../src/script/GameUI.js:10:1) at (../../src/script/GameUI.js:10:1) at at (game.js:6:17062) at (../../...
来源: Laya_社区 发布时间: 20191030
...ial.load("res/threeDimen/skyBox/skyBox1/SkyBox.lmat", Handler.create(null, function(mat:BaseMaterial):void { var skyRenderer:SkyRenderer = camera.skyRenderer; skyRenderer.mesh = SkyBox.instance; skyRenderer.material = mat; })); ``` 效果如下(图3): (图3) **使用Unity的...
来源: Laya2.0_文档 发布时间: 20210715
....loadAtlas("res/atlas/hero_"+_model+".atlas",Handler.create(this,onLoad)); function onLoad():void { this.addChild(ani); var bounds:Rectangle = ani.getBounds(); Control.showLog(bounds.toString()); } 附件 : --> 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...
来源: Laya_社区 发布时间: 20180307
...oad("res/threeDimen/skyBox/skyBox1/SkyBox.lmat", Laya.Handler.create(null, function(mat) { var skyRenderer = camera.skyRenderer; skyRenderer.mesh = Laya.SkyBox.instance; skyRenderer.material = mat; })); ``` 效果如下(图3): (图3) 以上使用的天空盒为六张图片构...
来源: Laya2.0_文档 发布时间: 20210715
...key/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067...
来源: Laya2.0_文档 发布时间: 20210715
... _Sheep=createMovieClip(SheepSWFPath); private function createMovieClip(path:String):MovieClip { var mc:MovieClip = new MovieClip(); mc.load(path,false); mc.play(0,false); ...
来源: Laya_社区 发布时间: 20170804
...设定了大飞机的血量,可是打一下就死了。 var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分...
来源: Laya_社区 发布时间: 20170525