大约有 861 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
Laya2.0_文档(437) Laya_社区(293) Laya3.0_api(86) laya_api(20) Laya2.0_api(11) Laya3.0_文档(10) Laya_示例(2) Laya2.0_示例(2)
...osition=0; private function setRotation(value):void { this.rotation=value; update(); } private function setScale(value):void { this.scale = value; update(); } private function setPosition(value):void { this.position = value; update(); } public function update() { console.log('rotation: ' + this.rota...
来源: Laya2.0_文档 发布时间: 20210714
...l 生成 “layadccout/cache” 3. 再命令行执行:layadcc ./,生成update目录 4. 使用ide的 app构建生成xcode项目 5. 把第2步生成的layadccout下cache目录拷贝至xcode下的resource目录 6. 把第1步发布的所有文件上传至“http://xxx.xxx.com/”目录下 7. 把第3...
来源: Laya_社区 发布时间: 20190430
...this,{x:40,y:50,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onUpdate)}) 大概长这个样子 2018-07-06 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 如果会用tween 就好办, tween 里面有个 update 回调, 你可以弄一个坐标值,...
来源: Laya_社区 发布时间: 20180706
两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 我把Laya版本更新到 2.7 后发现 onTriggerEnter的回调 可能有些问题, 如图中,首先给黑色小牛里的一个添加了Collider的节点添加onTriggerEnter的...
来源: Laya_社区 发布时间: 20200720
...无法再使用script的物理回调了 而且注释和文档中的Physics.update方法并不存在,_update方法为内部私有方法无法调用 我自己的临时解决方案 附件 : --> 2019-06-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20190612
...定 重现流程:创建一个空的场景,没有任何逻辑,只在update函数中打印dt,在模拟器下运行帧率是稳定的,但是在真机下运行就会有突然掉帧的现象,fast模式和slow模式都有这个问题 class Scene_Test { constructor() { super(); Laya.timer.fra...
来源: Laya_社区 发布时间: 20180808
...ructor Accessors sceneReflectionCubeHDRParam sceneReflectionProbe Methods _updateMotionObjects addMotionObject clearMotionObjects destroy update updateAllRenderObjects Constructors constructor new ReflectionProbeManager(): ReflectionProbeManager Defined in laya/d3/core/reflectionProbe/ReflectionProb...
来源: Laya3.0_api 发布时间: 20231102
... DocumentationAll Packages | All Classes | Index | Frames No Frames IUpdateMethods Packagelaya.d3.core.renderInterfacepublic interface IUpdateImplementors Component3D, Sprite3D IUpdate 接口用于实现3D对象的更新相关功能。 Public Methods MethodDefined By _update(state:Render...
来源: laya_api 发布时间: 20170929
...ByCameraCullInfo getItemByFrustum getItemBySCI motionOne rebuild removeOne update Constructors constructor new BVHRenderSpatial(bvhConfig?: BVHSpatialConfig, bvhManager?: BVHSpatialManager): BVHRenderSpatial Inherited from BVHSpatial.constructor Defined in laya/d3/core/scene/bvh/BVHSpatial.ts:32 创...
来源: Laya3.0_api 发布时间: 20231115
... 此方法为虚方法,使用时重写覆盖即可 CommonScript onLateUpdate():void 每帧更新时执行,在update之后执行 此方法为虚方法,使用时重写覆盖即可 CommonScript onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置...
来源: Laya2.0_api 发布时间: 20190513