Contents

point(_:atPercentageOfDistance:alongPath:at:)

Provides a 2D point that contains the location of the point on the path, at a distance along the path’s length equal to the value of percentDist.

Declaration

func point(_ point: UnsafeMutablePointer<FxPoint2D>!, atPercentageOfDistance percentDist: Double, alongPath pathID: FxPathID!, at time: CMTime) throws

Parameters

  • point:

    Upon return, contains the point that is the desired percentage of distance along the path.

  • percentDist:

    The percentage of the distance along the path where you wish to find a point.

  • pathID:

    The ID of the path you want to query.

  • time:

    The time at which you wish to query the path.

See Also

Getting Path Information