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

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

1. gradientdatanumber warning:the fourth key is be force set to 1. 请问这是什么引起的? [ 100%]

gradientdatanumber warning:the fourth key is be force set to 1. 请问这是什么引起的? gradientdatanumber warning:the fourth key is be force set to 1. 2017-08-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

2. laya 预加载粒子文件时警告?请问是什么情况? [ 95%]

...?请问是什么情况? GradientDataNumber warning:the forth key is be force set to 1. laya.d3.js:16710 GradientDataNumber warning:data count must lessEqual than 4 laya.d3.js:16716 GradientDataNumber warning:data count must lessEqual than 4 laya.d3.js:16716 GradientDataColor warning:the forth ke...

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

3. laya.resource.ResourceManager [ 92%]

...器所管理的资源个数。 ResourceManager  recreateContentManagers(force:Boolean = false):void[static] 重新强制创建资源管理员以及所拥有资源(显卡丢失时处理)。 ResourceManager  releaseContentManagers(force:Boolean = false):void[static] 释放资源管理员所拥...

来源: laya_api 发布时间: 20170422

4. laya.utils.PoolCache [ 90%]

... getCacheList():Array 获取缓存的对象列表 PoolCache  tryDispose(force:Boolean):void 尝试清理缓存 PoolCacheProperty DetailmaxCountpropertypublic var maxCount:int = 1000 允许缓存的最大数量 signproperty public var sign:String 对象在Pool中的标识 Method DetailaddPoolCach...

来源: laya_api 发布时间: 20170422

5. 销毁有声音的spine动画,skeleton中的_onAniSoundStoped有时会报undefined错误 [ 89%]

.../**     *@private     *清掉播放完成的音频     *@param force 是否强制删掉所有的声音channel     */     __proto._onAniSoundStoped=function(force){         var _channel;         for (var len=this._soundChannelArr.length,i=0;i < len;i++){    ...

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

6. Texture引用计数不为0的时候执行销毁纹理destroy方法后再加载这个资源会导致重复加载 [ 89%]

... /**     *销毁纹理。     */     __proto.destroy=function(force){         (force===void 0)&& (force=false);         if (!this._destroyed){             this._destroyed=true;             var bit=this._bitmap;             if (...

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

7. laya.resource.Resource [ 88%]

...y  Resource() 创建一个 Resource 实例。 Resource  activeResource(force:Boolean = false):void 激活资源,使用资源前应先调用此函数激活。 Resource  dispose():void 彻底处理资源,处理后不能恢复。 注意:会强制解锁清理。 Resource event(type:String, ...

来源: laya_api 发布时间: 20170422

8. 3D物理空中力与速度位移的问题 [ 87%]

...何计算出某刚体rotationEuler.y的转动角度? 一般情况下:force = mass *  acceleraction; acceletation = velocity / time; force = mass * ( velocity / time); velocity = force / mass * time; 第二个问题:已知某3D刚体的applyForce(new Vector3(0, 0, 20)), mass=1,deltaTime=16。...

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

9. Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 86%]

...直匀速移动。 _innerDerivePhysicsTransformation(physicTransformOut, force) { var transform = this.owner._transform; if (force || this._getTransformFlag(Laya.Transform3D.TRANSFORM_WORLDPOSITION)) { var shapeOffset = this._colliderShape.localOffset; var position = transform.position; var btPositi...

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

10. skeleton的_onAniSoundStoped清除的时候有时会报undefined错误 [ 85%]

...报undefined错误 /** * @internal * 清掉播放完成的音频 * @param force 是否强制删掉所有的声音channel */ private _onAniSoundStoped(force: boolean): void { for (let len = this._soundChannelArr.length, i = 0; i < len; i++) { let channel = this._soundChannelArr[i]; if (channel.isS...

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