# Class: rcmddrawl2d

Draws a l2dnode with its children. Useful for render-to-texture GUIs

## Hierarchy

    o-+ renderinterface
      o-+ rcmd
        o-+ rcmddrawl2d

## Methods:

new ()
  returns: (rcmddrawl2d)
  returns the rcmdt
refsize (rcmddrawl2d,[float w,h])
  returns: ([float w,h])
  The refscreensize width/height while rendering l2droot and its children.
root (rcmddrawl2d,[l2dnode])
  returns: ([l2dnode])
  allows l2dnode drawing in this viewport. The given node will be unlinked from rest and made the master root for this view. Previous root becomes unlinked. Passing a non-l2dnode disables it.

## Inherited Methods:

### From rcmd

flag