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

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

31. Skeleton骨骼动画内存泄漏 [ 96%]

...e onKeyDown(e):void{ if(e.keyCode == 49 || e.keyCode == 97){ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.destroy(); th...

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

32. 针对2.0.0 beta5 setLoadingPage 做增强 [ 96%]

...时执行异步方法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this._loadScene && url === this._loadSc...

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

33. TypeError: Cannot read properties of null (reading '_$id') [ 96%]

TypeError: Cannot read properties of null (reading '_$id') 官网下载的3d示例demo。版本发布的时候,不能构建; laya版本:3.0.0-beta.6 电脑:Mac M1   附件 : --> 2023-04-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

34. Cannot read property 'displayObject' of null [ 96%]

Cannot read property 'displayObject' of null Cannot read property 'displayObject' of null 报这个错误要怎么解决 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: steven c...

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

35. laya.d3.physics.PhysicsSimulation [ 96%]

...条件。 PhysicsSimulation  rayCast(ray:Ray, outHitResult:HitResult = null, distance:Number = 2147483647, collisonGroup:int, collisionMask:int):Boolean 射线检测第一个碰撞物体。 PhysicsSimulation  rayCastAll(ray:Ray, out:Vector.<HitResult>, distance:Number = 2147483647, colliso...

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

36. laya.d3.core.Sprite3D [ 96%]

... Show Inherited Public Methods MethodDefined By  Sprite3D(name:String = null, isStatic:Boolean = false) 创建一个 Sprite3D 实例。 Sprite3D  _cloneTo(destObject:*, srcRoot:Node, dstRoot:Node):void[override] 克隆。 Sprite3D  _parse(data:Object, spriteMap:Object):void[override] Sprite3D...

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

37. laya.d3.core.render.PostProcessRenderContext_API3.0 [ 96%]

...Methods createRTByContextReleaseTexture Properties camera camera: Camera | null = null Defined in laya/d3/core/render/PostProcessRenderContext.ts:18 渲染相机。 command command: CommandBuffer | null = null Defined in laya/d3/core/render/PostProcessRenderContext.ts:22 后期处理指令流。 com...

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

38. laya.utils.ClassUtils [ 96%]

...类。 Public Methods  MethodDefined By  createByJson(json:*, node:* = null, root:Node = null, customHandler:Handler = null, instanceHandler:Handler = null):*[static] 根据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,...

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

39. 2.13 2d物理系统 physics 碰撞体信息的owner为null [ 95%]

2.13 2d物理系统 physics 碰撞体信息的owner为null     demo  思路是这样的 1. 没有用 力和速度 作为移动 2.用 tween 缓动到像素点 3.用script 脚本 每帧刷新 _sysPosToPhysic 4.碰撞时 会出现 碰撞体信息消失的情况 上面截图 5.劳烦官方大大看...

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

40. alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] [ 95%]

alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] mac系统 laya 2.2.0 打包到xcode,build没有问题,真机和模拟器调试报错 alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"]at line 102...

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