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

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

Inheritance diagram for LunaActor:
Collaboration diagram for LunaActor:

Public Member Functions

 GETTER_SETTER_BOOL_METHOD (tween_uses_effect_delta)
 DEFINE_METHOD (GetTrueX, GetTrueX())
 DEFINE_METHOD (GetTrueY, GetTrueY())
 DEFINE_METHOD (GetTrueZ, GetTrueZ())
 DEFINE_METHOD (GetTrueZoom, GetTrueZoom())
 DEFINE_METHOD (GetTrueZoomX, GetTrueZoomX())
 DEFINE_METHOD (GetTrueZoomY, GetTrueZoomY())
 DEFINE_METHOD (GetTrueZoomZ, GetTrueZoomZ())
 DEFINE_METHOD (GetTrueRotationX, GetTrueRotationX())
 DEFINE_METHOD (GetTrueRotationY, GetTrueRotationY())
 DEFINE_METHOD (GetTrueRotationZ, GetTrueRotationZ())
 DEFINE_METHOD (IsVisible, IsVisible())
Public Member Functions inherited from Luna< Actor >
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 name (T *p, lua_State *L)
static int sleep (T *p, lua_State *L)
static int linear (T *p, lua_State *L)
static int accelerate (T *p, lua_State *L)
static int decelerate (T *p, lua_State *L)
static int spring (T *p, lua_State *L)
static int tween (T *p, lua_State *L)
static int stoptweening (T *p, lua_State *L)
static int finishtweening (T *p, lua_State *L)
static int hurrytweening (T *p, lua_State *L)
static int GetTweenTimeLeft (T *p, lua_State *L)
static int x (T *p, lua_State *L)
static int y (T *p, lua_State *L)
static int z (T *p, lua_State *L)
static int xy (T *p, lua_State *L)
static int addx (T *p, lua_State *L)
static int addy (T *p, lua_State *L)
static int addz (T *p, lua_State *L)
static int zoom (T *p, lua_State *L)
static int zoomx (T *p, lua_State *L)
static int zoomy (T *p, lua_State *L)
static int zoomz (T *p, lua_State *L)
static int zoomto (T *p, lua_State *L)
static int zoomtowidth (T *p, lua_State *L)
static int zoomtoheight (T *p, lua_State *L)
static int setsize (T *p, lua_State *L)
static int SetWidth (T *p, lua_State *L)
static int SetHeight (T *p, lua_State *L)
static int basealpha (T *p, lua_State *L)
static int basezoom (T *p, lua_State *L)
static int basezoomx (T *p, lua_State *L)
static int basezoomy (T *p, lua_State *L)
static int basezoomz (T *p, lua_State *L)
static int stretchto (T *p, lua_State *L)
static int cropleft (T *p, lua_State *L)
static int croptop (T *p, lua_State *L)
static int cropright (T *p, lua_State *L)
static int cropbottom (T *p, lua_State *L)
static int fadeleft (T *p, lua_State *L)
static int fadetop (T *p, lua_State *L)
static int faderight (T *p, lua_State *L)
static int fadebottom (T *p, lua_State *L)
static int diffuse (T *p, lua_State *L)
static int diffuseupperleft (T *p, lua_State *L)
static int diffuseupperright (T *p, lua_State *L)
static int diffuselowerleft (T *p, lua_State *L)
static int diffuselowerright (T *p, lua_State *L)
static int diffuseleftedge (T *p, lua_State *L)
static int diffuserightedge (T *p, lua_State *L)
static int diffusetopedge (T *p, lua_State *L)
static int diffusebottomedge (T *p, lua_State *L)
static int diffusealpha (T *p, lua_State *L)
static int diffusecolor (T *p, lua_State *L)
static int glow (T *p, lua_State *L)
static int aux (T *p, lua_State *L)
static int getaux (T *p, lua_State *L)
static int rotationx (T *p, lua_State *L)
static int rotationy (T *p, lua_State *L)
static int rotationz (T *p, lua_State *L)
static int addrotationx (T *p, lua_State *L)
static int addrotationy (T *p, lua_State *L)
static int addrotationz (T *p, lua_State *L)
static int getrotation (T *p, lua_State *L)
static int baserotationx (T *p, lua_State *L)
static int baserotationy (T *p, lua_State *L)
static int baserotationz (T *p, lua_State *L)
static int skewx (T *p, lua_State *L)
static int skewy (T *p, lua_State *L)
static int heading (T *p, lua_State *L)
static int pitch (T *p, lua_State *L)
static int roll (T *p, lua_State *L)
static int shadowlength (T *p, lua_State *L)
static int shadowlengthx (T *p, lua_State *L)
static int shadowlengthy (T *p, lua_State *L)
static int shadowcolor (T *p, lua_State *L)
static int horizalign (T *p, lua_State *L)
static int vertalign (T *p, lua_State *L)
static int halign (T *p, lua_State *L)
static int valign (T *p, lua_State *L)
static int diffuseblink (T *p, lua_State *L)
static int diffuseshift (T *p, lua_State *L)
static int diffuseramp (T *p, lua_State *L)
static int glowblink (T *p, lua_State *L)
static int glowshift (T *p, lua_State *L)
static int glowramp (T *p, lua_State *L)
static int rainbow (T *p, lua_State *L)
static int wag (T *p, lua_State *L)
static int bounce (T *p, lua_State *L)
static int bob (T *p, lua_State *L)
static int pulse (T *p, lua_State *L)
static int spin (T *p, lua_State *L)
static int vibrate (T *p, lua_State *L)
static int stopeffect (T *p, lua_State *L)
static int effectcolor1 (T *p, lua_State *L)
static int effectcolor2 (T *p, lua_State *L)
static int effectperiod (T *p, lua_State *L)
static int effecttiming (T *p, lua_State *L)
static int effect_hold_at_full (T *p, lua_State *L)
static int effectoffset (T *p, lua_State *L)
static int effectclock (T *p, lua_State *L)
static int effectmagnitude (T *p, lua_State *L)
static int geteffectmagnitude (T *p, lua_State *L)
static int scaletocover (T *p, lua_State *L)
static int scaletofit (T *p, lua_State *L)
static int animate (T *p, lua_State *L)
static int play (T *p, lua_State *L)
static int pause (T *p, lua_State *L)
static int setstate (T *p, lua_State *L)
static int GetNumStates (T *p, lua_State *L)
static int texturetranslate (T *p, lua_State *L)
static int texturewrapping (T *p, lua_State *L)
static int SetTextureFiltering (T *p, lua_State *L)
static int blend (T *p, lua_State *L)
static int zbuffer (T *p, lua_State *L)
static int ztest (T *p, lua_State *L)
static int ztestmode (T *p, lua_State *L)
static int zwrite (T *p, lua_State *L)
static int zbias (T *p, lua_State *L)
static int clearzbuffer (T *p, lua_State *L)
static int backfacecull (T *p, lua_State *L)
static int cullmode (T *p, lua_State *L)
static int visible (T *p, lua_State *L)
static int draworder (T *p, lua_State *L)
static int playcommand (T *p, lua_State *L)
static int queuecommand (T *p, lua_State *L)
static int queuemessage (T *p, lua_State *L)
static int addcommand (T *p, lua_State *L)
static int GetCommand (T *p, lua_State *L)
static int RunCommandsRecursively (T *p, lua_State *L)
static int GetX (T *p, lua_State *L)
static int GetY (T *p, lua_State *L)
static int GetZ (T *p, lua_State *L)
static int GetDestX (T *p, lua_State *L)
static int GetDestY (T *p, lua_State *L)
static int GetDestZ (T *p, lua_State *L)
static int GetWidth (T *p, lua_State *L)
static int GetHeight (T *p, lua_State *L)
static int GetZoomedWidth (T *p, lua_State *L)
static int GetZoomedHeight (T *p, lua_State *L)
static int GetZoom (T *p, lua_State *L)
static int GetZoomX (T *p, lua_State *L)
static int GetZoomY (T *p, lua_State *L)
static int GetZoomZ (T *p, lua_State *L)
static int GetBaseZoomX (T *p, lua_State *L)
static int GetBaseZoomY (T *p, lua_State *L)
static int GetBaseZoomZ (T *p, lua_State *L)
static int GetRotationX (T *p, lua_State *L)
static int GetRotationY (T *p, lua_State *L)
static int GetRotationZ (T *p, lua_State *L)
static int GetSecsIntoEffect (T *p, lua_State *L)
static int GetEffectDelta (T *p, lua_State *L)
static int GetDiffuseAlpha (T *p, lua_State *L)
static int GetVisible (T *p, lua_State *L)
static int GetHAlign (T *p, lua_State *L)
static int GetVAlign (T *p, lua_State *L)
static int GetName (T *p, lua_State *L)
static int GetParent (T *p, lua_State *L)
static int GetFakeParent (T *p, lua_State *L)
static int SetFakeParent (T *p, lua_State *L)
static int AddWrapperState (T *p, lua_State *L)
static size_t get_state_index (T *p, lua_State *L, int stack_index)
static int RemoveWrapperState (T *p, lua_State *L)
static int GetNumWrapperStates (T *p, lua_State *L)
static int GetWrapperState (T *p, lua_State *L)
static int Draw (T *p, lua_State *L)
static int SaveXY (T *p, lua_State *L)
static int LoadXY (T *p, lua_State *L)
static int IsOver (T *p, lua_State *L)
static int SetShaders (T *p, lua_State *L)
static int ResetShaders (T *p, lua_State *L)
static int SetShaderPersistence (T *p, lua_State *L)
static int GetShaderPersistence (T *p, lua_State *L)
static int SetShaderParameters (T *p, lua_State *L)
static int ResetShaderParameters (T *p, lua_State *L)
Static Public Member Functions inherited from Luna< Actor >
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< Actor >
static std::string m_sClassName
static std::string m_sBaseClassName
Protected Types inherited from Luna< Actor >
using T
using binding_t
Protected Member Functions inherited from Luna< Actor >
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 Actor.


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