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

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

291. 3D场景中加入lh精灵,再删除后有时会出问题。 [ 46%]

...着,但是ls场景中本来的某些精灵不显示了。但是debug看scene3D中的children里的元素还是正确的,那些被移除的精灵确实不在了。而且被移除的精灵的影子确实不显示了,只是这个精灵还显示着,应该是渲染精灵的地方出bug了,请...

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

292. 摄像机的viewportPointToRay报错 [ 45%]

...ainCamera.viewportPointToRay(this.pointRay, this.ray); (this.owner as Laya.Scene3D).physicsSimulation.rayCast(this.ray,this.hitresult); console.log(Laya.MouseManager.instance.mouseX + " -=----------" + Laya.MouseManager.instance.mouseY); if (this.hitresult.succeeded) { console.log(this.hitresult.col...

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

293. Uncaught TypeError: Cannot read property 'props' of undefined [ 45%]

...reenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("LayaScene_Laya3D01/Laya3D01.ls",Laya.Handler.create(null,function(scene){ Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera= new Laya.Camera( 0, 0.1, 1000); //加...

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

294. 属性设置面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...否进行控制。详细的介绍请参考《使用3D精灵》的2.4节。 Scene3D没有Layer属性。 2.1.3 2D节点 1,定义变量 勾选后,保存场景,就可以在UI运行时里面进行节点的管理了。详细的做法请参考《UI运行时》的2.3节。 Scene2D中没有定义变量...

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

295. Cannot read property 'rayCast' of undefined [ 44%]

...置舞台背景色为空 Laya.stage.bgColor = null; this.scene = new Laya.Scene3D(); this.camera = new Laya.Camera(0, 0.1, 100); Laya.stage.addChild(this.scene); this.scene.addChild(this.camera); this.camera.transform.translate(new Laya.Vector3(0, 3.5, 1)); this.camera.transform.rotate(new Laya.Vect...

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

296. laya.display.Scene_API3.0 [ 44%]

...View Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cach...

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

297. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 44%]

...mat.albedoTexture = videoNode.videoTexture; this.owner.xxx.getChildByName('Scene3D').getChildByName('Plane').getComponent(Laya.MeshRenderer).sharedMaterial = mat; // 上面代码在3D场景中播放则无任何问题,包括微信浏览器,出问题的是在2D场景中在微信浏览器不能播...

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

298. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 44%]

...,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); v...

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

299. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 44%]

...,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); v...

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

300. laya.ui.Dialog_API3.0 [ 43%]

...alog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize closeEffect closeHandler closeType group hitTestPrior isModal isPopupCenter isShowEffect mouseThrough name popupEffect tag CANCEL CLOSE NO OK SURE YES drawtocanvCtx unDes...

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