@@ -20,7 +20,8 @@ define([
20
20
'use strict' ;
21
21
22
22
/**
23
- * Represents CZML document-level clock settings.
23
+ * Represents desired clock settings for a particular {@link DataSource}. These settings may be applied
24
+ * to the {@link Clock} when the DataSource is loaded.
24
25
*
25
26
* @alias DataSourceClock
26
27
* @constructor
@@ -50,45 +51,48 @@ define([
50
51
} ,
51
52
52
53
/**
53
- * Gets or sets the start time of the clock to use when looping or clamped.
54
+ * Gets or sets the desired start time of the clock.
55
+ * See {@link Clock#startTime}.
54
56
* @memberof DataSourceClock.prototype
55
57
* @type {JulianDate }
56
58
*/
57
59
startTime : createRawPropertyDescriptor ( 'startTime' ) ,
58
60
59
61
/**
60
- * Gets or sets the stop time of the clock to use when looping or clamped.
62
+ * Gets or sets the desired stop time of the clock.
63
+ * See {@link Clock#stopTime}.
61
64
* @memberof DataSourceClock.prototype
62
65
* @type {JulianDate }
63
66
*/
64
67
stopTime : createRawPropertyDescriptor ( 'stopTime' ) ,
65
68
66
69
/**
67
- * Gets or sets the initial time to use when switching to this clock.
70
+ * Gets or sets the desired current time when this data source is loaded.
71
+ * See {@link Clock#currentTime}.
68
72
* @memberof DataSourceClock.prototype
69
73
* @type {JulianDate }
70
74
*/
71
75
currentTime : createRawPropertyDescriptor ( 'currentTime' ) ,
72
76
73
77
/**
74
- * Gets or sets how the clock should behave when <code>startTime</code> or <code>stopTime</code> is reached.
78
+ * Gets or sets the desired clock range setting.
79
+ * See {@link Clock#clockRange}.
75
80
* @memberof DataSourceClock.prototype
76
81
* @type {ClockRange }
77
82
*/
78
83
clockRange : createRawPropertyDescriptor ( 'clockRange' ) ,
79
84
80
85
/**
81
- * Gets or sets if clock advancement is frame dependent or system clock dependent.
86
+ * Gets or sets the desired clock step setting.
87
+ * See {@link Clock#clockStep}.
82
88
* @memberof DataSourceClock.prototype
83
89
* @type {ClockStep }
84
90
*/
85
91
clockStep : createRawPropertyDescriptor ( 'clockStep' ) ,
86
92
87
93
/**
88
- * Gets or sets how much time advances with each tick, negative values allow for advancing backwards.
89
- * If <code>clockStep</code> is set to ClockStep.TICK_DEPENDENT this is the number of seconds to advance.
90
- * If <code>clockStep</code> is set to ClockStep.SYSTEM_CLOCK_MULTIPLIER this value is multiplied by the
91
- * elapsed system time since the last call to tick.
94
+ * Gets or sets the desired clock multiplier.
95
+ * See {@link Clock#multiplier}.
92
96
* @memberof DataSourceClock.prototype
93
97
* @type {Number }
94
98
*/
@@ -163,10 +167,10 @@ define([
163
167
}
164
168
result . startTime = this . startTime ;
165
169
result . stopTime = this . stopTime ;
170
+ result . currentTime = this . currentTime ;
166
171
result . clockRange = this . clockRange ;
167
- result . clockStep = this . clockStep ;
168
172
result . multiplier = this . multiplier ;
169
- result . currentTime = this . currentTime ;
173
+ result . clockStep = this . clockStep ;
170
174
return result ;
171
175
} ;
172
176
0 commit comments