Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Mopath Class Reference
Inheritance diagram for Mopath:
DirectObject

Public Member Functions

 __init__ (self, name=None, fluid=1, objectToLoad=None, upVectorNodePath=None, reverseUpVector=False)
 
 calcTime (self, tIn)
 
 draw (self, subdiv=1000)
 
 getFinalState (self)
 
 getMaxT (self)
 
 goTo (self, node, time)
 
 loadFile (self, filename, fReset=1)
 
 loadNodePath (self, nodePath, fReset=1)
 
 play (self, node, time=0.0, loop=0)
 
 reset (self)
 
 stop (self)
 
- Public Member Functions inherited from DirectObject
 accept (self, event, method, extraArgs=[])
 
 acceptOnce (self, event, method, extraArgs=[])
 
 addTask (self, *args, **kwargs)
 
 detectLeaks (self)
 
 doMethodLater (self, *args, **kwargs)
 
 getAllAccepting (self)
 
 ignore (self, event)
 
 ignoreAll (self)
 
 isAccepting (self, event)
 
 isIgnoring (self, event)
 
 removeAllTasks (self)
 
 removeTask (self, taskOrName)
 

Public Attributes

 faceForwardDelta
 
 faceForwardNode
 
 fFaceForward
 
 fluid
 
 hprNurbsCurve
 
 hprPoint
 
 loop
 
 maxT
 
 name
 
 nameIndex
 
 node
 
 playbackTime
 
 posPoint
 
 reverseUpVector
 
 tangentVec
 
 timeScale
 
 tNurbsCurve
 
 tPoint
 
 upVectorNodePath
 
 xyzNurbsCurve
 

Static Public Attributes

int nameIndex = 1
 
- Static Public Attributes inherited from DirectObject
 accept_once = acceptOnce
 
 add_task = addTask
 
 detect_leaks = detectLeaks
 
 do_method_later = doMethodLater
 
 get_all_accepting = getAllAccepting
 
 ignore_all = ignoreAll
 
 is_accepting = isAccepting
 
 is_ignoring = isIgnoring
 
 remove_all_tasks = removeAllTasks
 
 remove_task = removeTask
 

Additional Inherited Members

- Protected Member Functions inherited from DirectObject
 _addTask (self, task)
 
 _clearTask (self, task)
 
- Protected Attributes inherited from DirectObject
 _taskList
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
name = None,
fluid = 1,
objectToLoad = None,
upVectorNodePath = None,
reverseUpVector = False )

Reimplemented from DirectObject.

Member Function Documentation

◆ calcTime()

calcTime ( self,
tIn )

◆ draw()

draw ( self,
subdiv = 1000 )
 Draws a quick and cheesy visualization of the Mopath using
LineSegs.  Returns the NodePath representing the drawing. 

◆ getFinalState()

getFinalState ( self)

◆ getMaxT()

getMaxT ( self)

◆ goTo()

goTo ( self,
node,
time )

◆ loadFile()

loadFile ( self,
filename,
fReset = 1 )

◆ loadNodePath()

loadNodePath ( self,
nodePath,
fReset = 1 )

◆ play()

play ( self,
node,
time = 0.0,
loop = 0 )

◆ reset()

reset ( self)

◆ stop()

stop ( self)

Member Data Documentation

◆ faceForwardDelta

faceForwardDelta

◆ faceForwardNode

faceForwardNode

◆ fFaceForward

fFaceForward

◆ fluid

fluid

◆ hprNurbsCurve

hprNurbsCurve

◆ hprPoint

hprPoint

◆ loop

loop

◆ maxT

maxT

◆ name

name

◆ nameIndex [1/2]

int nameIndex = 1
static

◆ nameIndex [2/2]

nameIndex

◆ node

node

◆ playbackTime

playbackTime

◆ posPoint

posPoint

◆ reverseUpVector

reverseUpVector

◆ tangentVec

tangentVec

◆ timeScale

timeScale

◆ tNurbsCurve

tNurbsCurve

◆ tPoint

tPoint

◆ upVectorNodePath

upVectorNodePath

◆ xyzNurbsCurve

xyzNurbsCurve