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

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

221. Dispather.event参数传的是数组,为什么收到的参数却是个int类型? [ 56%]

...yName 返回类型出错 socket收到服务器的数据如何解析成proto对象对象对类怎么传参数 http 请求 once 的 回调参数,如何传递和接收? 资源打包类型是如何判断的? 问题状态 最新活动: 2016-12-10 23:15 浏览: 1919 关注: 2 人 Victor • 201...

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

222. 请问一下类似雨雪效果如何做? [ 56%]

...成与移动模拟,并随机大小,如果考虑优化的话可以利用对象进行加载与释放    也可用AE等特效软件导出粒子的帧动画进行循环播放   2018-04-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

223. laya.display.cmd.ScaleCmd_API3.0 [ 56%]

...ecover recover(): void Defined in laya/display/cmd/ScaleCmd.ts:39 回收到对象 Returns void Globals "laya/display/cmd/ScaleCmd" ScaleCmd pivotX pivotY scaleX scaleY ID recover Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interfa...

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

224. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 56%]

...可以穿透过去。” 2.Laya.Handler 我在处理技能的时候用了对象,其中类有对handler的持有,再次使用时发现数据不对了,查找很久才发现handler调用了recover,被对象再次生成的对象引用覆盖了如:         var a:Laya.Handler = Laya.Ha...

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

225. laya.display.cmd.DrawPieCmd_API3.0 [ 56%]

...aya/display/cmd/DrawPieCmd.ts:27 填充颜色,或者填充绘图的渐变对象。 lineColor lineColor: any Defined in laya/display/cmd/DrawPieCmd.ts:31 (可选)边框颜色,或者填充绘图的渐变对象。 lineWidth lineWidth: number = 0 Defined in laya/display/cmd/DrawPieCmd.ts:35 (...

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

226. laya.physics.CircleCollider [ 55%]

...Boolean 获取是否启用组件。 Component fixture : *[只读]b2Fixture对象 ColliderBase friction : Number摩擦力,取值范围0-1,值越大,摩擦越大,默认值为0.2ColliderBase id : int[read-only] 获取唯一标识ID。 Component isSensor : Boolean是否是传感器,传感...

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

227. [LayaNative3]new CommondBuffer 没有回收释放,每次用完,直接给置成null,每次buffermemory都会增长,不会下降 [ 55%]

...降 1. 内存泄露问题 ,const buffer = new CommandBuffer后 用完将对象置成null,buffermemory 不会下降。 2. 想自己去回收内存, 辗转到Command Buffer中的DrawMeshInstancedCMD 类中,this._curDrawMeshInstancedCMD = cmd.drawMeshInstance(this._mesh,0,this.transformMatrice...

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

228. laya.physics.joint.RopeJoint [ 55%]

...为单实例组件。 Component joint : *[read-only] [只读]原生关节对象JointBase  maxLength : NumberselfAnchor和otherAnchor之间的最大距离RopeJoint  otherAnchor : Array[首次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移RopeJoint  otherBody ...

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

229. laya.display.cmd.DrawRoundRectCmd_API3.0 [ 55%]

...splay/cmd/DrawRoundRectCmd.ts:43 填充颜色,或者填充绘图的渐变对象。 height height: number Defined in laya/display/cmd/DrawRoundRectCmd.ts:23 纵向半径。 lb lb: number Defined in laya/display/cmd/DrawRoundRectCmd.ts:35 左下圆角 lineColor lineColor: any Defined in laya/display...

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

230. LayaAir JS飞机大战敌机发射子弹怎么加上去??? [ 55%]

...信 ymsdandan 赞同来自: 你把这部分代码,添加到你敌机的对象上试试 2017-11-21 0 7 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 iboy 相关问题 微信关系链:LayaAir引擎针对微信小游戏好友关系链实...

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