大约有 868 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya2.0_文档(437) Laya_社区(301) Laya3.0_api(86) laya_api(20) Laya2.0_api(11) Laya3.0_文档(9) Laya_示例(2) Laya2.0_示例(2)
.../4895 估计这个问题也是一样原因, 因为我也用了Promise update: 确实与Promise有关 我在socket.onopen中使用调用resolve,就会报错; 去掉就不会 2017-06-05 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 各位最好提供一个可以重现问题并能运...
来源: Laya_社区 发布时间: 20170605
...ataParamMap addStep configStartLength Methods create destroy recover reset updateBindRange updateSubData Properties bindUBO bindUBO: UniformBufferObject Defined in laya/d3/core/TransLargeUBOUtils.ts:11 currentlength currentlength: number = 0 Defined in laya/d3/core/TransLargeUBOUtils.ts:15 defaultSu...
来源: Laya3.0_api 发布时间: 20231102
...aWorkspace/javaScriptLaya/bin/libs/laya.core.js:9504:19) at Timer.__proto._update (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:9237:16) at Stage.__proto.render (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:17832:15) at Stage.__proto._loop (file:///E:/LayaWorkspace/...
来源: Laya_社区 发布时间: 20180105
# 场景渲染配置介绍 ###### *version :2.7.0beta Update:2020-6-11* ### Scene3D概述 场景即为LayaAir引擎的3D世界容器,用于呈现游戏的3D画面和加载各种3D元素,游戏中的摄像机,灯光,人物,物品等都需要放到场景中才能展示出画面,相当...
来源: Laya2.0_文档 发布时间: 20210714
...Count getJointCount hasListener off offAll offAllCaller on once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.ts:39 Returns Physics Properties box2d box2d: any = (<any>window).box2d Defined in laya/physics/Physics.ts:...
来源: Laya3.0_api 发布时间: 20231115
...经用被来区分是Enter还是Stay了。 而在box2d.b2Contact.prototype.Update函数中,又用"!b"的方式区分了是Begin还是Stay。 这种重复的区分导致onTriggerStay一直无法被调用。 上图红框出,应该去掉"!",改为"b && c && a && a.Be...
来源: Laya_社区 发布时间: 20200916
...ffffff"); this.img.mask = imgMask; Laya.Tween.to(this.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffffff"); } 附件 ...
来源: Laya_社区 发布时间: 20190722
...ner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new Volume(): Volume Overrides Component.constructor Defined in laya/d3/component/Volume/Volume.ts:42 创建一个Volume实例 Returns Volume P...
来源: Laya3.0_api 发布时间: 20231115
...imator.on is not a function 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? AS环境下调用DebugTool.init会出现编译时报错 如何在PC端浏览器的调试面板调用滚动条? laya2.0调用scene.gc方法,再...
来源: Laya_社区 发布时间: 20171115
...:void 通过RenderingOrder属性对摄像机机型排序。 BaseCamera _update(state:RenderState):void[override] 更新 Camera _updateConch(state:RenderState):void 更新 Sprite3D addAllLayers():void 增加所有图层。 BaseCamera addChild(node:Node):Node[override] 添加子节点。 Sprite3...
来源: laya_api 发布时间: 20170929