/// <summary> /// Writes the value expressed as a <code>unitQuaternion</code>, which is the rotation specified as a 4-dimensional unit magnitude quaternion, specified as `[X, Y, Z, W]`. /// </summary> /// <param name="dates">The dates at which the value is specified.</param> /// <param name="values">The values corresponding to each date.</param> /// <param name="startIndex">The index of the first element to use in the `values` collection.</param> /// <param name="length">The number of elements to use from the `values` collection.</param> public void WriteUnitQuaternion(IList <JulianDate> dates, IList <UnitQuaternion> values, int startIndex, int length) { const string PropertyName = UnitQuaternionPropertyName; OpenIntervalIfNecessary(); CesiumWritingHelper.WriteUnitQuaternion(Output, PropertyName, dates, values, startIndex, length); }
/// <summary> /// Writes the value expressed as a <code>unitQuaternion</code>, which is the rotation specified as a 4-dimensional unit magnitude quaternion, specified as `[X, Y, Z, W]`. /// </summary> /// <param name="value">The value.</param> public void WriteUnitQuaternion(UnitQuaternion value) { const string PropertyName = UnitQuaternionPropertyName; OpenIntervalIfNecessary(); Output.WritePropertyName(PropertyName); CesiumWritingHelper.WriteUnitQuaternion(Output, value); }