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

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

1651. laya.ui.View_API3.0 [ 67%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D s...

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

1652. 在 tiledmap 插入一个精灵在上面 [ 67%]

...);   this.tiledMap.createMap("desert.json", new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height),   Laya.Handler.create(this,this.loadedMap)); }   loadedMap(){   this.sp=new Laya.Sprite();   this.sp.graphics.drawRect(0,0,100,100,"#FF0000");   var mapLayer = this.tiledMap.getLayerByInd...

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

1653. laya.ui.OpenDataContextView_API3.0 [ 67%]

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

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

1654. Laya3D 开启useRetinalCanvas导致射线检测错误! [ 67%]

...• 2021-02-22 12:02 @fftidus:这个不算是bug,文档中有做说明。stage坐标系和3d viewport坐标系不一致,stage坐标需要乘以缩放才等于viewport的坐标系的值。你可以手动处理。所以,我们没有当成bug去修复。不过,为了用户体验,我们也有...

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

1655. laya.ui.LayoutBox_API3.0 [ 67%]

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

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

1656. Spine切换动画后,站立动画抖动得厉害,特别是腿部 [ 67%]

...ore.js:9827)     at Timer.__proto._update (laya.core.js:9560)     at Stage.__proto.render (laya.core.js:18520)     at Stage.__proto._loop (laya.core.js:18478)     at loop (laya.core.js:5437) 2018-06-20 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 在上一部分的示例代码...

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

1657. laya.ui.TipManager_API3.0 [ 67%]

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

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

1658. 当屏幕尺寸,缩放模式,横竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null [ 67%]

...我也不知道哪里引起的,没法子给你们还原呢 主要在Laya.stage.destroyChildren();Laya.stage.addChild(new start())后,在切换横竖品就会报错 182*****369 • 2017-08-29 11:51 @182*****369:可以qq私聊嘛

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

1659. 模仿教程里的打地鼠写的代码,运行报错 [ 67%]

...unction(){ //初始化引擎 Laya.init(800,600); //设置背景颜色 Laya.stage.bgColor = "#ffcccc"; //加载资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS) })(); function onLoaded(){ //实例化 var tempBG=new background(); Laya.stage.addCh...

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

1660. 按照范例写的碰撞一直检测不到 this.outHitInfo.distance [ 67%]

... this.scene = Laya.loader.getRes("h5/LayaScene_scene03/scene03.ls"); Laya.stage.addChild(this.scene); //设置场景在2D界面最后(最底层为第0层) Laya.stage.setChildIndex(this.scene, 0); //获取场景模型中的角色移动碰撞区模型 var moveArea = this.scene.getChildAt(0).getChi...

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