-
The model to use as the locaiton puck
Declaration
Swift
public var model: Model -
The scale of the model.
Declaration
Swift
public var modelScale: Value<[Double]>? -
The rotation of the model in euler angles [lon, lat, z].
Declaration
Swift
public var modelRotation: Value<[Double]>? -
The opacity of the model used as the location puck
Declaration
Swift
public var modelOpacity: Value<Double>? -
Initialize a
Puck3DConfigurationwith a model, scale and rotation.Declaration
Parameters
modelThe
gltfmodel to use for the puck.modelScaleThe amount to scale the model by.
modelRotationThe rotation of the model in euler angles
[lon, lat, z].modelOpacityThe opacity of the model used as the location puck
Puck3DConfiguration Structure Reference