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

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

41. laya.physics.Physics [ 78%]

...,默认50像素=1米Physics  positionIterations : int = 3位置迭代次数,增大数字会提高精度,但是会降低性能Physics  velocityIterations : int = 8旋转迭代次数,增大数字会提高精度,但是会降低性能Physics  world : *[只读]物理世界引用,更多...

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

42. laya.d3.physics.PhysicsSettings [ 77%]

... maxSubSteps : int = 1物理引擎在一帧中用于补偿减速的最大次数。PhysicsSettingsPublic Methods  MethodDefined By  PhysicsSettings() 创建一个 PhysicsSettings 实例。 PhysicsSettingsProperty DetailfixedTimeSteppropertypublic var fixedTimeStep:Number物理模拟器帧的间...

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

43. laya.d3.component.AnimatorPlayState [ 77%]

...me : Number[read-only] 获取播放状态的归一化时间,整数为循环次数,小数为单次播放时间。 AnimatorPlayStatePublic Methods  MethodDefined By  AnimatorPlayState() 创建一个 AnimatorPlayState 实例。 AnimatorPlayStateProperty Detaildurationpropertyduration:Number  [re...

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

44. laya.display.cmd.DrawTexturesCmd [ 77%]

...制多个贴图 Public Properties PropertyDefined By  pos : Array 绘制次数和坐标。 DrawTexturesCmd  texture : Texture 纹理。 DrawTexturesCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 DrawTexturesCmdPublic Constants ConstantDefined By  ID : String = Draw...

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

45. laya.media.SoundChannel [ 77%]

...及获取声音的播放状态、总时间、当前播放时间、总循环次数、播放地址等信息的方法。 Public Properties PropertyDefined By  completeHandler : Handler 播放完成处理器。 SoundChannel  duration : Number[read-only] 获取总时间,单位是秒。 SoundChanne...

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

46. IK动画 · LayaAir3.4 · 引擎文档 · LAYABOX [ 77%]

...能通过迭代算法来逼近目标,设置最大误差可以节省计算次数,提高性能。 blendWeight:IK混合权重。控制IK解算结果和动画数据的混合比例。值为0时IK完全失效,值为1时IK完全接管动画。 smoothBlendWeight:平滑混合权重。当blendWeight...

来源: Laya3.0_文档 发布时间: 20260131

47. UI DrawCall 问题 [ 75%]

...l 问题 制作UI 时 测试 添加一个图集东西 N多个 导致 渲染次数 也会增加很多 那图集的作用不就是没有了吗??? 2017-03-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixu...

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

48. clearRes后的图集动画错乱 [ 73%]

...太大,而且多,占的内存太大,我就使用clearRes,调用的次数也多,目前的问题是 1.如果我使用clearRes把所有不管有没播放的动画每次都直接一次性clearRes,第二次播放动画时,任意图集的动画都会出现错乱(比如马上就跳过播放...

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

49. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 73%]

...子帧动画。 Public Properties PropertyDefined By  cycles : int循环次数。TextureSheetAnimation  enable : Boolean是否启用TextureSheetAnimation  enableUVChannels : intUV通道类型,0为Noting,1为Everything,待补充,暂不支持。TextureSheetAnimation  frame : FrameOverTime[rea...

来源: laya_api 发布时间: 20170929

50. CacheAs静态缓存优化(TypeScript-2D进阶篇(TS)-性能优化) [ 73%]

...,可以看到UI中每帧的Sprite渲染节点数为23个,DrawCall渲染次数为8,Shader材质提交次数为7次。(*该数据在优化后可以用于性能优化对比*) ![imgage](img/1.png) (图1) ## 1、cacheAs为normal的缓存优化 当我们使用cacheAs时,将cacheAs设置为...

来源: Laya2.0_文档 发布时间: 20210715