Model

public struct Model : Equatable, Codable

A structure represeting a Model

  • uri

    URL to a gltf 3D asset in the application bundle

    Declaration

    Swift

    public var uri: URL?
  • Coordinates of the model in [longitude, latitude]format

    Declaration

    Swift

    public var position: [Double]?
  • Orientation of the model

    Declaration

    Swift

    public var orientation: [Double]?
  • Undocumented

    Declaration

    Swift

    public init(uri: URL? = nil, position: [Double]? = nil, orientation: [Double]? = nil)