parameters: (self, nodePath, pos, duration = 0.0,
                   name = None, other = None)
docstring: __init__(nodePath, pos, duration, name)
docstring_summary: __init__(nodePath, pos, duration, name)
docstring_tokens: __init__ ( nodePath pos duration name )
function: def __init__(self, nodePath, pos, duration = 0.0,
                   name = None, other = None):
          """__init__(nodePath, pos, duration, name)
          """
          # Create function
          def posFunc(np = nodePath, pos = pos, other = other):
              if other:
                  np.setPos(other, pos)
              else:
                  np.setPos(pos)
          # Determine name
          if name is None:
              name = 'PosInterval-%d' % PosInterval.posIntervalNum
              PosInterval.posIntervalNum += 1
          # Create function interval
          FunctionInterval.__init__(self, posFunc, name = name)
function_tokens: def __init__ ( self , nodePath , pos , duration = 0.0 , name = None , other = None ) : # Create function def posFunc ( np = nodePath , pos = pos , other = other ) : if other : np . setPos ( other , pos ) else : np . setPos ( pos ) # Determine name if name is None : name = 'PosInterval-%d' % PosInterval . posIntervalNum PosInterval . posIntervalNum += 1 # Create function interval FunctionInterval . __init__ ( self , posFunc , name = name )