大约有 365 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)
...te (file:///F:/Program/PF_LAYA2.1/game/bin/libs/laya.d3.js:23368:47) at Scene3D.__proto._update (file:///F:/Program/PF_LAYA2.1/game/bin/libs/laya.d3.js:32831:12) at Stage.__proto.render (file:///F:/Program/PF_LAYA2.1/game/bin/libs/laya.core.js:21408:23) at Stage.__proto._loop (file:///F:/Pr...
来源: Laya_社区 发布时间: 20191026
...着,但是ls场景中本来的某些精灵不显示了。但是debug看scene3D中的children里的元素还是正确的,那些被移除的精灵确实不在了。而且被移除的精灵的影子确实不显示了,只是这个精灵还显示着,应该是渲染精灵的地方出bug了,请...
来源: Laya_社区 发布时间: 20190104
...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
...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
...置舞台背景色为空 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
...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
...mat.albedoTexture = videoNode.videoTexture; this.owner.xxx.getChildByName('Scene3D').getChildByName('Plane').getComponent(Laya.MeshRenderer).sharedMaterial = mat; // 上面代码在3D场景中播放则无任何问题,包括微信浏览器,出问题的是在2D场景中在微信浏览器不能播...
来源: Laya_社区 发布时间: 20230825
...,那就需要重新导出。 > 新版本骨骼挂点 ```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
...,那就需要重新导出。 > 新版本骨骼挂点 ```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
...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