大约有 73 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0045 秒)
...inModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2D = Laya.stage.addChild(new Laya.Image("../../res/threeDimen/monkey.png")); Laya...
来源: Laya_示例 发布时间: 20261113
...信息。 Uncaught Error: IBQuadrangle count:16391 must<:16383 at Function.GlUtils.fillIBQuadrangle (laya.webgl.js:2614) at Function.GlUtils.expandIBQuadrangle (laya.webgl.js:2635) at WebGLContext2D.__proto.flush (laya.webgl.js:4744) at RenderContext.__proto.flush (laya.co...
来源: Laya_社区 发布时间: 20170725
...t; import common.CameraMoveScript; public class Laya3DCombineHtml { public function Laya3DCombineHtml() { __JS__("var div = document.createElement('div')"); __JS__("div.innerHTML = '此内容来源于HTML网页, 可直接在html代码中书写 - h1标签'"); __JS__("document.body.appendChild(div)");...
来源: Laya_示例 发布时间: 20261113
...导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("Lay...
来源: Laya_社区 发布时间: 20180919
...tils.Stat; /** * ... * @author ... */ public class Particle_Scene { public function Particle_Scene() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(Scene.load("../../../../res/threeDime...
来源: Laya_示例 发布时间: 20261113
...inModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey1 = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2 = Laya.Sprite3D.instantiate(layaMonkey1, scene, false, new Laya.Vector3(0, 0, 0)...
来源: Laya_示例 发布时间: 20261113
...l.contextWidth, html.contextHeight); Laya.stage.addChild(html); setTimeout(function() { html.innerHTML = ''; }, 300);此问题是由于在新版中改变了laya.html.js的HTMLDivElement中width的set方法 之前的版本中,set方法为/** *获取对象的宽 */ __getset(0,__proto,'width',functio...
来源: Laya_社区 发布时间: 20170620
...ontexts provided (6) is greater than or equal to the maximum bound (6). at Function.<anonymous> (<anonymous>:10787:310) at Function.get (<anonymous>:168:66) at Function.WebAudioSound.initWebAudio (<anonymous>:10773:21) at Function.Browser.__init__ (<anonymous>:6184:57) ...
来源: Laya_社区 发布时间: 20170224
...区全部数据。 *@return 读取的字符串。 */ __proto.readUTFBytes=function(len){ (len===void 0)&& (len=-1); if (len==0)return ""; var lastBytes=this.bytesAvailable; if (len > lastBytes)throw "readUTFBytes error - Out of bounds"; len=len > 0 ? len :lastBytes; return this.rUTF(le...
来源: Laya_社区 发布时间: 20180822
...Space/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:305:118) at Function.Laya3D.init (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.d3.js:14694:4) at new Test (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/js/bundle.js:14:16) ...
来源: Laya_社区 发布时间: 20181228