MMKModel
class MMKModel : MMKPlacemarkPresentation |
describes model presentation of PlacemarkMapObject
Summary
Instance methods
func setDataWithGltfDataProvider(_ gltfDataProvider: any MRTDataProviderWithId, |
Properties
var modelStyle: MMKModelStyle { get set } |
Instance methods
setDataWithGltfDataProvider(_:callback:)
func setDataWithGltfDataProvider(_ gltfDataProvider: any MRTDataProviderWithId, |
Sets gltf data provider.
The class maintains a strong reference to the object in the 'gltfDataProvider' parameter until it (the class) is invalidated.
Parameters |
|
onFinished |
Called when the model is loaded. |
Properties
modelStyle
var modelStyle: MMKModelStyle { get set } |
The style properties (sclae, unitType, etc.) of the model placemark. Note: The current style cannot be modified directly - you must reset it to apply changes.