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

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

361. Texture2D的GPU纹理压缩的使用(TypeScript-3D基础(TS)-LayaAir3D之纹理) [ 87%]

...typescript if (Laya.Browser.onAndroid) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/Android/"; else if (Laya.Browser.onIOS) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/IOS/"; else Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGP...

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

362. Texture2D的GPU纹理压缩的使用(JavaScript-3D基础(JS)-LayaAir3D之纹理) [ 87%]

...javascript if (Laya.Browser.onAndroid) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/Android/"; else if (Laya.Browser.onIOS) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/IOS/"; else Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGP...

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

363. 加载unity导出的场景显示模糊 [ 87%]

...预览,右边laya运行         代码就一个加载ls文件 Laya.Scene3D.load("res/LayaScene_Level1/Conventional/Level1.ls",Laya.Handler.create(null,function(scene){             //加载完成获取到了Scene3d             Laya.stage.addChild(scene);         ...

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

364. laya.ui.View [ 87%]

... | Methods | Events Packagelaya.uiClasspublic class ViewInheritanceView Scene Sprite Node EventDispatcher ObjectSubclasses Dialog, MoreGame View 是一个视图类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properti...

来源: Laya2.0_api 发布时间: 20190513

365. Laya.URL.basePath 相关 [ 87%]

...: Laya.URL.basePath = "http://192.168.0.57:8901/bin/"; 之后调用Laya.Scene.load("/res/scene/Game.ls"); 这样写有没有问题? 如果没有问题,我想问为什么不能加载出来。如果我这样写则能加载出来 Laya.Scene.load("http://192.168.0.57:8901/bin/" + "/res/scene/Game....

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

366. discard property,please use transform's property instead [ 86%]

...     //开启统计信息         Laya.Stat.show();         var scene = Laya.stage.addChild(new Laya.Scene());         var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000));         camera.transform.translate(new Laya.Vector3(0, 1.5, 4));         camera.transform.rotate(ne...

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

367. 3d场景下面有张2d的图片,当鼠标焦点不在该网页时,2d图片为啥会闪动 [ 86%]

...age.addChildAt(sprite1,0);     ////桌子 ///场景             scene = new Scene();             Laya.stage.addChild(scene);                          ////摄像机             var camera:Camera = new Camera();             scene.addChild(camera)...

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

368. laya.d3.core.render.RenderState [ 86%]

...rState  renderElement : RenderElement当前渲染物体。RenderState  scene : Scene当前场景。RenderStatePublic Methods  MethodDefined By  RenderState() 创建一个 RenderState 实例。 RenderStateProperty Detailcamerapropertypublic var camera:BaseCamera当前摄像机。clientHeightpr...

来源: laya_api 发布时间: 20170929

369. laya.d3.shadowMap.ParallelSplitShadowMap [ 86%]

...eginRenderTarget(index:int):voidParallelSplitShadowMap  calcSplitFrustum(sceneCamera:BaseCamera):voidParallelSplitShadowMap  disposeAllRenderTarget():voidParallelSplitShadowMap  endRenderTarget(index:int):voidParallelSplitShadowMap  getCurrentPSSM():intParallelSplitShadowMap  getFarDistanc...

来源: laya_api 发布时间: 20170929

370. 事件管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 86%]

..., () => { //点击后,打开UI场景示例 console.log("uiBtn"); Laya.Scene.open("scenes/UiMain.ls"); }); //侦听物理按钮点击事件 this.phyBtn.on(Laya.Event.CLICK, this, () => { //点击后,打开物理游戏示例 console.log("phyBtn"); Laya.Scene.open("scenes/PhysicsGameMain.ls")...

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