direct.tkpanels.AnimPanel

from direct.tkpanels.AnimPanel import ActorControl, AnimPanel

DIRECT Animation Control Panel

Inheritance diagram

Inheritance diagram of direct.tkpanels.AnimPanel

class ActorControl(parent=None, **kw)[source]

Bases: _Pmw.Pmw_2_0_1.lib.PmwBase.MegaWidget

__init__(self, parent=None, **kw)[source]
disableControl(self)[source]
displayFrameCounts(self)[source]
displaySeconds(self)[source]
enableControl(self)[source]
goTo(self, t)[source]
goToF(self, f)[source]
goToT(self, t)[source]
nextFrame(self)[source]

There needed to be a better way to select an exact frame number as the control slider doesn’t have the desired resolution

play(self, deltaT, fLoop)[source]
previousFrame(self)[source]

There needed to be a better way to select an exact frame number as the control slider doesn’t have the desired resolution

resetToEnd(self)[source]
resetToZero(self)[source]
selectAnimNamed(self, name)[source]
setOffset(self)[source]
setPlayRate(self, rate)[source]
updateDisplay(self)[source]
class AnimPanel(aList=[], parent=None, session=None, **kw)[source]

Bases: direct.tkwidgets.AppShell.AppShell

__init__(self, aList=[], parent=None, session=None, **kw)[source]
appname = 'Anim Panel'
clearActorControls(self)[source]
createActorControls(self)[source]
createInterface(self)[source]
destroy(self)[source]
disableActorControlAt(self, index)[source]
disableActorControls(self)[source]
displayFrameCounts(self)[source]
displaySeconds(self)[source]
enableActorControlAt(self, index)[source]
enableActorControls(self)[source]
frameHeight = 250
frameWidth = 675
getActorControlAt(self, index)[source]
index = 0
loadAnim(self)[source]
nextFrame(self)[source]
play(self, task)[source]
playActorControls(self)[source]
previousFrame(self)[source]
resetAllToEnd(self)[source]
resetAllToZero(self)[source]
setActors(self)[source]
setDestroyCallBack(self, callBack)[source]
stopActorControls(self)[source]
toggleAllControls(self)[source]
usecommandarea = 0
usestatusarea = 0