vertex(_:at:ofPath:at:)
Provides information about a single vertex on the path at the given time.
Declaration
func vertex(_ vertex: UnsafeMutablePointer<FxVertex>!, at index: Int, ofPath pathID: FxPathID!, at time: CMTime) throwsParameters
- vertex:
A pointer to an FxVertex structure to hold the information about the vertex in question.
- index:
The index of the vertex you want to retrieve. This is
0-based, so if the path hasnvertices, this will be between0andn-1. - pathID:
The ID of the path from which you wish to retrieve a vertex.
- time:
The time at which to retrieve the vertex information.
See Also
Getting Path Information
numberOfPaths(at:)pathID(_:for:)name(_:ofPath:)isPath(_:open:at:)isPath(_:inverted:at:)style(_:ofPath:)length(_:ofPath:at:)length(_:ofSegment:ofPath:at:)number(ofVertices:inPath:at:)point(_:atPercentageOfDistance:alongPath:at:)point(_:atPercentageOfParameter:alongPath:at:)blendMode(_:ofPath:)pathGeometryInfo(_:forPath:at:)