Contents

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) throws

Parameters

  • 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 has n vertices, this will be between 0 and n-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