Class: l2dimage

a quad with the given material (or plain color) will be rendered on screen.

Hierarchy

o-+ l2dlist
  o-+ l2dnode
    o-+ l2dimage

Interfaces:

Methods:

Method overview:


new (string name,matsurface)
returns: (l2dimage)
returns a new l2dimage
fullscreen (l2dimage)
returns: ()
sets pos and scale for fullscreen
matsurface (l2dimage,[matsurface])
returns: ([material/texture])
returns or sets matsurface
quadcenteredmesh (l2dimage)
returns: ()
deletes the usermesh and uses the centered quadmesh again.
quadmesh (l2dimage)
returns: ()
unrefs the rendermesh and uses the quadmesh again (default).
rendermesh (l2dimage,[rendermesh])
returns: ([rendermesh])
gets or sets rendermesh. Get only works if a usermesh was created before or another rendermesh passed for useage.
usermesh (l2dimage, vertextype, int numverts, numindices, [vidbuffer vbo], [int vbooffset], [vidbuffer ibo], [int ibooffset])
returns: ()
creates inplace custom rendermesh (see rendermesh for details) Polygonwinding is CW (not CCW like the others!).

Inherited Methods:

From l2dnode

color, delete, firstchild, local2world, parent, pos, rotcenter, rotdeg, rotrad, scale, scissor, scissorlocal, scissorparent, scissorsize, scissorstart, sortid, swapinchildlist, world2local

From l2dlist