大约有 164 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...chy Scene View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blen...
来源: Laya3.0_api 发布时间: 20231115
...颜色显示不正确 laya如何实现图片变暗滤镜 如何给Sprite的graphics绘制的线条添加发光滤镜? Tween.to时添加滤镜 HTMLDivElement使用滤镜时显示异常 某些机型drawToCanv绘图颜色变深 问题状态 最新活动: 2018-10-06 15:18 浏览: 1297 关注: 4 人
来源: Laya_社区 发布时间: 20180930
... Laya.stage.addChild(sprite); sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height); // console.log("再次往开放域发请求"); // openDataContext.postMessage({ ...
来源: Laya_社区 发布时间: 20180529
...x; import laya.ui.Label; class Item extends Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_sup...
来源: Laya3.0_api 发布时间: 20231115
...d(reference); reference.pos(100, 100); reference.size(600, 400); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); // 每次舞台尺寸变更时,都会调用Utils.fitDOMElementInArea设置Video的位置,对齐的位置和refence重合 Laya.stage.on(Laya.Event.RESI...
来源: Laya_社区 发布时间: 20200909
...eTexture(); //如果texture有值,进行绘制并排序 if(texture) { sp.graphics.drawTexture(texture,(num-1)*70,Math.floor((num-1)/10)*70+10); } } private function chageTexture():void { //如果图片的张数超出100,将不再执行 if(num>=100) { Laya.timer.clear(this,onLoop); return; } /...
来源: Laya_社区 发布时间: 20161107
...; 4. 好了 收尾阶段在 laya.ani.js 中 Skeleton 类的 _createGraphics方法 有个调用骨骼更新的方法 this._rootBone.update(this._clipIndex,this._yReverseMatrix || Matrix.TEMP.identity()); 使用方式: this.__bind=new BindSkeleton(); Laya.stage.add...
来源: Laya_社区 发布时间: 20190805
...prite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//把精灵显示到舞台 2018-02-08 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...
来源: Laya_社区 发布时间: 20180103
...this,this.drawHandler); } private function drawHandler():void { Laya.stage.graphics.clear(); var dataArray:Uint8Array = new Uint8Array(analyser.frequencyBinCount); analyser.getByteFrequencyData(dataArray); var step:int = Math.round(dataArray.length / 60); for (var i:int = 0; i < 40; i++) { var energ...
来源: Laya2.0_文档 发布时间: 20210715
...r.loop(1,this,this.drawHandler); } private drawHandler():void { Laya.stage.graphics.clear(); var dataArray:Uint8Array = new Uint8Array(this.analyser.frequencyBinCount); this.analyser.getByteFrequencyData(dataArray); var step:number = Math.round(dataArray.length / 60); for (var i:number = 0; i < 4...
来源: Laya3.0_文档 发布时间: 20251010