currentTime()
Returns the current time, expressed as a rational time.
Declaration
func currentTime() -> CMTimeMentioned in
Return Value
The current time, expressed as a rational time.
Discussion
This is useful when a custom parameter view needs to set a parameter value in response to a user event. Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See Understanding time in FxPlug.