コード例 #1
0
        /// <summary>
        /// Writes the value expressed as a <code>range</code>, which is the behavior when the current time reaches its start or end times.  The default value is `LOOP_STOP`.
        /// </summary>
        /// <param name="value">The clock range.</param>
        public void WriteRange(ClockRange value)
        {
            const string PropertyName = RangePropertyName;

            OpenIntervalIfNecessary();
            Output.WritePropertyName(PropertyName);
            Output.WriteValue(CesiumFormattingHelper.ClockRangeToString(value));
        }
コード例 #2
0
        public void TestClockRangeToString(ClockRange value)
        {
            string s = CesiumFormattingHelper.ClockRangeToString(value);

            Assert.IsNotNull(s);
        }