Contents

durationTime(_:ofImageParameter:)

Provides the duration of the clip the user assigns to the given image parameter for the effect.

Declaration

func durationTime(_ duration: UnsafeMutablePointer<CMTime>!, ofImageParameter parameterID: UInt32)

Parameters

  • duration:

    The duration of the clip, in CMTime.

  • parameterID:

    The ID of the image parameter.

Discussion

In Motion, duration represents the duration of the the image well input after the user has trimmed or retimed it.

See Also

Accessing Timing Values