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

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

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. 销毁有声音的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

4. 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

5. 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

6. 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

7. 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

8. 小游戏真机调试3d资源不显示 [ 83%]

...ntional/Ninja-cd389f8b07.lh GradientDataNumber warning:the forth key is be force set to 1. GradientDataNumber warning:data count must lessEqual than 4 GradientDataColor warning:the forth key is be force set to 1. Gradient:warning:data count must lessEqual than 4 GradientDataColor warning:the forth k...

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

9. 教学文档永恒之光的动画例子,运行效果与例子不符合 [ 80%]

...e use time:7 size:1426/6889 GradientDataNumber warning:the forth key is be force set to 1. GradientDataNumber warning:data count must lessEqual than 4 GradientDataNumber warning:the forth key is be force set to 1. GradientDataNumber warning:data count must lessEqual than 4 GradientDataNumber warning...

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

10. 刚升级了2.0正式版 PhysicsComponent问题 [ 80%]

...olliderObject 空对象错误 public function _derivePhysicsTransformation(force:Boolean):void { if(_nativeColliderObject==null)return;//我加了这个 _innerDerivePhysicsTransformation(_nativeColliderObject.getWorldTransform(), force); } 附件 : --> 2019-01-19 添加评论 免费帖 --> 分享 ...

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