MMKModelStyle
class MMKModelStyle : NSObject |
The style of the model.
Summary
Class methods
init(scale: Float, |
Instance methods
init() |
Properties
var scale: Float { get set } |
var unitType: MMKModelStyleUnitType { get set } |
var renderMode: MMKModelStyleRenderMode { get set } |
var variantName: String? { get set } |
Class methods
init(scale:unitType:renderMode:variantName:)
init(scale: Float, |
Instance methods
init()
init() |
Properties
scale
var scale: Float { get set } |
Scale the model by this value.
unitType
var unitType: MMKModelStyleUnitType { get set } |
Unit type of the model.
renderMode
var renderMode: MMKModelStyleRenderMode { get set } |
Defines should it be rendered with buildings from ground layer.
variantName
var variantName: String? { get set } |
Name of variant to render model with. See KHR_materials_variants gltf extension. This works only for glTF models.
Optional field, can be nil.