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

大约有 2,610 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0079 秒)

271. sprite.drawToCanvas绘制纹理无法释放内存资源 [ 81%]

sprite.drawToCanvas绘制纹理无法释放内存资源 之前用的LayaAirSdk(1_7_13_beta)版本,没有任何问题 但是升级到LayaAirSdk(1_7_18)和1.7.18以上的版本,出现2个问题。 1. 无法释放内存的问题 2. 有些时候看不到绘制的图片显示在界面上,代码都...

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

272. 设置 mask 的问题 [ 81%]

...会这样? 项目文件在附件 问题 4 :话说这种功能 应该用Sprite做容器还是用box做容器? 还有就是 VBox 和 HBox 还有 Box 与 Sprite 有什么区别 什么情况适用于那种类型? 附件 : --> myLayaUIDemoTest.rar 2017-08-27 添加评论 免费帖 --> 分享 微...

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

273. HIERARCHY_LOADED函数不回调 [ 81%]

...不回调 this.sceneP = Laya.stage.addChild(Laya.Scene.load(name)) as Laya.Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.trans...

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

274. laya.d3.core.scene.VRScene [ 81%]

...agelaya.d3.core.sceneClasspublic class VRSceneInheritanceVRScene BaseScene Sprite Node EventDispatcher Object VRScene 类用于实现VR场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为...

来源: laya_api 发布时间: 20170422

275. 场景渲染配置(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 81%]

...3D视图。 通过Scene3D的继承关系我们可以看到它是继承于Sprite类。所以简单的可以把它当做2D中的显示对象来对待。 在LayaAir引擎中,3D和2D可以混合使用,创建的Scene 3D场景Sprite 2D容器或元素可以同时加载到舞台上。 ### 在Unity中...

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

276. 场景渲染配置(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 81%]

...3D视图。 通过Scene3D的继承关系我们可以看到它是继承于Sprite类。所以简单的可以把它当做2D中的显示对象来对待。 在LayaAir引擎中,3D和2D可以混合使用,创建的Scene 3D场景Sprite 2D容器或元素可以同时加载到舞台上。 ### 在Unity中...

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

277. 导入微信小游戏的时候 [ 81%]

导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load ...

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

278. SimpleButton不显示、Sprite的 buttonMode 无效 [ 81%]

SimpleButton不显示、Sprite的 buttonMode 无效        AS3 中的 SimpleButton 使用后 LayaFlash 编译完不显示,使用 AS3 中的 Sprite 仿写了一个根据状态切换背景图的按钮类,编译后 buttonMode 与 useHandCursor 属性均无效,不能显示手型光标。  ...

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

279. layaAir2.3克隆以及获取节点重大bug!!! [ 81%]

....Loader.getRes("res/my_res/guns_test.lh");          let a :Laya.Sprite3D = new Laya.Sprite3D();         a.addChild(guns_test.getChildAt(0).clone());         a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2;         a.transform.sc...

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

280. HIERARCHY_LOADED 和 LOADED有什么区别?为什么对scene不起作用 [ 81%]

...new Laya.Scene()); scene.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { console.log("scene HIERARCHY_LOADED"); }); scene.once(Laya.Event.LOADED, null, function (sprite) { console.log("scene LOADED"); });HIERARCHY_LOADED 和 LOADED有什么区别?为什么对scene不起作用? 2017-0...

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