Panda3D
Public Member Functions | Public Attributes | Static Public Attributes

ActorInterval Class Reference

Inheritance diagram for ActorInterval:
Interval

List of all members.

Public Member Functions

def __init__
def __repr__
def clearToInitial
def finish
def getCurrentFrame
def getDoneEvent
def getDuration
def getLoop
def getName
def getOpenEnded
def getPlayRate
def getState
def getT
def intervalDone
def isPaused
def isPlaying
def isStopped
def loop
def pause
def popupControls
def privDoEvent
def privFinalize
def privInitialize
def privInstant
def privInterrupt
def privPostEvent
def privReverseFinalize
def privReverseInitialize
def privReverseInstant
def privStep
def resetControls
def resume
def resumeUntil
def setDoneEvent
def setLoop
def setPlayRate
def setT
def setupPlay
def setupResume
def start
def stepPlay

Public Attributes

 actor
 animName
 constrainedLoop
 controls
 currT
 doneEvent
 duration
 endFrame
 es
 forceUpdate
 frameRate
 implicitDuration
 loopAnim
 name
 numFrames
 openEnded
 playRate
 pname
 pstats
 reverse
 setTHooks
 startFrame
 state

Static Public Attributes

int animNum = 1
tuple notify = directNotify.newCategory('ActorInterval')
int playbackCounter = 0

Constructor & Destructor Documentation

def __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 
)

Member Function Documentation

def __repr__ (   self,
  indent = 0 
) [inherited]
def clearToInitial (   self) [inherited]
def finish (   self) [inherited]
def getCurrentFrame (   self)
Calculate the current frame playing in this interval.

returns a float value between startFrame and endFrame, inclusive
returns None if there are any problems
def getDoneEvent (   self) [inherited]
def getDuration (   self) [inherited]
def getLoop (   self) [inherited]
def getName (   self) [inherited]
def getOpenEnded (   self) [inherited]
def getPlayRate (   self) [inherited]
Returns the play rate as set by the last call to start(),
loop(), or setPlayRate(). 
def getState (   self) [inherited]
def getT (   self) [inherited]
def intervalDone (   self) [inherited]
def isPaused (   self) [inherited]
def isPlaying (   self) [inherited]
def isStopped (   self) [inherited]
def loop (   self,
  startT = 0.0,
  endT = -1.0,
  playRate = 1.0 
) [inherited]
def pause (   self) [inherited]
def popupControls (   self,
  tl = None 
) [inherited]
Popup control panel for interval.
def privDoEvent (   self,
  t,
  event 
) [inherited]
def privFinalize (   self)

Reimplemented from Interval.

def privInitialize (   self,
  t 
) [inherited]

Reimplemented in IndirectInterval, and SoundInterval.

def privInstant (   self) [inherited]

Reimplemented in FunctionInterval, and IndirectInterval.

def privInterrupt (   self) [inherited]

Reimplemented in IndirectInterval, and SoundInterval.

def privPostEvent (   self) [inherited]
def privReverseFinalize (   self) [inherited]

Reimplemented in IndirectInterval.

def privReverseInitialize (   self,
  t 
) [inherited]

Reimplemented in IndirectInterval.

def privReverseInstant (   self) [inherited]

Reimplemented in IndirectInterval.

def privStep (   self,
  t 
)

Reimplemented from Interval.

def resetControls (   self,
  partName,
  lodName = None 
)
def resume (   self,
  startT = None 
) [inherited]
def resumeUntil (   self,
  endT 
) [inherited]
def setDoneEvent (   self,
  event 
) [inherited]
def setLoop (   self,
  loop = 1 
) [inherited]
def setPlayRate (   self,
  playRate 
) [inherited]
Changes the play rate of the interval.  If the interval is
already started, this changes its speed on-the-fly.  Note that
since playRate is a parameter to start() and loop(), the next
call to start() or loop() will reset this parameter. 
def setT (   self,
  t 
) [inherited]
def setupPlay (   self,
  startT,
  endT,
  playRate,
  doLoop 
) [inherited]
def setupResume (   self) [inherited]
def start (   self,
  startT = 0.0,
  endT = -1.0,
  playRate = 1.0 
) [inherited]
def stepPlay (   self) [inherited]

Member Data Documentation

int animNum = 1 [static]

Reimplemented from Interval.

doneEvent [inherited]
duration [inherited]
es [inherited]
name [inherited]
tuple notify = directNotify.newCategory('ActorInterval') [static]

Reimplemented from Interval.

openEnded [inherited]
int playbackCounter = 0 [static, inherited]
pname [inherited]
pstats [inherited]
setTHooks [inherited]

Reimplemented from Interval.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties