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
add(_:toParameter:andChannel:)channelCount(_:forParameter:)keyframe(_:atOrAfter:fromParameter:andChannel:)keyframe(_:forParameter:channel:andIndex:)keyframeCount(_:forParameter:andChannel:)parameter(_:channel:hasKeyframe:at:)removeAllKeyframes(forParameter:andChannel:)removeKeyframe(at:fromParameter:andChannel:)setKeyframeIndex(_:with:forParameter:andChannel:)