大约有 260 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(179) Laya3.0_api(34) Laya2.0_文档(22) Laya3.0_文档(13) Laya_示例(4) laya_api(3) Laya2.0_api(3) Laya2.0_示例(2)
...叠? 0 个回复被折叠 要回复问题请先登录 发起人 wei28liang90 相关问题 unity导出粒子文件问题 laya针对页游耗用内存大的问题是如何解决的? 请问LayaAir中如何使图片以圆形的方式显示? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面...
来源: Laya_社区 发布时间: 20180131
....addChild( testPan ); testPan.pos( 300,300); testPan.graphics.drawRect(0,0,90,100,"#faaff0"); testPan.on(Event.CLICK,this,onMouseClick); testPan.width = 90; testPan.height = 100; var mcSp:Sprite = new Sprite(); mcSp.graphics.drawRect(0,0,90,100,"#fff000"); testPan.addChild( mcSp); mcSp.pos( -25,-90 ...
来源: Laya_社区 发布时间: 20161124
...spt.graphics.drawPie(spt.width / 2, spt.height / 2, spt.width / 2, angle - 90, -90, '#000000'); 现在改成了 spt.graphics.drawPie(spt.width / 2, spt.height / 2, spt.width / 2, angle - 90, -90+360, '#000000'); 2017-08-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20170821
...rcent: number): void { this.view.box_mark.graphics.drawPie(216, 216, 216, -90, (-90 + Math.floor(percent * 360)), "#ff0000"); //画进度 let point: { x: number, y: number, hudu: number } = this.cal(216, 216, 205, Math.abs(Math.floor(percent * 360) ) - 90); //现在是顺时针,如果逆时针旋...
来源: Laya_社区 发布时间: 20190629
...t / pixelRatio, 0); canvasDegree = 90; } else { mat.rotate(-Math.PI / 2); mat.translate(0, screenWidth / pixelRatio); ...
来源: Laya_社区 发布时间: 20180712
...unity导入的场景,场景里物体的初始角度localRotationEuler为(90,0,0),在onStart或者OnAwake里面改变localRotationEulerY为90时,旋转的位置不对,打印出来的角度是(0,90,0)。但如果在改变localRotationEulerY之前打印一下localRotationEuler的值(打印出...
来源: Laya_社区 发布时间: 20210806
...用。 RotationInfo gamma : Number Y轴旋转角度,其值范围从-90至90。代表设备从左至右的运动。 RotationInfoPublic Methods MethodDefined By RotationInfo()RotationInfoProperty Detailabsolutepropertypublic var absolute:Boolean 指示设备是否可以提供绝对方位数...
来源: laya_api 发布时间: 20170929
...phics.drawPoly(264, 166, [0, 0, 60, 0, 60,100, 50, 100, 50,80, 40, 80, 40, 90, 30,90, 30, 80,20, 80,20,90,0, 90], "#ffff00"); } })(); 绘制出来的多边形无法闭合 附件 : --> 2017-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20171219
...点 ["lineTo", dingBianW + (lineW - dingBianW) / 2, -_totalH / Math.sin((90 - Math.abs(skewXNum)) / 180 * Math.PI)], //再画到C点 ["lineTo", (lineW - dingBianW) / 2, -_totalH / Math.sin((90 - Math.abs(skewXNum)) / 180 * Math.PI)], //继续画到D点 ["closePath"] //闭合路径 ]; //绘制梯...
来源: Laya_社区 发布时间: 20180717
...t / pixelRatio, 0); canvasDegree = 90; } else { mat.rotate(-Math.PI / 2); mat.translate(0, screenWidth / pixelRatio); ...
来源: Laya_社区 发布时间: 20180621