|
@@ -40,7 +40,7 @@ static EventManager* getEventManager(lua_State* l)
|
|
|
|
|
|
|
|
using WeakArraySceneNodePtr = WeakArray<SceneNode*>;
|
|
using WeakArraySceneNodePtr = WeakArray<SceneNode*>;
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoLightComponentType = {500059253544827468, "LightComponentType", 0, nullptr, nullptr};
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoLightComponentType = {-5594775432067847771, "LightComponentType", 0, nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<LightComponentType>()
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<LightComponentType>()
|
|
@@ -75,7 +75,7 @@ static inline void wrapLightComponentType(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoBodyComponentCollisionShapeType = {-6258057474314043911, "BodyComponentCollisionShapeType", 0, nullptr,
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoBodyComponentCollisionShapeType = {5886730633021150151, "BodyComponentCollisionShapeType", 0, nullptr,
|
|
|
nullptr};
|
|
nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -119,7 +119,7 @@ static inline void wrapBodyComponentCollisionShapeType(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoParticleGeometryType = {2653659908218658077, "ParticleGeometryType", 0, nullptr, nullptr};
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoParticleGeometryType = {-1970280843451934837, "ParticleGeometryType", 0, nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<ParticleGeometryType>()
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<ParticleGeometryType>()
|
|
@@ -150,7 +150,7 @@ static inline void wrapParticleGeometryType(lua_State* l)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoWeakArraySceneNodePtr = {
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoWeakArraySceneNodePtr = {
|
|
|
- 2562544859972501538, "WeakArraySceneNodePtr", LuaUserData::computeSizeForGarbageCollected<WeakArraySceneNodePtr>(), nullptr, nullptr};
|
|
|
|
|
|
|
+ 3153302682457725628, "WeakArraySceneNodePtr", LuaUserData::computeSizeForGarbageCollected<WeakArraySceneNodePtr>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<WeakArraySceneNodePtr>()
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<WeakArraySceneNodePtr>()
|
|
@@ -241,7 +241,7 @@ static inline void wrapWeakArraySceneNodePtr(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoLightComponent = {-5754315097982438042, "LightComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoLightComponent = {-6661654181898649904, "LightComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<LightComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<LightComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -683,7 +683,7 @@ static inline void wrapLightComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoDecalComponent = {-8980488684929453085, "DecalComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoDecalComponent = {-5520034723432182506, "DecalComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<DecalComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<DecalComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -692,14 +692,14 @@ const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<DecalComponent>()
|
|
|
return g_luaUserDataTypeInfoDecalComponent;
|
|
return g_luaUserDataTypeInfoDecalComponent;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// Wrap method DecalComponent::loadDiffuseImageResource.
|
|
|
|
|
-static inline int wrapDecalComponentloadDiffuseImageResource(lua_State* l)
|
|
|
|
|
|
|
+// Wrap method DecalComponent::setDiffuseImageFilename.
|
|
|
|
|
+static inline int wrapDecalComponentsetDiffuseImageFilename(lua_State* l)
|
|
|
{
|
|
{
|
|
|
[[maybe_unused]] LuaUserData* ud;
|
|
[[maybe_unused]] LuaUserData* ud;
|
|
|
[[maybe_unused]] void* voidp;
|
|
[[maybe_unused]] void* voidp;
|
|
|
[[maybe_unused]] PtrSize size;
|
|
[[maybe_unused]] PtrSize size;
|
|
|
|
|
|
|
|
- if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 3)) [[unlikely]]
|
|
|
|
|
|
|
+ if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 2)) [[unlikely]]
|
|
|
{
|
|
{
|
|
|
return lua_error(l);
|
|
return lua_error(l);
|
|
|
}
|
|
}
|
|
@@ -719,26 +719,125 @@ static inline int wrapDecalComponentloadDiffuseImageResource(lua_State* l)
|
|
|
return lua_error(l);
|
|
return lua_error(l);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- F32 arg1;
|
|
|
|
|
- if(LuaBinder::checkNumber(l, ANKI_FILE, __LINE__, ANKI_FUNC, 3, arg1)) [[unlikely]]
|
|
|
|
|
|
|
+ // Call the method
|
|
|
|
|
+ DecalComponent& ret = self->setDiffuseImageFilename(arg0);
|
|
|
|
|
+
|
|
|
|
|
+ // Push return value
|
|
|
|
|
+ voidp = lua_newuserdata(l, sizeof(LuaUserData));
|
|
|
|
|
+ ud = static_cast<LuaUserData*>(voidp);
|
|
|
|
|
+ luaL_setmetatable(l, "DecalComponent");
|
|
|
|
|
+ extern LuaUserDataTypeInfo g_luaUserDataTypeInfoDecalComponent;
|
|
|
|
|
+ ud->initPointed(&g_luaUserDataTypeInfoDecalComponent, &ret);
|
|
|
|
|
+
|
|
|
|
|
+ return 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Wrap method DecalComponent::getDiffuseImageFilename.
|
|
|
|
|
+static inline int wrapDecalComponentgetDiffuseImageFilename(lua_State* l)
|
|
|
|
|
+{
|
|
|
|
|
+ [[maybe_unused]] LuaUserData* ud;
|
|
|
|
|
+ [[maybe_unused]] void* voidp;
|
|
|
|
|
+ [[maybe_unused]] PtrSize size;
|
|
|
|
|
+
|
|
|
|
|
+ if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1)) [[unlikely]]
|
|
|
{
|
|
{
|
|
|
return lua_error(l);
|
|
return lua_error(l);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // Get "this" as "self"
|
|
|
|
|
+ if(LuaBinder::checkUserData(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1, g_luaUserDataTypeInfoDecalComponent, ud)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ DecalComponent* self = ud->getData<DecalComponent>();
|
|
|
|
|
+
|
|
|
// Call the method
|
|
// Call the method
|
|
|
- self->loadDiffuseImageResource(arg0, arg1);
|
|
|
|
|
|
|
+ CString ret = self->getDiffuseImageFilename();
|
|
|
|
|
|
|
|
- return 0;
|
|
|
|
|
|
|
+ // Push return value
|
|
|
|
|
+ lua_pushstring(l, &ret[0]);
|
|
|
|
|
+
|
|
|
|
|
+ return 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// Wrap method DecalComponent::loadMetalRoughnessImageResource.
|
|
|
|
|
-static inline int wrapDecalComponentloadMetalRoughnessImageResource(lua_State* l)
|
|
|
|
|
|
|
+// Wrap method DecalComponent::setDiffuseBlendFactor.
|
|
|
|
|
+static inline int wrapDecalComponentsetDiffuseBlendFactor(lua_State* l)
|
|
|
{
|
|
{
|
|
|
[[maybe_unused]] LuaUserData* ud;
|
|
[[maybe_unused]] LuaUserData* ud;
|
|
|
[[maybe_unused]] void* voidp;
|
|
[[maybe_unused]] void* voidp;
|
|
|
[[maybe_unused]] PtrSize size;
|
|
[[maybe_unused]] PtrSize size;
|
|
|
|
|
|
|
|
- if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 3)) [[unlikely]]
|
|
|
|
|
|
|
+ if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 2)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // Get "this" as "self"
|
|
|
|
|
+ if(LuaBinder::checkUserData(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1, g_luaUserDataTypeInfoDecalComponent, ud)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ DecalComponent* self = ud->getData<DecalComponent>();
|
|
|
|
|
+
|
|
|
|
|
+ // Pop arguments
|
|
|
|
|
+ F32 arg0;
|
|
|
|
|
+ if(LuaBinder::checkNumber(l, ANKI_FILE, __LINE__, ANKI_FUNC, 2, arg0)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // Call the method
|
|
|
|
|
+ DecalComponent& ret = self->setDiffuseBlendFactor(arg0);
|
|
|
|
|
+
|
|
|
|
|
+ // Push return value
|
|
|
|
|
+ voidp = lua_newuserdata(l, sizeof(LuaUserData));
|
|
|
|
|
+ ud = static_cast<LuaUserData*>(voidp);
|
|
|
|
|
+ luaL_setmetatable(l, "DecalComponent");
|
|
|
|
|
+ extern LuaUserDataTypeInfo g_luaUserDataTypeInfoDecalComponent;
|
|
|
|
|
+ ud->initPointed(&g_luaUserDataTypeInfoDecalComponent, &ret);
|
|
|
|
|
+
|
|
|
|
|
+ return 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Wrap method DecalComponent::getDiffuseBlendFactor.
|
|
|
|
|
+static inline int wrapDecalComponentgetDiffuseBlendFactor(lua_State* l)
|
|
|
|
|
+{
|
|
|
|
|
+ [[maybe_unused]] LuaUserData* ud;
|
|
|
|
|
+ [[maybe_unused]] void* voidp;
|
|
|
|
|
+ [[maybe_unused]] PtrSize size;
|
|
|
|
|
+
|
|
|
|
|
+ if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // Get "this" as "self"
|
|
|
|
|
+ if(LuaBinder::checkUserData(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1, g_luaUserDataTypeInfoDecalComponent, ud)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ DecalComponent* self = ud->getData<DecalComponent>();
|
|
|
|
|
+
|
|
|
|
|
+ // Call the method
|
|
|
|
|
+ F32 ret = self->getDiffuseBlendFactor();
|
|
|
|
|
+
|
|
|
|
|
+ // Push return value
|
|
|
|
|
+ lua_pushnumber(l, lua_Number(ret));
|
|
|
|
|
+
|
|
|
|
|
+ return 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Wrap method DecalComponent::setRoughnessMetalnessImageFilename.
|
|
|
|
|
+static inline int wrapDecalComponentsetRoughnessMetalnessImageFilename(lua_State* l)
|
|
|
|
|
+{
|
|
|
|
|
+ [[maybe_unused]] LuaUserData* ud;
|
|
|
|
|
+ [[maybe_unused]] void* voidp;
|
|
|
|
|
+ [[maybe_unused]] PtrSize size;
|
|
|
|
|
+
|
|
|
|
|
+ if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 2)) [[unlikely]]
|
|
|
{
|
|
{
|
|
|
return lua_error(l);
|
|
return lua_error(l);
|
|
|
}
|
|
}
|
|
@@ -758,28 +857,133 @@ static inline int wrapDecalComponentloadMetalRoughnessImageResource(lua_State* l
|
|
|
return lua_error(l);
|
|
return lua_error(l);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- F32 arg1;
|
|
|
|
|
- if(LuaBinder::checkNumber(l, ANKI_FILE, __LINE__, ANKI_FUNC, 3, arg1)) [[unlikely]]
|
|
|
|
|
|
|
+ // Call the method
|
|
|
|
|
+ DecalComponent& ret = self->setRoughnessMetalnessImageFilename(arg0);
|
|
|
|
|
+
|
|
|
|
|
+ // Push return value
|
|
|
|
|
+ voidp = lua_newuserdata(l, sizeof(LuaUserData));
|
|
|
|
|
+ ud = static_cast<LuaUserData*>(voidp);
|
|
|
|
|
+ luaL_setmetatable(l, "DecalComponent");
|
|
|
|
|
+ extern LuaUserDataTypeInfo g_luaUserDataTypeInfoDecalComponent;
|
|
|
|
|
+ ud->initPointed(&g_luaUserDataTypeInfoDecalComponent, &ret);
|
|
|
|
|
+
|
|
|
|
|
+ return 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Wrap method DecalComponent::getRoughnessMetalnessImageFilename.
|
|
|
|
|
+static inline int wrapDecalComponentgetRoughnessMetalnessImageFilename(lua_State* l)
|
|
|
|
|
+{
|
|
|
|
|
+ [[maybe_unused]] LuaUserData* ud;
|
|
|
|
|
+ [[maybe_unused]] void* voidp;
|
|
|
|
|
+ [[maybe_unused]] PtrSize size;
|
|
|
|
|
+
|
|
|
|
|
+ if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1)) [[unlikely]]
|
|
|
{
|
|
{
|
|
|
return lua_error(l);
|
|
return lua_error(l);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // Get "this" as "self"
|
|
|
|
|
+ if(LuaBinder::checkUserData(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1, g_luaUserDataTypeInfoDecalComponent, ud)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ DecalComponent* self = ud->getData<DecalComponent>();
|
|
|
|
|
+
|
|
|
// Call the method
|
|
// Call the method
|
|
|
- self->loadMetalRoughnessImageResource(arg0, arg1);
|
|
|
|
|
|
|
+ CString ret = self->getRoughnessMetalnessImageFilename();
|
|
|
|
|
|
|
|
- return 0;
|
|
|
|
|
|
|
+ // Push return value
|
|
|
|
|
+ lua_pushstring(l, &ret[0]);
|
|
|
|
|
+
|
|
|
|
|
+ return 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Wrap method DecalComponent::setRoughnessMetalnessBlendFactor.
|
|
|
|
|
+static inline int wrapDecalComponentsetRoughnessMetalnessBlendFactor(lua_State* l)
|
|
|
|
|
+{
|
|
|
|
|
+ [[maybe_unused]] LuaUserData* ud;
|
|
|
|
|
+ [[maybe_unused]] void* voidp;
|
|
|
|
|
+ [[maybe_unused]] PtrSize size;
|
|
|
|
|
+
|
|
|
|
|
+ if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 2)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // Get "this" as "self"
|
|
|
|
|
+ if(LuaBinder::checkUserData(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1, g_luaUserDataTypeInfoDecalComponent, ud)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ DecalComponent* self = ud->getData<DecalComponent>();
|
|
|
|
|
+
|
|
|
|
|
+ // Pop arguments
|
|
|
|
|
+ F32 arg0;
|
|
|
|
|
+ if(LuaBinder::checkNumber(l, ANKI_FILE, __LINE__, ANKI_FUNC, 2, arg0)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // Call the method
|
|
|
|
|
+ DecalComponent& ret = self->setRoughnessMetalnessBlendFactor(arg0);
|
|
|
|
|
+
|
|
|
|
|
+ // Push return value
|
|
|
|
|
+ voidp = lua_newuserdata(l, sizeof(LuaUserData));
|
|
|
|
|
+ ud = static_cast<LuaUserData*>(voidp);
|
|
|
|
|
+ luaL_setmetatable(l, "DecalComponent");
|
|
|
|
|
+ extern LuaUserDataTypeInfo g_luaUserDataTypeInfoDecalComponent;
|
|
|
|
|
+ ud->initPointed(&g_luaUserDataTypeInfoDecalComponent, &ret);
|
|
|
|
|
+
|
|
|
|
|
+ return 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Wrap method DecalComponent::getRoughnessMetalnessBlendFactor.
|
|
|
|
|
+static inline int wrapDecalComponentgetRoughnessMetalnessBlendFactor(lua_State* l)
|
|
|
|
|
+{
|
|
|
|
|
+ [[maybe_unused]] LuaUserData* ud;
|
|
|
|
|
+ [[maybe_unused]] void* voidp;
|
|
|
|
|
+ [[maybe_unused]] PtrSize size;
|
|
|
|
|
+
|
|
|
|
|
+ if(LuaBinder::checkArgsCount(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // Get "this" as "self"
|
|
|
|
|
+ if(LuaBinder::checkUserData(l, ANKI_FILE, __LINE__, ANKI_FUNC, 1, g_luaUserDataTypeInfoDecalComponent, ud)) [[unlikely]]
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_error(l);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ DecalComponent* self = ud->getData<DecalComponent>();
|
|
|
|
|
+
|
|
|
|
|
+ // Call the method
|
|
|
|
|
+ F32 ret = self->getRoughnessMetalnessBlendFactor();
|
|
|
|
|
+
|
|
|
|
|
+ // Push return value
|
|
|
|
|
+ lua_pushnumber(l, lua_Number(ret));
|
|
|
|
|
+
|
|
|
|
|
+ return 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Wrap class DecalComponent.
|
|
// Wrap class DecalComponent.
|
|
|
static inline void wrapDecalComponent(lua_State* l)
|
|
static inline void wrapDecalComponent(lua_State* l)
|
|
|
{
|
|
{
|
|
|
LuaBinder::createClass(l, &g_luaUserDataTypeInfoDecalComponent);
|
|
LuaBinder::createClass(l, &g_luaUserDataTypeInfoDecalComponent);
|
|
|
- LuaBinder::pushLuaCFuncMethod(l, "loadDiffuseImageResource", wrapDecalComponentloadDiffuseImageResource);
|
|
|
|
|
- LuaBinder::pushLuaCFuncMethod(l, "loadMetalRoughnessImageResource", wrapDecalComponentloadMetalRoughnessImageResource);
|
|
|
|
|
|
|
+ LuaBinder::pushLuaCFuncMethod(l, "setDiffuseImageFilename", wrapDecalComponentsetDiffuseImageFilename);
|
|
|
|
|
+ LuaBinder::pushLuaCFuncMethod(l, "getDiffuseImageFilename", wrapDecalComponentgetDiffuseImageFilename);
|
|
|
|
|
+ LuaBinder::pushLuaCFuncMethod(l, "setDiffuseBlendFactor", wrapDecalComponentsetDiffuseBlendFactor);
|
|
|
|
|
+ LuaBinder::pushLuaCFuncMethod(l, "getDiffuseBlendFactor", wrapDecalComponentgetDiffuseBlendFactor);
|
|
|
|
|
+ LuaBinder::pushLuaCFuncMethod(l, "setRoughnessMetalnessImageFilename", wrapDecalComponentsetRoughnessMetalnessImageFilename);
|
|
|
|
|
+ LuaBinder::pushLuaCFuncMethod(l, "getRoughnessMetalnessImageFilename", wrapDecalComponentgetRoughnessMetalnessImageFilename);
|
|
|
|
|
+ LuaBinder::pushLuaCFuncMethod(l, "setRoughnessMetalnessBlendFactor", wrapDecalComponentsetRoughnessMetalnessBlendFactor);
|
|
|
|
|
+ LuaBinder::pushLuaCFuncMethod(l, "getRoughnessMetalnessBlendFactor", wrapDecalComponentgetRoughnessMetalnessBlendFactor);
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoLensFlareComponent = {-9010711042401244097, "LensFlareComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoLensFlareComponent = {1436135364773864160, "LensFlareComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<LensFlareComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<LensFlareComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -903,7 +1107,7 @@ static inline void wrapLensFlareComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoBodyComponent = {-1808713994974392597, "BodyComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoBodyComponent = {4859266942639207558, "BodyComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<BodyComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<BodyComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -1089,7 +1293,7 @@ static inline void wrapBodyComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoTriggerComponent = {8480637138822006110, "TriggerComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoTriggerComponent = {-8532250760246815794, "TriggerComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<TriggerComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<TriggerComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -1177,7 +1381,7 @@ static inline void wrapTriggerComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoFogDensityComponent = {442223863329677979, "FogDensityComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoFogDensityComponent = {-6273562933061222924, "FogDensityComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<FogDensityComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<FogDensityComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -1257,7 +1461,7 @@ static inline void wrapFogDensityComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoCameraComponent = {-8246053165735489426, "CameraComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoCameraComponent = {5614357661140762094, "CameraComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<CameraComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<CameraComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -1326,7 +1530,7 @@ static inline void wrapCameraComponent(lua_State* l)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoGlobalIlluminationProbeComponent = {
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoGlobalIlluminationProbeComponent = {
|
|
|
- -8370548681073261698, "GlobalIlluminationProbeComponent", LuaUserData::computeSizeForGarbageCollected<GlobalIlluminationProbeComponent>(),
|
|
|
|
|
|
|
+ -3401910529701313771, "GlobalIlluminationProbeComponent", LuaUserData::computeSizeForGarbageCollected<GlobalIlluminationProbeComponent>(),
|
|
|
nullptr, nullptr};
|
|
nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -1471,7 +1675,7 @@ static inline void wrapGlobalIlluminationProbeComponent(lua_State* l)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoReflectionProbeComponent = {
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoReflectionProbeComponent = {
|
|
|
- -749342065311431559, "ReflectionProbeComponent", LuaUserData::computeSizeForGarbageCollected<ReflectionProbeComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
+ 1875218110388114974, "ReflectionProbeComponent", LuaUserData::computeSizeForGarbageCollected<ReflectionProbeComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<ReflectionProbeComponent>()
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<ReflectionProbeComponent>()
|
|
@@ -1487,7 +1691,7 @@ static inline void wrapReflectionProbeComponent(lua_State* l)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoParticleEmitterComponent = {
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoParticleEmitterComponent = {
|
|
|
- -6324147425669031594, "ParticleEmitterComponent", LuaUserData::computeSizeForGarbageCollected<ParticleEmitterComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
+ 2925717460779801052, "ParticleEmitterComponent", LuaUserData::computeSizeForGarbageCollected<ParticleEmitterComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<ParticleEmitterComponent>()
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<ParticleEmitterComponent>()
|
|
@@ -1537,7 +1741,7 @@ static inline void wrapParticleEmitterComponent(lua_State* l)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoParticleEmitter2Component = {
|
|
LuaUserDataTypeInfo g_luaUserDataTypeInfoParticleEmitter2Component = {
|
|
|
- -6428473293581697754, "ParticleEmitter2Component", LuaUserData::computeSizeForGarbageCollected<ParticleEmitter2Component>(), nullptr, nullptr};
|
|
|
|
|
|
|
+ 5715853988873556419, "ParticleEmitter2Component", LuaUserData::computeSizeForGarbageCollected<ParticleEmitter2Component>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<ParticleEmitter2Component>()
|
|
const LuaUserDataTypeInfo& LuaUserData::getDataTypeInfoFor<ParticleEmitter2Component>()
|
|
@@ -1701,7 +1905,7 @@ static inline void wrapParticleEmitter2Component(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoMeshComponent = {-5886906078203910994, "MeshComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoMeshComponent = {7129233230963760247, "MeshComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<MeshComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<MeshComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -1758,7 +1962,7 @@ static inline void wrapMeshComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoMaterialComponent = {4307950519165030427, "MaterialComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoMaterialComponent = {-5240416883337639304, "MaterialComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<MaterialComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<MaterialComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -1856,7 +2060,7 @@ static inline void wrapMaterialComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoSkinComponent = {-8305467920182704546, "SkinComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoSkinComponent = {3016724804384428667, "SkinComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<SkinComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<SkinComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -1913,7 +2117,7 @@ static inline void wrapSkinComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoSkyboxComponent = {810469901655694713, "SkyboxComponent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoSkyboxComponent = {-3538427196989067145, "SkyboxComponent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<SkyboxComponent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<SkyboxComponent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -2274,7 +2478,7 @@ static inline void wrapSkyboxComponent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoSceneNode = {-7577845182840444439, "SceneNode", LuaUserData::computeSizeForGarbageCollected<SceneNode>(),
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoSceneNode = {-1325538657283171084, "SceneNode", LuaUserData::computeSizeForGarbageCollected<SceneNode>(),
|
|
|
nullptr, nullptr};
|
|
nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -3750,7 +3954,7 @@ static inline void wrapSceneNode(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoSceneGraph = {-81513401149441617, "SceneGraph", LuaUserData::computeSizeForGarbageCollected<SceneGraph>(),
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoSceneGraph = {8901208207670225695, "SceneGraph", LuaUserData::computeSizeForGarbageCollected<SceneGraph>(),
|
|
|
nullptr, nullptr};
|
|
nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -3896,7 +4100,7 @@ static inline void wrapSceneGraph(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoEvent = {-4301901788827764407, "Event", LuaUserData::computeSizeForGarbageCollected<Event>(), nullptr,
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoEvent = {-7252054505959214788, "Event", LuaUserData::computeSizeForGarbageCollected<Event>(), nullptr,
|
|
|
nullptr};
|
|
nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -3948,7 +4152,7 @@ static inline void wrapEvent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoLightEvent = {-4171269143232873120, "LightEvent", LuaUserData::computeSizeForGarbageCollected<LightEvent>(),
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoLightEvent = {-8586733957439759552, "LightEvent", LuaUserData::computeSizeForGarbageCollected<LightEvent>(),
|
|
|
nullptr, nullptr};
|
|
nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -4041,7 +4245,7 @@ static inline void wrapLightEvent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoScriptEvent = {-1360916742028316670, "ScriptEvent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoScriptEvent = {3521092713286297735, "ScriptEvent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<ScriptEvent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<ScriptEvent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -4057,7 +4261,7 @@ static inline void wrapScriptEvent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoJitterMoveEvent = {5365643697589966891, "JitterMoveEvent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoJitterMoveEvent = {-8794680355368287829, "JitterMoveEvent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<JitterMoveEvent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<JitterMoveEvent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -4119,7 +4323,7 @@ static inline void wrapJitterMoveEvent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoAnimationEvent = {-6541151698016447688, "AnimationEvent",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoAnimationEvent = {-8172624010586710412, "AnimationEvent",
|
|
|
LuaUserData::computeSizeForGarbageCollected<AnimationEvent>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<AnimationEvent>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|
|
@@ -4135,7 +4339,7 @@ static inline void wrapAnimationEvent(lua_State* l)
|
|
|
lua_settop(l, 0);
|
|
lua_settop(l, 0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-LuaUserDataTypeInfo g_luaUserDataTypeInfoEventManager = {-6168092957409596379, "EventManager",
|
|
|
|
|
|
|
+LuaUserDataTypeInfo g_luaUserDataTypeInfoEventManager = {1713399154262730355, "EventManager",
|
|
|
LuaUserData::computeSizeForGarbageCollected<EventManager>(), nullptr, nullptr};
|
|
LuaUserData::computeSizeForGarbageCollected<EventManager>(), nullptr, nullptr};
|
|
|
|
|
|
|
|
template<>
|
|
template<>
|