KmlModel constructor

KmlModel({
  1. required Uri uri,
  2. KmlOrientation? orientation,
  3. KmlScale? scale,
})

Creates a KmlModel from a model file on disk or the network using the specified orientation and scale.

This constructor is used when creating a model for use in a track, which will adopt the track's geometry and altitude mode.

Parameters:

  • uri — The URI to the model file on disk or the network.
  • orientation — The orientation values to apply to the model.
  • scale — The scale values to apply to the model.