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

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

451. 渲染性能实例问题 [ 74%]

...xt.x=Math.random()*550;txt.y=Math.random()*400;textBox.addChild(txt);}Laya.stage.addChild(textBox); 附件 : --> 2019-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: 123黄 var textBox = ...

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

452. laya.ui.TextInput [ 74%]

...设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像...

来源: Laya2.0_api 发布时间: 20190513

453. laya.ui.AdvImage_API3.0 [ 74%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...

来源: Laya3.0_api 发布时间: 20231102

454. 3D投影2D坐标问题 [ 74%]

...因为浏览器不同而有偏差,实际应该要乘上 let ratio= Laya.stage.width/ Laya.Browser.width ;这个比例才正确 附件 : --> 2016-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying ...

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

455. laya.ui.Slider_API3.0 [ 74%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY sc...

来源: Laya3.0_api 发布时间: 20231115

456. graphics 问题 [ 74%]

...; sp.graphics.drawRect(0,0,200,100,"#FF0000"); sp.graphics.restore(); Laya.stage.addChild(sp);我测试没有问题,可以把你详细的代码发下,我们看下! 2017-06-09 0 0 分享 微博 QZONE 微信 raytrace 赞同来自: (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; v...

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

457. 图片不能按轴心旋转 [ 74%]

图片不能按轴心旋转 Laya.init(750,1334); Laya.stage.bgColor = '#000000'; Laya.stage.scaleMode = 'fixedauto' Laya.stage.screenMode = 'vertical' let bg = new Laya.Sprite(); bg.loadImage("../res/image/interface/intro_bg.png",375,667,1500,1500); bg.pivot(750,750) bg.alpha = 1 bg.rotation = 10...

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

458. laya.ui.UIGroup_API3.0 [ 73%]

...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labels left mask mo...

来源: Laya3.0_api 发布时间: 20231115

459. 用Transform和直接设置xy坐标的效果不一致 [ 73%]

...text = "HELLO"; txt.color = "#ffffff"; txt.x = 1136 / 2, txt.y = 320; Laya.stage.addChild(txt);          txt = new Laya.Text(); txt.text = "HELLO"; txt.color = "#ffffff"; let mat = new Laya.Matrix(); mat.translate(1136 / 2, 320); txt.transform = mat; Laya.stage.addChild(txt); 2018-10-15 添...

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

460. 设置2D骨骼动画Skeleton pos为(0,0)时问题 [ 73%]

...标 realY=摇杆Y轴移动方向*速度 + skeleton对象的y轴坐标 Laya.stage.hitTestPoint(realX, realY)判断skeleton对象是否在边界内     以上的考虑 均是在  skeleton的x和y属性在 左顶点的前提下,所以出现下图中这种问题,请大神帮忙看看,谢谢谢...

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