大约有 2,738 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0093 秒)
Laya_社区(1923) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...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
...时执行异步方法 */ 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
TypeError: Cannot read properties of null (reading '_$id') 官网下载的3d示例demo。版本发布的时候,不能构建; laya版本:3.0.0-beta.6 电脑:Mac M1 附件 : --> 2023-04-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20230406
Cannot read property 'displayObject' of null Cannot read property 'displayObject' of null 报这个错误要怎么解决 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: steven c...
来源: Laya_社区 发布时间: 20180716
...条件。 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
... 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
...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
...类。 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
2.13 2d物理系统 physics 碰撞体信息的owner为null demo 思路是这样的 1. 没有用 力和速度 作为移动 2.用 tween 缓动到像素点 3.用script 脚本 每帧刷新 _sysPosToPhysic 4.碰撞时 会出现 碰撞体信息消失的情况 上面截图 5.劳烦官方大大看...
来源: Laya_社区 发布时间: 20220715
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