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

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

471. 2.4beta2版本ts实验版编译后自动生成js里面自动添加Laya前缀 [ 59%]

...e 生成的js也有这个问题,自动添加Laya导致变成。Laya.Laya.stage.addChild   另外,使用第三方js库也有这个问题,我自己写了dts文件,ts里面引用,结果生成的js也会加上Laya,导致我需要在Main里面手动挂载到Laya下才行   demo已经发给L...

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

472. Laya引擎支不支持在场景内有刚体的情况下 做一个按钮可以切换横竖屏? [ 59%]

...刚体和铰链的方向不会变,就是重力方向不变。旋转Laya.stage可以把物理也旋转到位 但是点击区域就不对了,因为我这游戏是通过点击屏幕来操作的,所以目前还没有找到什么好办法能在一个有刚体,铰链和碰撞的场景里面实现...

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

473. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 59%]

...ional/SceneMonkey.ls",Handler.create(this,function(res:Scene3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.cre...

来源: Laya2.0_文档 发布时间: 20210714

474. 输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 59%]

...完毕,此方法只执行一次 */ onAwake(): void { this.txtin.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txtin.size(500, 60); //大小 this.txtin.pivot(this.txtin.width/2, this.txtin.height/2); //轴心点 this.txtin.font = "宋体"; //字体 this.txtin.fontSiz...

来源: Laya3.0_文档 发布时间: 20251010

475. Texture.create 和Texture.createFromTexture有什么区别 [ 59%]

...ndler.create和new Laya.Handler有啥区别 Dialog和View用destroy和Laya.stage.removeChild有什么区别? 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? dispone和destory的区别 关于打包图集时的图片默认属性与repeat的区别 Laya的Scene...

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

476. laya.display.Input_API3.0 [ 59%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading lines mask maxChars maxScrollX maxScrollY maxWid...

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

477. 重复使用Laya.Sprite3D.load加载同一个lh类型的资源,发现第二次加载到的资源是无效的 [ 59%]

...un, null, false)); this.scene3d = Loader.getRes(sceneUrl) as Scene3D; Laya.stage.addChild(this.scene3d); 189*****909 • 2020-07-04 10:57 @熊猫大侠:需要释放掉,然后再次载入。 189*****909 • 2020-07-04 10:59 @熊猫大侠:考虑到资源量很大,需要从内存清理掉。不然...

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

478. 关于timer的问题 [ 59%]

...18-06-09 01:43 已经解决,是作用域的问题,将this替换成Laya.stage,清除也用这个,就可以了。

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

479. 3d刚体发生碰撞后不会旋转 [ 59%]

...然后过五六个小时后才不会报这个错。。才能进去 修改stage的scale后,会发生异常情况 微信小游戏与加载图片时不会触发erroe事件 摄像机跟随刚体移动,刚体出现抖动。 laya2.2 导出场景物理碰撞问题 LayaAir3D UnityPlug 1.7.13 导出刚...

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

480. laya.ui.ScrollBar_API3.0 [ 59%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hide hideFlags hitArea is3D isVertical lastOffset left mask max min mouseEnabled mouseWheelEnable mouseX mouseY numChildren parent p...

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