direct.interval.AnimControlInterval
from direct.interval.AnimControlInterval import AnimControlInterval
AnimControlInterval module: contains the AnimControlInterval class
Inheritance diagram
- class AnimControlInterval(controls, loop=0, constrainedLoop=0, duration=None, startTime=None, endTime=None, startFrame=None, endFrame=None, playRate=1.0, name=None)[source]
Bases:
Interval
- __init__(self, controls, loop=0, constrainedLoop=0, duration=None, startTime=None, endTime=None, startFrame=None, endFrame=None, playRate=1.0, name=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>