Instance Method

sampleAtTime:

Calculates the sample at a particular time.

Declaration

- (id)sampleAtTime:(CGFloat)time;

Parameters

time

The time value to sample.

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.