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

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

1. laya.utils.Stat [ 100%]

...戏运行效率越高。Canvas模式下表示每大约1秒的图像绘制次数;WebGL模式下表示每大约1秒的渲染提交批次,每次准备数据并通知GPU渲染绘制的过程称为1次DrawCall,在每次DrawCall中除了在通知GPU的渲染上比较耗时之外,切换材质与sha...

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

2. laya.d3.physics.PhysicsSimulation [ 83%]

... maxSubSteps : int = 1物理引擎在一帧中用于补偿减速的最大次数:模拟器每帧允许的最大模拟次数,如果引擎运行缓慢,可能需要增加该次数,否则模拟器会丢失“时间",引擎间隔时间小于maxSubStepsixedTimeStep非常重要。PhysicsSimulationPub...

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

3. laya.physics.Physics [ 79%]

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

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

4. laya.d3.physics.PhysicsSettings [ 79%]

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

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

5. laya.d3.component.AnimatorPlayState [ 79%]

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

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

6. laya.display.cmd.DrawTexturesCmd [ 79%]

...制多个贴图 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

7. laya.media.SoundChannel [ 79%]

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

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

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

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

9. laya.d3.core.render.BloomEffect [ 70%]

...散范围,最好使用整数值保证效果,该值会改变内部的迭代次数,范围是1到10。 BloomEffect  dirtIntensity : Number 获取污渍强度。 BloomEffect  dirtTexture : Texture2D = null镜头污渍纹路,用于为泛光特效增加污渍灰尘效果BloomEffect  fastMode : Boole...

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

10. laya.net.LoaderManager [ 59%]

...最低优先级插入加载队列),retryNum设定加载失败后重试次数,retryDelay设定加载重试的时间间隔。 See alsolaya.net.LoaderPublic Properties PropertyDefined By  maxLoader : int = 5 最大下载线程,默认为5个LoaderManager  retryDelay : int = 0 延迟时间...

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