duration The lifetime of the effect in seconds. Declarationvar duration: TimeInterval DiscussionThis value needs to be non-negative.