direct.interval.LerpInterval¶
from direct.interval.LerpInterval import LerpColorInterval, LerpColorScaleInterval, LerpFunc, LerpFuncNS, LerpFunctionInterval, LerpFunctionNoStateInterval, LerpHprInterval, LerpHprScaleInterval, LerpNodePathInterval, LerpPosHprInterval, LerpPosHprScaleInterval, LerpPosHprScaleShearInterval, LerpPosInterval, LerpPosQuatInterval, LerpPosQuatScaleInterval, LerpPosQuatScaleShearInterval, LerpQuatInterval, LerpQuatScaleInterval, LerpScaleInterval, LerpShearInterval, LerpTexOffsetInterval, LerpTexRotateInterval, LerpTexScaleInterval
LerpInterval module: contains the LerpInterval class
Inheritance diagram
-
class
LerpColorInterval
(nodePath, duration, color, startColor=None, other=None, blendType='noBlend', bakeInStart=1, name=None, override=None)[source]¶
-
class
LerpColorScaleInterval
(nodePath, duration, colorScale, startColorScale=None, other=None, blendType='noBlend', bakeInStart=1, name=None, override=None)[source]¶
-
class
LerpFuncNS
(*args, **kw)[source]¶ Bases:
direct.interval.LerpInterval.LerpFunctionNoStateInterval
-
class
LerpFunctionInterval
(function, duration=0.0, fromData=0, toData=1, blendType='noBlend', extraArgs=[], name=None)[source]¶ Bases:
direct.interval.Interval.Interval
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
-
lerpFunctionIntervalNum
= 1¶
-
notify
= <direct.directnotify.Notifier.Notifier object>¶
-
-
class
LerpFunctionNoStateInterval
(function, duration=0.0, fromData=0, toData=1, blendType='noBlend', extraArgs=[], name=None)[source]¶ Bases:
direct.interval.Interval.Interval
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.
-
lerpFunctionIntervalNum
= 1¶
-
notify
= <direct.directnotify.Notifier.Notifier object>¶
-
-
class
LerpHprInterval
(nodePath, duration, hpr, startHpr=None, startQuat=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpHprScaleInterval
(nodePath, duration, hpr, scale, startHpr=None, startQuat=None, startScale=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpNodePathInterval
(name, duration, blendType, bakeInStart, fluid, nodePath, other)[source]¶ Bases:
panda3d.direct.CLerpNodePathInterval
-
lerpNodePathNum
= 1¶
-
-
class
LerpPosHprInterval
(nodePath, duration, pos, hpr, startPos=None, startHpr=None, startQuat=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpPosHprScaleInterval
(nodePath, duration, pos, hpr, scale, startPos=None, startHpr=None, startQuat=None, startScale=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpPosHprScaleShearInterval
(nodePath, duration, pos, hpr, scale, shear, startPos=None, startHpr=None, startQuat=None, startScale=None, startShear=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpPosInterval
(nodePath, duration, pos, startPos=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpPosQuatInterval
(nodePath, duration, pos, quat=None, startPos=None, startHpr=None, startQuat=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None, hpr=None)[source]¶
-
class
LerpPosQuatScaleInterval
(nodePath, duration, pos, quat=None, scale=None, startPos=None, startHpr=None, startQuat=None, startScale=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None, hpr=None)[source]¶
-
class
LerpPosQuatScaleShearInterval
(nodePath, duration, pos, quat=None, scale=None, shear=None, startPos=None, startHpr=None, startQuat=None, startScale=None, startShear=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None, hpr=None)[source]¶
-
class
LerpQuatInterval
(nodePath, duration, quat=None, startHpr=None, startQuat=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None, hpr=None)[source]¶
-
class
LerpQuatScaleInterval
(nodePath, duration, quat=None, scale=None, hpr=None, startHpr=None, startQuat=None, startScale=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpScaleInterval
(nodePath, duration, scale, startScale=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpShearInterval
(nodePath, duration, shear, startShear=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]¶
-
class
LerpTexOffsetInterval
(nodePath, duration, texOffset, startTexOffset=None, other=None, blendType='noBlend', textureStage=None, bakeInStart=1, name=None, override=None)[source]¶
-
class
LerpTexRotateInterval
(nodePath, duration, texRotate, startTexRotate=None, other=None, blendType='noBlend', textureStage=None, bakeInStart=1, name=None, override=None)[source]¶