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]
Bases:
LerpNodePathInterval
- class LerpColorScaleInterval(nodePath, duration, colorScale, startColorScale=None, other=None, blendType='noBlend', bakeInStart=1, name=None, override=None)[source]
Bases:
LerpNodePathInterval
- class LerpFunc(*args, **kw)[source]
Bases:
LerpFunctionInterval
- class LerpFuncNS(*args, **kw)[source]
Bases:
LerpFunctionNoStateInterval
- class LerpFunctionInterval(function, duration=0.0, fromData=0, toData=1, blendType='noBlend', extraArgs=[], name=None)[source]
Bases:
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:
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]
Bases:
LerpNodePathInterval
- class LerpHprScaleInterval(nodePath, duration, hpr, scale, startHpr=None, startQuat=None, startScale=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]
Bases:
LerpNodePathInterval
- class LerpNodePathInterval(name, duration, blendType, bakeInStart, fluid, nodePath, other)[source]
Bases:
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]
Bases:
LerpNodePathInterval
- 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]
Bases:
LerpNodePathInterval
- 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]
Bases:
LerpNodePathInterval
- class LerpPosInterval(nodePath, duration, pos, startPos=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]
Bases:
LerpNodePathInterval
- 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]
Bases:
LerpNodePathInterval
- 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]
Bases:
LerpNodePathInterval
- 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]
Bases:
LerpNodePathInterval
- class LerpQuatInterval(nodePath, duration, quat=None, startHpr=None, startQuat=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None, hpr=None)[source]
Bases:
LerpNodePathInterval
- 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]
Bases:
LerpNodePathInterval
- class LerpScaleInterval(nodePath, duration, scale, startScale=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]
Bases:
LerpNodePathInterval
- class LerpShearInterval(nodePath, duration, shear, startShear=None, other=None, blendType='noBlend', bakeInStart=1, fluid=0, name=None)[source]
Bases:
LerpNodePathInterval
- class LerpTexOffsetInterval(nodePath, duration, texOffset, startTexOffset=None, other=None, blendType='noBlend', textureStage=None, bakeInStart=1, name=None, override=None)[source]
Bases:
LerpNodePathInterval
- class LerpTexRotateInterval(nodePath, duration, texRotate, startTexRotate=None, other=None, blendType='noBlend', textureStage=None, bakeInStart=1, name=None, override=None)[source]
Bases:
LerpNodePathInterval
- class LerpTexScaleInterval(nodePath, duration, texScale, startTexScale=None, other=None, blendType='noBlend', textureStage=None, bakeInStart=1, name=None, override=None)[source]
Bases:
LerpNodePathInterval