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

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

1. laya.utils.Ease [ 100%]

...后运动,然后反向朝目标移动。 Parameters t:Number — 指定当前时间,介于 0 和持续时间之间(包括二者)。  b:Number — 指定动画属性的初始值。  c:Number — 指定动画属性的更改总计。  d:Number — 指定运动的持续时间。  s:Number (d...

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

2. laya.ani.AnimationPlayer [ 99%]

...率。 AnimationPlayer  currentAnimationClipIndex : int[read-only] 获取当前动画索引 AnimationPlayer  currentFrameTime : Number[read-only] 获取当前时间,不包括重播时间 AnimationPlayer  currentKeyframeIndex : int[read-only] 获取当前帧数 AnimationPlayer  currentPl...

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

3. laya.utils.Tween [ 92%]

...blic Properties PropertyDefined By  progress : Number[write-only] 设置当前执行比例Tween  repeat : int = 1重播次数,如果repeat=0,则表示无限循环播放Tween  update : Handler更新回调,缓动数值发生变化时,回调变化的值TweenPublic Methods  MethodDefined...

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

4. laya.d3.component.AnimatorPlayState [ 86%]

...ublic Properties PropertyDefined By  duration : Number[read-only] 获取当前动画的持续时间,以秒为单位。 AnimatorPlayState  normalizedTime : Number[read-only] 获取播放状态的归一化时间,整数为循环次数,小数为单次播放时间。 AnimatorPlayStatePublic Meth...

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

5. laya.utils.TimeLine [ 86%]

...e:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine  from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine[static] 从 props 属性,缓动到当前状态。 TimeLine  gotoLabel(Label:String):void 从指...

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

6. laya.media.SoundChannel [ 86%]

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

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

7. laya.utils.Timer [ 85%]

...mer 访问。 Public Properties PropertyDefined By  currFrame : int = 0 当前的帧数。Timer  currTimer : Number 当前帧开始的时间。Timer  delta : int[read-only] 两帧之间的时间间隔,单位毫秒。Timer  scale : Number = 1 时针缩放。TimerPublic Methods  MethodDefine...

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

8. laya.device.geolocation.Geolocation [ 83%]

...sition(onSuccess:Handler, onError:Handler = null):void[static] 获取设备当前位置。 Geolocation  watchPosition(onSuccess:Handler, onError:Handler):int[static] 监视设备当前位置。回调处理器在设备位置改变时被执行。 GeolocationPublic Constants ConstantDefined By  PE...

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

9. laya.d3.component.Animator [ 78%]

...nsitionDuration:Number, layerIndex:int = 0, normalizedTime:Number):void 在当前动画状态和目标动画状态之间进行融合过渡播放。 Animator destroy():void 销毁组件 Component  getControllerLayer(layerInex:int = 0):AnimatorControllerLayer 获取控制器层。 Animator  getCu...

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

10. laya.display.AnimationBase [ 75%]

...存开销,无需renderTarget支持。 Sprite  count : int[read-only] 当前动画中帧的总数。 AnimationBase customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = fals...

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