大约有 112 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0029 秒)
Laya_社区(82) Laya3.0_api(6) Laya_示例(5) Laya2.0_示例(5) Laya2.0_文档(4) Laya3.0_文档(4) Laya2.0_api(4) laya_api(2)
...ected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawLinesCmd" DrawLinesCmd Class DrawLinesCmd 绘制连续曲线 Hierarchy DrawLinesCmd Index Properties lineColor lineWidth points x y ID Methods recover Properties lineColor lineColor: any Defined in laya/display/cmd/DrawLi...
来源: Laya3.0_api 发布时间: 20231115
...prite();绘制图形以后,怎么删除释放资源? graphics drawPath drawLine 鼠标 画笔 画线 锯齿 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 3d物理 刚...
来源: Laya_社区 发布时间: 20250816
...也听说 时隔将近4年,这个问题我自己解决了,使用Laya的drawLines可以代替moveTo和lineTo,从而实现涂鸦效果 2020-12-03 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: graphics下有对应的moveTo、lineTo方法! 2017-02-16 0 0 分享 微博 QZONE 微信 o...
来源: Laya_社区 发布时间: 20170216
... this.frameLoop(1, this, () => { this.graphics.clear(); this.graphics.drawLine(0, 0, 1, 0, '#000'); }); this.customRenderEnable = true; this.customRender = (context: Laya.RenderContext, x: number, y: number) => { let webGLContext = context.ctx as Laya.WebGLContext2D; }sprite设置了customRend...
来源: Laya_社区 发布时间: 20180728
...h:Number = 0, height:Number = 0):DrawImageCmd 绘制单独图片 Graphics drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1):DrawLineCmd 绘制一条线。 Graphics drawLines(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):Draw...
来源: Laya2.0_api 发布时间: 20190513
...ise) DOMException: play() 我这样载入场景问题出现在哪呢?? drawLine出现锯齿问题 问题状态 最新活动: 2017-03-13 10:38 浏览: 1171 关注: 2 人 sky_fly • 2017-03-13 10:54 另外,我上次说的pos和loadImage方法的xy的问题,在文件夹的Background.ts中你...
来源: Laya_社区 发布时间: 20170313
... 784 关注: 2 人 AllenYT • 2018-03-27 10:50 自己切的话,是使用drawLines嘛,怎么对每个小格子操作呢 Laya_Aaron • 2018-03-27 10:52 是用其他软件切,然后合成大图合集,分别加载,分别操作 AllenYT • 2018-03-27 11:03 @Laya_Aaron:一张大图可能分成...
来源: Laya_社区 发布时间: 20180327
...常的。 关于使用matterjs物理引擎鼠标问题 graphics drawPath drawLine 鼠标 画笔 画线 锯齿 Laya 鼠标Cursor怪异问题,有demo 龙骨skeleton鼠标点击区域的设置 问题状态 最新活动: 2025-08-16 14:41 浏览: 1720 关注: 3 人
来源: Laya_社区 发布时间: 20250802
...前暂时没有绘制三角形的接口,建议开发开发者可以根据drawLines或drawPoly自己封装一个类似功能! 2017-06-09 0 0 分享 微博 QZONE 微信 raytrace 赞同来自: 其实是取图片的三角区域,有没有获取单个像素点的颜色和设置单个点的方法 2017-...
来源: Laya_社区 发布时间: 20170609
...():void { var sp:Sprite=new Sprite(); Laya.stage.addChild(sp); sp.graphics.drawLine(0,0,200,200,'#FF00000'); sp.pivot(0,0); Laya.timer.frameLoop(1,this,onTimer,[sp]); } private function onTimer(sp:Sprite):void { sp.rotation+=1; } 2017-04-24 0 0 分享 微博 QZONE 微信 wqt542434707 赞同来自: ...
来源: Laya_社区 发布时间: 20170424