Panda3D
Public Member Functions | Public Attributes | Static Public Attributes

LerpFunctionInterval Class Reference

Inheritance diagram for LerpFunctionInterval:
Interval LerpFunc MopathInterval

List of all members.

Public Member Functions

def __init__
def privStep

Public Attributes

 blendType
 currT
 duration
 extraArgs
 fromData
 function
 state
 toData

Static Public Attributes

int lerpFunctionIntervalNum = 1
tuple notify = directNotify.newCategory('LerpFunctionInterval')

Detailed Description

Class used to execute a function over time.  Function can access fromData
and toData to perform blend.  If fromData and toData not specified, will
execute the given function passing in values ranging from 0 to 1

Constructor & Destructor Documentation

def __init__ (   self,
  function,
  duration = 0.0,
  fromData = 0,
  toData = 1,
  blendType = 'noBlend',
  extraArgs = [],
  name = None 
)
__init__(function, duration, fromData, toData, name)

Reimplemented in MopathInterval.


Member Function Documentation

def privStep (   self,
  t 
)

Reimplemented from Interval.


Member Data Documentation

Reimplemented from Interval.

Reimplemented from Interval.

Reimplemented in MopathInterval.

int lerpFunctionIntervalNum = 1 [static]
tuple notify = directNotify.newCategory('LerpFunctionInterval') [static]

Reimplemented from Interval.

Reimplemented in MopathInterval.

Reimplemented from Interval.

 All Classes Namespaces Functions Variables Properties