LineNodePath

Inheritance:

Methods of LineNodePath:

__init__
def __init__(self, parent=None, name=None, thickness=1.0, colorVec=VBase4(1))

Undocumented function.

create
def create(self, frameAccurate=0)

Undocumented function.

drawArrow
def drawArrow(self, sv, ev, arrowAngle, arrowLength)

Do the work of moving the cursor around to draw an arrow from sv to ev. Hack: the arrows take the z value of the end point

drawArrow2d
def drawArrow2d(self, sv, ev, arrowAngle, arrowLength)

Do the work of moving the cursor around to draw an arrow from sv to ev. Hack: the arrows take the z value of the end point

drawLines
def drawLines(self, lineList)

Given a list of lists of points, draw a separate line for each list

drawTo
def drawTo(self, *_args)

Undocumented function.

getCurrentPosition
def getCurrentPosition(self)

Undocumented function.

getNumVertices
def getNumVertices(self)

Undocumented function.

getVertex
def getVertex(self, index)

Undocumented function.

getVertexColor
def getVertexColor(self)

Undocumented function.

isEmpty
def isEmpty(self)

Undocumented function.

moveTo
def moveTo(self, *_args)

Undocumented function.

reset
def reset(self)

Undocumented function.

setColor
def setColor(self, *_args)

Undocumented function.

setThickness
def setThickness(self, thickness)

Undocumented function.

setVertex
def setVertex(self, *_args)

Undocumented function.

setVertexColor
def setVertexColor(self, vertex, *_args)

Undocumented function.