CesiumLanguageWriter.PacketCesiumWriter.WriteOrientationProperty C# (CSharp) Method

WriteOrientationProperty() public method

Writes a value for the orientation property as a unitQuaternion value. The orientation property specifies the orientation of the object in the world. The orientation has no direct visual representation, but it is used to orient models, cones, pyramids, and other graphical items attached to the object.
public WriteOrientationProperty ( IList dates, IList values, int startIndex, int length ) : void
dates IList The dates at which the value is specified.
values IList The values corresponding to each date.
startIndex int The index of the first element to write.
length int The number of elements to write.
return void
        public void WriteOrientationProperty(IList<JulianDate> dates, IList<UnitQuaternion> values, int startIndex, int length)
        {
            using (var writer = OpenOrientationProperty())
            {
                writer.WriteUnitQuaternion(dates, values, startIndex, length);
            }
        }

Same methods

PacketCesiumWriter::WriteOrientationProperty ( IList dates, IList values ) : void
PacketCesiumWriter::WriteOrientationProperty ( UnitQuaternion value ) : void