axmol/cocos/scripting/js-bindings/auto/api/jsb_cocos2dx_experimental_a...

100 lines
1.1 KiB
JavaScript

/**
* @module cocos2dx_experimental
*/
var ccexp = ccexp || {};
/**
* @class SpritePolygon
*/
ccexp.SpritePolygon = {
/**
* @method setTexture
* @param {cc.Texture2D|String} texture2d
*/
setTexture : function(
str
)
{
},
/**
* @method initWithTexture
* @param {cc.Texture2D} arg0
* @return {bool}
*/
initWithTexture : function (
texture2d
)
{
return false;
},
/**
* @method showDebug
* @param {bool} arg0
*/
showDebug : function (
bool
)
{
},
/**
* @method getTexture
* @return {cc.Texture2D}
*/
getTexture : function (
)
{
return cc.Texture2D;
},
/**
* @method getArea
* @return {float}
*/
getArea : function (
)
{
return 0;
},
/**
* @method initWithMarching
* @param {String} arg0
* @param {rect_object} arg1
* @param {float} arg2
* @return {bool}
*/
initWithMarching : function (
str,
rect,
float
)
{
return false;
},
/**
* @method getVertCount
* @return {long}
*/
getVertCount : function (
)
{
return 0;
},
/**
* @method getTrianglesCount
* @return {long}
*/
getTrianglesCount : function (
)
{
return 0;
},
};