大约有 378 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
...yName 返回类型出错 socket收到服务器的数据如何解析成proto对象? 对象池对类怎么传参数 http 请求 once 的 回调参数,如何传递和接收? 资源打包类型是如何判断的? 问题状态 最新活动: 2016-12-10 23:15 浏览: 1919 关注: 2 人 Victor • 201...
来源: Laya_社区 发布时间: 20161210
...成与移动模拟,并随机大小,如果考虑优化的话可以利用对象池进行加载与释放 也可用AE等特效软件导出粒子的帧动画进行循环播放 2018-04-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20180404
...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
...可以穿透过去。” 2.Laya.Handler 我在处理技能的时候用了对象池,其中类有对handler的持有,再次使用时发现数据不对了,查找很久才发现handler调用了recover,被对象池再次生成的对象引用覆盖了如: var a:Laya.Handler = Laya.Ha...
来源: Laya_社区 发布时间: 20161109
...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
...Boolean 获取是否启用组件。 Component fixture : *[只读]b2Fixture对象 ColliderBase friction : Number摩擦力,取值范围0-1,值越大,摩擦越大,默认值为0.2ColliderBase id : int[read-only] 获取唯一标识ID。 Component isSensor : Boolean是否是传感器,传感...
来源: Laya2.0_api 发布时间: 20190513
...降 1. 内存泄露问题 ,const buffer = new CommandBuffer后 用完将对象置成null,buffermemory 不会下降。 2. 想自己去回收内存, 辗转到Command Buffer中的DrawMeshInstancedCMD 类中,this._curDrawMeshInstancedCMD = cmd.drawMeshInstance(this._mesh,0,this.transformMatrice...
来源: Laya_社区 发布时间: 20250717
...为单实例组件。 Component joint : *[read-only] [只读]原生关节对象JointBase maxLength : NumberselfAnchor和otherAnchor之间的最大距离RopeJoint otherAnchor : Array[首次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移RopeJoint otherBody ...
来源: Laya2.0_api 发布时间: 20190513
...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
...信 ymsdandan 赞同来自: 你把这部分代码,添加到你敌机的对象上试试 2017-11-21 0 7 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 iboy 相关问题 微信关系链:LayaAir引擎针对微信小游戏好友关系链实...
来源: Laya_社区 发布时间: 20171121