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

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

381. 2.x系列 动画编辑模式没有控制 播放模式接口 [ 86%]

...   2019-05-13 0 0 分享 微博 QZONE 微信 bpmf_d 赞同来自: 选择scene以后会有这个功能的 2019-05-14 0 1 分享 微博 QZONE 微信 bingo 赞同来自: 这个是我做的prefab   2019-05-14 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

382. Laya截图3D场景相关模型,导致模型透视! [ 86%]

...; var resUrl = "../bin/res/modles/role_48_lurenyi/role_48_lurenyi.lh"; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.position = new Laya.Vector3(0, 0, 10); camera.transform.rotate(new Laya.Vector3(0, 180, 0), true, fals...

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

383. Texture2D的GPU纹理压缩的使用(ActionScript-3D基础(AS3)-LayaAir3D之纹理) [ 86%]

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

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

384. 多光源渲染(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 86%]

...s.lights.length; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera...

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

385. 多光源渲染(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 86%]

...s.lights.length; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera...

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

386. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 86%]

...据 //读取地形图 this.aStarMap = Loader.getTexture2D("res/threeDimen/scene/TerrainScene/Assets/AStarMap.png"); //获得地图数据 var aStarArr = this.createGridFromAStarMap(this.aStarMap); //使用astar初始化地图数据 this.graph = new (window as any).Graph(aStarArr); this.opts = []; thi...

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

387. 加载场景文件bug . [ 86%]

加载场景文件bug . 直接 Scene.load("res/3d/scene/Main.ls"); Laya.stage.addChild(scene); 加载并创建加的场景显示和u3d里展示的一样,   用提前加载好资源在场景显示异常     2018-08-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

388. laya.ui.MoreGame [ 86%]

...| Events Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInH...

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

389. 2.0 beta UI Button无法获取 [ 86%]

...后的代码: import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class AttackUI extends View { public btn_attack:Laya.Button; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("Attack"); } } } 扩展UI代码: ...

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

390. Laya.stage.addChild问题 [ 85%]

...题 如果在回调函数中使用Laya.stage.addChild() ,而添加的是Scene,那么就会返回: Cannot read property 'addChild' of null,而同样是在这个函数中的添加2D内容,却不会报这个错误,这个问题有什么好的解决方案么 2017-07-30 添加评论 免费帖 ...

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