# Class: framefxmesh

a mesh is drawn orthographically. By default windowsized is true.

## Hierarchy

    o-+ l3dlist
      o-+ framefx
        o-+ framefxmesh

## Interfaces:

- indexarray
- matobject
- renderflag
- rendersurface
- vertexarray

## Methods:

### Method overview:

- color
- matsurface
- new
- pos
- quadmesh
- refbounds
- size
- usermesh
- viewsized
- windowsized

new (float r,g,b,a,[matsurface])
  returns: ([framefxmesh])
  new mesh framefx. by default the mesh is a quad.
color (framefxmesh,[float x,y,z,w])
  returns: ([float x,y,z,w])
  returns or sets color value
matsurface (framefxmesh,[matsurface])
  returns: ([material/texture])
  returns or sets matsurface
pos (framefxmesh,[float x,y,z])
  returns: ([float x,y,z])
  returns or sets position. in window coordinates
quadmesh (framefxmesh)
  returns: ()
  deletes the usermesh and uses the quadmesh again.
refbounds (framefxmesh,[float refx,refy,refwidth,refheight])
  returns: ([float refx,refy,refwidth,refheight])
  returns or sets the viewport size and position in reference coordinates. only used when windowsized is false.
size (framefxmesh,[float x,y,z])
  returns: ([float x,y,z])
  returns or sets size. in window coordinates
usermesh (framefxmesh, vertextype ,int maxvertices, int maxindices)
  returns: ()
  gives the l2dimage a unique mesh. By default the mesh is just a quad which cannot be changed. With this function you can create your own mesh, as from this time on you can access it via vertexarray or indexarray interfaces. The new usermesh is completely empty, so make sure you fill it with content before it gets rendered the first time. If a previous usermesh existed it will be deleted.
viewsized (framefxmesh,[boolean])
  returns: ([boolean])
  returns or sets if pos and size should match current l3dview. Exclusive with windowsized
windowsized (framefxmesh,[boolean])
  returns: ([boolean])
  returns or sets if pos and size should match current window. Exclusive with viewsized

## Inherited Methods:

### From framefx

activate, autorun, deactivate, delete, deleteall, initcurrent, initlastframe, initsnapshot, run, visflag

### From l3dlist

reinit