Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TrajectoryPlayer

Trajectory player for animating coordinate frames

example

var player = new TrajectoryPlayer(trajectory, {step: 1, timeout: 50}); player.play();

Hierarchy

  • TrajectoryPlayer

Index

Constructors

constructor

Properties

Private _currentFrame

_currentFrame: number | [number, number, number, number]

Private _currentStep

_currentStep: number = 1

Private _currentTime

_currentTime: number = 0

Private _direction

Private _previousTime

_previousTime: number = 0

Private _run

_run: boolean = false

parameters

traj

Accessors

isRunning

  • get isRunning(): boolean

Methods

_animate

  • _animate(): void

_next

  • _next(): number

_nextInterpolated

  • _nextInterpolated(): [number, number, number, number]

pause

  • pause(): void

play

  • play(): void

setParameters

stop

  • stop(): void

toggle

  • toggle(): void

Object literals

signals

signals: object

haltedRunning

haltedRunning: Signal<T> = new Signal()

startedRunning

startedRunning: Signal<T> = new Signal()

Generated using TypeDoc