Puck3DConfiguration

public struct Puck3DConfiguration : Equatable

Undocumented

  • 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 Puck3DConfiguration with a model, scale and rotation.

    Declaration

    Swift

    public init(model: Model, modelScale: Value<[Double]>? = nil, modelRotation: Value<[Double]>? = nil, modelOpacity: Value<Double>? = nil)

    Parameters

    model

    The gltf model to use for the puck.

    modelScale

    The amount to scale the model by.

    modelRotation

    The rotation of the model in euler angles [lon, lat, z].

    modelOpacity

    The opacity of the model used as the location puck