Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnimationPlayer

Hierarchy

Index

Constructors

constructor

Properties

animationCollection

animationCollection: ModelAnimationCollection

animationStart

animationStart: Event

animationStop

animationStop: Event

clock

clock: Clock

currentPlayingAnimations

currentPlayingAnimations: ModelAnimation[] | undefined[]

isPause

isPause: boolean

model

model: ModMesh

Optional removeCallback

removeCallback: RemoveCallback

startTime

startTime: JulianDate

viewer

viewer: Viewer

Accessors

animationCount

  • get animationCount(): any
  • 获取模型所包含的动画数

    Returns any

multiplier

  • get multiplier(): number
  • set multiplier(value: number): void
  • 获取或设置动画播放速度,默认为1

    Returns number

  • 获取或设置动画播放速度,默认为1

    Parameters

    • value: number

    Returns void

Methods

get

  • get(index: number): any
  • 根据序号获取动画

    Parameters

    • index: number

      序号

    Returns any

pause

  • pause(): void

play

playAll

stop

stopAll

  • stopAll(): void

update

  • update(): void