vgl.pointSource (class)

class vgl.pointSource()

Create a new instance of class pointSource

Returns:
rtype:vgl.pointSource
vgl.pointSource.setPositions(positions)
Arguments:
  • positions

Set positions for the source

vgl.pointSource.setColors(colors)
Arguments:
  • colors

Set colors for the points

vgl.pointSource.setTextureCoordinates(texcoords)
Arguments:
  • texcoords

Set texture coordinates for the points

vgl.pointSource.create()

Create a point geometry given input parameters