mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
[ci skip][AUTO]: updating jsbinding automatically
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,510 +0,0 @@
|
||||
/**
|
||||
* @module cocos2dx_3d_extension
|
||||
*/
|
||||
var jsb = jsb || {};
|
||||
|
||||
/**
|
||||
* @class ParticleSystem3D
|
||||
*/
|
||||
jsb.ParticleSystem3D = {
|
||||
|
||||
/**
|
||||
* @method resumeParticleSystem
|
||||
*/
|
||||
resumeParticleSystem : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method startParticleSystem
|
||||
*/
|
||||
startParticleSystem : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method isEnabled
|
||||
* @return {bool}
|
||||
*/
|
||||
isEnabled : function (
|
||||
)
|
||||
{
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method isKeepLocal
|
||||
* @return {bool}
|
||||
*/
|
||||
isKeepLocal : function (
|
||||
)
|
||||
{
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setEnabled
|
||||
* @param {bool} arg0
|
||||
*/
|
||||
setEnabled : function (
|
||||
bool
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getParticleQuota
|
||||
* @return {unsigned int}
|
||||
*/
|
||||
getParticleQuota : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getBlendFunc
|
||||
* @return {cc.BlendFunc}
|
||||
*/
|
||||
getBlendFunc : function (
|
||||
)
|
||||
{
|
||||
return cc.BlendFunc;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method pauseParticleSystem
|
||||
*/
|
||||
pauseParticleSystem : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getState
|
||||
* @return {cc.ParticleSystem3D::State}
|
||||
*/
|
||||
getState : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getAliveParticleCount
|
||||
* @return {int}
|
||||
*/
|
||||
getAliveParticleCount : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setParticleQuota
|
||||
* @param {unsigned int} arg0
|
||||
*/
|
||||
setParticleQuota : function (
|
||||
int
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setBlendFunc
|
||||
* @param {cc.BlendFunc} arg0
|
||||
*/
|
||||
setBlendFunc : function (
|
||||
blendfunc
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method stopParticleSystem
|
||||
*/
|
||||
stopParticleSystem : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setKeepLocal
|
||||
* @param {bool} arg0
|
||||
*/
|
||||
setKeepLocal : function (
|
||||
bool
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method ParticleSystem3D
|
||||
* @constructor
|
||||
*/
|
||||
ParticleSystem3D : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
* @class PUParticleSystem3D
|
||||
*/
|
||||
jsb.PUParticleSystem3D = {
|
||||
|
||||
/**
|
||||
* @method initWithFilePath
|
||||
* @param {String} arg0
|
||||
* @return {bool}
|
||||
*/
|
||||
initWithFilePath : function (
|
||||
str
|
||||
)
|
||||
{
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getParticleSystemScaleVelocity
|
||||
* @return {float}
|
||||
*/
|
||||
getParticleSystemScaleVelocity : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setEmittedSystemQuota
|
||||
* @param {unsigned int} arg0
|
||||
*/
|
||||
setEmittedSystemQuota : function (
|
||||
int
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getDefaultDepth
|
||||
* @return {float}
|
||||
*/
|
||||
getDefaultDepth : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getEmittedSystemQuota
|
||||
* @return {unsigned int}
|
||||
*/
|
||||
getEmittedSystemQuota : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method initWithFilePathAndMaterialPath
|
||||
* @param {String} arg0
|
||||
* @param {String} arg1
|
||||
* @return {bool}
|
||||
*/
|
||||
initWithFilePathAndMaterialPath : function (
|
||||
str,
|
||||
str
|
||||
)
|
||||
{
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method clearAllParticles
|
||||
*/
|
||||
clearAllParticles : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getMaterialName
|
||||
* @return {String}
|
||||
*/
|
||||
getMaterialName : function (
|
||||
)
|
||||
{
|
||||
return ;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method calulateRotationOffset
|
||||
*/
|
||||
calulateRotationOffset : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getMaxVelocity
|
||||
* @return {float}
|
||||
*/
|
||||
getMaxVelocity : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method forceUpdate
|
||||
* @param {float} arg0
|
||||
*/
|
||||
forceUpdate : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getTimeElapsedSinceStart
|
||||
* @return {float}
|
||||
*/
|
||||
getTimeElapsedSinceStart : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getEmittedEmitterQuota
|
||||
* @return {unsigned int}
|
||||
*/
|
||||
getEmittedEmitterQuota : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method isMarkedForEmission
|
||||
* @return {bool}
|
||||
*/
|
||||
isMarkedForEmission : function (
|
||||
)
|
||||
{
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getDefaultWidth
|
||||
* @return {float}
|
||||
*/
|
||||
getDefaultWidth : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setEmittedEmitterQuota
|
||||
* @param {unsigned int} arg0
|
||||
*/
|
||||
setEmittedEmitterQuota : function (
|
||||
int
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setMarkedForEmission
|
||||
* @param {bool} arg0
|
||||
*/
|
||||
setMarkedForEmission : function (
|
||||
bool
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method clone
|
||||
* @return {cc.PUParticleSystem3D}
|
||||
*/
|
||||
clone : function (
|
||||
)
|
||||
{
|
||||
return cc.PUParticleSystem3D;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setDefaultWidth
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setDefaultWidth : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method copyAttributesTo
|
||||
* @param {cc.PUParticleSystem3D} arg0
|
||||
*/
|
||||
copyAttributesTo : function (
|
||||
puparticlesystem3d
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setMaterialName
|
||||
* @param {String} arg0
|
||||
*/
|
||||
setMaterialName : function (
|
||||
str
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getParentParticleSystem
|
||||
* @return {cc.PUParticleSystem3D}
|
||||
*/
|
||||
getParentParticleSystem : function (
|
||||
)
|
||||
{
|
||||
return cc.PUParticleSystem3D;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setMaxVelocity
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setMaxVelocity : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getDefaultHeight
|
||||
* @return {float}
|
||||
*/
|
||||
getDefaultHeight : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getDerivedPosition
|
||||
* @return {vec3_object}
|
||||
*/
|
||||
getDerivedPosition : function (
|
||||
)
|
||||
{
|
||||
return cc.Vec3;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method rotationOffset
|
||||
* @param {vec3_object} arg0
|
||||
*/
|
||||
rotationOffset : function (
|
||||
vec3
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getDerivedOrientation
|
||||
* @return {cc.Quaternion}
|
||||
*/
|
||||
getDerivedOrientation : function (
|
||||
)
|
||||
{
|
||||
return cc.Quaternion;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method removeAllEmitter
|
||||
*/
|
||||
removeAllEmitter : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setParticleSystemScaleVelocity
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setParticleSystemScaleVelocity : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getDerivedScale
|
||||
* @return {vec3_object}
|
||||
*/
|
||||
getDerivedScale : function (
|
||||
)
|
||||
{
|
||||
return cc.Vec3;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setDefaultHeight
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setDefaultHeight : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method removeAllListener
|
||||
*/
|
||||
removeAllListener : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setDefaultDepth
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setDefaultDepth : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method create
|
||||
* @param {String|String} str
|
||||
* @param {String} str
|
||||
* @return {cc.PUParticleSystem3D|cc.PUParticleSystem3D|cc.PUParticleSystem3D}
|
||||
*/
|
||||
create : function(
|
||||
str,
|
||||
str
|
||||
)
|
||||
{
|
||||
return cc.PUParticleSystem3D;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method PUParticleSystem3D
|
||||
* @constructor
|
||||
*/
|
||||
PUParticleSystem3D : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
};
|
||||
@@ -13435,6 +13435,16 @@ texture2d
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setMinSeg
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setMinSeg : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getTexture
|
||||
* @return {cc.Texture2D}
|
||||
@@ -13455,6 +13465,16 @@ color3b
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getMinSeg
|
||||
* @return {float}
|
||||
*/
|
||||
getMinSeg : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setBlendFunc
|
||||
* @param {cc.BlendFunc} arg0
|
||||
@@ -13465,6 +13485,16 @@ blendfunc
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setFadeTime
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setFadeTime : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setStartingPositionInitialized
|
||||
* @param {bool} arg0
|
||||
@@ -13475,6 +13505,16 @@ bool
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getFadeTime
|
||||
* @return {float}
|
||||
*/
|
||||
getFadeTime : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getBlendFunc
|
||||
* @return {cc.BlendFunc}
|
||||
|
||||
@@ -1,520 +0,0 @@
|
||||
/**
|
||||
* @module cocos2dx_navmesh
|
||||
*/
|
||||
var jsb = jsb || {};
|
||||
|
||||
/**
|
||||
* @class NavMeshAgent
|
||||
*/
|
||||
jsb.NavMeshAgent = {
|
||||
|
||||
/**
|
||||
* @method setMaxSpeed
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setMaxSpeed : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method syncToNode
|
||||
*/
|
||||
syncToNode : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method completeOffMeshLink
|
||||
*/
|
||||
completeOffMeshLink : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getSeparationWeight
|
||||
* @return {float}
|
||||
*/
|
||||
getSeparationWeight : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setAutoTraverseOffMeshLink
|
||||
* @param {bool} arg0
|
||||
*/
|
||||
setAutoTraverseOffMeshLink : function (
|
||||
bool
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getCurrentVelocity
|
||||
* @return {vec3_object}
|
||||
*/
|
||||
getCurrentVelocity : function (
|
||||
)
|
||||
{
|
||||
return cc.Vec3;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method syncToAgent
|
||||
*/
|
||||
syncToAgent : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method isOnOffMeshLink
|
||||
* @return {bool}
|
||||
*/
|
||||
isOnOffMeshLink : function (
|
||||
)
|
||||
{
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setSeparationWeight
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setSeparationWeight : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method pause
|
||||
*/
|
||||
pause : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setAutoOrientation
|
||||
* @param {bool} arg0
|
||||
*/
|
||||
setAutoOrientation : function (
|
||||
bool
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getHeight
|
||||
* @return {float}
|
||||
*/
|
||||
getHeight : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getMaxSpeed
|
||||
* @return {float}
|
||||
*/
|
||||
getMaxSpeed : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getCurrentOffMeshLinkData
|
||||
* @return {cc.OffMeshLinkData}
|
||||
*/
|
||||
getCurrentOffMeshLinkData : function (
|
||||
)
|
||||
{
|
||||
return cc.OffMeshLinkData;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getRadius
|
||||
* @return {float}
|
||||
*/
|
||||
getRadius : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setSyncFlag
|
||||
* @param {cc.NavMeshAgent::NavMeshAgentSyncFlag} arg0
|
||||
*/
|
||||
setSyncFlag : function (
|
||||
navmeshagentsyncflag
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getSyncFlag
|
||||
* @return {cc.NavMeshAgent::NavMeshAgentSyncFlag}
|
||||
*/
|
||||
getSyncFlag : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method resume
|
||||
*/
|
||||
resume : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method stop
|
||||
*/
|
||||
stop : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setMaxAcceleration
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setMaxAcceleration : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setOrientationRefAxes
|
||||
* @param {vec3_object} arg0
|
||||
*/
|
||||
setOrientationRefAxes : function (
|
||||
vec3
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getMaxAcceleration
|
||||
* @return {float}
|
||||
*/
|
||||
getMaxAcceleration : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setHeight
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setHeight : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getObstacleAvoidanceType
|
||||
* @return {unsigned char}
|
||||
*/
|
||||
getObstacleAvoidanceType : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getVelocity
|
||||
* @return {vec3_object}
|
||||
*/
|
||||
getVelocity : function (
|
||||
)
|
||||
{
|
||||
return cc.Vec3;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setRadius
|
||||
* @param {float} arg0
|
||||
*/
|
||||
setRadius : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setObstacleAvoidanceType
|
||||
* @param {unsigned char} arg0
|
||||
*/
|
||||
setObstacleAvoidanceType : function (
|
||||
char
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getNavMeshAgentComponentName
|
||||
* @return {String}
|
||||
*/
|
||||
getNavMeshAgentComponentName : function (
|
||||
)
|
||||
{
|
||||
return ;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method create
|
||||
* @param {cc.NavMeshAgentParam} arg0
|
||||
* @return {cc.NavMeshAgent}
|
||||
*/
|
||||
create : function (
|
||||
navmeshagentparam
|
||||
)
|
||||
{
|
||||
return cc.NavMeshAgent;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method NavMeshAgent
|
||||
* @constructor
|
||||
*/
|
||||
NavMeshAgent : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
* @class NavMeshObstacle
|
||||
*/
|
||||
jsb.NavMeshObstacle = {
|
||||
|
||||
/**
|
||||
* @method getSyncFlag
|
||||
* @return {cc.NavMeshObstacle::NavMeshObstacleSyncFlag}
|
||||
*/
|
||||
getSyncFlag : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method initWith
|
||||
* @param {float} arg0
|
||||
* @param {float} arg1
|
||||
* @return {bool}
|
||||
*/
|
||||
initWith : function (
|
||||
float,
|
||||
float
|
||||
)
|
||||
{
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method syncToObstacle
|
||||
*/
|
||||
syncToObstacle : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method syncToNode
|
||||
*/
|
||||
syncToNode : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getHeight
|
||||
* @return {float}
|
||||
*/
|
||||
getHeight : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setSyncFlag
|
||||
* @param {cc.NavMeshObstacle::NavMeshObstacleSyncFlag} arg0
|
||||
*/
|
||||
setSyncFlag : function (
|
||||
navmeshobstaclesyncflag
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getRadius
|
||||
* @return {float}
|
||||
*/
|
||||
getRadius : function (
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method create
|
||||
* @param {float} arg0
|
||||
* @param {float} arg1
|
||||
* @return {cc.NavMeshObstacle}
|
||||
*/
|
||||
create : function (
|
||||
float,
|
||||
float
|
||||
)
|
||||
{
|
||||
return cc.NavMeshObstacle;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method getNavMeshObstacleComponentName
|
||||
* @return {String}
|
||||
*/
|
||||
getNavMeshObstacleComponentName : function (
|
||||
)
|
||||
{
|
||||
return ;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method NavMeshObstacle
|
||||
* @constructor
|
||||
*/
|
||||
NavMeshObstacle : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
* @class NavMesh
|
||||
*/
|
||||
jsb.NavMesh = {
|
||||
|
||||
/**
|
||||
* @method removeNavMeshObstacle
|
||||
* @param {cc.NavMeshObstacle} arg0
|
||||
*/
|
||||
removeNavMeshObstacle : function (
|
||||
navmeshobstacle
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method removeNavMeshAgent
|
||||
* @param {cc.NavMeshAgent} arg0
|
||||
*/
|
||||
removeNavMeshAgent : function (
|
||||
navmeshagent
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method update
|
||||
* @param {float} arg0
|
||||
*/
|
||||
update : function (
|
||||
float
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method isDebugDrawEnabled
|
||||
* @return {bool}
|
||||
*/
|
||||
isDebugDrawEnabled : function (
|
||||
)
|
||||
{
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method addNavMeshAgent
|
||||
* @param {cc.NavMeshAgent} arg0
|
||||
*/
|
||||
addNavMeshAgent : function (
|
||||
navmeshagent
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method addNavMeshObstacle
|
||||
* @param {cc.NavMeshObstacle} arg0
|
||||
*/
|
||||
addNavMeshObstacle : function (
|
||||
navmeshobstacle
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method setDebugDrawEnable
|
||||
* @param {bool} arg0
|
||||
*/
|
||||
setDebugDrawEnable : function (
|
||||
bool
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method debugDraw
|
||||
* @param {cc.Renderer} arg0
|
||||
*/
|
||||
debugDraw : function (
|
||||
renderer
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
/**
|
||||
* @method create
|
||||
* @param {String} arg0
|
||||
* @param {String} arg1
|
||||
* @return {cc.NavMesh}
|
||||
*/
|
||||
create : function (
|
||||
str,
|
||||
str
|
||||
)
|
||||
{
|
||||
return cc.NavMesh;
|
||||
},
|
||||
|
||||
/**
|
||||
* @method NavMesh
|
||||
* @constructor
|
||||
*/
|
||||
NavMesh : function (
|
||||
)
|
||||
{
|
||||
},
|
||||
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
@@ -40179,6 +40179,26 @@ bool js_cocos2dx_MotionStreak_setTexture(JSContext *cx, uint32_t argc, jsval *vp
|
||||
JS_ReportError(cx, "js_cocos2dx_MotionStreak_setTexture : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||
return false;
|
||||
}
|
||||
bool js_cocos2dx_MotionStreak_setMinSeg(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::MotionStreak* cobj = (cocos2d::MotionStreak *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_MotionStreak_setMinSeg : Invalid Native Object");
|
||||
if (argc == 1) {
|
||||
double arg0 = 0;
|
||||
ok &= JS::ToNumber( cx, args.get(0), &arg0) && !isnan(arg0);
|
||||
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_MotionStreak_setMinSeg : Error processing arguments");
|
||||
cobj->setMinSeg(arg0);
|
||||
args.rval().setUndefined();
|
||||
return true;
|
||||
}
|
||||
|
||||
JS_ReportError(cx, "js_cocos2dx_MotionStreak_setMinSeg : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||
return false;
|
||||
}
|
||||
bool js_cocos2dx_MotionStreak_getTexture(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
{
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
@@ -40224,6 +40244,24 @@ bool js_cocos2dx_MotionStreak_tintWithColor(JSContext *cx, uint32_t argc, jsval
|
||||
JS_ReportError(cx, "js_cocos2dx_MotionStreak_tintWithColor : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||
return false;
|
||||
}
|
||||
bool js_cocos2dx_MotionStreak_getMinSeg(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
{
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
js_proxy_t *proxy = jsb_get_js_proxy(obj);
|
||||
cocos2d::MotionStreak* cobj = (cocos2d::MotionStreak *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_MotionStreak_getMinSeg : Invalid Native Object");
|
||||
if (argc == 0) {
|
||||
double ret = cobj->getMinSeg();
|
||||
jsval jsret = JSVAL_NULL;
|
||||
jsret = DOUBLE_TO_JSVAL(ret);
|
||||
args.rval().set(jsret);
|
||||
return true;
|
||||
}
|
||||
|
||||
JS_ReportError(cx, "js_cocos2dx_MotionStreak_getMinSeg : wrong number of arguments: %d, was expecting %d", argc, 0);
|
||||
return false;
|
||||
}
|
||||
bool js_cocos2dx_MotionStreak_setBlendFunc(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
{
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
@@ -40244,6 +40282,26 @@ bool js_cocos2dx_MotionStreak_setBlendFunc(JSContext *cx, uint32_t argc, jsval *
|
||||
JS_ReportError(cx, "js_cocos2dx_MotionStreak_setBlendFunc : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||
return false;
|
||||
}
|
||||
bool js_cocos2dx_MotionStreak_setFadeTime(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::MotionStreak* cobj = (cocos2d::MotionStreak *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_MotionStreak_setFadeTime : Invalid Native Object");
|
||||
if (argc == 1) {
|
||||
double arg0 = 0;
|
||||
ok &= JS::ToNumber( cx, args.get(0), &arg0) && !isnan(arg0);
|
||||
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_MotionStreak_setFadeTime : Error processing arguments");
|
||||
cobj->setFadeTime(arg0);
|
||||
args.rval().setUndefined();
|
||||
return true;
|
||||
}
|
||||
|
||||
JS_ReportError(cx, "js_cocos2dx_MotionStreak_setFadeTime : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||
return false;
|
||||
}
|
||||
bool js_cocos2dx_MotionStreak_setStartingPositionInitialized(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
{
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
@@ -40264,6 +40322,24 @@ bool js_cocos2dx_MotionStreak_setStartingPositionInitialized(JSContext *cx, uint
|
||||
JS_ReportError(cx, "js_cocos2dx_MotionStreak_setStartingPositionInitialized : wrong number of arguments: %d, was expecting %d", argc, 1);
|
||||
return false;
|
||||
}
|
||||
bool js_cocos2dx_MotionStreak_getFadeTime(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
{
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
js_proxy_t *proxy = jsb_get_js_proxy(obj);
|
||||
cocos2d::MotionStreak* cobj = (cocos2d::MotionStreak *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_MotionStreak_getFadeTime : Invalid Native Object");
|
||||
if (argc == 0) {
|
||||
double ret = cobj->getFadeTime();
|
||||
jsval jsret = JSVAL_NULL;
|
||||
jsret = DOUBLE_TO_JSVAL(ret);
|
||||
args.rval().set(jsret);
|
||||
return true;
|
||||
}
|
||||
|
||||
JS_ReportError(cx, "js_cocos2dx_MotionStreak_getFadeTime : wrong number of arguments: %d, was expecting %d", argc, 0);
|
||||
return false;
|
||||
}
|
||||
bool js_cocos2dx_MotionStreak_getBlendFunc(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
{
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
@@ -40615,10 +40691,14 @@ void js_register_cocos2dx_MotionStreak(JSContext *cx, JS::HandleObject global) {
|
||||
static JSFunctionSpec funcs[] = {
|
||||
JS_FN("reset", js_cocos2dx_MotionStreak_reset, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("setTexture", js_cocos2dx_MotionStreak_setTexture, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("setMinSeg", js_cocos2dx_MotionStreak_setMinSeg, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("getTexture", js_cocos2dx_MotionStreak_getTexture, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("tintWithColor", js_cocos2dx_MotionStreak_tintWithColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("getMinSeg", js_cocos2dx_MotionStreak_getMinSeg, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("setBlendFunc", js_cocos2dx_MotionStreak_setBlendFunc, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("setFadeTime", js_cocos2dx_MotionStreak_setFadeTime, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("setStartingPositionInitialized", js_cocos2dx_MotionStreak_setStartingPositionInitialized, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("getFadeTime", js_cocos2dx_MotionStreak_getFadeTime, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("getBlendFunc", js_cocos2dx_MotionStreak_getBlendFunc, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("isStartingPositionInitialized", js_cocos2dx_MotionStreak_isStartingPositionInitialized, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
JS_FN("isFastMode", js_cocos2dx_MotionStreak_isFastMode, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
|
||||
|
||||
@@ -2454,10 +2454,14 @@ void js_register_cocos2dx_MotionStreak(JSContext *cx, JS::HandleObject global);
|
||||
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
|
||||
bool js_cocos2dx_MotionStreak_reset(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_setTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_setMinSeg(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_getTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_tintWithColor(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_getMinSeg(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_setBlendFunc(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_setFadeTime(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_setStartingPositionInitialized(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_getFadeTime(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_getBlendFunc(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_isStartingPositionInitialized(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
bool js_cocos2dx_MotionStreak_isFastMode(JSContext *cx, uint32_t argc, jsval *vp);
|
||||
|
||||
Reference in New Issue
Block a user