大约有 3,769 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0092 秒)
Laya_社区(3279) Laya2.0_文档(154) Laya3.0_api(102) Laya3.0_文档(83) Laya2.0_api(82) Laya_示例(44) laya_api(25)
...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
...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
...预览,右边laya运行 代码就一个加载ls文件 Laya.Scene3D.load("res/LayaScene_Level1/Conventional/Level1.ls",Laya.Handler.create(null,function(scene){ //加载完成获取到了Scene3d Laya.stage.addChild(scene); ...
来源: Laya_社区 发布时间: 20210428
... | 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
...: 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
... //开启统计信息 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
...age.addChildAt(sprite1,0); ////桌子 ///场景 scene = new Scene(); Laya.stage.addChild(scene); ////摄像机 var camera:Camera = new Camera(); scene.addChild(camera)...
来源: Laya_社区 发布时间: 20170314
...rState renderElement : RenderElement当前渲染物体。RenderState scene : Scene当前场景。RenderStatePublic Methods MethodDefined By RenderState() 创建一个 RenderState 实例。 RenderStateProperty Detailcamerapropertypublic var camera:BaseCamera当前摄像机。clientHeightpr...
来源: laya_api 发布时间: 20170929
...eginRenderTarget(index:int):voidParallelSplitShadowMap calcSplitFrustum(sceneCamera:BaseCamera):voidParallelSplitShadowMap disposeAllRenderTarget():voidParallelSplitShadowMap endRenderTarget(index:int):voidParallelSplitShadowMap getCurrentPSSM():intParallelSplitShadowMap getFarDistanc...
来源: laya_api 发布时间: 20170929
..., () => { //点击后,打开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