Panda3D
Public Member Functions | Public Attributes | Static Public Attributes

AnimControlInterval Class Reference

Inheritance diagram for AnimControlInterval:
Interval

List of all members.

Public Member Functions

def __init__
def getCurrentFrame
def privFinalize
def privStep

Public Attributes

 constrainedLoop
 controls
 currT
 endFrame
 frameRate
 implicitDuration
 loopAnim
 numFrames
 playRate
 reverse
 startFrame
 state

Static Public Attributes

int animNum = 1
tuple notify = directNotify.newCategory('AnimControlInterval')

Constructor & Destructor Documentation

def __init__ (   self,
  controls,
  loop = 0,
  constrainedLoop = 0,
  duration = None,
  startTime = None,
  endTime = None,
  startFrame = None,
  endFrame = None,
  playRate = 1.0,
  name = 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)

Reimplemented from Interval.

def privStep (   self,
  t 
)

Reimplemented from Interval.


Member Data Documentation

int animNum = 1 [static]

Reimplemented from Interval.

tuple notify = directNotify.newCategory('AnimControlInterval') [static]

Reimplemented from Interval.

Reimplemented from Interval.

 All Classes Namespaces Functions Variables Properties