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

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

291. laya.d3.core.scene.SceneManager [ 90%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames SceneManagerMethods Packagelaya.d3.core.sceneClasspublic class SceneManagerInheritanceSceneManager Object ... Public Methods  MethodDefined By  SceneManager()SceneManagerConstructor DetailSceneManager()Constructorpublic f...

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

292. laya.d3.core.scene.OctreeMotionList [ 90%]

...| Index | Frames No Frames OctreeMotionListMethods Packagelaya.d3.core.sceneClasspublic class OctreeMotionListInheritanceOctreeMotionList SingletonList Object OctreeMotionList 类用于实现物理更新队列。 Public Methods  MethodDefined By  OctreeMotionList() 创建一个新的 OctreeMo...

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

293. 射线检测-射线检测 [ 90%]

...Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 1, 3)); camera.clearColor = null; Laya.loader.creat...

来源: Laya_示例 发布时间: 20251209

294. 微信浏览器,input输入完成后,游戏不能还原 [ 90%]

..._FIXED_HEIGHT; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL;  var scene = new Laya.Sprite(); scene.width = Laya.stage.width; scene.height = Laya.stage.height; scene.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#3e3534"); Laya.stage.addChild(scene);  var inputText = new Lay...

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

295. laya.display.Scene [ 90%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames SceneProperties | Methods | Events Packagelaya.displayClasspublic class SceneInheritanceScene Sprite Node EventDispatcher Object 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并...

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

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

...Protected All Inherited Externals Only exported Menu Globals "laya/display/Scene" Scene Class Scene 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes...

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

297. laya升级到2.0.0beat4版本,加载场景出现的bug [ 89%]

...,Laya.Handler.create(this,this.LoadCompleteHandler)); 加载完成后: var scene3D:Laya.Scene3D = Laya.loader.getRes(this.mSceneName) as Laya.Scene3D; Laya.stage.addChild(scene3D); 异常: TypeError: node._setParent is not a function preload.js:55 at Stage.__proto.addChild (file:///E:/H5Project/Test...

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

298. 我在dialog a上继续弹出dialog b 。需要关闭b的时候,a依然存在。怎么做? [ 89%]

...闭b的时候,a依然存在。怎么做? 我在ide中做了一个基础scene 1,一个dialog a 和一个dialog b。 从1,点击,弹出a;没问题; 从a,点击,弹出b,没问题。 但是我需要在操作b的时候,a一直存在。这样我可以从b关闭后,继续操作a。 ...

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

299. 新手,从unity导出地形的问题 [ 89%]

...用 layaair run预览,画面正常   在IDE里面用代码加载   var scene = Laya.Scene.load("res/scene/LayaScene_cz1/cz1.ls"); 浏览器测试,加载失败 WebGL: INVALID_OPERATION: useProgram: program not valid [.Offscreen-For-WebGL-00615668]GL ERROR :GL_INVALID_OPERATION : glDrawElements:...

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

300. 编辑模式下定义的变量如何在代码模式下获取啊 [ 89%]

...文 赞同来自: // 找到它的父对象,比如它的父对象名字是scene let scene = Laya.stage.getChildByName('scene'); // 直接父对象里就包含了一个和你定义的var属性同名的属性(指针)了 let buttonStart = scene.buttonStart; // 当然你也可以通过name去找...

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