mirror of https://github.com/axmolengine/axmol.git
[AUTO]: updating luabinding & jsbinding automatically
This commit is contained in:
parent
8068a2c220
commit
9572de26d4
|
@ -18186,6 +18186,24 @@ vec3
|
||||||
return cc.Vec2;
|
return cc.Vec2;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @method initOrthographic
|
||||||
|
* @param {float} arg0
|
||||||
|
* @param {float} arg1
|
||||||
|
* @param {float} arg2
|
||||||
|
* @param {float} arg3
|
||||||
|
* @return {bool}
|
||||||
|
*/
|
||||||
|
initOrthographic : function (
|
||||||
|
float,
|
||||||
|
float,
|
||||||
|
float,
|
||||||
|
float
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @method getDepthInView
|
* @method getDepthInView
|
||||||
* @param {mat4_object} arg0
|
* @param {mat4_object} arg0
|
||||||
|
@ -18221,21 +18239,13 @@ cameraflag
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @method initOrthographic
|
* @method clearBackground
|
||||||
* @param {float} arg0
|
* @param {float} arg0
|
||||||
* @param {float} arg1
|
|
||||||
* @param {float} arg2
|
|
||||||
* @param {float} arg3
|
|
||||||
* @return {bool}
|
|
||||||
*/
|
*/
|
||||||
initOrthographic : function (
|
clearBackground : function (
|
||||||
float,
|
|
||||||
float,
|
|
||||||
float,
|
|
||||||
float
|
float
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return false;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -56444,6 +56444,34 @@ bool js_cocos2dx_Camera_project(JSContext *cx, uint32_t argc, jsval *vp)
|
||||||
JS_ReportError(cx, "js_cocos2dx_Camera_project : wrong number of arguments: %d, was expecting %d", argc, 1);
|
JS_ReportError(cx, "js_cocos2dx_Camera_project : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
bool js_cocos2dx_Camera_initOrthographic(JSContext *cx, uint32_t argc, jsval *vp)
|
||||||
|
{
|
||||||
|
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||||
|
bool ok = true;
|
||||||
|
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||||
|
js_proxy_t *proxy = jsb_get_js_proxy(obj);
|
||||||
|
cocos2d::Camera* cobj = (cocos2d::Camera *)(proxy ? proxy->ptr : NULL);
|
||||||
|
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_Camera_initOrthographic : Invalid Native Object");
|
||||||
|
if (argc == 4) {
|
||||||
|
double arg0;
|
||||||
|
double arg1;
|
||||||
|
double arg2;
|
||||||
|
double arg3;
|
||||||
|
ok &= JS::ToNumber( cx, args.get(0), &arg0) && !isnan(arg0);
|
||||||
|
ok &= JS::ToNumber( cx, args.get(1), &arg1) && !isnan(arg1);
|
||||||
|
ok &= JS::ToNumber( cx, args.get(2), &arg2) && !isnan(arg2);
|
||||||
|
ok &= JS::ToNumber( cx, args.get(3), &arg3) && !isnan(arg3);
|
||||||
|
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_Camera_initOrthographic : Error processing arguments");
|
||||||
|
bool ret = cobj->initOrthographic(arg0, arg1, arg2, arg3);
|
||||||
|
jsval jsret = JSVAL_NULL;
|
||||||
|
jsret = BOOLEAN_TO_JSVAL(ret);
|
||||||
|
args.rval().set(jsret);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
JS_ReportError(cx, "js_cocos2dx_Camera_initOrthographic : wrong number of arguments: %d, was expecting %d", argc, 4);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
bool js_cocos2dx_Camera_getDepthInView(JSContext *cx, uint32_t argc, jsval *vp)
|
bool js_cocos2dx_Camera_getDepthInView(JSContext *cx, uint32_t argc, jsval *vp)
|
||||||
{
|
{
|
||||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||||
|
@ -56516,32 +56544,24 @@ bool js_cocos2dx_Camera_setCameraFlag(JSContext *cx, uint32_t argc, jsval *vp)
|
||||||
JS_ReportError(cx, "js_cocos2dx_Camera_setCameraFlag : wrong number of arguments: %d, was expecting %d", argc, 1);
|
JS_ReportError(cx, "js_cocos2dx_Camera_setCameraFlag : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
bool js_cocos2dx_Camera_initOrthographic(JSContext *cx, uint32_t argc, jsval *vp)
|
bool js_cocos2dx_Camera_clearBackground(JSContext *cx, uint32_t argc, jsval *vp)
|
||||||
{
|
{
|
||||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||||
js_proxy_t *proxy = jsb_get_js_proxy(obj);
|
js_proxy_t *proxy = jsb_get_js_proxy(obj);
|
||||||
cocos2d::Camera* cobj = (cocos2d::Camera *)(proxy ? proxy->ptr : NULL);
|
cocos2d::Camera* cobj = (cocos2d::Camera *)(proxy ? proxy->ptr : NULL);
|
||||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_Camera_initOrthographic : Invalid Native Object");
|
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_Camera_clearBackground : Invalid Native Object");
|
||||||
if (argc == 4) {
|
if (argc == 1) {
|
||||||
double arg0;
|
double arg0;
|
||||||
double arg1;
|
|
||||||
double arg2;
|
|
||||||
double arg3;
|
|
||||||
ok &= JS::ToNumber( cx, args.get(0), &arg0) && !isnan(arg0);
|
ok &= JS::ToNumber( cx, args.get(0), &arg0) && !isnan(arg0);
|
||||||
ok &= JS::ToNumber( cx, args.get(1), &arg1) && !isnan(arg1);
|
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_Camera_clearBackground : Error processing arguments");
|
||||||
ok &= JS::ToNumber( cx, args.get(2), &arg2) && !isnan(arg2);
|
cobj->clearBackground(arg0);
|
||||||
ok &= JS::ToNumber( cx, args.get(3), &arg3) && !isnan(arg3);
|
args.rval().setUndefined();
|
||||||
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_Camera_initOrthographic : Error processing arguments");
|
|
||||||
bool ret = cobj->initOrthographic(arg0, arg1, arg2, arg3);
|
|
||||||
jsval jsret = JSVAL_NULL;
|
|
||||||
jsret = BOOLEAN_TO_JSVAL(ret);
|
|
||||||
args.rval().set(jsret);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
JS_ReportError(cx, "js_cocos2dx_Camera_initOrthographic : wrong number of arguments: %d, was expecting %d", argc, 4);
|
JS_ReportError(cx, "js_cocos2dx_Camera_clearBackground : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
bool js_cocos2dx_Camera_setAdditionalProjection(JSContext *cx, uint32_t argc, jsval *vp)
|
bool js_cocos2dx_Camera_setAdditionalProjection(JSContext *cx, uint32_t argc, jsval *vp)
|
||||||
|
@ -56791,10 +56811,11 @@ void js_register_cocos2dx_Camera(JSContext *cx, JS::HandleObject global) {
|
||||||
JS_FN("getType", js_cocos2dx_Camera_getType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("getType", js_cocos2dx_Camera_getType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("initDefault", js_cocos2dx_Camera_initDefault, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("initDefault", js_cocos2dx_Camera_initDefault, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("project", js_cocos2dx_Camera_project, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("project", js_cocos2dx_Camera_project, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
|
JS_FN("initOrthographic", js_cocos2dx_Camera_initOrthographic, 4, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("getDepthInView", js_cocos2dx_Camera_getDepthInView, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("getDepthInView", js_cocos2dx_Camera_getDepthInView, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("lookAt", js_cocos2dx_Camera_lookAt, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("lookAt", js_cocos2dx_Camera_lookAt, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("setCameraFlag", js_cocos2dx_Camera_setCameraFlag, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("setCameraFlag", js_cocos2dx_Camera_setCameraFlag, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("initOrthographic", js_cocos2dx_Camera_initOrthographic, 4, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("clearBackground", js_cocos2dx_Camera_clearBackground, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("setAdditionalProjection", js_cocos2dx_Camera_setAdditionalProjection, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("setAdditionalProjection", js_cocos2dx_Camera_setAdditionalProjection, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("getDepth", js_cocos2dx_Camera_getDepth, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("getDepth", js_cocos2dx_Camera_getDepth, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
JS_FN("setDepth", js_cocos2dx_Camera_setDepth, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
JS_FN("setDepth", js_cocos2dx_Camera_setDepth, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||||
|
|
|
@ -3326,10 +3326,11 @@ bool js_cocos2dx_Camera_getCameraFlag(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_getType(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_getType(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_initDefault(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_initDefault(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_project(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_project(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Camera_initOrthographic(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_getDepthInView(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_getDepthInView(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_lookAt(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_lookAt(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_setCameraFlag(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_setCameraFlag(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_initOrthographic(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_clearBackground(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_setAdditionalProjection(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_setAdditionalProjection(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_getDepth(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_getDepth(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Camera_setDepth(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Camera_setDepth(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
|
|
@ -67,6 +67,16 @@
|
||||||
-- @param #vec3_table src
|
-- @param #vec3_table src
|
||||||
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
--
|
||||||
|
-- @function [parent=#Camera] initOrthographic
|
||||||
|
-- @param self
|
||||||
|
-- @param #float zoomX
|
||||||
|
-- @param #float zoomY
|
||||||
|
-- @param #float nearPlane
|
||||||
|
-- @param #float farPlane
|
||||||
|
-- @return bool#bool ret (return value: bool)
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Get object depth towards camera
|
-- Get object depth towards camera
|
||||||
-- @function [parent=#Camera] getDepthInView
|
-- @function [parent=#Camera] getDepthInView
|
||||||
|
@ -100,13 +110,10 @@
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
--
|
--
|
||||||
-- @function [parent=#Camera] initOrthographic
|
-- @function [parent=#Camera] clearBackground
|
||||||
-- @param self
|
-- @param self
|
||||||
-- @param #float zoomX
|
-- @param #float depth
|
||||||
-- @param #float zoomY
|
-- @return Camera#Camera self (return value: cc.Camera)
|
||||||
-- @param #float nearPlane
|
|
||||||
-- @param #float farPlane
|
|
||||||
-- @return bool#bool ret (return value: bool)
|
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- set additional matrix for the projection matrix, it multiplys mat to projection matrix when called, used by WP8
|
-- set additional matrix for the projection matrix, it multiplys mat to projection matrix when called, used by WP8
|
||||||
|
|
|
@ -75034,6 +75034,65 @@ int lua_cocos2dx_Camera_project(lua_State* tolua_S)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
int lua_cocos2dx_Camera_initOrthographic(lua_State* tolua_S)
|
||||||
|
{
|
||||||
|
int argc = 0;
|
||||||
|
cocos2d::Camera* cobj = nullptr;
|
||||||
|
bool ok = true;
|
||||||
|
|
||||||
|
#if COCOS2D_DEBUG >= 1
|
||||||
|
tolua_Error tolua_err;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if COCOS2D_DEBUG >= 1
|
||||||
|
if (!tolua_isusertype(tolua_S,1,"cc.Camera",0,&tolua_err)) goto tolua_lerror;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
cobj = (cocos2d::Camera*)tolua_tousertype(tolua_S,1,0);
|
||||||
|
|
||||||
|
#if COCOS2D_DEBUG >= 1
|
||||||
|
if (!cobj)
|
||||||
|
{
|
||||||
|
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Camera_initOrthographic'", nullptr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
argc = lua_gettop(tolua_S)-1;
|
||||||
|
if (argc == 4)
|
||||||
|
{
|
||||||
|
double arg0;
|
||||||
|
double arg1;
|
||||||
|
double arg2;
|
||||||
|
double arg3;
|
||||||
|
|
||||||
|
ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Camera:initOrthographic");
|
||||||
|
|
||||||
|
ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Camera:initOrthographic");
|
||||||
|
|
||||||
|
ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Camera:initOrthographic");
|
||||||
|
|
||||||
|
ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Camera:initOrthographic");
|
||||||
|
if(!ok)
|
||||||
|
{
|
||||||
|
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Camera_initOrthographic'", nullptr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
bool ret = cobj->initOrthographic(arg0, arg1, arg2, arg3);
|
||||||
|
tolua_pushboolean(tolua_S,(bool)ret);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Camera:initOrthographic",argc, 4);
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
#if COCOS2D_DEBUG >= 1
|
||||||
|
tolua_lerror:
|
||||||
|
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Camera_initOrthographic'.",&tolua_err);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
int lua_cocos2dx_Camera_getDepthInView(lua_State* tolua_S)
|
int lua_cocos2dx_Camera_getDepthInView(lua_State* tolua_S)
|
||||||
{
|
{
|
||||||
int argc = 0;
|
int argc = 0;
|
||||||
|
@ -75251,7 +75310,7 @@ int lua_cocos2dx_Camera_setCameraFlag(lua_State* tolua_S)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
int lua_cocos2dx_Camera_initOrthographic(lua_State* tolua_S)
|
int lua_cocos2dx_Camera_clearBackground(lua_State* tolua_S)
|
||||||
{
|
{
|
||||||
int argc = 0;
|
int argc = 0;
|
||||||
cocos2d::Camera* cobj = nullptr;
|
cocos2d::Camera* cobj = nullptr;
|
||||||
|
@ -75271,41 +75330,32 @@ int lua_cocos2dx_Camera_initOrthographic(lua_State* tolua_S)
|
||||||
#if COCOS2D_DEBUG >= 1
|
#if COCOS2D_DEBUG >= 1
|
||||||
if (!cobj)
|
if (!cobj)
|
||||||
{
|
{
|
||||||
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Camera_initOrthographic'", nullptr);
|
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Camera_clearBackground'", nullptr);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
argc = lua_gettop(tolua_S)-1;
|
argc = lua_gettop(tolua_S)-1;
|
||||||
if (argc == 4)
|
if (argc == 1)
|
||||||
{
|
{
|
||||||
double arg0;
|
double arg0;
|
||||||
double arg1;
|
|
||||||
double arg2;
|
|
||||||
double arg3;
|
|
||||||
|
|
||||||
ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Camera:initOrthographic");
|
ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Camera:clearBackground");
|
||||||
|
|
||||||
ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Camera:initOrthographic");
|
|
||||||
|
|
||||||
ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Camera:initOrthographic");
|
|
||||||
|
|
||||||
ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Camera:initOrthographic");
|
|
||||||
if(!ok)
|
if(!ok)
|
||||||
{
|
{
|
||||||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Camera_initOrthographic'", nullptr);
|
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Camera_clearBackground'", nullptr);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
bool ret = cobj->initOrthographic(arg0, arg1, arg2, arg3);
|
cobj->clearBackground(arg0);
|
||||||
tolua_pushboolean(tolua_S,(bool)ret);
|
lua_settop(tolua_S, 1);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Camera:initOrthographic",argc, 4);
|
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Camera:clearBackground",argc, 1);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
#if COCOS2D_DEBUG >= 1
|
#if COCOS2D_DEBUG >= 1
|
||||||
tolua_lerror:
|
tolua_lerror:
|
||||||
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Camera_initOrthographic'.",&tolua_err);
|
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Camera_clearBackground'.",&tolua_err);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -75702,11 +75752,12 @@ int lua_register_cocos2dx_Camera(lua_State* tolua_S)
|
||||||
tolua_function(tolua_S,"getType",lua_cocos2dx_Camera_getType);
|
tolua_function(tolua_S,"getType",lua_cocos2dx_Camera_getType);
|
||||||
tolua_function(tolua_S,"initDefault",lua_cocos2dx_Camera_initDefault);
|
tolua_function(tolua_S,"initDefault",lua_cocos2dx_Camera_initDefault);
|
||||||
tolua_function(tolua_S,"project",lua_cocos2dx_Camera_project);
|
tolua_function(tolua_S,"project",lua_cocos2dx_Camera_project);
|
||||||
|
tolua_function(tolua_S,"initOrthographic",lua_cocos2dx_Camera_initOrthographic);
|
||||||
tolua_function(tolua_S,"getDepthInView",lua_cocos2dx_Camera_getDepthInView);
|
tolua_function(tolua_S,"getDepthInView",lua_cocos2dx_Camera_getDepthInView);
|
||||||
tolua_function(tolua_S,"lookAt",lua_cocos2dx_Camera_lookAt);
|
tolua_function(tolua_S,"lookAt",lua_cocos2dx_Camera_lookAt);
|
||||||
tolua_function(tolua_S,"isVisibleInFrustum",lua_cocos2dx_Camera_isVisibleInFrustum);
|
tolua_function(tolua_S,"isVisibleInFrustum",lua_cocos2dx_Camera_isVisibleInFrustum);
|
||||||
tolua_function(tolua_S,"setCameraFlag",lua_cocos2dx_Camera_setCameraFlag);
|
tolua_function(tolua_S,"setCameraFlag",lua_cocos2dx_Camera_setCameraFlag);
|
||||||
tolua_function(tolua_S,"initOrthographic",lua_cocos2dx_Camera_initOrthographic);
|
tolua_function(tolua_S,"clearBackground",lua_cocos2dx_Camera_clearBackground);
|
||||||
tolua_function(tolua_S,"setAdditionalProjection",lua_cocos2dx_Camera_setAdditionalProjection);
|
tolua_function(tolua_S,"setAdditionalProjection",lua_cocos2dx_Camera_setAdditionalProjection);
|
||||||
tolua_function(tolua_S,"getDepth",lua_cocos2dx_Camera_getDepth);
|
tolua_function(tolua_S,"getDepth",lua_cocos2dx_Camera_getDepth);
|
||||||
tolua_function(tolua_S,"setDepth",lua_cocos2dx_Camera_setDepth);
|
tolua_function(tolua_S,"setDepth",lua_cocos2dx_Camera_setDepth);
|
||||||
|
|
|
@ -1971,6 +1971,7 @@ int register_all_cocos2dx(lua_State* tolua_S);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // __cocos2dx_h__
|
#endif // __cocos2dx_h__
|
||||||
|
|
Loading…
Reference in New Issue