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:
-
graphics
Graphics -
webGLData
Object
buildLine
(
private
static
-
graphics
-
webGLData
Builds a line to draw
Parameters:
-
graphics
Graphics -
webGLData
Object
buildPoly
(
private
static
-
graphics
-
webGLData
Builds a polygon to draw
Parameters:
-
graphics
Graphics -
webGLData
Object
buildRectangle
(
private
static
-
graphics
-
webGLData
Builds a rectangle to draw
Parameters:
-
graphics
Graphics -
webGLData
Object
renderGraphics
(
private
static
-
graphics
-
projection
Renders the graphics object
Parameters:
-
graphics
Graphics -
projection
Object
updateGraphics
(
private
static
-
graphics
Updates the graphics object
Parameters:
-
graphics
Graphics