CanvasGraphics Class
A set of functions used by the webGL renderer to draw the primitive graphics data
Item Index
Methods
- buildCircle static
- buildLine static
- buildPoly static
- buildRectangle static
- renderGraphics static
- updateGraphics static
Methods
buildCircle
(
private
static
-
graphics -
webGLData
Builds a circle to draw
Parameters:
-
graphicsGraphics -
webGLDataObject
buildLine
(
private
static
-
graphics -
webGLData
Builds a line to draw
Parameters:
-
graphicsGraphics -
webGLDataObject
buildPoly
(
private
static
-
graphics -
webGLData
Builds a polygon to draw
Parameters:
-
graphicsGraphics -
webGLDataObject
buildRectangle
(
private
static
-
graphics -
webGLData
Builds a rectangle to draw
Parameters:
-
graphicsGraphics -
webGLDataObject
renderGraphics
(
private
static
-
graphics -
projection
Renders the graphics object
Parameters:
-
graphicsGraphics -
projectionObject
updateGraphics
(
private
static
-
graphics
Updates the graphics object
Parameters:
-
graphicsGraphics
