Etterna 0.75.1
Loading...
Searching...
No Matches
LunaSprite Class Reference

Allow Lua to have access to the Sprite. More...

Inheritance diagram for LunaSprite:
Collaboration diagram for LunaSprite:

Public Member Functions

 DEFINE_METHOD (GetDecodeMovie, m_DecodeMovie)
Public Member Functions inherited from Luna< Sprite >
auto GetClassName () const -> const std::string &override
auto GetBaseClassName () const -> const std::string &override
Public Member Functions inherited from LuaBinding
void Register (lua_State *L)
auto IsDerivedClass () const -> bool

Static Public Member Functions

static int Load (T *p, lua_State *L)
static int LoadBackground (T *p, lua_State *L)
static int LoadBanner (T *p, lua_State *L)
static int customtexturerect (T *p, lua_State *L)
static int SetCustomImageRect (T *p, lua_State *L)
static int SetCustomPosCoords (T *p, lua_State *L)
static int StopUsingCustomPosCoords (T *p, lua_State *L)
static int StopUsingCustomTexCoords (T *p, lua_State *L)
static int EnableCustomPosCoords (T *p, lua_State *L)
static int EnableCustomTexCoords (T *p, lua_State *L)
static int IsUsingCustomTexCoords (T *p, lua_State *L)
static int IsUsingCustomPosCoords (T *p, lua_State *L)
static int texcoordvelocity (T *p, lua_State *L)
static int get_use_effect_clock_for_texcoords (T *p, lua_State *L)
static int set_use_effect_clock_for_texcoords (T *p, lua_State *L)
static int scaletoclipped (T *p, lua_State *L)
static int CropTo (T *p, lua_State *L)
static int stretchtexcoords (T *p, lua_State *L)
static int addimagecoords (T *p, lua_State *L)
static int setstate (T *p, lua_State *L)
static int GetState (T *p, lua_State *L)
static int SetStateProperties (T *p, lua_State *L)
static int GetAnimationLengthSeconds (T *p, lua_State *L)
static int SetSecondsIntoAnimation (T *p, lua_State *L)
static int SetTexture (T *p, lua_State *L)
static int GetTexture (T *p, lua_State *L)
static int SetEffectMode (T *p, lua_State *L)
static int GetNumStates (T *p, lua_State *L)
static int SetAllStateDelays (T *p, lua_State *L)
static int SetDecodeMovie (T *p, lua_State *L)
static int LoadFromCached (T *p, lua_State *L)
Static Public Member Functions inherited from Luna< Sprite >
static auto check (lua_State *L, int narg, bool bIsSelf=false) -> T *
static auto get (lua_State *L, int narg) -> T *
static void PushObject (Lua *L, const std::string &sDerivedClassName, T *p)
Static Public Member Functions inherited from LuaBinding
static void RegisterTypes (lua_State *L)
static void ApplyDerivedType (Lua *L, const std::string &sClassname, void *pSelf)
static auto CheckLuaObjectType (lua_State *L, int narg, std::string const &szType) -> bool

Additional Inherited Members

Static Public Attributes inherited from Luna< Sprite >
static std::string m_sClassName
static std::string m_sBaseClassName
Protected Types inherited from Luna< Sprite >
using T
using binding_t
Protected Member Functions inherited from Luna< Sprite >
void Register (Lua *L, int iMethods, int iMetatable) override
void AddMethod (std::string const &regName, int(*pFunc)(T *p, lua_State *L))
Static Protected Member Functions inherited from LuaBinding
static void CreateMethodsTable (lua_State *L, const std::string &szName)
static auto GetPointerFromStack (Lua *L, const std::string &sType, int iArg) -> void *
static auto Equal (lua_State *L) -> bool
static auto PushEqual (lua_State *L) -> int

Detailed Description

Allow Lua to have access to the Sprite.


The documentation for this class was generated from the following file:
  • /home/runner/work/etterna/etterna/src/Etterna/Actor/Base/Sprite.cpp