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

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

641. Failed to execute 'texImage2D怎么处理? [ 54%]

...的错误 "Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided." 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: ...

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

642. laya.net.Loader [ 54%]

...件,参数为错误信息。 Loader off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...

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

643. 摄像机的背景色和天空盒(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 54%]

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

644. 微信小程序调试器运行正常,真机调试报错 [ 54%]

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

645. 场景天空(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 54%]

...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): ![](img/3.png)(图3) **使用Unity的...

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

646. Animation如何获取图集单帧实际宽高 [ 54%]

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

647. 场景天空(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 54%]

...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): ![](img/3.png)(图3) 以上使用的天空盒为六张图片构...

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

648. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 54%]

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

649. LAYAAIR加载SWF无线循环 [ 53%]

...             _Sheep=createMovieClip(SheepSWFPath);    private function createMovieClip(path:String):MovieClip         {             var mc:MovieClip = new MovieClip();                      mc.load(path,false);        mc.play(0,false);    ...

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

650. 为什么会出现报错 ani not found:ufo1_down [ 53%]

...设定了大飞机的血量,可是打一下就死了。    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