CesiumLanguageWriter.PacketCesiumWriter.WriteViewFromProperty C# (CSharp) Method

WriteViewFromProperty() public method

Writes a value for the viewFrom property as a cartesian value. The viewFrom property specifies a suggested camera location when viewing this object. The property is specified as a Cartesian position in the East (x), North (y), Up (z) reference frame relative to the object's position.
public WriteViewFromProperty ( Cartesian value ) : void
value Cartesian The value.
return void
        public void WriteViewFromProperty(Cartesian value)
        {
            using (var writer = OpenViewFromProperty())
            {
                writer.WriteCartesian(value);
            }
        }

Same methods

PacketCesiumWriter::WriteViewFromProperty ( IList dates, IList values ) : void
PacketCesiumWriter::WriteViewFromProperty ( IList dates, IList values, int startIndex, int length ) : void