direct.interval.ActorInterval¶
from direct.interval.ActorInterval import ActorInterval, LerpAnimInterval
ActorInterval module: contains the ActorInterval class.
See the Actor Intervals page in the programming manual for explanation of this class.
Inheritance diagram
digraph inheritance8533fbdbe3 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "ActorInterval" [URL="direct.interval.ActorInterval.html#direct.interval.ActorInterval.ActorInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "Interval" -> "ActorInterval" [arrowsize=0.75,style=""]; "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=""]; "CLerpAnimEffectInterval" [URL="acron.direct.CLerpAnimEffectInterval.html#acron.direct.CLerpAnimEffectInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "CLerpInterval" -> "CLerpAnimEffectInterval" [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=""]; "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=""]; "LerpAnimInterval" [URL="direct.interval.ActorInterval.html#direct.interval.ActorInterval.LerpAnimInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "CLerpAnimEffectInterval" -> "LerpAnimInterval" [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 ActorInterval(actor, animName, loop=0, constrainedLoop=0, duration=None, startTime=None, endTime=None, startFrame=None, endFrame=None, playRate=1.0, name=None, forceUpdate=0, partName=None, lodName=None)[source]¶
Bases:
Interval- animNum = 1¶
- notify = <direct.directnotify.Notifier.Notifier object>¶
- class LerpAnimInterval(actor, duration, startAnim, endAnim, startWeight=0.0, endWeight=1.0, blendType='noBlend', name=None, partName=None, lodName=None)[source]¶
Bases:
CLerpAnimEffectInterval- lerpAnimNum = 1¶