ARFence

class ARFence : NSObject

State of an AR fence in the world space.

  • Unavailable

  • Declaration

    Swift

    init(curve: MBVBezierCubic3D, offset: Float)
  • Cubic spline describing geometry of the AR fence

    Declaration

    Swift

    var curve: MBVBezierCubic3D { get }
  • The direction of horizontal offset from the spline. 1.0 stands for the offset to the right side of the road, -1.0 stands for the offset to the left side of the road.

    Declaration

    Swift

    var offset: Float { get }