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

digraph inheritanceede5a2ac16 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "CInterval" [URL="acron.direct.CInterval.html#acron.direct.CInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "CInterval" [arrowsize=0.75,style=""]; "CLerpInterval" [URL="acron.direct.CLerpInterval.html#acron.direct.CLerpInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "CInterval" -> "CLerpInterval" [arrowsize=0.75,style=""]; "CLerpNodePathInterval" [URL="acron.direct.CLerpNodePathInterval.html#acron.direct.CLerpNodePathInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "CLerpInterval" -> "CLerpNodePathInterval" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "Interval" [URL="direct.interval.Interval.html#direct.interval.Interval.Interval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Interval class: Base class for timeline functionality"]; "DirectObject" -> "Interval" [arrowsize=0.75,style=""]; "LerpColorInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpColorInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpColorInterval" [arrowsize=0.75,style=""]; "LerpColorScaleInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpColorScaleInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpColorScaleInterval" [arrowsize=0.75,style=""]; "LerpFunc" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpFunc",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpFunctionInterval" -> "LerpFunc" [arrowsize=0.75,style=""]; "LerpFuncNS" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpFuncNS",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpFunctionNoStateInterval" -> "LerpFuncNS" [arrowsize=0.75,style=""]; "LerpFunctionInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpFunctionInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Class used to execute a function over time. Function can access fromData"]; "Interval" -> "LerpFunctionInterval" [arrowsize=0.75,style=""]; "LerpFunctionNoStateInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpFunctionNoStateInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Class used to execute a function over time. Function can access fromData"]; "Interval" -> "LerpFunctionNoStateInterval" [arrowsize=0.75,style=""]; "LerpHprInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpHprInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpHprInterval" [arrowsize=0.75,style=""]; "LerpHprScaleInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpHprScaleInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpHprScaleInterval" [arrowsize=0.75,style=""]; "LerpNodePathInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpNodePathInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "CLerpNodePathInterval" -> "LerpNodePathInterval" [arrowsize=0.75,style=""]; "LerpPosHprInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpPosHprInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpPosHprInterval" [arrowsize=0.75,style=""]; "LerpPosHprScaleInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpPosHprScaleInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpPosHprScaleInterval" [arrowsize=0.75,style=""]; "LerpPosHprScaleShearInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpPosHprScaleShearInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpPosHprScaleShearInterval" [arrowsize=0.75,style=""]; "LerpPosInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpPosInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpPosInterval" [arrowsize=0.75,style=""]; "LerpPosQuatInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpPosQuatInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpPosQuatInterval" [arrowsize=0.75,style=""]; "LerpPosQuatScaleInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpPosQuatScaleInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpPosQuatScaleInterval" [arrowsize=0.75,style=""]; "LerpPosQuatScaleShearInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpPosQuatScaleShearInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpPosQuatScaleShearInterval" [arrowsize=0.75,style=""]; "LerpQuatInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpQuatInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpQuatInterval" [arrowsize=0.75,style=""]; "LerpQuatScaleInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpQuatScaleInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpQuatScaleInterval" [arrowsize=0.75,style=""]; "LerpScaleInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpScaleInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpScaleInterval" [arrowsize=0.75,style=""]; "LerpShearInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpShearInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpShearInterval" [arrowsize=0.75,style=""]; "LerpTexOffsetInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpTexOffsetInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpTexOffsetInterval" [arrowsize=0.75,style=""]; "LerpTexRotateInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpTexRotateInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpTexRotateInterval" [arrowsize=0.75,style=""]; "LerpTexScaleInterval" [URL="direct.interval.LerpInterval.html#direct.interval.LerpInterval.LerpTexScaleInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "LerpNodePathInterval" -> "LerpTexScaleInterval" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }
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