cSpriteList_L Class Reference

List of all members.

Public Member Functions

mixed Destroy (...)
mixed CastToRenderGroup2D (...)
mixed SetMaterial (...)
 for lua : void SetMaterial (sMatName)
mixed ResizeList (...)
 for lua : void ResizeList (iNewSize)
mixed ClearTexTransform (...)
 for lua : void ClearTexTransform (iNewSize)
mixed SetTexTransform (...)

Static Public Member Functions

static mixed CreateSpriteList (...)
static mixed SpriteList_Open (...)
static mixed SpriteList_Close (...)
static mixed SpriteList_SetSprite (...)
static mixed SpriteList_SetSpriteEx (...)
static mixed SpriteList_SetSpritePos (...)


Detailed Description

Definition at line 7303 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed cSpriteList_L::CreateSpriteList (   ...  )  [inline, static]

static methods exported to lua creates a new spritelist, that can be attached to a RenderGroup2D for lua : spritelist CreateSpriteList (pParentGroup2d=nil,bVertexBufferDynamic=false,bVertexCol=false)

Definition at line 7308 of file lua_pseudo_code.cpp.

static mixed cSpriteList_L::SpriteList_Open (   ...  )  [inline, static]

"opens" a spritelist for sprite operations, so it doesn't have to be typechecked every time, for better performance close with SpriteList_Close after you are done with the changes use ResizeList to allocate sprites for lua : void SpriteList_Open (spritelist)

Definition at line 7314 of file lua_pseudo_code.cpp.

static mixed cSpriteList_L::SpriteList_Close (   ...  )  [inline, static]

affects last opened spritelist updates geometry for lua : void SpriteList_Close ()

Definition at line 7319 of file lua_pseudo_code.cpp.

static mixed cSpriteList_L::SpriteList_SetSprite (   ...  )  [inline, static]

affects last opened spritelist for lua : void SpriteList_SetSprite (iSpriteIndex, l,t,w,h, u0,v0, uvw, uvh, z) use 0 for z if unneeded

Definition at line 7324 of file lua_pseudo_code.cpp.

static mixed cSpriteList_L::SpriteList_SetSpriteEx (   ...  )  [inline, static]

texcoords allow rotation affects last opened spritelist for lua : void SpriteList_SetSpriteEx (iSpriteIndex, l,t,w,h, u0,v0, ux,vx, uy,vy, z, r,g,b,a) use 0 for z if unneeded

Definition at line 7330 of file lua_pseudo_code.cpp.

static mixed cSpriteList_L::SpriteList_SetSpritePos (   ...  )  [inline, static]

affects last opened spritelist only changes position, useful for moving things, e.g. 2d particles for lua : void SpriteList_SetSpritePos (iSpriteIndex, l,t)

Definition at line 7335 of file lua_pseudo_code.cpp.

mixed cSpriteList_L::Destroy (   ...  )  [inline]

object methods exported to lua also closes any open spritelist, as it would be difficult/performance-costly to detect indirect deletion of a child for lua : void Destroy ()

Definition at line 7340 of file lua_pseudo_code.cpp.

mixed cSpriteList_L::CastToRenderGroup2D (   ...  )  [inline]

spritelist is derived from rendergroup2d in c++, but the luabind code doesn't transport this relationship to lua, so use this to explicitly cast cache result if possible for better performance for lua : renderGroup2D CastToRenderGroup2D ()

Definition at line 7345 of file lua_pseudo_code.cpp.

mixed cSpriteList_L::SetMaterial (   ...  )  [inline]

for lua : void SetMaterial (sMatName)

Definition at line 7348 of file lua_pseudo_code.cpp.

mixed cSpriteList_L::ResizeList (   ...  )  [inline]

for lua : void ResizeList (iNewSize)

Definition at line 7351 of file lua_pseudo_code.cpp.

mixed cSpriteList_L::ClearTexTransform (   ...  )  [inline]

for lua : void ClearTexTransform (iNewSize)

Definition at line 7354 of file lua_pseudo_code.cpp.

mixed cSpriteList_L::SetTexTransform (   ...  )  [inline]

for lua : void SetTexTransform (x,y,sx,sy,angle) for lua : void SetTexTransform (row0_col0,row0_col1,row0_col2,...) -- 16 floats, 4x4 matrix

Definition at line 7358 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:09 2013 for lua by  doxygen 1.5.6