sample(atTime:)
Calculates the sample at a particular time.
Declaration
func sample(atTime time: CGFloat) -> Any?Parameters
- time:
The time value to sample.
Mentioned in
Return Value
An object that contains the interpolated sample. The class of this object matches the class of the values stored in the keyframe sequence — either an NSNumber or an SKColor.