new ov.Widget.TimelinePlayer(parameter){ov.Widget.TimelinePlayer}
            common/PilotGaea-Widget.js, line 36
        
        
    播放控制器Widget。
| Name | Type | Default | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
parameter | 
            
            
            Object | 
                
                    
                    
                        
                    
                
                 參數物件。 
  | 
        |||||||
param.timeline | 
            
            
            ov.Widget.Timeline | 
                
                    
                        optional
                    
                    
                        
                    
                
                 時間線物件。  | 
        |||||||
param.play | 
            
            
            Boolean | false | 
                
                    
                        optional
                    
                    
                        
                    
                
                 是否開啟時就開始播放。  | 
        ||||||
param.playSpeed | 
            
            
            Number | 1.0 | 
                
                    
                        optional
                    
                    
                        
                    
                
                 播放速度。  | 
        ||||||
param.minUpdateInterval | 
            
            
            Number | 33 | 
                
                    
                        optional
                    
                    
                        
                    
                
                 最小更新間隔,單位毫秒。  | 
        ||||||
param.style | 
            
            
            Object | 
                
                    
                        optional
                    
                    
                        
                    
                
                 播放器容器DOM元件style參數。  | 
        
Returns:
| Type | Description | 
|---|---|
| ov.Widget.TimelinePlayer | 播放控制器Widget物件。 | 
Example
var param = {};
param.view = terrainView;
param.timeline = new ov.Widget.Timeline({terrainView: terrainView});
param.playSpeed = 1000;
param.style = {bottom: 0};
var widget = new ov.Widget.TimelinePlayer(param);
    
    
Methods
- 
    
play()
common/PilotGaea-Widget.js, line 97 - 
    
    
    
開始播放。
 - 
    
remove()
common/PilotGaea-Widget.js, line 55 - 
    
    
    
移除播放控制器Widget。
 - 
    
reset()
common/PilotGaea-Widget.js, line 109 - 
    
    
    
重制播放時間至開始時間,若未設定開始時間則重制到現在時間。
 - 
    
stop()
common/PilotGaea-Widget.js, line 87 - 
    
    
    
停止播放。