# LerpFunctionNoStateInterval

from direct.interval.LerpInterval import LerpFunctionNoStateInterval

Class used to execute a function over time. Function can access fromData and toData to perform blend. If fromData and toData not specified, will execute the given function passing in values ranging from 0 to 1
This is different from a standard LerpFunction, in that it assumes the function is not modifying any state that needs to be kept; so that it will only call the function while the lerp is actually running, and will not be guaranteed to call the function with its final value of the lerp. In particular, if the lerp interval happens to get skipped over completely, it will not bother to call the function at all.

## Inheritance:

LerpFunctionNoStateInterval:

## Methods of LerpFunctionNoStateInterval:

__init__
privStep

__init__ def __init__(self, function, duration=0.0, fromData=0, toData=1, blendType='noBlend', extraArgs=[], name=None) __init__(function, duration, fromData, toData, name)

privStep def privStep(self, t) Undocumented function.