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

Inheritance diagram of direct.interval.ActorInterval

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: direct.interval.Interval.Interval

__init__(self, 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]
animNum = 1
getCurrentFrame(self)[source]

Calculate the current frame playing in this interval.

returns a float value between startFrame and endFrame, inclusive returns None if there are any problems

notify = <direct.directnotify.Notifier.Notifier object>
privFinalize(self)[source]
privStep(self, t)[source]
resetControls(self, partName, lodName=None)[source]
class LerpAnimInterval(actor, duration, startAnim, endAnim, startWeight=0.0, endWeight=1.0, blendType='noBlend', name=None, partName=None, lodName=None)[source]

Bases: panda3d.direct.CLerpAnimEffectInterval

__init__(self, actor, duration, startAnim, endAnim, startWeight=0.0, endWeight=1.0, blendType='noBlend', name=None, partName=None, lodName=None)[source]
lerpAnimNum = 1