LUA_Actor_METHODS( T ) \
\
static int customtexturerect( T* p, lua_State *L ) { p->SetCustomTextureRect(
RectF(
FArg(1),
FArg(2),
FArg(3),
FArg(4)) );
return 0; } \
static int texcoordvelocity( T* p, lua_State *L ) { p->SetTexCoordVelocity(
FArg(1),
FArg(2) );
return 0; } \
static int scaletoclipped( T* p, lua_State *L ) { p->ScaleToClipped(
FArg(1),
FArg(2) );
return 0; } \
static int stretchtexcoords( T* p, lua_State *L ) { p->StretchTexCoords(
FArg(1),
FArg(2) );
return 0; } \
\
static int position( T* p, lua_State *L ) { p->SetPosition(
FArg(1));
return 0; } \
static int loop( T* p, lua_State *L ) { p->SetLooping(
BArg(1));
return 0; } \
static int rate( T* p, lua_State *L ) { p->SetPlaybackRate(
FArg(1));
return 0; } \