大约有 1,880 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1141) Laya3.0_api(242) Laya2.0_文档(103) Laya2.0_示例(94) Laya_示例(91) Laya2.0_api(82) laya_api(76) Laya3.0_文档(51)
...加以下两行gl.enable(gl.SCISSOR_TEST); gl.scissor(0, 0, RenderState2D.width, RenderState2D.height); 2022-04-28 0 0 分享 微博 QZONE 微信 HIPPOPMANANDRAPGIRL 赞同来自: 帮助解决里面微信50软妹币 2022-04-29 0 0 分享 微博 QZONE 微信 HIPPOPMANANDRAPGIRL 赞同来自: 浏...
来源: Laya_社区 发布时间: 20220427
...个<div id="layaContainer"><canvas id="layaCanvas" height="1242" width="2208" style="position: absolute; left: 0px; top: 0px; background: rgb(35, 38, 40); transform-origin: 0px 0px 0px; transform: matrix(0.333333, 0, 0, 0.333333, 0, 0);"></canvas><div style="position: absolute; ...
来源: Laya_社区 发布时间: 20170322
...暂不支持。 比如以下代码: var map:BitmapData = new BitmapData(width * scale, height * scale, false); map.perlinNoise(20*scale, 20*scale, 3, 5, false, true); var texture:Texture = Texture.fromBitmapData(map, false, false, scale); 用到了BitmapData的perlinNoise接口,这个接口Laya...
来源: Laya_社区 发布时间: 20151208
...ay.StageScaleMode; import flash.events.Event; import login.LoginView; [SWF(width=800,height=600,backgroundColor="0xffffff",frameRate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为...
来源: Laya_社区 发布时间: 20151225
....stage.addChild(sp); sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } 发布成单机版apk在移动端安装运行,移动端报错提示: http://www.xxx.com/LayaUISampl ... annot read property 'start' of null ...
来源: Laya_社区 发布时间: 20170522
...ize(); _proMask = new Sprite(); _proMask.graphics.drawRect(0, 0, _progress.width, _progress.height); _proMask.scaleX = 0; _progress.mask = _proMask; _bar.stateNum = 1; } override protected function createChildren():void { super.createChildren(); var index:Number = getChildIndex(_bg); addChildAt(_pro...
来源: Laya_社区 发布时间: 20170327
...处理做一下取整处理,看下是否能解决您这个问题: The width of getCharBmp must be an integer 2024-05-30 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 忆汉月 相关问题 微信关系链:LayaAir引擎针对微...
来源: Laya_社区 发布时间: 20240514
...00; j++) { if(count == 10000) { var htmlCanvas:HTMLCanvas = a.drawToCanvas(width,height,0,0); var texture:Texture = new Texture(htmlCanvas); var b:Sprite = new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy(); a = b; } a.graphics.drawRect(10*i, 10*j, 10, 10, "#ff0000");...
来源: Laya_社区 发布时间: 20181113
...竖屏思路: Laya.stage.scaleMode "fixedwidth" :宽度不变,高度根据屏幕比缩放 这种模式下的Laya.init(width,height, WebGL);高度一般是不对的,需要计算 b.横屏思路: Laya.s...
来源: Laya_社区 发布时间: 20200305
... position: absolute; margin:5px; width: 300px; height: 200px; overflow:auto; font-size:20px; line-height:38px; font-family:"微软雅黑"; color:#000; text-align:justify; text-justify:inter-ideograph...
来源: Laya_社区 发布时间: 20180103