Panda3D
Functions | Variables
direct.showutil.BuildGeometry Namespace Reference

Functions

def addArrow (attachNode, sizeX, sizeY, color=Vec4(1.0, 1.0, 1.0, 1.0), layer=0)
 
def addArrowGeom (rootNode, sizeX, sizeY, color=Vec4(1.0, 1.0, 1.0, 1.0), layer=0)
 
def addBox (attachNode, sizeX, sizeY, sizeZ, color=Vec4(1.0, 1.0, 1.0, 1.0), darken=0)
 
def addBoxGeom (rootNode, sizeX, sizeY, sizeZ, color=Vec4(1.0, 1.0, 1.0, 1.0), darken=0)
 
def addCircle (attachNode, vertexCount, radius, color=Vec4(1.0, 1.0, 1.0, 1.0), centerColor=None, layer=0)
 
def addCircleGeom (rootNode, vertexCount, radius, color=Vec4(1.0, 1.0, 1.0, 1.0), centerColor=None, layer=0)
 
def addSquare (attachNode, sizeX, sizeY, color=Vec4(1.0, 1.0, 1.0, 1.0), layer=0)
 
def addSquareGeom (rootNode, sizeX, sizeY, color=Vec4(1.0, 1.0, 1.0, 1.0), layer=0)
 
def circleX (angle, radius, centerX, centerY)
 
def circleY (angle, radius, centerX, centerY)
 
def getCirclePoints (segCount, centerX, centerY, radius, wideX=1.0, wideY=1.0)
 

Variables

int GEO_ID = 0
 

Function Documentation

◆ addArrow()

def direct.showutil.BuildGeometry.addArrow (   attachNode,
  sizeX,
  sizeY,
  color = Vec4(1.0, 1.0, 1.0, 1.0),
  layer = 0 
)

◆ addArrowGeom()

def direct.showutil.BuildGeometry.addArrowGeom (   rootNode,
  sizeX,
  sizeY,
  color = Vec4(1.0, 1.0, 1.0, 1.0),
  layer = 0 
)

◆ addBox()

def direct.showutil.BuildGeometry.addBox (   attachNode,
  sizeX,
  sizeY,
  sizeZ,
  color = Vec4(1.0, 1.0, 1.0, 1.0),
  darken = 0 
)

◆ addBoxGeom()

def direct.showutil.BuildGeometry.addBoxGeom (   rootNode,
  sizeX,
  sizeY,
  sizeZ,
  color = Vec4(1.0, 1.0, 1.0, 1.0),
  darken = 0 
)

◆ addCircle()

def direct.showutil.BuildGeometry.addCircle (   attachNode,
  vertexCount,
  radius,
  color = Vec4(1.0, 1.0, 1.0, 1.0),
  centerColor = None,
  layer = 0 
)

◆ addCircleGeom()

def direct.showutil.BuildGeometry.addCircleGeom (   rootNode,
  vertexCount,
  radius,
  color = Vec4(1.0, 1.0, 1.0, 1.0),
  centerColor = None,
  layer = 0 
)

◆ addSquare()

def direct.showutil.BuildGeometry.addSquare (   attachNode,
  sizeX,
  sizeY,
  color = Vec4(1.0, 1.0, 1.0, 1.0),
  layer = 0 
)

◆ addSquareGeom()

def direct.showutil.BuildGeometry.addSquareGeom (   rootNode,
  sizeX,
  sizeY,
  color = Vec4(1.0, 1.0, 1.0, 1.0),
  layer = 0 
)

◆ circleX()

def direct.showutil.BuildGeometry.circleX (   angle,
  radius,
  centerX,
  centerY 
)

◆ circleY()

def direct.showutil.BuildGeometry.circleY (   angle,
  radius,
  centerX,
  centerY 
)

◆ getCirclePoints()

def direct.showutil.BuildGeometry.getCirclePoints (   segCount,
  centerX,
  centerY,
  radius,
  wideX = 1.0,
  wideY = 1.0 
)

Variable Documentation

◆ GEO_ID

int GEO_ID = 0