Static Public Member Functions | |
| static mixed | CreateSpritePanel (mixed parent_RenderGroup2D, mixed gfxparam_init, mixed bVertexBufferDynamic, mixed bVertexCol) |
| static mixed | MakeSpritePanelParam_Mod_TexTransform (mixed x, mixed y, mixed sx, mixed sy, mixed angle) |
| static mixed | MakeSpritePanelParam_Mod_MatChange (mixed matname) |
| sets a new material, but keeps vertexdata, good performance | |
| static mixed | MakeSpritePanelParam_SingleSprite (mixed matname, mixed w, mixed h, mixed xoff, mixed yoff, mixed u0, mixed v0, mixed uvw, mixed uvh, mixed tcx, mixed tcy) |
| tcx,tcy : the size of the texture in pixels, if this is specified the coords are in pixels, otherwise they are in texcoords[0,1] | |
| static mixed | MakeSpritePanelParam_TiledSingleSprite (mixed matname, mixed w, mixed h, mixed xoff, mixed yoff, mixed u0, mixed v0, mixed uvw, mixed uvh, mixed tcx, mixed tcy, mixed tilew, mixed tileh) |
| tcx,tcy : the size of the texture in pixels, if this is specified the coords are in pixels, otherwise they are in texcoords[0,1] | |
| static mixed | MakeSpritePanelParam_SingleSpriteSimple (mixed matname, mixed w, mixed h) |
| a complete sprite of size w,h in pixels | |
| static mixed | MakeSpritePanelParam_SingleSpritePartSimple (mixed matname, mixed w, mixed h, mixed x, mixed y, mixed tilew, mixed tileh) |
| a px based sprite part of size tilew,tileh in the w,h sized image at pos x,y | |
| static mixed | MakeSpritePanelParam_Mod_AnimSimple (mixed w, mixed h, mixed tilew, mixed tileh, mixed framenumber) |
| static mixed | MakeSpritePanelParam_BorderPartMatrix (mixed matname, mixed w, mixed h, mixed xoff, mixed yoff, mixed u0, mixed v0, mixed w0, mixed w1, mixed w2, mixed h0, mixed h1, mixed h2, mixed tcx, mixed tcy, mixed scalex, mixed scaley, mixed bBorderTiled, mixed bCenterTiled, mixed bDrawCenter, mixed bDrawBorder) |
Definition at line 6354 of file lua_pseudo_code.cpp.
| static mixed gui_spritepanel::CreateSpritePanel | ( | mixed | parent_RenderGroup2D, | |
| mixed | gfxparam_init, | |||
| mixed | bVertexBufferDynamic, | |||
| mixed | bVertexCol | |||
| ) | [inline, static] |
Definition at line 6356 of file lua_pseudo_code.cpp.
| static mixed gui_spritepanel::MakeSpritePanelParam_Mod_TexTransform | ( | mixed | x, | |
| mixed | y, | |||
| mixed | sx, | |||
| mixed | sy, | |||
| mixed | angle | |||
| ) | [inline, static] |
sets the texture transform matrix, good performance for anims when multiple graphics are in the same texture offset,scale,rotation(radians)
Definition at line 6360 of file lua_pseudo_code.cpp.
| static mixed gui_spritepanel::MakeSpritePanelParam_Mod_MatChange | ( | mixed | matname | ) | [inline, static] |
sets a new material, but keeps vertexdata, good performance
Definition at line 6363 of file lua_pseudo_code.cpp.
| static mixed gui_spritepanel::MakeSpritePanelParam_SingleSprite | ( | mixed | matname, | |
| mixed | w, | |||
| mixed | h, | |||
| mixed | xoff, | |||
| mixed | yoff, | |||
| mixed | u0, | |||
| mixed | v0, | |||
| mixed | uvw, | |||
| mixed | uvh, | |||
| mixed | tcx, | |||
| mixed | tcy | |||
| ) | [inline, static] |
tcx,tcy : the size of the texture in pixels, if this is specified the coords are in pixels, otherwise they are in texcoords[0,1]
Definition at line 6366 of file lua_pseudo_code.cpp.
| static mixed gui_spritepanel::MakeSpritePanelParam_TiledSingleSprite | ( | mixed | matname, | |
| mixed | w, | |||
| mixed | h, | |||
| mixed | xoff, | |||
| mixed | yoff, | |||
| mixed | u0, | |||
| mixed | v0, | |||
| mixed | uvw, | |||
| mixed | uvh, | |||
| mixed | tcx, | |||
| mixed | tcy, | |||
| mixed | tilew, | |||
| mixed | tileh | |||
| ) | [inline, static] |
tcx,tcy : the size of the texture in pixels, if this is specified the coords are in pixels, otherwise they are in texcoords[0,1]
Definition at line 6369 of file lua_pseudo_code.cpp.
| static mixed gui_spritepanel::MakeSpritePanelParam_SingleSpriteSimple | ( | mixed | matname, | |
| mixed | w, | |||
| mixed | h | |||
| ) | [inline, static] |
| static mixed gui_spritepanel::MakeSpritePanelParam_SingleSpritePartSimple | ( | mixed | matname, | |
| mixed | w, | |||
| mixed | h, | |||
| mixed | x, | |||
| mixed | y, | |||
| mixed | tilew, | |||
| mixed | tileh | |||
| ) | [inline, static] |
a px based sprite part of size tilew,tileh in the w,h sized image at pos x,y
Definition at line 6375 of file lua_pseudo_code.cpp.
| static mixed gui_spritepanel::MakeSpritePanelParam_Mod_AnimSimple | ( | mixed | w, | |
| mixed | h, | |||
| mixed | tilew, | |||
| mixed | tileh, | |||
| mixed | framenumber | |||
| ) | [inline, static] |
sets the texture transform matrix, good performance for anims when multiple graphics are in the same texture simple animation of fixed size tiles w,h: image size in px, tilew,tileh: tilesize in px, framenumber: number of animation frame starting at 0
Definition at line 6382 of file lua_pseudo_code.cpp.
| static mixed gui_spritepanel::MakeSpritePanelParam_BorderPartMatrix | ( | mixed | matname, | |
| mixed | w, | |||
| mixed | h, | |||
| mixed | xoff, | |||
| mixed | yoff, | |||
| mixed | u0, | |||
| mixed | v0, | |||
| mixed | w0, | |||
| mixed | w1, | |||
| mixed | w2, | |||
| mixed | h0, | |||
| mixed | h1, | |||
| mixed | h2, | |||
| mixed | tcx, | |||
| mixed | tcy, | |||
| mixed | scalex, | |||
| mixed | scaley, | |||
| mixed | bBorderTiled, | |||
| mixed | bCenterTiled, | |||
| mixed | bDrawCenter, | |||
| mixed | bDrawBorder | |||
| ) | [inline, static] |
tcx,tcy : the size of the texture in pixels, the coords are in pixels, required here a 3x3 matrix of tiles, starting at u0,v0 : w0,h0 w1,h0 w2,h0 w0,h1 w1,h1 w2,h1 w0,h2 w1,h2 w2,h2 scalex,scaley for scaling, e.g. integers for pixel-art, default : 1
Definition at line 6390 of file lua_pseudo_code.cpp.
1.5.6