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 ) : void
dates IList The dates at which the value is specified.
values IList The values corresponding to each date.
return void
        public void WriteOrientationProperty(IList<JulianDate> dates, IList<UnitQuaternion> values)
        {
            using (var writer = OpenOrientationProperty())
            {
                writer.WriteUnitQuaternion(dates, values);
            }
        }

Same methods

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