Contents

keyframe(_:atOrBefore:fromParameter:andChannel:)

Returns the info about the nearest previous keyframe.

Declaration

func keyframe(_ keyframe: UnsafeMutablePointer<FxKeyframe>, atOrBefore time: CMTime, fromParameter parameterID: Int, andChannel channelIndex: Int) -> (any Error)?

Parameters

  • keyframe:

    A pointer to a struct which will receive information about the keyframe at or before the given time.

  • time:

    The time (Cmtime) you want a keyframe at or before.

  • parameterID:

    The ID of the parameter for which you want the keyframe information.

  • channelIndex:

    The index of the channel of the parameter for which you want the keyframe information.

See Also

Instance Methods