大约有 18 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)
...22 18:21:21.542170+0800 layabox[3608:626785] ShaderCompile use time:14 size:5011/5105 2020-04-22 18:21:21.549517+0800 layabox[3608:626785] ShaderCompile use time:6 size:1980/5939 2020-04-22 18:21:21.559118+0800 layabox[3608:626785] ShaderCompile use time:8 size:2636/4260 2020-04-22 18:21...
来源: Laya_社区 发布时间: 20200422
...laya.ui.Label = new laya.ui.Label(); // label.text = "Hello"; // label.fontSize = 50; // label.color = "#FF00FF"; // label.wordWrap = true; // label.width = 100; // label.height = 100; // label.x = 100; // label.y = 100; // Laya.stage.addChild(label); } } }自己写的label类:package { import lay...
来源: Laya_社区 发布时间: 20170516
... htmlCanvas.source.width = 100; htmlCanvas.source.height = 100; htmlCanvas.size(100, 100); // 在单独的画布上绘制矩形。 htmlCanvas.getContext("2d").fillStyle = "#FFFF00"; htmlCanvas.getContext("2d").fillRect(20, 20, 60, 60); // 把单独画布绘制到舞台。 var texture:Texture = new T...
来源: Laya_社区 发布时间: 20161020
... (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 "...
来源: Laya_社区 发布时间: 20181020
...aBox (12689): >>>>>>>>>>>>>bGLCanvasSizeChanged w=1920 h= 1080 I/LayaBox (12689): >>>>>>>>>>>>>>>>innerWidth:1920innerHeight:1080 I/GlobalPushManager( 4888): checkPollAndPopSend --> mSenderInfo = SenderInfo{mSe...
来源: Laya_社区 发布时间: 20170320
...题, this.myTest = new Laya.Text() this.myTest.pos(0, 0) this.myTest.size(100, 100) this.myTest.fontSize = 13 this.myTest.color = "#ffffff" this.myTest.align = "center" this.addChild(this.myTest) this.timer.loop(10, this, this.timerClick) timerClick() { this.myTest.changeText("改变的...
来源: Laya_社区 发布时间: 20190129
... (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 "...
来源: Laya_社区 发布时间: 20191028
...rite(); Laya.stage.addChild(reference); reference.pos(100, 100); reference.size(600, 400); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); // 每次舞台尺寸变更时,都会调用Utils.fitDOMElementInArea设置Video的位置,对齐的位置和refence重合 Lay...
来源: Laya_社区 发布时间: 20200909
... class[MiniAdpter] already exist: Object {init: } ShaderCompile use time:7 size:1426/6889 GradientDataNumber warning:the forth key is be force set to 1. GradientDataNumber warning:data count must lessEqual than 4 GradientDataNumber warning:the forth key is be force set to 1. GradientDataNumber warni...
来源: Laya_社区 发布时间: 20190301
...照物 let reference = new Laya.Sprite(); reference.pos(0, 0); reference.size('100%', '100%'); this.addChild(reference); Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement,reference,0, 0,'100%','100%']); Laya.Utils.fitDOMElementInArea(videoElement,reference,0, 0,'10...
来源: Laya_社区 发布时间: 20181124