• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 260 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)

11. list中图片mask失效问题,补充附件 [ 89%]

...叠? 0 个回复被折叠 要回复问题请先登录 发起人 wei28liang90 相关问题 unity导出粒子文件问题 laya针对页游耗用内存大的问题是如何解决的? 请问LayaAir中如何使图片以圆形的方式显示? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面...

来源: Laya_社区 发布时间: 20180131

12. 鼠标事件能否在有图形的区域感应,特别是子项坐标为负数时(已经找到问题) [ 88%]

....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

13. drawPie的问题 [ 88%]

...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

14. 【分享】圆形进度条上图片跟随进度并旋转角度 [ 88%]

...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

15. 请教玩一玩横屏问题 [ 87%]

...t / pixelRatio, 0);                     canvasDegree = 90;                 } else {                     mat.rotate(-Math.PI / 2);                     mat.translate(0, screenWidth / pixelRatio);                ...

来源: Laya_社区 发布时间: 20180712

16. 修改localRotationEuler的问题 [ 86%]

...unity导入的场景,场景里物体的初始角度localRotationEuler为(90,0,0),在onStart或者OnAwake里面改变localRotationEulerY为90时,旋转的位置不对,打印出来的角度是(0,90,0)。但如果在改变localRotationEulerY之前打印一下localRotationEuler的值(打印出...

来源: Laya_社区 发布时间: 20210806

17. laya.device.motion.RotationInfo [ 86%]

...用。 RotationInfo  gamma : Number Y轴旋转角度,其值范围从-9090。代表设备从左至右的运动。 RotationInfoPublic Methods  MethodDefined By  RotationInfo()RotationInfoProperty Detailabsolutepropertypublic var absolute:Boolean 指示设备是否可以提供绝对方位数...

来源: laya_api 发布时间: 20170929

18. 多边形无法闭合 [ 86%]

...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

19. 绘制梯形 出错问题~ [ 86%]

...点  ["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

20. 微信浏览器里横屏home键方向 [ 85%]

...t / pixelRatio, 0);                     canvasDegree = 90;                 } else {                     mat.rotate(-Math.PI / 2);                     mat.translate(0, screenWidth / pixelRatio);                ...

来源: Laya_社区 发布时间: 20180621