Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ActorInterval Class Reference
Inheritance diagram for ActorInterval:
Interval DirectObject

Public Member Functions

def __init__
 
def getCurrentFrame
 
def privFinalize
 
def privStep
 
def resetControls
 
- Public Member Functions inherited from Interval
def __init__
 
def __repr__
 
def clearToInitial
 
def finish
 
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 resume
 
def resumeUntil
 
def setDoneEvent
 
def setLoop
 
def setPlayRate
 
def setT
 
def setupPlay
 
def setupResume
 
def start
 
def stepPlay
 
- Public Member Functions inherited from DirectObject
def __init__
 
def accept
 
def acceptOnce
 
def addTask
 
def detectLeaks
 
def doMethodLater
 
def getAllAccepting
 
def ignore
 
def ignoreAll
 
def isAccepting
 
def isIgnoring
 
def removeAllTasks
 
def removeTask
 

Public Attributes

 actor
 
 animName
 
 constrainedLoop
 
 controls
 
 currT
 
 endFrame
 
 forceUpdate
 
 frameRate
 
 implicitDuration
 
 loopAnim
 
 numFrames
 
 playRate
 
 reverse
 
 startFrame
 
 state
 
- Public Attributes inherited from Interval
 currT
 
 doneEvent
 
 duration
 
 es
 
 name
 
 openEnded
 
 pname
 
 pstats
 
 setTHooks
 
 state
 

Static Public Attributes

int animNum = 1
 
tuple notify = directNotify.newCategory('ActorInterval')
 
- Static Public Attributes inherited from Interval
tuple notify = directNotify.newCategory("Interval")
 
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 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 privFinalize (   self)
def privStep (   self,
  t 
)
def resetControls (   self,
  partName,
  lodName = None 
)

Member Data Documentation

actor
animName
int animNum = 1
static
constrainedLoop
controls
currT
endFrame
forceUpdate
frameRate
implicitDuration
loopAnim
tuple notify = directNotify.newCategory('ActorInterval')
static
numFrames
playRate
reverse
startFrame
state