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

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

201. laya.d3.core.render.PostProcessRenderContext_API3.0 [ 85%]

...理渲染上下文。 Hierarchy PostProcessRenderContext Index Properties camera command compositeShaderData deferredReleaseTextures destination indirectTarget source Methods createRTByContextReleaseTexture Properties camera camera: Camera | null = null Defined in laya/d3/core/render/PostProcessRend...

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

202. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 85%]

...成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = ne...

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

203. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 85%]

...成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = ne...

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

204. ReferenceError: Laya3D is not defined? [ 85%]

...scene:Laya.Scene3D):void { Laya.stage.addChild(scene) as Laya.Scene3D; var camera:Laya.Camera = scene.getChildByName("Main Camera") as Laya.Camera; //camera.addComponent(CameraMoveScript); })); 2019-03-08 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

205. 转换2D屏幕坐标系统到3D正交投影下的坐标系统位置偏差 [ 85%]

...无关) //转换2D屏幕坐标系统到3D正交投影下的坐标系统 _camera.convertScreenCoordToOrthographicCoord(new Vector3(800, 700, 0), this.orthographicPos); 附件 : --> 2022-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

206. laya.d3.depthmap.DepthPass_API3.0 [ 85%]

...xt: RenderContext3D depthType: DepthTextureMode Returns void update update(camera: Camera, depthType: DepthTextureMode, depthTextureFormat: RenderTargetFormat): void Defined in laya/d3/depthMap/DepthPass.ts:107 渲染深度更新 Parameters camera: Camera depthType: DepthTextureMode depthTextureForm...

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

207. 3D场景UNITY导出相机,怎么获取并使用 [ 84%]

3D场景UNITY导出相机,怎么获取并使用 child":[ { "type":"Camera", "props":{ "isStatic":false, "name":"AutoCamera", "clearFlag":1, "orthographic":false, "fieldOfView":60, "nearPlane":0.3, "farPlane":90 }, var camera= scene.getChildByName("AutoCamera"); console.log(camera); 2017-09-26 添...

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

208. 微信小游戏wxmin图片加载有点问题 [ 84%]

...); if(false) { eval(23) } console.log(wx.request) //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var direct...

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

209. 为什么我获取不到鼠标滚轮的delta值,我查看laya.events.Event 里面没有这个属性 [ 84%]

...(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera = this.scene.addChild(new Laya.Camera()) as Laya.Camera; this.camera.transform.position = new Laya.Vector3(0, 0, 5); this.camera.transform.rotate(new Laya.Vector3(0, 0, 0), true, false); Laya.stage.on(Event.MOUSE_WHEEL...

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

210. 渲染队列排序问题,导致Alpha混合效果出错 [ 84%]

...Alpha混合效果出错     FrustumCulling._traversalCulling=function(camera,scene,context,renderList){         var validCount=renderList.length;         var renders=renderList.elements;         var boundFrustum=camera.boundFrustum;         var camPos=camera._tran...

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