# Class: render

Rendering statistics and other data. Mostly just debugging helpers.

## Methods:

### Method overview:

- drawall
- drawaxis
- drawbonelimits
- drawbonenames
- drawbones
- drawcamaxis
- drawfps
- drawlights
- drawnogui
- drawnormals
- drawprojectors
- drawshadowvolumes
- drawstats
- drawstencilbuffer
- drawtexture
- drawtexturesize
- drawvisspace
- drawwire
- noparticles
- normallength
- pauseparticles
- statscolor
- visfrom
- visto

drawall ([boolean])
  returns: ([boolean])
  draws every node independent of vistest result
drawaxis ([boolean])
  returns: ([boolean])
  draws axis of objects
drawbonelimits ([boolean])
  returns: ([boolean])
  draws boneaxislimits
drawbonenames ([boolean])
  returns: ([boolean])
  draws bonenames
drawbones ([boolean])
  returns: ([boolean])
  draws bones
drawcamaxis ([boolean])
  returns: ([boolean])
  draws axis orientation for cameras
drawfps ([boolean])
  returns: ([boolean])
  draws FPS on top right of the screen
drawlights ([boolean])
  returns: ([boolean])
  draws lightsource origins
drawnogui ([boolean])
  returns: ([boolean])
  disables l2dnodes and other gui items
drawnormals ([boolean])
  returns: ([boolean])
  draws red normals (blue tangents + green binormals) of the triangles
drawprojectors ([boolean])
  returns: ([boolean])
  draw projectors
drawshadowvolumes ([boolean])
  returns: ([boolean])
  draw drawshadowvolumes
drawstats ([boolean])
  returns: ([boolean])
  draws various stats
drawstencilbuffer ([boolean])
  returns: ([boolean])
  draws stencilbuffer
drawtexture ([texture])
  returns: ()
  draws special texture test (useful for depth or cubemap texture), if no arg is passed then drawing is disabled.
drawtexturesize ([float])
  returns: ([float])
  sets or gets size of the special texture draw
drawvisspace ([int])
  returns: ([int])
  draws the octree of the visspace, 0 disables, 1 dynamic, 2 is static, 3 camera, 4 projector, 5 light
drawwire ([boolean])
  returns: ([boolean])
  draws everthing in wiremesh
noparticles ([boolean])
  returns: ([boolean])
  deactivates particles
normallength ([float])
  returns: ([float])
  sets/gets length of drawn normals if normals are drawn.
pauseparticles ([boolean])
  returns: ([boolean])
  if true then no new spawns, and no age updates
statscolor (float r,g,b,a)
  returns: (float r,g,b,a)
  sets color of stats
visfrom (int)
  returns: (int)
  min depth, if you draw a visspace, you can set the min (visfrom) and max (visto) depth of the octree that should be drawn
visto (int)
  returns: (int)
  max depth (-1 will use octree's maxdepth), if you draw a visspace, you can set the min (visfrom) and max (visto) depth of the octree that should be drawn