From e63c4d1ba620da091cd794e119385cd9b34f4d24 Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 7 Mar 2019 18:29:06 +0800 Subject: [PATCH] make lua binding work (#19474) --- cocos/navmesh/CCNavMeshDebugDraw.h | 8 +- .../auto/api/AbstractCheckButton.lua | 203 - .../lua-bindings/auto/api/Action.lua | 127 - .../lua-bindings/auto/api/ActionCamera.lua | 75 - .../lua-bindings/auto/api/ActionEase.lua | 42 - .../lua-bindings/auto/api/ActionFadeFrame.lua | 37 - .../lua-bindings/auto/api/ActionFloat.lua | 65 - .../lua-bindings/auto/api/ActionFrame.lua | 90 - .../lua-bindings/auto/api/ActionInstant.lua | 46 - .../lua-bindings/auto/api/ActionInterval.lua | 68 - .../lua-bindings/auto/api/ActionManager.lua | 173 - .../lua-bindings/auto/api/ActionManagerEx.lua | 67 - .../lua-bindings/auto/api/ActionMoveFrame.lua | 37 - .../lua-bindings/auto/api/ActionObject.lua | 137 - .../auto/api/ActionRotationFrame.lua | 37 - .../auto/api/ActionScaleFrame.lua | 52 - .../lua-bindings/auto/api/ActionTimeline.lua | 280 - .../auto/api/ActionTimelineCache.lua | 89 - .../auto/api/ActionTimelineData.lua | 40 - .../auto/api/ActionTimelineNode.lua | 61 - .../lua-bindings/auto/api/ActionTintFrame.lua | 37 - .../lua-bindings/auto/api/ActionTween.lua | 63 - .../lua-bindings/auto/api/AlphaFrame.lua | 38 - .../lua-bindings/auto/api/AmbientLight.lua | 28 - .../auto/api/AnchorPointFrame.lua | 38 - .../lua-bindings/auto/api/Animate.lua | 83 - .../lua-bindings/auto/api/Animate3D.lua | 176 - .../lua-bindings/auto/api/Animation.lua | 168 - .../lua-bindings/auto/api/Animation3D.lua | 42 - .../lua-bindings/auto/api/AnimationCache.lua | 86 - .../lua-bindings/auto/api/AnimationData.lua | 39 - .../lua-bindings/auto/api/AnimationFrame.lua | 86 - .../lua-bindings/auto/api/Application.lua | 57 - .../lua-bindings/auto/api/Armature.lua | 230 - .../auto/api/ArmatureAnimation.lua | 158 - .../lua-bindings/auto/api/ArmatureData.lua | 39 - .../auto/api/ArmatureDataManager.lua | 159 - .../auto/api/ArmatureDisplayData.lua | 19 - .../lua-bindings/auto/api/AssetsManager.lua | 101 - .../lua-bindings/auto/api/AssetsManagerEx.lua | 100 - .../lua-bindings/auto/api/AsyncTaskPool.lua | 43 - .../lua-bindings/auto/api/AtlasNode.lua | 153 - .../lua-bindings/auto/api/AttachNode.lua | 48 - .../lua-bindings/auto/api/AudioEngine.lua | 229 - .../lua-bindings/auto/api/AudioProfile.lua | 13 - .../lua-bindings/auto/api/AutoPolygon.lua | 16 - .../lua-bindings/auto/api/BaseData.lua | 32 - .../lua-bindings/auto/api/BaseLight.lua | 53 - .../lua-bindings/auto/api/BatchNode.lua | 46 - .../lua-bindings/auto/api/BezierBy.lua | 48 - .../lua-bindings/auto/api/BezierTo.lua | 40 - .../lua-bindings/auto/api/BillBoard.lua | 57 - .../lua-bindings/auto/api/BlendFuncFrame.lua | 38 - .../scripting/lua-bindings/auto/api/Blink.lua | 65 - .../scripting/lua-bindings/auto/api/Bone.lua | 288 - .../lua-bindings/auto/api/BoneData.lua | 39 - .../lua-bindings/auto/api/BoneNode.lua | 223 - .../lua-bindings/auto/api/Bundle3D.lua | 72 - .../lua-bindings/auto/api/Button.lua | 365 - .../auto/api/CCBAnimationManager.lua | 257 - .../lua-bindings/auto/api/CCBReader.lua | 144 - .../lua-bindings/auto/api/CSLoader.lua | 110 - .../lua-bindings/auto/api/CallFunc.lua | 53 - .../lua-bindings/auto/api/Camera.lua | 313 - .../auto/api/CameraBackgroundBrush.lua | 84 - .../auto/api/CameraBackgroundColorBrush.lua | 52 - .../auto/api/CameraBackgroundDepthBrush.lua | 50 - .../auto/api/CameraBackgroundSkyBoxBrush.lua | 80 - .../auto/api/CardinalSplineBy.lua | 39 - .../auto/api/CardinalSplineTo.lua | 67 - .../lua-bindings/auto/api/CatmullRomBy.lua | 29 - .../lua-bindings/auto/api/CatmullRomTo.lua | 29 - .../lua-bindings/auto/api/CheckBox.lua | 48 - .../lua-bindings/auto/api/ClippingNode.lua | 111 - .../auto/api/ClippingRectangleNode.lua | 54 - .../lua-bindings/auto/api/ColorFrame.lua | 38 - .../lua-bindings/auto/api/ComAttribute.lua | 103 - .../lua-bindings/auto/api/ComAudio.lua | 234 - .../lua-bindings/auto/api/ComController.lua | 52 - .../auto/api/ComExtensionData.lua | 71 - .../lua-bindings/auto/api/ComRender.lua | 56 - .../lua-bindings/auto/api/Component.lua | 77 - .../lua-bindings/auto/api/ComponentLua.lua | 34 - .../lua-bindings/auto/api/Console.lua | 62 - .../lua-bindings/auto/api/ContourData.lua | 32 - .../lua-bindings/auto/api/Control.lua | 155 - .../lua-bindings/auto/api/ControlButton.lua | 420 - .../auto/api/ControlColourPicker.lua | 95 - .../auto/api/ControlHuePicker.lua | 110 - .../auto/api/ControlPotentiometer.lua | 189 - .../api/ControlSaturationBrightnessPicker.lua | 78 - .../lua-bindings/auto/api/ControlSlider.lua | 182 - .../lua-bindings/auto/api/ControlStepper.lua | 187 - .../lua-bindings/auto/api/ControlSwitch.lua | 107 - .../lua-bindings/auto/api/Controller.lua | 83 - .../lua-bindings/auto/api/DelayTime.lua | 41 - .../lua-bindings/auto/api/Device.lua | 46 - .../lua-bindings/auto/api/DirectionLight.lua | 50 - .../lua-bindings/auto/api/Director.lua | 569 - .../lua-bindings/auto/api/DisplayData.lua | 33 - .../lua-bindings/auto/api/DisplayManager.lua | 150 - .../lua-bindings/auto/api/DrawNode.lua | 276 - .../lua-bindings/auto/api/EaseBackIn.lua | 39 - .../lua-bindings/auto/api/EaseBackInOut.lua | 39 - .../lua-bindings/auto/api/EaseBackOut.lua | 39 - .../auto/api/EaseBezierAction.lua | 51 - .../lua-bindings/auto/api/EaseBounce.lua | 7 - .../lua-bindings/auto/api/EaseBounceIn.lua | 39 - .../lua-bindings/auto/api/EaseBounceInOut.lua | 39 - .../lua-bindings/auto/api/EaseBounceOut.lua | 39 - .../auto/api/EaseCircleActionIn.lua | 39 - .../auto/api/EaseCircleActionInOut.lua | 39 - .../auto/api/EaseCircleActionOut.lua | 39 - .../auto/api/EaseCubicActionIn.lua | 39 - .../auto/api/EaseCubicActionInOut.lua | 39 - .../auto/api/EaseCubicActionOut.lua | 39 - .../lua-bindings/auto/api/EaseElastic.lua | 33 - .../lua-bindings/auto/api/EaseElasticIn.lua | 40 - .../auto/api/EaseElasticInOut.lua | 40 - .../lua-bindings/auto/api/EaseElasticOut.lua | 40 - .../auto/api/EaseExponentialIn.lua | 39 - .../auto/api/EaseExponentialInOut.lua | 39 - .../auto/api/EaseExponentialOut.lua | 39 - .../lua-bindings/auto/api/EaseIn.lua | 40 - .../lua-bindings/auto/api/EaseInOut.lua | 40 - .../lua-bindings/auto/api/EaseOut.lua | 40 - .../auto/api/EaseQuadraticActionIn.lua | 39 - .../auto/api/EaseQuadraticActionInOut.lua | 39 - .../auto/api/EaseQuadraticActionOut.lua | 39 - .../auto/api/EaseQuarticActionIn.lua | 39 - .../auto/api/EaseQuarticActionInOut.lua | 39 - .../auto/api/EaseQuarticActionOut.lua | 39 - .../auto/api/EaseQuinticActionIn.lua | 39 - .../auto/api/EaseQuinticActionInOut.lua | 39 - .../auto/api/EaseQuinticActionOut.lua | 39 - .../lua-bindings/auto/api/EaseRateAction.lua | 41 - .../lua-bindings/auto/api/EaseSineIn.lua | 39 - .../lua-bindings/auto/api/EaseSineInOut.lua | 39 - .../lua-bindings/auto/api/EaseSineOut.lua | 39 - .../lua-bindings/auto/api/EditBox.lua | 492 - .../scripting/lua-bindings/auto/api/Event.lua | 43 - .../auto/api/EventAcceleration.lua | 7 - .../auto/api/EventAssetsManagerEx.lua | 70 - .../lua-bindings/auto/api/EventController.lua | 59 - .../lua-bindings/auto/api/EventCustom.lua | 23 - .../lua-bindings/auto/api/EventDispatcher.lua | 163 - .../lua-bindings/auto/api/EventFocus.lua | 18 - .../lua-bindings/auto/api/EventFrame.lua | 51 - .../lua-bindings/auto/api/EventKeyboard.lua | 18 - .../lua-bindings/auto/api/EventListener.lua | 39 - .../auto/api/EventListenerAcceleration.lua | 32 - .../auto/api/EventListenerAssetsManagerEx.lua | 33 - .../auto/api/EventListenerController.lua | 26 - .../auto/api/EventListenerCustom.lua | 25 - .../auto/api/EventListenerFocus.lua | 31 - .../auto/api/EventListenerKeyboard.lua | 31 - .../auto/api/EventListenerMouse.lua | 31 - .../auto/api/EventListenerPhysicsContact.lua | 26 - .../EventListenerPhysicsContactWithBodies.lua | 29 - .../EventListenerPhysicsContactWithGroup.lua | 28 - .../EventListenerPhysicsContactWithShapes.lua | 29 - .../auto/api/EventListenerTouchAllAtOnce.lua | 31 - .../auto/api/EventListenerTouchOneByOne.lua | 46 - .../lua-bindings/auto/api/EventMouse.lua | 137 - .../lua-bindings/auto/api/EventTouch.lua | 29 - .../lua-bindings/auto/api/FadeIn.lua | 48 - .../lua-bindings/auto/api/FadeOut.lua | 47 - .../lua-bindings/auto/api/FadeOutBLTiles.lua | 38 - .../auto/api/FadeOutDownTiles.lua | 38 - .../lua-bindings/auto/api/FadeOutTRTiles.lua | 74 - .../lua-bindings/auto/api/FadeOutUpTiles.lua | 46 - .../lua-bindings/auto/api/FadeTo.lua | 59 - .../lua-bindings/auto/api/FileUtils.lua | 469 - .../auto/api/FiniteTimeAction.lua | 34 - .../scripting/lua-bindings/auto/api/FlipX.lua | 48 - .../lua-bindings/auto/api/FlipX3D.lua | 55 - .../scripting/lua-bindings/auto/api/FlipY.lua | 48 - .../lua-bindings/auto/api/FlipY3D.lua | 35 - .../lua-bindings/auto/api/Follow.lua | 122 - .../scripting/lua-bindings/auto/api/Frame.lua | 104 - .../lua-bindings/auto/api/FrameData.lua | 26 - .../lua-bindings/auto/api/GLProgram.lua | 136 - .../lua-bindings/auto/api/GLProgramCache.lua | 59 - .../lua-bindings/auto/api/GLProgramState.lua | 249 - .../lua-bindings/auto/api/GLView.lua | 307 - .../lua-bindings/auto/api/GLViewImpl.lua | 49 - .../lua-bindings/auto/api/GUIReader.lua | 53 - .../lua-bindings/auto/api/Grid3D.lua | 73 - .../lua-bindings/auto/api/Grid3DAction.lua | 26 - .../lua-bindings/auto/api/GridAction.lua | 44 - .../lua-bindings/auto/api/GridBase.lua | 163 - .../scripting/lua-bindings/auto/api/HBox.lua | 36 - .../lua-bindings/auto/api/Helper.lua | 94 - .../scripting/lua-bindings/auto/api/Hide.lua | 39 - .../scripting/lua-bindings/auto/api/Image.lua | 110 - .../lua-bindings/auto/api/ImageView.lua | 158 - .../auto/api/InnerActionFrame.lua | 91 - .../lua-bindings/auto/api/JumpBy.lua | 65 - .../lua-bindings/auto/api/JumpTiles3D.lua | 86 - .../lua-bindings/auto/api/JumpTo.lua | 58 - .../scripting/lua-bindings/auto/api/Label.lua | 649 - .../lua-bindings/auto/api/LabelAtlas.lua | 64 - .../scripting/lua-bindings/auto/api/Layer.lua | 32 - .../lua-bindings/auto/api/LayerColor.lua | 107 - .../lua-bindings/auto/api/LayerGradient.lua | 138 - .../lua-bindings/auto/api/LayerMultiplex.lua | 59 - .../auto/api/LayerRadialGradient.lua | 170 - .../lua-bindings/auto/api/Layout.lua | 356 - .../lua-bindings/auto/api/LayoutComponent.lua | 408 - .../lua-bindings/auto/api/LayoutParameter.lua | 51 - .../lua-bindings/auto/api/Lens3D.lua | 94 - .../auto/api/LinearLayoutParameter.lua | 51 - .../lua-bindings/auto/api/Liquid.lua | 86 - .../lua-bindings/auto/api/ListView.lua | 495 - .../lua-bindings/auto/api/LoadingBar.lua | 136 - .../lua-bindings/auto/api/Manifest.lua | 49 - .../lua-bindings/auto/api/Material.lua | 104 - .../scripting/lua-bindings/auto/api/Menu.lua | 111 - .../lua-bindings/auto/api/MenuItem.lua | 62 - .../auto/api/MenuItemAtlasFont.lua | 25 - .../lua-bindings/auto/api/MenuItemFont.lua | 85 - .../lua-bindings/auto/api/MenuItemImage.lua | 50 - .../lua-bindings/auto/api/MenuItemLabel.lua | 85 - .../lua-bindings/auto/api/MenuItemSprite.lua | 82 - .../lua-bindings/auto/api/MenuItemToggle.lua | 84 - .../scripting/lua-bindings/auto/api/Mesh.lua | 133 - .../lua-bindings/auto/api/MotionStreak.lua | 200 - .../lua-bindings/auto/api/MotionStreak3D.lua | 237 - .../lua-bindings/auto/api/MoveBy.lua | 57 - .../lua-bindings/auto/api/MoveTo.lua | 50 - .../auto/api/MovementBoneData.lua | 39 - .../lua-bindings/auto/api/MovementData.lua | 33 - .../lua-bindings/auto/api/NavMesh.lua | 78 - .../lua-bindings/auto/api/NavMeshAgent.lua | 225 - .../lua-bindings/auto/api/NavMeshObstacle.lua | 86 - .../scripting/lua-bindings/auto/api/Node.lua | 1235 -- .../lua-bindings/auto/api/NodeGrid.lua | 68 - .../lua-bindings/auto/api/OrbitCamera.lua | 67 - .../auto/api/PUParticleSystem3D.lua | 346 - .../lua-bindings/auto/api/PageTurn3D.lua | 37 - .../lua-bindings/auto/api/PageView.lua | 289 - .../lua-bindings/auto/api/ParallaxNode.lua | 71 - .../auto/api/ParticleBatchNode.lua | 177 - .../lua-bindings/auto/api/ParticleData.lua | 39 - .../auto/api/ParticleDisplayData.lua | 19 - .../auto/api/ParticleExplosion.lua | 43 - .../lua-bindings/auto/api/ParticleFire.lua | 43 - .../auto/api/ParticleFireworks.lua | 43 - .../lua-bindings/auto/api/ParticleFlower.lua | 43 - .../lua-bindings/auto/api/ParticleGalaxy.lua | 43 - .../lua-bindings/auto/api/ParticleMeteor.lua | 43 - .../lua-bindings/auto/api/ParticleRain.lua | 43 - .../lua-bindings/auto/api/ParticleSmoke.lua | 43 - .../lua-bindings/auto/api/ParticleSnow.lua | 43 - .../lua-bindings/auto/api/ParticleSpiral.lua | 43 - .../lua-bindings/auto/api/ParticleSun.lua | 43 - .../lua-bindings/auto/api/ParticleSystem.lua | 881 -- .../auto/api/ParticleSystem3D.lua | 157 - .../auto/api/ParticleSystemQuad.lua | 77 - .../scripting/lua-bindings/auto/api/Pass.lua | 73 - .../auto/api/Physics3D6DofConstraint.lua | 98 - .../auto/api/Physics3DComponent.lua | 83 - .../auto/api/Physics3DConeTwistConstraint.lua | 147 - .../auto/api/Physics3DConstraint.lua | 83 - .../auto/api/Physics3DHingeConstraint.lua | 167 - .../lua-bindings/auto/api/Physics3DObject.lua | 70 - .../api/Physics3DPointToPointConstraint.lua | 61 - .../auto/api/Physics3DRigidBody.lua | 355 - .../lua-bindings/auto/api/Physics3DShape.lua | 101 - .../auto/api/Physics3DSliderConstraint.lua | 444 - .../lua-bindings/auto/api/Physics3DWorld.lua | 112 - .../lua-bindings/auto/api/PhysicsBody.lua | 546 - .../lua-bindings/auto/api/PhysicsContact.lua | 37 - .../auto/api/PhysicsContactPostSolve.lua | 24 - .../auto/api/PhysicsContactPreSolve.lua | 51 - .../lua-bindings/auto/api/PhysicsJoint.lua | 84 - .../auto/api/PhysicsJointDistance.lua | 41 - .../auto/api/PhysicsJointFixed.lua | 26 - .../auto/api/PhysicsJointGear.lua | 54 - .../auto/api/PhysicsJointGroove.lua | 69 - .../auto/api/PhysicsJointLimit.lua | 78 - .../auto/api/PhysicsJointMotor.lua | 39 - .../lua-bindings/auto/api/PhysicsJointPin.lua | 24 - .../auto/api/PhysicsJointRatchet.lua | 67 - .../auto/api/PhysicsJointRotaryLimit.lua | 50 - .../auto/api/PhysicsJointRotarySpring.lua | 67 - .../auto/api/PhysicsJointSpring.lua | 97 - .../lua-bindings/auto/api/PhysicsShape.lua | 249 - .../lua-bindings/auto/api/PhysicsShapeBox.lua | 35 - .../auto/api/PhysicsShapeCircle.lua | 63 - .../auto/api/PhysicsShapeEdgeBox.lua | 29 - .../auto/api/PhysicsShapeEdgeChain.lua | 21 - .../auto/api/PhysicsShapeEdgePolygon.lua | 21 - .../auto/api/PhysicsShapeEdgeSegment.lua | 43 - .../auto/api/PhysicsShapePolygon.lua | 37 - .../lua-bindings/auto/api/PhysicsSprite3D.lua | 38 - .../lua-bindings/auto/api/PhysicsWorld.lua | 225 - .../scripting/lua-bindings/auto/api/Place.lua | 48 - .../lua-bindings/auto/api/PlayableFrame.lua | 38 - .../lua-bindings/auto/api/PointLight.lua | 45 - .../lua-bindings/auto/api/PolygonInfo.lua | 93 - .../lua-bindings/auto/api/PositionFrame.lua | 64 - .../lua-bindings/auto/api/ProgressFromTo.lua | 65 - .../lua-bindings/auto/api/ProgressTimer.lua | 171 - .../lua-bindings/auto/api/ProgressTo.lua | 61 - .../lua-bindings/auto/api/Properties.lua | 307 - .../lua-bindings/auto/api/ProtectedNode.lua | 151 - .../lua-bindings/auto/api/RadioButton.lua | 48 - .../auto/api/RadioButtonGroup.lua | 113 - cocos/scripting/lua-bindings/auto/api/Ref.lua | 34 - .../lua-bindings/auto/api/RelativeBox.lua | 36 - .../auto/api/RelativeLayoutParameter.lua | 81 - .../lua-bindings/auto/api/RemoveSelf.lua | 47 - .../lua-bindings/auto/api/RenderState.lua | 62 - .../lua-bindings/auto/api/RenderTexture.lua | 243 - .../lua-bindings/auto/api/Repeat.lua | 85 - .../lua-bindings/auto/api/RepeatForever.lua | 76 - .../lua-bindings/auto/api/ReuseGrid.lua | 50 - .../lua-bindings/auto/api/RichElement.lua | 42 - .../auto/api/RichElementCustomNode.lua | 45 - .../auto/api/RichElementImage.lua | 74 - .../auto/api/RichElementNewLine.lua | 28 - .../lua-bindings/auto/api/RichElementText.lua | 85 - .../lua-bindings/auto/api/RichText.lua | 365 - .../lua-bindings/auto/api/Ripple3D.lua | 109 - .../lua-bindings/auto/api/RotateBy.lua | 61 - .../lua-bindings/auto/api/RotateTo.lua | 60 - .../lua-bindings/auto/api/RotationFrame.lua | 38 - .../auto/api/RotationSkewFrame.lua | 25 - .../lua-bindings/auto/api/Scale9Sprite.lua | 331 - .../lua-bindings/auto/api/ScaleBy.lua | 44 - .../lua-bindings/auto/api/ScaleFrame.lua | 58 - .../lua-bindings/auto/api/ScaleTo.lua | 63 - .../scripting/lua-bindings/auto/api/Scene.lua | 116 - .../lua-bindings/auto/api/SceneReader.lua | 53 - .../lua-bindings/auto/api/Scheduler.lua | 43 - .../lua-bindings/auto/api/ScrollView.lua | 610 - .../lua-bindings/auto/api/Sequence.lua | 66 - .../lua-bindings/auto/api/Shaky3D.lua | 56 - .../lua-bindings/auto/api/ShakyTiles3D.lua | 56 - .../auto/api/ShatteredTiles3D.lua | 56 - .../scripting/lua-bindings/auto/api/Show.lua | 39 - .../lua-bindings/auto/api/ShuffleTiles.lua | 66 - .../auto/api/SimpleAudioEngine.lua | 206 - .../lua-bindings/auto/api/Skeleton3D.lua | 72 - .../auto/api/SkeletonAnimation.lua | 181 - .../lua-bindings/auto/api/SkeletonNode.lua | 62 - .../auto/api/SkeletonRenderer.lua | 217 - .../lua-bindings/auto/api/SkewBy.lua | 54 - .../lua-bindings/auto/api/SkewFrame.lua | 51 - .../lua-bindings/auto/api/SkewTo.lua | 61 - .../scripting/lua-bindings/auto/api/Skin.lua | 94 - .../lua-bindings/auto/api/Skybox.lua | 66 - .../lua-bindings/auto/api/Slider.lua | 300 - .../scripting/lua-bindings/auto/api/Spawn.lua | 60 - .../scripting/lua-bindings/auto/api/Speed.lua | 100 - .../lua-bindings/auto/api/SplitCols.lua | 55 - .../lua-bindings/auto/api/SplitRows.lua | 55 - .../lua-bindings/auto/api/SpotLight.lua | 113 - .../lua-bindings/auto/api/Sprite.lua | 518 - .../lua-bindings/auto/api/Sprite3D.lua | 207 - .../lua-bindings/auto/api/Sprite3DCache.lua | 37 - .../auto/api/Sprite3DMaterial.lua | 59 - .../lua-bindings/auto/api/SpriteBatchNode.lua | 281 - .../auto/api/SpriteDisplayData.lua | 26 - .../lua-bindings/auto/api/SpriteFrame.lua | 238 - .../auto/api/SpriteFrameCache.lua | 152 - .../lua-bindings/auto/api/StopGrid.lua | 39 - .../lua-bindings/auto/api/TMXLayer.lua | 205 - .../lua-bindings/auto/api/TMXLayerInfo.lua | 26 - .../lua-bindings/auto/api/TMXMapInfo.lua | 287 - .../lua-bindings/auto/api/TMXObjectGroup.lua | 92 - .../lua-bindings/auto/api/TMXTiledMap.lua | 139 - .../lua-bindings/auto/api/TMXTilesetInfo.lua | 20 - .../lua-bindings/auto/api/TabControl.lua | 162 - .../lua-bindings/auto/api/TabHeader.lua | 96 - .../lua-bindings/auto/api/TableView.lua | 133 - .../lua-bindings/auto/api/TableViewCell.lua | 38 - .../lua-bindings/auto/api/TargetedAction.lua | 79 - .../lua-bindings/auto/api/Technique.lua | 62 - .../lua-bindings/auto/api/Terrain.lua | 181 - .../scripting/lua-bindings/auto/api/Text.lua | 325 - .../lua-bindings/auto/api/TextAtlas.lua | 100 - .../lua-bindings/auto/api/TextBMFont.lua | 89 - .../lua-bindings/auto/api/TextField.lua | 408 - .../lua-bindings/auto/api/Texture2D.lua | 252 - .../lua-bindings/auto/api/TextureCache.lua | 150 - .../lua-bindings/auto/api/TextureCube.lua | 46 - .../lua-bindings/auto/api/TextureData.lua | 39 - .../lua-bindings/auto/api/TextureFrame.lua | 45 - .../lua-bindings/auto/api/TileMapAtlas.lua | 58 - .../lua-bindings/auto/api/TiledGrid3D.lua | 46 - .../auto/api/TiledGrid3DAction.lua | 19 - .../lua-bindings/auto/api/Timeline.lua | 106 - .../scripting/lua-bindings/auto/api/Timer.lua | 54 - .../lua-bindings/auto/api/TintBy.lua | 64 - .../lua-bindings/auto/api/TintTo.lua | 60 - .../auto/api/ToggleVisibility.lua | 39 - .../scripting/lua-bindings/auto/api/Touch.lua | 98 - .../auto/api/TransitionCrossFade.lua | 33 - .../auto/api/TransitionEaseScene.lua | 16 - .../lua-bindings/auto/api/TransitionFade.lua | 33 - .../auto/api/TransitionFadeBL.lua | 31 - .../auto/api/TransitionFadeDown.lua | 31 - .../auto/api/TransitionFadeTR.lua | 49 - .../auto/api/TransitionFadeUp.lua | 31 - .../auto/api/TransitionFlipAngular.lua | 23 - .../lua-bindings/auto/api/TransitionFlipX.lua | 23 - .../lua-bindings/auto/api/TransitionFlipY.lua | 23 - .../auto/api/TransitionJumpZoom.lua | 24 - .../auto/api/TransitionMoveInB.lua | 24 - .../auto/api/TransitionMoveInL.lua | 38 - .../auto/api/TransitionMoveInR.lua | 24 - .../auto/api/TransitionMoveInT.lua | 24 - .../auto/api/TransitionPageTurn.lua | 61 - .../auto/api/TransitionProgress.lua | 24 - .../auto/api/TransitionProgressHorizontal.lua | 24 - .../auto/api/TransitionProgressInOut.lua | 24 - .../auto/api/TransitionProgressOutIn.lua | 24 - .../auto/api/TransitionProgressRadialCCW.lua | 24 - .../auto/api/TransitionProgressRadialCW.lua | 24 - .../auto/api/TransitionProgressVertical.lua | 24 - .../auto/api/TransitionRotoZoom.lua | 24 - .../lua-bindings/auto/api/TransitionScene.lua | 71 - .../auto/api/TransitionSceneOriented.lua | 35 - .../auto/api/TransitionShrinkGrow.lua | 31 - .../auto/api/TransitionSlideInB.lua | 30 - .../auto/api/TransitionSlideInL.lua | 38 - .../auto/api/TransitionSlideInR.lua | 30 - .../auto/api/TransitionSlideInT.lua | 30 - .../auto/api/TransitionSplitCols.lua | 47 - .../auto/api/TransitionSplitRows.lua | 30 - .../auto/api/TransitionTurnOffTiles.lua | 40 - .../auto/api/TransitionZoomFlipAngular.lua | 23 - .../auto/api/TransitionZoomFlipX.lua | 23 - .../auto/api/TransitionZoomFlipY.lua | 23 - .../lua-bindings/auto/api/TurnOffTiles.lua | 72 - .../scripting/lua-bindings/auto/api/Tween.lua | 80 - .../scripting/lua-bindings/auto/api/Twirl.lua | 105 - .../lua-bindings/auto/api/UserDefault.lua | 143 - .../scripting/lua-bindings/auto/api/VBox.lua | 36 - .../lua-bindings/auto/api/VideoPlayer.lua | 152 - .../lua-bindings/auto/api/VisibleFrame.lua | 38 - .../scripting/lua-bindings/auto/api/Waves.lua | 94 - .../lua-bindings/auto/api/Waves3D.lua | 86 - .../lua-bindings/auto/api/WavesTiles3D.lua | 86 - .../lua-bindings/auto/api/WebView.lua | 157 - .../lua-bindings/auto/api/Widget.lua | 634 - .../lua-bindings/auto/api/ZOrderFrame.lua | 38 - .../auto/api/lua_cocos2dx_3d_auto_api.lua | 69 - .../api/lua_cocos2dx_audioengine_auto_api.lua | 14 - .../auto/api/lua_cocos2dx_auto_api.lua | 1344 -- .../lua_cocos2dx_cocosbuilder_auto_api.lua | 14 - .../lua_cocos2dx_cocosdenshion_auto_api.lua | 9 - .../api/lua_cocos2dx_controller_auto_api.lua | 19 - .../api/lua_cocos2dx_csloader_auto_api.lua | 9 - .../lua_cocos2dx_experimental_auto_api.lua | 14 - ...a_cocos2dx_experimental_video_auto_api.lua | 9 - ...cocos2dx_experimental_webview_auto_api.lua | 9 - .../api/lua_cocos2dx_extension_auto_api.lua | 99 - .../api/lua_cocos2dx_navmesh_auto_api.lua | 19 - .../api/lua_cocos2dx_physics3d_auto_api.lua | 64 - .../api/lua_cocos2dx_physics_auto_api.lua | 149 - .../auto/api/lua_cocos2dx_spine_auto_api.lua | 14 - .../auto/api/lua_cocos2dx_studio_auto_api.lua | 299 - .../auto/api/lua_cocos2dx_ui_auto_api.lua | 179 - .../auto/lua_cocos2dx_3d_auto.cpp | 428 +- .../auto/lua_cocos2dx_3d_auto.hpp | 6 + .../auto/lua_cocos2dx_audioengine_auto.cpp | 2 +- .../auto/lua_cocos2dx_audioengine_auto.hpp | 4 +- .../lua-bindings/auto/lua_cocos2dx_auto.cpp | 3663 ++++- .../lua-bindings/auto/lua_cocos2dx_auto.hpp | 73 - ...lua_cocos2dx_experimental_webview_auto.cpp | 2 +- .../auto/lua_cocos2dx_physics3d_auto.cpp | 12366 --------------- .../auto/lua_cocos2dx_physics3d_auto.hpp | 252 - .../auto/lua_cocos2dx_physics_auto.cpp | 12762 ---------------- .../auto/lua_cocos2dx_physics_auto.hpp | 269 - .../project.pbxproj | 1817 --- .../xcschemes/libluacocos2d Mac.xcscheme | 80 - .../xcschemes/libluacocos2d iOS.xcscheme | 80 - .../xcschemes/libluacocos2d tvOS.xcscheme | 80 - .../HelloCpp.xcodeproj/project.pbxproj | 700 - tools/bindings-generator | 2 +- tools/tolua/cocos2dx.ini | 6 +- tools/tolua/cocos2dx_cocosbuilder.ini | 65 - tools/tolua/cocos2dx_experimental_webview.ini | 2 +- tools/tolua/genbindings.py | 1 - 487 files changed, 3322 insertions(+), 75026 deletions(-) delete mode 100644 cocos/scripting/lua-bindings/auto/api/AbstractCheckButton.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Action.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionCamera.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionEase.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionFadeFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionFloat.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionInstant.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionInterval.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionManager.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionMoveFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionObject.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionRotationFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionScaleFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionTimeline.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionTimelineCache.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionTimelineData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionTimelineNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionTintFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ActionTween.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AlphaFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AmbientLight.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AnchorPointFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Animate.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Animate3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Animation.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Animation3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AnimationCache.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AnimationData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AnimationFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Application.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Armature.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ArmatureAnimation.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ArmatureData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ArmatureDataManager.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ArmatureDisplayData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AssetsManager.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AssetsManagerEx.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AsyncTaskPool.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AtlasNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AttachNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AudioEngine.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AudioProfile.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/AutoPolygon.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BaseData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BaseLight.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BatchNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BezierBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BezierTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BillBoard.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BlendFuncFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Blink.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Bone.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BoneData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/BoneNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Bundle3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Button.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CCBAnimationManager.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CCBReader.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CSLoader.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CallFunc.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Camera.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CameraBackgroundBrush.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CameraBackgroundColorBrush.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CameraBackgroundDepthBrush.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CameraBackgroundSkyBoxBrush.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CardinalSplineBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CardinalSplineTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CatmullRomBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CatmullRomTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/CheckBox.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ClippingNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ColorFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ComAttribute.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ComAudio.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ComController.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ComExtensionData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ComRender.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Component.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ComponentLua.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Console.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ContourData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Control.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ControlButton.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ControlColourPicker.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ControlHuePicker.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ControlPotentiometer.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ControlSaturationBrightnessPicker.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ControlSlider.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ControlStepper.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ControlSwitch.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Controller.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/DelayTime.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Device.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/DirectionLight.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Director.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/DisplayData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/DisplayManager.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/DrawNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseBackIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseBackInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseBackOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseBezierAction.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseBounce.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseBounceIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseBounceInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseBounceOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseCircleActionIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseCircleActionInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseCircleActionOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseCubicActionIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseCubicActionInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseCubicActionOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseElastic.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseElasticIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseExponentialIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseExponentialInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseExponentialOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuarticActionIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuarticActionInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuarticActionOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuinticActionIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuinticActionInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseQuinticActionOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseRateAction.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseSineIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseSineInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EaseSineOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EditBox.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Event.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventAcceleration.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventAssetsManagerEx.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventController.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventCustom.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventDispatcher.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventFocus.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventKeyboard.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListener.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerAcceleration.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerAssetsManagerEx.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerController.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerCustom.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerFocus.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerKeyboard.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerMouse.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContact.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithBodies.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithGroup.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithShapes.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerTouchAllAtOnce.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventListenerTouchOneByOne.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventMouse.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/EventTouch.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FadeIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FadeOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FadeOutBLTiles.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FadeOutDownTiles.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FadeOutTRTiles.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FadeOutUpTiles.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FadeTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FileUtils.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FiniteTimeAction.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FlipX.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FlipX3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FlipY.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FlipY3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Follow.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Frame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/FrameData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/GLProgram.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/GLProgramCache.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/GLProgramState.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/GLView.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/GLViewImpl.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/GUIReader.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Grid3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Grid3DAction.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/GridAction.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/GridBase.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/HBox.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Helper.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Hide.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Image.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ImageView.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/InnerActionFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/JumpBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/JumpTiles3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/JumpTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Label.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Layer.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LayerColor.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LayerGradient.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LayerMultiplex.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LayerRadialGradient.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Layout.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LayoutComponent.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LayoutParameter.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Lens3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Liquid.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ListView.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/LoadingBar.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Manifest.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Material.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Menu.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MenuItem.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MenuItemAtlasFont.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MenuItemFont.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MenuItemImage.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MenuItemLabel.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MenuItemSprite.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MenuItemToggle.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Mesh.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MotionStreak.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MotionStreak3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MoveBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MoveTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MovementBoneData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/MovementData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/NavMesh.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/NavMeshAgent.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/NavMeshObstacle.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Node.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/NodeGrid.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/OrbitCamera.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PUParticleSystem3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PageTurn3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PageView.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParallaxNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleBatchNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleDisplayData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleExplosion.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleFire.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleFireworks.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleFlower.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleGalaxy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleMeteor.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleRain.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleSmoke.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleSnow.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleSpiral.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleSun.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleSystem.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleSystem3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Pass.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3D6DofConstraint.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DComponent.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DConeTwistConstraint.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DConstraint.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DHingeConstraint.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DObject.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DPointToPointConstraint.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DRigidBody.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DShape.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DSliderConstraint.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Physics3DWorld.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsContact.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsContactPostSolve.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsContactPreSolve.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJoint.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointDistance.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointFixed.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointGear.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointGroove.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointLimit.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointMotor.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointPin.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointRatchet.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointRotarySpring.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsJointSpring.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsShape.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsShapeBox.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsShapeCircle.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeBox.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeChain.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgePolygon.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeSegment.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsShapePolygon.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsSprite3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Place.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PlayableFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PointLight.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PolygonInfo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/PositionFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ProgressFromTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ProgressTimer.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ProgressTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Properties.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ProtectedNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RadioButton.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RadioButtonGroup.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Ref.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RelativeBox.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RelativeLayoutParameter.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RemoveSelf.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RenderState.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RenderTexture.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Repeat.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RepeatForever.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ReuseGrid.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RichElement.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RichElementCustomNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RichElementImage.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RichElementNewLine.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RichElementText.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RichText.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Ripple3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RotateBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RotateTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RotationFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/RotationSkewFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ScaleBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ScaleFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ScaleTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Scene.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SceneReader.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Scheduler.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ScrollView.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Sequence.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Shaky3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ShakyTiles3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ShatteredTiles3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Show.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ShuffleTiles.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SimpleAudioEngine.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Skeleton3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SkeletonNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SkewBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SkewFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SkewTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Skin.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Skybox.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Slider.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Spawn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Speed.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SplitCols.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SplitRows.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SpotLight.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Sprite.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Sprite3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Sprite3DCache.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Sprite3DMaterial.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SpriteBatchNode.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SpriteDisplayData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SpriteFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/StopGrid.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TMXLayer.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TMXLayerInfo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TMXTilesetInfo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TabControl.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TabHeader.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TableView.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TableViewCell.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TargetedAction.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Technique.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Terrain.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Text.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TextAtlas.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TextBMFont.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TextField.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Texture2D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TextureCache.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TextureCube.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TextureData.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TextureFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TileMapAtlas.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TiledGrid3DAction.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Timeline.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Timer.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TintBy.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TintTo.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ToggleVisibility.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Touch.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionCrossFade.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionEaseScene.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionFade.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionFadeBL.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionFadeDown.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionFadeTR.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionFadeUp.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionFlipAngular.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionFlipX.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionFlipY.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionJumpZoom.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionMoveInB.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionMoveInL.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionMoveInR.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionMoveInT.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionPageTurn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionProgress.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionProgressHorizontal.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionProgressInOut.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionProgressOutIn.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionProgressRadialCCW.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionProgressRadialCW.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionProgressVertical.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionRotoZoom.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionScene.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionSceneOriented.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionShrinkGrow.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionSlideInB.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionSlideInL.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionSlideInR.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionSlideInT.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionSplitCols.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionSplitRows.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionTurnOffTiles.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipAngular.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipX.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipY.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Tween.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Twirl.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/UserDefault.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/VBox.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/VideoPlayer.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/VisibleFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Waves.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Waves3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/WavesTiles3D.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/WebView.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/Widget.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/ZOrderFrame.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_3d_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_audioengine_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosbuilder_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosdenshion_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_controller_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_csloader_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_video_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_webview_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_navmesh_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics3d_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_spine_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_studio_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_ui_auto_api.lua delete mode 100644 cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj delete mode 100644 cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d Mac.xcscheme delete mode 100644 cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d iOS.xcscheme delete mode 100644 cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d tvOS.xcscheme delete mode 100644 templates/cpp-template-default/proj.ios_mac/HelloCpp.xcodeproj/project.pbxproj delete mode 100644 tools/tolua/cocos2dx_cocosbuilder.ini diff --git a/cocos/navmesh/CCNavMeshDebugDraw.h b/cocos/navmesh/CCNavMeshDebugDraw.h index 14cb802971..c4091aaf7d 100644 --- a/cocos/navmesh/CCNavMeshDebugDraw.h +++ b/cocos/navmesh/CCNavMeshDebugDraw.h @@ -29,8 +29,6 @@ #include "base/ccConfig.h" #if CC_USE_NAVMESH -#include "renderer/CCGLProgram.h" -#include "renderer/CCCustomCommand.h" #include "renderer/CCRenderState.h" #include "math/Vec3.h" #include "recast/DebugUtils/DebugDraw.h" @@ -91,9 +89,9 @@ private: std::vector _vertices; std::vector _primitiveList; - Primitive *_currentPrimitive; - GLProgram *_program; - CustomCommand _customCmd; + // Primitive *_currentPrimitive; + // GLProgram *_program; + // CustomCommand _customCmd; RenderState::StateBlock* _stateBlock; GLenum _primitiveType; bool _currentDepthMask; diff --git a/cocos/scripting/lua-bindings/auto/api/AbstractCheckButton.lua b/cocos/scripting/lua-bindings/auto/api/AbstractCheckButton.lua deleted file mode 100644 index f6e0912376..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AbstractCheckButton.lua +++ /dev/null @@ -1,203 +0,0 @@ - --------------------------------- --- @module AbstractCheckButton --- @extend Widget --- @parent_module ccui - --------------------------------- --- --- @function [parent=#AbstractCheckButton] getCrossDisabledFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- --- @function [parent=#AbstractCheckButton] getBackDisabledFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Load background selected state texture for check button.
--- param backGroundSelected The background selected state image name.
--- param texType @see `Widget::TextureResType` --- @function [parent=#AbstractCheckButton] loadTextureBackGroundSelected --- @param self --- @param #string backGroundSelected --- @param #int texType --- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton) - --------------------------------- --- Load background disabled state texture for checkbox.
--- param backGroundDisabled The background disabled state texture name.
--- param texType @see `Widget::TextureResType` --- @function [parent=#AbstractCheckButton] loadTextureBackGroundDisabled --- @param self --- @param #string backGroundDisabled --- @param #int texType --- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton) - --------------------------------- --- --- @function [parent=#AbstractCheckButton] getCrossNormalFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Change CheckBox state.
--- Set to true will cause the CheckBox's state to "selected", false otherwise.
--- param selected Set to true will change CheckBox to selected state, false otherwise. --- @function [parent=#AbstractCheckButton] setSelected --- @param self --- @param #bool selected --- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton) - --------------------------------- --- --- @function [parent=#AbstractCheckButton] getBackPressedFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- brief Return the sprite instance of front cross when disabled
--- return the sprite instance of front cross when disabled --- @function [parent=#AbstractCheckButton] getRendererFrontCrossDisabled --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- brief Return the sprite instance of background
--- return the sprite instance of background. --- @function [parent=#AbstractCheckButton] getRendererBackground --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Load cross texture for check button.
--- param crossTextureName The cross texture name.
--- param texType @see `Widget::TextureResType` --- @function [parent=#AbstractCheckButton] loadTextureFrontCross --- @param self --- @param #string crossTextureName --- @param #int texType --- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton) - --------------------------------- --- brief Return the sprite instance of background when disabled
--- return the sprite instance of background when disabled --- @function [parent=#AbstractCheckButton] getRendererBackgroundDisabled --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Query whether CheckBox is selected or not.
--- return true means "selected", false otherwise. --- @function [parent=#AbstractCheckButton] isSelected --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#AbstractCheckButton] init --- @param self --- @param #string backGround --- @param #string backGroundSelected --- @param #string cross --- @param #string backGroundDisabled --- @param #string frontCrossDisabled --- @param #int texType --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#AbstractCheckButton] getBackNormalFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Load all textures for initializing a check button.
--- param background The background image name.
--- param backgroundSelected The background selected image name.
--- param cross The cross image name.
--- param backgroundDisabled The background disabled state texture.
--- param frontCrossDisabled The front cross disabled state image name.
--- param texType @see `Widget::TextureResType` --- @function [parent=#AbstractCheckButton] loadTextures --- @param self --- @param #string background --- @param #string backgroundSelected --- @param #string cross --- @param #string backgroundDisabled --- @param #string frontCrossDisabled --- @param #int texType --- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton) - --------------------------------- --- brief Return a zoom scale
--- return A zoom scale of Checkbox.
--- since v3.3 --- @function [parent=#AbstractCheckButton] getZoomScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Return the sprite instance of front cross
--- return the sprite instance of front cross --- @function [parent=#AbstractCheckButton] getRendererFrontCross --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- brief Return the sprite instance of background when selected
--- return the sprite instance of background when selected --- @function [parent=#AbstractCheckButton] getRendererBackgroundSelected --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Load background texture for check button.
--- param backGround The background image name.
--- param type @see `Widget::TextureResType` --- @function [parent=#AbstractCheckButton] loadTextureBackGround --- @param self --- @param #string backGround --- @param #int type --- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton) - --------------------------------- --- When user pressed the CheckBox, the button will zoom to a scale.
--- The final scale of the CheckBox equals (CheckBox original scale + _zoomScale)
--- since v3.3 --- @function [parent=#AbstractCheckButton] setZoomScale --- @param self --- @param #float scale --- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton) - --------------------------------- --- Load frontcross disabled texture for checkbox.
--- param frontCrossDisabled The front cross disabled state texture name.
--- param texType @see `Widget::TextureResType` --- @function [parent=#AbstractCheckButton] loadTextureFrontCrossDisabled --- @param self --- @param #string frontCrossDisabled --- @param #int texType --- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton) - --------------------------------- --- --- @function [parent=#AbstractCheckButton] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#AbstractCheckButton] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#AbstractCheckButton] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Action.lua b/cocos/scripting/lua-bindings/auto/api/Action.lua deleted file mode 100644 index 4c4c01ddbc..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Action.lua +++ /dev/null @@ -1,127 +0,0 @@ - --------------------------------- --- @module Action --- @extend Ref --- @parent_module cc - --------------------------------- --- Called before the action start. It will also set the target.
--- param target A certain target. --- @function [parent=#Action] startWithTarget --- @param self --- @param #cc.Node target --- @return Action#Action self (return value: cc.Action) - --------------------------------- --- Set the original target, since target can be nil.
--- Is the target that were used to run the action. Unless you are doing something complex, like ActionManager, you should NOT call this method.
--- The target is 'assigned', it is not 'retained'.
--- since v0.8.2
--- param originalTarget Is 'assigned', it is not 'retained'. --- @function [parent=#Action] setOriginalTarget --- @param self --- @param #cc.Node originalTarget --- @return Action#Action self (return value: cc.Action) - --------------------------------- --- Returns a clone of action.
--- return A clone action. --- @function [parent=#Action] clone --- @param self --- @return Action#Action ret (return value: cc.Action) - --------------------------------- --- Return a original Target.
--- return A original Target. --- @function [parent=#Action] getOriginalTarget --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Called after the action has finished. It will set the 'target' to nil.
--- IMPORTANT: You should never call "Action::stop()" manually. Instead, use: "target->stopAction(action);". --- @function [parent=#Action] stop --- @param self --- @return Action#Action self (return value: cc.Action) - --------------------------------- --- Called once per frame. time a value between 0 and 1.
--- For example:
--- - 0 Means that the action just started.
--- - 0.5 Means that the action is in the middle.
--- - 1 Means that the action is over.
--- param time A value between 0 and 1. --- @function [parent=#Action] update --- @param self --- @param #float time --- @return Action#Action self (return value: cc.Action) - --------------------------------- --- Return certain target.
--- return A certain target. --- @function [parent=#Action] getTarget --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Returns a flag field that is used to group the actions easily.
--- return A tag. --- @function [parent=#Action] getFlags --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Called every frame with it's delta time, dt in seconds. DON'T override unless you know what you are doing.
--- param dt In seconds. --- @function [parent=#Action] step --- @param self --- @param #float dt --- @return Action#Action self (return value: cc.Action) - --------------------------------- --- Changes the tag that is used to identify the action easily.
--- param tag Used to identify the action easily. --- @function [parent=#Action] setTag --- @param self --- @param #int tag --- @return Action#Action self (return value: cc.Action) - --------------------------------- --- Changes the flag field that is used to group the actions easily.
--- param flags Used to group the actions easily. --- @function [parent=#Action] setFlags --- @param self --- @param #unsigned int flags --- @return Action#Action self (return value: cc.Action) - --------------------------------- --- Returns a tag that is used to identify the action easily.
--- return A tag. --- @function [parent=#Action] getTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- The action will modify the target properties.
--- param target A certain target. --- @function [parent=#Action] setTarget --- @param self --- @param #cc.Node target --- @return Action#Action self (return value: cc.Action) - --------------------------------- --- Return true if the action has finished.
--- return Is true if the action has finished. --- @function [parent=#Action] isDone --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns a new action that performs the exact reverse of the action.
--- return A new action that performs the exact reverse of the action.
--- js NA --- @function [parent=#Action] reverse --- @param self --- @return Action#Action ret (return value: cc.Action) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionCamera.lua b/cocos/scripting/lua-bindings/auto/api/ActionCamera.lua deleted file mode 100644 index 8cddd76da5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionCamera.lua +++ /dev/null @@ -1,75 +0,0 @@ - --------------------------------- --- @module ActionCamera --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- @overload self, float, float, float --- @overload self, vec3_table --- @function [parent=#ActionCamera] setEye --- @param self --- @param #float x --- @param #float y --- @param #float z --- @return ActionCamera#ActionCamera self (return value: cc.ActionCamera) - --------------------------------- --- --- @function [parent=#ActionCamera] getEye --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- --- @function [parent=#ActionCamera] setUp --- @param self --- @param #vec3_table up --- @return ActionCamera#ActionCamera self (return value: cc.ActionCamera) - --------------------------------- --- --- @function [parent=#ActionCamera] getCenter --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- --- @function [parent=#ActionCamera] setCenter --- @param self --- @param #vec3_table center --- @return ActionCamera#ActionCamera self (return value: cc.ActionCamera) - --------------------------------- --- --- @function [parent=#ActionCamera] getUp --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- --- @function [parent=#ActionCamera] startWithTarget --- @param self --- @param #cc.Node target --- @return ActionCamera#ActionCamera self (return value: cc.ActionCamera) - --------------------------------- --- --- @function [parent=#ActionCamera] clone --- @param self --- @return ActionCamera#ActionCamera ret (return value: cc.ActionCamera) - --------------------------------- --- --- @function [parent=#ActionCamera] reverse --- @param self --- @return ActionCamera#ActionCamera ret (return value: cc.ActionCamera) - --------------------------------- --- js ctor
--- lua new --- @function [parent=#ActionCamera] ActionCamera --- @param self --- @return ActionCamera#ActionCamera self (return value: cc.ActionCamera) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionEase.lua b/cocos/scripting/lua-bindings/auto/api/ActionEase.lua deleted file mode 100644 index 211045258c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionEase.lua +++ /dev/null @@ -1,42 +0,0 @@ - --------------------------------- --- @module ActionEase --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- brief Initializes the action.
--- return Return true when the initialization success, otherwise return false. --- @function [parent=#ActionEase] initWithAction --- @param self --- @param #cc.ActionInterval action --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the pointer of the inner action.
--- return The pointer of the inner action. --- @function [parent=#ActionEase] getInnerAction --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#ActionEase] startWithTarget --- @param self --- @param #cc.Node target --- @return ActionEase#ActionEase self (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#ActionEase] stop --- @param self --- @return ActionEase#ActionEase self (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#ActionEase] update --- @param self --- @param #float time --- @return ActionEase#ActionEase self (return value: cc.ActionEase) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionFadeFrame.lua b/cocos/scripting/lua-bindings/auto/api/ActionFadeFrame.lua deleted file mode 100644 index 8de5600738..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionFadeFrame.lua +++ /dev/null @@ -1,37 +0,0 @@ - --------------------------------- --- @module ActionFadeFrame --- @extend ActionFrame --- @parent_module ccs - --------------------------------- --- Gets the fade action opacity.
--- return the fade action opacity. --- @function [parent=#ActionFadeFrame] getOpacity --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets the ActionInterval of ActionFrame.
--- param duration the duration time of ActionFrame
--- return ActionInterval --- @function [parent=#ActionFadeFrame] getAction --- @param self --- @param #float duration --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Changes the fade action opacity.
--- param opacity the fade action opacity --- @function [parent=#ActionFadeFrame] setOpacity --- @param self --- @param #int opacity --- @return ActionFadeFrame#ActionFadeFrame self (return value: ccs.ActionFadeFrame) - --------------------------------- --- Default constructor --- @function [parent=#ActionFadeFrame] ActionFadeFrame --- @param self --- @return ActionFadeFrame#ActionFadeFrame self (return value: ccs.ActionFadeFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionFloat.lua b/cocos/scripting/lua-bindings/auto/api/ActionFloat.lua deleted file mode 100644 index b1fecdf7aa..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionFloat.lua +++ /dev/null @@ -1,65 +0,0 @@ - --------------------------------- --- @module ActionFloat --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- --- @function [parent=#ActionFloat] initWithDuration --- @param self --- @param #float duration --- @param #float from --- @param #float to --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates FloatAction with specified duration, from value, to value and callback to report back
--- results
--- param duration of the action
--- param from value to start from
--- param to value to be at the end of the action
--- param callback to report back result
--- return An autoreleased ActionFloat object --- @function [parent=#ActionFloat] create --- @param self --- @param #float duration --- @param #float from --- @param #float to --- @param #function callback --- @return ActionFloat#ActionFloat ret (return value: cc.ActionFloat) - --------------------------------- --- Overridden ActionInterval methods --- @function [parent=#ActionFloat] startWithTarget --- @param self --- @param #cc.Node target --- @return ActionFloat#ActionFloat self (return value: cc.ActionFloat) - --------------------------------- --- --- @function [parent=#ActionFloat] clone --- @param self --- @return ActionFloat#ActionFloat ret (return value: cc.ActionFloat) - --------------------------------- --- --- @function [parent=#ActionFloat] update --- @param self --- @param #float delta --- @return ActionFloat#ActionFloat self (return value: cc.ActionFloat) - --------------------------------- --- --- @function [parent=#ActionFloat] reverse --- @param self --- @return ActionFloat#ActionFloat ret (return value: cc.ActionFloat) - --------------------------------- --- --- @function [parent=#ActionFloat] ActionFloat --- @param self --- @return ActionFloat#ActionFloat self (return value: cc.ActionFloat) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionFrame.lua b/cocos/scripting/lua-bindings/auto/api/ActionFrame.lua deleted file mode 100644 index 660ccc66f6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionFrame.lua +++ /dev/null @@ -1,90 +0,0 @@ - --------------------------------- --- @module ActionFrame --- @extend Ref --- @parent_module ccs - --------------------------------- --- @overload self, float, ccs.ActionFrame --- @overload self, float --- @function [parent=#ActionFrame] getAction --- @param self --- @param #float duration --- @param #ccs.ActionFrame srcFrame --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Gets the type of action frame
--- return the type of action frame --- @function [parent=#ActionFrame] getFrameType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Changes the time of action frame
--- param fTime the time of action frame --- @function [parent=#ActionFrame] setFrameTime --- @param self --- @param #float fTime --- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame) - --------------------------------- --- Changes the easing type.
--- param easingType the easing type. --- @function [parent=#ActionFrame] setEasingType --- @param self --- @param #int easingType --- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame) - --------------------------------- --- Gets the time of action frame
--- return fTime the time of action frame --- @function [parent=#ActionFrame] getFrameTime --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the index of action frame
--- return the index of action frame --- @function [parent=#ActionFrame] getFrameIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Changes the type of action frame
--- param frameType the type of action frame --- @function [parent=#ActionFrame] setFrameType --- @param self --- @param #int frameType --- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame) - --------------------------------- --- Changes the index of action frame
--- param index the index of action frame --- @function [parent=#ActionFrame] setFrameIndex --- @param self --- @param #int index --- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame) - --------------------------------- --- Set the ActionInterval easing parameter.
--- param parameter the parameter for frame ease --- @function [parent=#ActionFrame] setEasingParameter --- @param self --- @param #array_table parameter --- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame) - --------------------------------- --- Gets the easing type.
--- return the easing type. --- @function [parent=#ActionFrame] getEasingType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Default constructor --- @function [parent=#ActionFrame] ActionFrame --- @param self --- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionInstant.lua b/cocos/scripting/lua-bindings/auto/api/ActionInstant.lua deleted file mode 100644 index c5feea04f1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionInstant.lua +++ /dev/null @@ -1,46 +0,0 @@ - --------------------------------- --- @module ActionInstant --- @extend FiniteTimeAction --- @parent_module cc - --------------------------------- --- --- @function [parent=#ActionInstant] startWithTarget --- @param self --- @param #cc.Node target --- @return ActionInstant#ActionInstant self (return value: cc.ActionInstant) - --------------------------------- --- --- @function [parent=#ActionInstant] reverse --- @param self --- @return ActionInstant#ActionInstant ret (return value: cc.ActionInstant) - --------------------------------- --- --- @function [parent=#ActionInstant] clone --- @param self --- @return ActionInstant#ActionInstant ret (return value: cc.ActionInstant) - --------------------------------- --- param time In seconds. --- @function [parent=#ActionInstant] update --- @param self --- @param #float time --- @return ActionInstant#ActionInstant self (return value: cc.ActionInstant) - --------------------------------- --- param dt In seconds. --- @function [parent=#ActionInstant] step --- @param self --- @param #float dt --- @return ActionInstant#ActionInstant self (return value: cc.ActionInstant) - --------------------------------- --- --- @function [parent=#ActionInstant] isDone --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionInterval.lua b/cocos/scripting/lua-bindings/auto/api/ActionInterval.lua deleted file mode 100644 index fdf14a729a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionInterval.lua +++ /dev/null @@ -1,68 +0,0 @@ - --------------------------------- --- @module ActionInterval --- @extend FiniteTimeAction --- @parent_module cc - --------------------------------- --- Gets the amplitude rate, extension in GridAction
--- return The amplitude rate. --- @function [parent=#ActionInterval] getAmplitudeRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- initializes the action --- @function [parent=#ActionInterval] initWithDuration --- @param self --- @param #float d --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the amplitude rate, extension in GridAction
--- param amp The amplitude rate. --- @function [parent=#ActionInterval] setAmplitudeRate --- @param self --- @param #float amp --- @return ActionInterval#ActionInterval self (return value: cc.ActionInterval) - --------------------------------- --- How many seconds had elapsed since the actions started to run.
--- return The seconds had elapsed since the actions started to run. --- @function [parent=#ActionInterval] getElapsed --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ActionInterval] startWithTarget --- @param self --- @param #cc.Node target --- @return ActionInterval#ActionInterval self (return value: cc.ActionInterval) - --------------------------------- --- param dt in seconds --- @function [parent=#ActionInterval] step --- @param self --- @param #float dt --- @return ActionInterval#ActionInterval self (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#ActionInterval] clone --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#ActionInterval] reverse --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#ActionInterval] isDone --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionManager.lua b/cocos/scripting/lua-bindings/auto/api/ActionManager.lua deleted file mode 100644 index 060585d466..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionManager.lua +++ /dev/null @@ -1,173 +0,0 @@ - --------------------------------- --- @module ActionManager --- @extend Ref --- @parent_module cc - --------------------------------- --- Gets an action given its tag an a target.
--- param tag The action's tag.
--- param target A certain target.
--- return The Action the with the given tag. --- @function [parent=#ActionManager] getActionByTag --- @param self --- @param #int tag --- @param #cc.Node target --- @return Action#Action ret (return value: cc.Action) - --------------------------------- --- Removes an action given its tag and the target.
--- param tag The action's tag.
--- param target A certain target. --- @function [parent=#ActionManager] removeActionByTag --- @param self --- @param #int tag --- @param #cc.Node target --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Removes all actions matching at least one bit in flags and the target.
--- param flags The flag field to match the actions' flags based on bitwise AND.
--- param target A certain target.
--- js NA --- @function [parent=#ActionManager] removeActionsByFlags --- @param self --- @param #unsigned int flags --- @param #cc.Node target --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Removes all actions from all the targets. --- @function [parent=#ActionManager] removeAllActions --- @param self --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Adds an action with a target.
--- If the target is already present, then the action will be added to the existing target.
--- If the target is not present, a new instance of this target will be created either paused or not, and the action will be added to the newly created target.
--- When the target is paused, the queued actions won't be 'ticked'.
--- param action A certain action.
--- param target The target which need to be added an action.
--- param paused Is the target paused or not. --- @function [parent=#ActionManager] addAction --- @param self --- @param #cc.Action action --- @param #cc.Node target --- @param #bool paused --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Resumes the target. All queued actions will be resumed.
--- param target A certain target. --- @function [parent=#ActionManager] resumeTarget --- @param self --- @param #cc.Node target --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Returns the numbers of actions that are running in all targets.
--- return The numbers of actions that are running in all target.
--- js NA --- @function [parent=#ActionManager] getNumberOfRunningActions --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Pauses the target: all running actions and newly added actions will be paused.
--- param target A certain target. --- @function [parent=#ActionManager] pauseTarget --- @param self --- @param #cc.Node target --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Returns the numbers of actions that are running in a certain target.
--- Composable actions are counted as 1 action. Example:
--- - If you are running 1 Sequence of 7 actions, it will return 1.
--- - If you are running 7 Sequences of 2 actions, it will return 7.
--- param target A certain target.
--- return The numbers of actions that are running in a certain target.
--- js NA --- @function [parent=#ActionManager] getNumberOfRunningActionsInTarget --- @param self --- @param #cc.Node target --- @return int#int ret (return value: int) - --------------------------------- --- Removes all actions from a certain target.
--- All the actions that belongs to the target will be removed.
--- param target A certain target. --- @function [parent=#ActionManager] removeAllActionsFromTarget --- @param self --- @param #cc.Node target --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Resume a set of targets (convenience function to reverse a pauseAllRunningActions call).
--- param targetsToResume A set of targets need to be resumed. --- @function [parent=#ActionManager] resumeTargets --- @param self --- @param #array_table targetsToResume --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Removes an action given an action reference.
--- param action A certain target. --- @function [parent=#ActionManager] removeAction --- @param self --- @param #cc.Action action --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Pauses all running actions, returning a list of targets whose actions were paused.
--- return A list of targets whose actions were paused. --- @function [parent=#ActionManager] pauseAllRunningActions --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Main loop of ActionManager.
--- param dt In seconds. --- @function [parent=#ActionManager] update --- @param self --- @param #float dt --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Removes all actions given its tag and the target.
--- param tag The actions' tag.
--- param target A certain target.
--- js NA --- @function [parent=#ActionManager] removeAllActionsByTag --- @param self --- @param #int tag --- @param #cc.Node target --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - --------------------------------- --- Returns the numbers of actions that are running in a
--- certain target with a specific tag.
--- Like getNumberOfRunningActionsInTarget Composable actions
--- are counted as 1 action. Example:
--- - If you are running 1 Sequence of 7 actions, it will return 1.
--- - If you are running 7 Sequences of 2 actions, it will return 7.
--- param target A certain target.
--- param tag Tag that will be searched.
--- return The numbers of actions that are running in a certain target
--- with a specific tag.
--- see getNumberOfRunningActionsInTarget
--- js NA --- @function [parent=#ActionManager] getNumberOfRunningActionsInTargetByTag --- @param self --- @param #cc.Node target --- @param #int tag --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- js ctor --- @function [parent=#ActionManager] ActionManager --- @param self --- @return ActionManager#ActionManager self (return value: cc.ActionManager) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua b/cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua deleted file mode 100644 index a2327fd1e2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua +++ /dev/null @@ -1,67 +0,0 @@ - --------------------------------- --- @module ActionManagerEx --- @extend Ref --- @parent_module ccs - --------------------------------- --- Stop an Action with a name.
--- param jsonName UI file name
--- param actionName action name in the UIfile.
--- return ActionObject which named as the param name --- @function [parent=#ActionManagerEx] stopActionByName --- @param self --- @param #char jsonName --- @param #char actionName --- @return ActionObject#ActionObject ret (return value: ccs.ActionObject) - --------------------------------- --- Gets an ActionObject with a name.
--- param jsonName UI file name
--- param actionName action name in the UI file.
--- return ActionObject which named as the param name --- @function [parent=#ActionManagerEx] getActionByName --- @param self --- @param #char jsonName --- @param #char actionName --- @return ActionObject#ActionObject ret (return value: ccs.ActionObject) - --------------------------------- --- --- @function [parent=#ActionManagerEx] getStudioVersionNumber --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, char, char, cc.CallFunc --- @overload self, char, char --- @function [parent=#ActionManagerEx] playActionByName --- @param self --- @param #char jsonName --- @param #char actionName --- @param #cc.CallFunc func --- @return ActionObject#ActionObject ret (return value: ccs.ActionObject) - --------------------------------- --- Release all actions. --- @function [parent=#ActionManagerEx] releaseActions --- @param self --- @return ActionManagerEx#ActionManagerEx self (return value: ccs.ActionManagerEx) - --------------------------------- --- Purges ActionManager point.
--- js purge
--- lua destroyActionManager --- @function [parent=#ActionManagerEx] destroyInstance --- @param self --- @return ActionManagerEx#ActionManagerEx self (return value: ccs.ActionManagerEx) - --------------------------------- --- Gets the static instance of ActionManager.
--- js getInstance
--- lua getInstance --- @function [parent=#ActionManagerEx] getInstance --- @param self --- @return ActionManagerEx#ActionManagerEx ret (return value: ccs.ActionManagerEx) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionMoveFrame.lua b/cocos/scripting/lua-bindings/auto/api/ActionMoveFrame.lua deleted file mode 100644 index 468e3a7d43..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionMoveFrame.lua +++ /dev/null @@ -1,37 +0,0 @@ - --------------------------------- --- @module ActionMoveFrame --- @extend ActionFrame --- @parent_module ccs - --------------------------------- --- Changes the move action position.
--- param the move action position. --- @function [parent=#ActionMoveFrame] setPosition --- @param self --- @param #vec2_table pos --- @return ActionMoveFrame#ActionMoveFrame self (return value: ccs.ActionMoveFrame) - --------------------------------- --- Gets the ActionInterval of ActionFrame.
--- param duration the duration time of ActionFrame
--- return ActionInterval --- @function [parent=#ActionMoveFrame] getAction --- @param self --- @param #float duration --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Gets the move action position.
--- return the move action position. --- @function [parent=#ActionMoveFrame] getPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Default constructor --- @function [parent=#ActionMoveFrame] ActionMoveFrame --- @param self --- @return ActionMoveFrame#ActionMoveFrame self (return value: ccs.ActionMoveFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionObject.lua b/cocos/scripting/lua-bindings/auto/api/ActionObject.lua deleted file mode 100644 index 26e26123c7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionObject.lua +++ /dev/null @@ -1,137 +0,0 @@ - --------------------------------- --- @module ActionObject --- @extend Ref --- @parent_module ccs - --------------------------------- --- Sets the current time of frame.
--- param fTime the current time of frame --- @function [parent=#ActionObject] setCurrentTime --- @param self --- @param #float fTime --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Pause the action. --- @function [parent=#ActionObject] pause --- @param self --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Sets name for object
--- param name name of object --- @function [parent=#ActionObject] setName --- @param self --- @param #char name --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Sets the time interval of frame.
--- param fTime the time interval of frame --- @function [parent=#ActionObject] setUnitTime --- @param self --- @param #float fTime --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Gets the total time of frame.
--- return the total time of frame --- @function [parent=#ActionObject] getTotalTime --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets name of object
--- return name of object --- @function [parent=#ActionObject] getName --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- Stop the action. --- @function [parent=#ActionObject] stop --- @param self --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- @overload self, cc.CallFunc --- @overload self --- @function [parent=#ActionObject] play --- @param self --- @param #cc.CallFunc func --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Gets the current time of frame.
--- return the current time of frame --- @function [parent=#ActionObject] getCurrentTime --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Removes a ActionNode which play the action.
--- param node the ActionNode which play the action --- @function [parent=#ActionObject] removeActionNode --- @param self --- @param #ccs.ActionNode node --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Gets if the action will loop play.
--- return that if the action will loop play --- @function [parent=#ActionObject] getLoop --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Adds a ActionNode to play the action.
--- param node the ActionNode which will play the action --- @function [parent=#ActionObject] addActionNode --- @param self --- @param #ccs.ActionNode node --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Gets the time interval of frame.
--- return the time interval of frame --- @function [parent=#ActionObject] getUnitTime --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Return if the action is playing.
--- return true if the action is playing, false the otherwise --- @function [parent=#ActionObject] isPlaying --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ActionObject] updateToFrameByTime --- @param self --- @param #float fTime --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Sets if the action will loop play.
--- param bLoop that if the action will loop play --- @function [parent=#ActionObject] setLoop --- @param self --- @param #bool bLoop --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- --- @function [parent=#ActionObject] simulationActionUpdate --- @param self --- @param #float dt --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - --------------------------------- --- Default constructor --- @function [parent=#ActionObject] ActionObject --- @param self --- @return ActionObject#ActionObject self (return value: ccs.ActionObject) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionRotationFrame.lua b/cocos/scripting/lua-bindings/auto/api/ActionRotationFrame.lua deleted file mode 100644 index 8c1fead9e7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionRotationFrame.lua +++ /dev/null @@ -1,37 +0,0 @@ - --------------------------------- --- @module ActionRotationFrame --- @extend ActionFrame --- @parent_module ccs - --------------------------------- --- Changes rotate action rotation.
--- param rotation rotate action rotation. --- @function [parent=#ActionRotationFrame] setRotation --- @param self --- @param #float rotation --- @return ActionRotationFrame#ActionRotationFrame self (return value: ccs.ActionRotationFrame) - --------------------------------- --- @overload self, float, ccs.ActionFrame --- @overload self, float --- @function [parent=#ActionRotationFrame] getAction --- @param self --- @param #float duration --- @param #ccs.ActionFrame srcFrame --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Gets the rotate action rotation.
--- return the rotate action rotation. --- @function [parent=#ActionRotationFrame] getRotation --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Default constructor --- @function [parent=#ActionRotationFrame] ActionRotationFrame --- @param self --- @return ActionRotationFrame#ActionRotationFrame self (return value: ccs.ActionRotationFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionScaleFrame.lua b/cocos/scripting/lua-bindings/auto/api/ActionScaleFrame.lua deleted file mode 100644 index fadd7eb69a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionScaleFrame.lua +++ /dev/null @@ -1,52 +0,0 @@ - --------------------------------- --- @module ActionScaleFrame --- @extend ActionFrame --- @parent_module ccs - --------------------------------- --- Changes the scale action scaleY.
--- param rotation the scale action scaleY. --- @function [parent=#ActionScaleFrame] setScaleY --- @param self --- @param #float scaleY --- @return ActionScaleFrame#ActionScaleFrame self (return value: ccs.ActionScaleFrame) - --------------------------------- --- Changes the scale action scaleX.
--- param the scale action scaleX. --- @function [parent=#ActionScaleFrame] setScaleX --- @param self --- @param #float scaleX --- @return ActionScaleFrame#ActionScaleFrame self (return value: ccs.ActionScaleFrame) - --------------------------------- --- Gets the scale action scaleY.
--- return the scale action scaleY. --- @function [parent=#ActionScaleFrame] getScaleY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the scale action scaleX.
--- return the scale action scaleX. --- @function [parent=#ActionScaleFrame] getScaleX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the ActionInterval of ActionFrame.
--- param duration the duration time of ActionFrame
--- return ActionInterval --- @function [parent=#ActionScaleFrame] getAction --- @param self --- @param #float duration --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Default constructor --- @function [parent=#ActionScaleFrame] ActionScaleFrame --- @param self --- @return ActionScaleFrame#ActionScaleFrame self (return value: ccs.ActionScaleFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionTimeline.lua b/cocos/scripting/lua-bindings/auto/api/ActionTimeline.lua deleted file mode 100644 index fa6880919f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionTimeline.lua +++ /dev/null @@ -1,280 +0,0 @@ - --------------------------------- --- @module ActionTimeline --- @extend Action,PlayableProtocol --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ActionTimeline] clearFrameEndCallFuncs --- @param self --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- add a frame end call back to animation's end frame
--- param animationName @addFrameEndCallFunc, make the animationName as funcKey
--- param func the callback function --- @function [parent=#ActionTimeline] setAnimationEndCallFunc --- @param self --- @param #string animationName --- @param #function func --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- add Timeline to ActionTimeline --- @function [parent=#ActionTimeline] addTimeline --- @param self --- @param #ccs.Timeline timeline --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- Get current frame. --- @function [parent=#ActionTimeline] getCurrentFrame --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Start frame index of this action --- @function [parent=#ActionTimeline] getStartFrame --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Pause the animation. --- @function [parent=#ActionTimeline] pause --- @param self --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- / @{/ @name implement Playable Protocol --- @function [parent=#ActionTimeline] start --- @param self --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ActionTimeline] removeTimeline --- @param self --- @param #ccs.Timeline timeline --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] clearFrameEventCallFunc --- @param self --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- Last frame callback will call when arriving last frame --- @function [parent=#ActionTimeline] setLastFrameCallFunc --- @param self --- @param #function listener --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] getTimelines --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#ActionTimeline] play --- @param self --- @param #string animationName --- @param #bool loop --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] getAnimationInfo --- @param self --- @param #string animationName --- @return AnimationInfo#AnimationInfo ret (return value: ccs.AnimationInfo) - --------------------------------- --- Resume the animation. --- @function [parent=#ActionTimeline] resume --- @param self --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- add a callback function after played frameIndex
--- param frameIndex the frame index call back after
--- param funcKey for identity the callback function
--- param func the callback function --- @function [parent=#ActionTimeline] addFrameEndCallFunc --- @param self --- @param #int frameIndex --- @param #string funcKey --- @param #function func --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] removeAnimationInfo --- @param self --- @param #string animationName --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- Get current animation speed. --- @function [parent=#ActionTimeline] getTimeSpeed --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- AnimationInfo --- @function [parent=#ActionTimeline] addAnimationInfo --- @param self --- @param #ccs.AnimationInfo animationInfo --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] getDuration --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Goto the specified frame index, and pause at this index.
--- param startIndex The animation will pause at this index. --- @function [parent=#ActionTimeline] gotoFrameAndPause --- @param self --- @param #int startIndex --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- Whether or not Action is playing. --- @function [parent=#ActionTimeline] isPlaying --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ActionTimeline] removeFrameEndCallFuncs --- @param self --- @param #int frameIndex --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- @overload self, int, bool --- @overload self, int --- @overload self, int, int, bool --- @overload self, int, int, int, bool --- @function [parent=#ActionTimeline] gotoFrameAndPlay --- @param self --- @param #int startIndex --- @param #int endIndex --- @param #int currentFrameIndex --- @param #bool loop --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] IsAnimationInfoExists --- @param self --- @param #string animationName --- @return bool#bool ret (return value: bool) - --------------------------------- --- End frame of this action.
--- When action play to this frame, if action is not loop, then it will stop,
--- or it will play from start frame again. --- @function [parent=#ActionTimeline] getEndFrame --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set the animation speed, this will speed up or slow down the speed. --- @function [parent=#ActionTimeline] setTimeSpeed --- @param self --- @param #float speed --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] clearLastFrameCallFunc --- @param self --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- duration of the whole action --- @function [parent=#ActionTimeline] setDuration --- @param self --- @param #int duration --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- Set current frame index, this will cause action plays to this frame. --- @function [parent=#ActionTimeline] setCurrentFrame --- @param self --- @param #int frameIndex --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] removeFrameEndCallFunc --- @param self --- @param #int frameIndex --- @param #string funcKey --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] create --- @param self --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] startWithTarget --- @param self --- @param #cc.Node target --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- Returns a reverse of ActionTimeline.
--- Not implement yet. --- @function [parent=#ActionTimeline] reverse --- @param self --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- Returns a clone of ActionTimeline --- @function [parent=#ActionTimeline] clone --- @param self --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] stop --- @param self --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] step --- @param self --- @param #float delta --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimeline] isDone --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ActionTimeline] ActionTimeline --- @param self --- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionTimelineCache.lua b/cocos/scripting/lua-bindings/auto/api/ActionTimelineCache.lua deleted file mode 100644 index e8fbb65a2b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionTimelineCache.lua +++ /dev/null @@ -1,89 +0,0 @@ - --------------------------------- --- @module ActionTimelineCache --- @parent_module ccs - --------------------------------- --- Clone a action with the specified name from the container. --- @function [parent=#ActionTimelineCache] createActionFromJson --- @param self --- @param #string fileName --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] createActionWithFlatBuffersFile --- @param self --- @param #string fileName --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] loadAnimationActionWithFlatBuffersFile --- @param self --- @param #string fileName --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] createActionFromContent --- @param self --- @param #string fileName --- @param #string content --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] purge --- @param self --- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] init --- @param self --- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] loadAnimationActionWithContent --- @param self --- @param #string fileName --- @param #string content --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] loadAnimationActionWithFile --- @param self --- @param #string fileName --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- Remove action with filename, and also remove other resource relate with this file --- @function [parent=#ActionTimelineCache] removeAction --- @param self --- @param #string fileName --- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] createActionWithFlatBuffersForSimulator --- @param self --- @param #string fileName --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- Destroys the singleton --- @function [parent=#ActionTimelineCache] destroyInstance --- @param self --- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache) - --------------------------------- --- --- @function [parent=#ActionTimelineCache] createAction --- @param self --- @param #string fileName --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionTimelineData.lua b/cocos/scripting/lua-bindings/auto/api/ActionTimelineData.lua deleted file mode 100644 index b70cb083e4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionTimelineData.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module ActionTimelineData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ActionTimelineData] setActionTag --- @param self --- @param #int actionTag --- @return ActionTimelineData#ActionTimelineData self (return value: ccs.ActionTimelineData) - --------------------------------- --- --- @function [parent=#ActionTimelineData] init --- @param self --- @param #int actionTag --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ActionTimelineData] getActionTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#ActionTimelineData] create --- @param self --- @param #int actionTag --- @return ActionTimelineData#ActionTimelineData ret (return value: ccs.ActionTimelineData) - --------------------------------- --- --- @function [parent=#ActionTimelineData] ActionTimelineData --- @param self --- @return ActionTimelineData#ActionTimelineData self (return value: ccs.ActionTimelineData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionTimelineNode.lua b/cocos/scripting/lua-bindings/auto/api/ActionTimelineNode.lua deleted file mode 100644 index f756458057..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionTimelineNode.lua +++ /dev/null @@ -1,61 +0,0 @@ - --------------------------------- --- @module ActionTimelineNode --- @extend Node --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ActionTimelineNode] getRoot --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#ActionTimelineNode] getActionTimeline --- @param self --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#ActionTimelineNode] setActionTimeline --- @param self --- @param #ccs.ActionTimeline action --- @return ActionTimelineNode#ActionTimelineNode self (return value: ccs.ActionTimelineNode) - --------------------------------- --- --- @function [parent=#ActionTimelineNode] init --- @param self --- @param #cc.Node root --- @param #ccs.ActionTimeline action --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ActionTimelineNode] setRoot --- @param self --- @param #cc.Node root --- @return ActionTimelineNode#ActionTimelineNode self (return value: ccs.ActionTimelineNode) - --------------------------------- --- --- @function [parent=#ActionTimelineNode] create --- @param self --- @param #cc.Node root --- @param #ccs.ActionTimeline action --- @return ActionTimelineNode#ActionTimelineNode ret (return value: ccs.ActionTimelineNode) - --------------------------------- --- --- @function [parent=#ActionTimelineNode] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ActionTimelineNode] ActionTimelineNode --- @param self --- @return ActionTimelineNode#ActionTimelineNode self (return value: ccs.ActionTimelineNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionTintFrame.lua b/cocos/scripting/lua-bindings/auto/api/ActionTintFrame.lua deleted file mode 100644 index 5d8c49968b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionTintFrame.lua +++ /dev/null @@ -1,37 +0,0 @@ - --------------------------------- --- @module ActionTintFrame --- @extend ActionFrame --- @parent_module ccs - --------------------------------- --- Gets the tint action color.
--- return the tint action color. --- @function [parent=#ActionTintFrame] getColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Gets the ActionInterval of ActionFrame.
--- param duration the duration time of ActionFrame
--- return ActionInterval --- @function [parent=#ActionTintFrame] getAction --- @param self --- @param #float duration --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Changes the tint action color.
--- param ccolor the tint action color --- @function [parent=#ActionTintFrame] setColor --- @param self --- @param #color3b_table ccolor --- @return ActionTintFrame#ActionTintFrame self (return value: ccs.ActionTintFrame) - --------------------------------- --- Default constructor --- @function [parent=#ActionTintFrame] ActionTintFrame --- @param self --- @return ActionTintFrame#ActionTintFrame self (return value: ccs.ActionTintFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ActionTween.lua b/cocos/scripting/lua-bindings/auto/api/ActionTween.lua deleted file mode 100644 index f6c333c383..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ActionTween.lua +++ /dev/null @@ -1,63 +0,0 @@ - --------------------------------- --- @module ActionTween --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- brief Initializes the action with the property name (key), and the from and to parameters.
--- param duration The duration of the ActionTween. It's a value in seconds.
--- param key The key of property which should be updated.
--- param from The value of the specified property when the action begin.
--- param to The value of the specified property when the action end.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#ActionTween] initWithDuration --- @param self --- @param #float duration --- @param #string key --- @param #float from --- @param #float to --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create and initializes the action with the property name (key), and the from and to parameters.
--- param duration The duration of the ActionTween. It's a value in seconds.
--- param key The key of property which should be updated.
--- param from The value of the specified property when the action begin.
--- param to The value of the specified property when the action end.
--- return If the creation success, return a pointer of ActionTween; otherwise, return nil. --- @function [parent=#ActionTween] create --- @param self --- @param #float duration --- @param #string key --- @param #float from --- @param #float to --- @return ActionTween#ActionTween ret (return value: cc.ActionTween) - --------------------------------- --- --- @function [parent=#ActionTween] startWithTarget --- @param self --- @param #cc.Node target --- @return ActionTween#ActionTween self (return value: cc.ActionTween) - --------------------------------- --- --- @function [parent=#ActionTween] clone --- @param self --- @return ActionTween#ActionTween ret (return value: cc.ActionTween) - --------------------------------- --- --- @function [parent=#ActionTween] update --- @param self --- @param #float dt --- @return ActionTween#ActionTween self (return value: cc.ActionTween) - --------------------------------- --- --- @function [parent=#ActionTween] reverse --- @param self --- @return ActionTween#ActionTween ret (return value: cc.ActionTween) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AlphaFrame.lua b/cocos/scripting/lua-bindings/auto/api/AlphaFrame.lua deleted file mode 100644 index 06f6f808e6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AlphaFrame.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module AlphaFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#AlphaFrame] getAlpha --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- --- @function [parent=#AlphaFrame] setAlpha --- @param self --- @param #unsigned char alpha --- @return AlphaFrame#AlphaFrame self (return value: ccs.AlphaFrame) - --------------------------------- --- --- @function [parent=#AlphaFrame] create --- @param self --- @return AlphaFrame#AlphaFrame ret (return value: ccs.AlphaFrame) - --------------------------------- --- --- @function [parent=#AlphaFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#AlphaFrame] AlphaFrame --- @param self --- @return AlphaFrame#AlphaFrame self (return value: ccs.AlphaFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AmbientLight.lua b/cocos/scripting/lua-bindings/auto/api/AmbientLight.lua deleted file mode 100644 index 1ddb8b2e88..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AmbientLight.lua +++ /dev/null @@ -1,28 +0,0 @@ - --------------------------------- --- @module AmbientLight --- @extend BaseLight --- @parent_module cc - --------------------------------- --- Creates a ambient light.
--- param color The light's color.
--- return The new ambient light. --- @function [parent=#AmbientLight] create --- @param self --- @param #color3b_table color --- @return AmbientLight#AmbientLight ret (return value: cc.AmbientLight) - --------------------------------- --- --- @function [parent=#AmbientLight] getLightType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#AmbientLight] AmbientLight --- @param self --- @return AmbientLight#AmbientLight self (return value: cc.AmbientLight) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AnchorPointFrame.lua b/cocos/scripting/lua-bindings/auto/api/AnchorPointFrame.lua deleted file mode 100644 index 8ff4195064..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AnchorPointFrame.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module AnchorPointFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#AnchorPointFrame] setAnchorPoint --- @param self --- @param #vec2_table point --- @return AnchorPointFrame#AnchorPointFrame self (return value: ccs.AnchorPointFrame) - --------------------------------- --- --- @function [parent=#AnchorPointFrame] getAnchorPoint --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#AnchorPointFrame] create --- @param self --- @return AnchorPointFrame#AnchorPointFrame ret (return value: ccs.AnchorPointFrame) - --------------------------------- --- --- @function [parent=#AnchorPointFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#AnchorPointFrame] AnchorPointFrame --- @param self --- @return AnchorPointFrame#AnchorPointFrame self (return value: ccs.AnchorPointFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Animate.lua b/cocos/scripting/lua-bindings/auto/api/Animate.lua deleted file mode 100644 index a7bc3bba4a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Animate.lua +++ /dev/null @@ -1,83 +0,0 @@ - --------------------------------- --- @module Animate --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- initializes the action with an Animation and will restore the original frame when the animation is over --- @function [parent=#Animate] initWithAnimation --- @param self --- @param #cc.Animation animation --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#Animate] getAnimation --- @param self --- @return Animation#Animation ret (return value: cc.Animation) - --------------------------------- --- Gets the index of sprite frame currently displayed.
--- return int the index of sprite frame currently displayed. --- @function [parent=#Animate] getCurrentFrameIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets the Animation object to be animated
--- param animation certain animation. --- @function [parent=#Animate] setAnimation --- @param self --- @param #cc.Animation animation --- @return Animate#Animate self (return value: cc.Animate) - --------------------------------- --- Creates the action with an Animation and will restore the original frame when the animation is over.
--- param animation A certain animation.
--- return An autoreleased Animate object. --- @function [parent=#Animate] create --- @param self --- @param #cc.Animation animation --- @return Animate#Animate ret (return value: cc.Animate) - --------------------------------- --- --- @function [parent=#Animate] startWithTarget --- @param self --- @param #cc.Node target --- @return Animate#Animate self (return value: cc.Animate) - --------------------------------- --- --- @function [parent=#Animate] clone --- @param self --- @return Animate#Animate ret (return value: cc.Animate) - --------------------------------- --- --- @function [parent=#Animate] stop --- @param self --- @return Animate#Animate self (return value: cc.Animate) - --------------------------------- --- --- @function [parent=#Animate] reverse --- @param self --- @return Animate#Animate ret (return value: cc.Animate) - --------------------------------- --- param t In seconds. --- @function [parent=#Animate] update --- @param self --- @param #float t --- @return Animate#Animate self (return value: cc.Animate) - --------------------------------- --- --- @function [parent=#Animate] Animate --- @param self --- @return Animate#Animate self (return value: cc.Animate) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Animate3D.lua b/cocos/scripting/lua-bindings/auto/api/Animate3D.lua deleted file mode 100644 index f3af036a40..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Animate3D.lua +++ /dev/null @@ -1,176 +0,0 @@ - --------------------------------- --- @module Animate3D --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- --- @function [parent=#Animate3D] setKeyFrameUserInfo --- @param self --- @param #int keyFrame --- @param #map_table userInfo --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- get & set speed, negative speed means playing reverse --- @function [parent=#Animate3D] getSpeed --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- set animate quality --- @function [parent=#Animate3D] setQuality --- @param self --- @param #int quality --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] setWeight --- @param self --- @param #float weight --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] removeFromMap --- @param self --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] initWithFrames --- @param self --- @param #cc.Animation3D animation --- @param #int startFrame --- @param #int endFrame --- @param #float frameRate --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Animate3D] getOriginInterval --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Animate3D] setSpeed --- @param self --- @param #float speed --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- @overload self, cc.Animation3D, float, float --- @overload self, cc.Animation3D --- @function [parent=#Animate3D] init --- @param self --- @param #cc.Animation3D animation --- @param #float fromTime --- @param #float duration --- @return bool#bool ret (return value: bool) - --------------------------------- --- get & set origin interval --- @function [parent=#Animate3D] setOriginInterval --- @param self --- @param #float interval --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- get & set blend weight, weight must positive --- @function [parent=#Animate3D] getWeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get animate quality --- @function [parent=#Animate3D] getQuality --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, cc.Animation3D, float, float --- @overload self, cc.Animation3D --- @function [parent=#Animate3D] create --- @param self --- @param #cc.Animation3D animation --- @param #float fromTime --- @param #float duration --- @return Animate3D#Animate3D ret (return value: cc.Animate3D) - --------------------------------- --- get animate transition time between 3d animations --- @function [parent=#Animate3D] getTransitionTime --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- create Animate3D by frame section, [startFrame, endFrame)
--- param animation used to generate animate3D
--- param startFrame
--- param endFrame
--- param frameRate default is 30 per second
--- return Animate3D created using animate --- @function [parent=#Animate3D] createWithFrames --- @param self --- @param #cc.Animation3D animation --- @param #int startFrame --- @param #int endFrame --- @param #float frameRate --- @return Animate3D#Animate3D ret (return value: cc.Animate3D) - --------------------------------- --- set animate transition time between 3d animations --- @function [parent=#Animate3D] setTransitionTime --- @param self --- @param #float transTime --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] startWithTarget --- @param self --- @param #cc.Node target --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] reverse --- @param self --- @return Animate3D#Animate3D ret (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] clone --- @param self --- @return Animate3D#Animate3D ret (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] stop --- @param self --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] update --- @param self --- @param #float t --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] step --- @param self --- @param #float dt --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - --------------------------------- --- --- @function [parent=#Animate3D] Animate3D --- @param self --- @return Animate3D#Animate3D self (return value: cc.Animate3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Animation.lua b/cocos/scripting/lua-bindings/auto/api/Animation.lua deleted file mode 100644 index a079304367..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Animation.lua +++ /dev/null @@ -1,168 +0,0 @@ - --------------------------------- --- @module Animation --- @extend Ref --- @parent_module cc - --------------------------------- --- Gets the times the animation is going to loop. 0 means animation is not animated. 1, animation is executed one time, ...
--- return The times the animation is going to loop. --- @function [parent=#Animation] getLoops --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Adds a SpriteFrame to a Animation.
--- param frame The frame will be added with one "delay unit". --- @function [parent=#Animation] addSpriteFrame --- @param self --- @param #cc.SpriteFrame frame --- @return Animation#Animation self (return value: cc.Animation) - --------------------------------- --- Sets whether to restore the original frame when animation finishes.
--- param restoreOriginalFrame Whether to restore the original frame when animation finishes. --- @function [parent=#Animation] setRestoreOriginalFrame --- @param self --- @param #bool restoreOriginalFrame --- @return Animation#Animation self (return value: cc.Animation) - --------------------------------- --- --- @function [parent=#Animation] clone --- @param self --- @return Animation#Animation ret (return value: cc.Animation) - --------------------------------- --- Gets the duration in seconds of the whole animation. It is the result of totalDelayUnits * delayPerUnit.
--- return Result of totalDelayUnits * delayPerUnit. --- @function [parent=#Animation] getDuration --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Initializes a Animation with AnimationFrame.
--- since v2.0 --- @function [parent=#Animation] initWithAnimationFrames --- @param self --- @param #array_table arrayOfAnimationFrameNames --- @param #float delayPerUnit --- @param #unsigned int loops --- @return bool#bool ret (return value: bool) - --------------------------------- --- Initializes a Animation. --- @function [parent=#Animation] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the array of AnimationFrames.
--- param frames The array of AnimationFrames. --- @function [parent=#Animation] setFrames --- @param self --- @param #array_table frames --- @return Animation#Animation self (return value: cc.Animation) - --------------------------------- --- Gets the array of AnimationFrames.
--- return The array of AnimationFrames. --- @function [parent=#Animation] getFrames --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Sets the times the animation is going to loop. 0 means animation is not animated. 1, animation is executed one time, ...
--- param loops The times the animation is going to loop. --- @function [parent=#Animation] setLoops --- @param self --- @param #unsigned int loops --- @return Animation#Animation self (return value: cc.Animation) - --------------------------------- --- Sets the delay in seconds of the "delay unit".
--- param delayPerUnit The delay in seconds of the "delay unit". --- @function [parent=#Animation] setDelayPerUnit --- @param self --- @param #float delayPerUnit --- @return Animation#Animation self (return value: cc.Animation) - --------------------------------- --- Adds a frame with an image filename. Internally it will create a SpriteFrame and it will add it.
--- The frame will be added with one "delay unit".
--- Added to facilitate the migration from v0.8 to v0.9.
--- param filename The path of SpriteFrame. --- @function [parent=#Animation] addSpriteFrameWithFile --- @param self --- @param #string filename --- @return Animation#Animation self (return value: cc.Animation) - --------------------------------- --- Gets the total Delay units of the Animation.
--- return The total Delay units of the Animation. --- @function [parent=#Animation] getTotalDelayUnits --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the delay in seconds of the "delay unit".
--- return The delay in seconds of the "delay unit". --- @function [parent=#Animation] getDelayPerUnit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Initializes a Animation with frames and a delay between frames.
--- since v0.99.5 --- @function [parent=#Animation] initWithSpriteFrames --- @param self --- @param #array_table arrayOfSpriteFrameNames --- @param #float delay --- @param #unsigned int loops --- @return bool#bool ret (return value: bool) - --------------------------------- --- Checks whether to restore the original frame when animation finishes.
--- return Restore the original frame when animation finishes. --- @function [parent=#Animation] getRestoreOriginalFrame --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Adds a frame with a texture and a rect. Internally it will create a SpriteFrame and it will add it.
--- The frame will be added with one "delay unit".
--- Added to facilitate the migration from v0.8 to v0.9.
--- param pobTexture A frame with a texture.
--- param rect The Texture of rect. --- @function [parent=#Animation] addSpriteFrameWithTexture --- @param self --- @param #cc.Texture2D pobTexture --- @param #rect_table rect --- @return Animation#Animation self (return value: cc.Animation) - --------------------------------- --- @overload self, array_table, float, unsigned int --- @overload self --- @function [parent=#Animation] create --- @param self --- @param #array_table arrayOfAnimationFrameNames --- @param #float delayPerUnit --- @param #unsigned int loops --- @return Animation#Animation ret (return value: cc.Animation) - --------------------------------- --- --- @function [parent=#Animation] createWithSpriteFrames --- @param self --- @param #array_table arrayOfSpriteFrameNames --- @param #float delay --- @param #unsigned int loops --- @return Animation#Animation ret (return value: cc.Animation) - --------------------------------- --- --- @function [parent=#Animation] Animation --- @param self --- @return Animation#Animation self (return value: cc.Animation) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Animation3D.lua b/cocos/scripting/lua-bindings/auto/api/Animation3D.lua deleted file mode 100644 index 1ca8318378..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Animation3D.lua +++ /dev/null @@ -1,42 +0,0 @@ - --------------------------------- --- @module Animation3D --- @extend Ref --- @parent_module cc - --------------------------------- --- init Animation3D with file name and animation name --- @function [parent=#Animation3D] initWithFile --- @param self --- @param #string filename --- @param #string animationName --- @return bool#bool ret (return value: bool) - --------------------------------- --- init Animation3D from bundle data --- @function [parent=#Animation3D] init --- @param self --- @param #cc.Animation3DData data --- @return bool#bool ret (return value: bool) - --------------------------------- --- get duration --- @function [parent=#Animation3D] getDuration --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- read all animation or only the animation with given animationName? animationName == "" read the first. --- @function [parent=#Animation3D] create --- @param self --- @param #string filename --- @param #string animationName --- @return Animation3D#Animation3D ret (return value: cc.Animation3D) - --------------------------------- --- --- @function [parent=#Animation3D] Animation3D --- @param self --- @return Animation3D#Animation3D self (return value: cc.Animation3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AnimationCache.lua b/cocos/scripting/lua-bindings/auto/api/AnimationCache.lua deleted file mode 100644 index 58d24175a6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AnimationCache.lua +++ /dev/null @@ -1,86 +0,0 @@ - --------------------------------- --- @module AnimationCache --- @extend Ref --- @parent_module cc - --------------------------------- --- Returns a Animation that was previously added.
--- If the name is not found it will return nil.
--- You should retain the returned copy if you are going to use it.
--- return A Animation that was previously added. If the name is not found it will return nil. --- @function [parent=#AnimationCache] getAnimation --- @param self --- @param #string name --- @return Animation#Animation ret (return value: cc.Animation) - --------------------------------- --- Adds a Animation with a name.
--- param animation An animation.
--- param name The name of animation. --- @function [parent=#AnimationCache] addAnimation --- @param self --- @param #cc.Animation animation --- @param #string name --- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache) - --------------------------------- --- --- @function [parent=#AnimationCache] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Adds an animation from an NSDictionary.
--- Make sure that the frames were previously loaded in the SpriteFrameCache.
--- param dictionary An NSDictionary.
--- param plist The path of the relative file,it use to find the plist path for load SpriteFrames.
--- since v1.1
--- js NA --- @function [parent=#AnimationCache] addAnimationsWithDictionary --- @param self --- @param #map_table dictionary --- @param #string plist --- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache) - --------------------------------- --- Deletes a Animation from the cache.
--- param name The name of animation. --- @function [parent=#AnimationCache] removeAnimation --- @param self --- @param #string name --- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache) - --------------------------------- --- Adds an animation from a plist file.
--- Make sure that the frames were previously loaded in the SpriteFrameCache.
--- since v1.1
--- js addAnimations
--- lua addAnimations
--- param plist An animation from a plist file. --- @function [parent=#AnimationCache] addAnimationsWithFile --- @param self --- @param #string plist --- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache) - --------------------------------- --- Purges the cache. It releases all the Animation objects and the shared instance.
--- js NA --- @function [parent=#AnimationCache] destroyInstance --- @param self --- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache) - --------------------------------- --- Returns the shared instance of the Animation cache
--- js NA --- @function [parent=#AnimationCache] getInstance --- @param self --- @return AnimationCache#AnimationCache ret (return value: cc.AnimationCache) - --------------------------------- --- js ctor --- @function [parent=#AnimationCache] AnimationCache --- @param self --- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AnimationData.lua b/cocos/scripting/lua-bindings/auto/api/AnimationData.lua deleted file mode 100644 index 3b03fc6653..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AnimationData.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module AnimationData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#AnimationData] getMovement --- @param self --- @param #string movementName --- @return MovementData#MovementData ret (return value: ccs.MovementData) - --------------------------------- --- --- @function [parent=#AnimationData] getMovementCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#AnimationData] addMovement --- @param self --- @param #ccs.MovementData movData --- @return AnimationData#AnimationData self (return value: ccs.AnimationData) - --------------------------------- --- --- @function [parent=#AnimationData] create --- @param self --- @return AnimationData#AnimationData ret (return value: ccs.AnimationData) - --------------------------------- --- js ctor --- @function [parent=#AnimationData] AnimationData --- @param self --- @return AnimationData#AnimationData self (return value: ccs.AnimationData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AnimationFrame.lua b/cocos/scripting/lua-bindings/auto/api/AnimationFrame.lua deleted file mode 100644 index b167858b76..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AnimationFrame.lua +++ /dev/null @@ -1,86 +0,0 @@ - --------------------------------- --- @module AnimationFrame --- @extend Ref --- @parent_module cc - --------------------------------- --- Set the SpriteFrame.
--- param frame A SpriteFrame will be used. --- @function [parent=#AnimationFrame] setSpriteFrame --- @param self --- @param #cc.SpriteFrame frame --- @return AnimationFrame#AnimationFrame self (return value: cc.AnimationFrame) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#AnimationFrame] getUserInfo --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- Sets the units of time the frame takes.
--- param delayUnits The units of time the frame takes. --- @function [parent=#AnimationFrame] setDelayUnits --- @param self --- @param #float delayUnits --- @return AnimationFrame#AnimationFrame self (return value: cc.AnimationFrame) - --------------------------------- --- --- @function [parent=#AnimationFrame] clone --- @param self --- @return AnimationFrame#AnimationFrame ret (return value: cc.AnimationFrame) - --------------------------------- --- Return a SpriteFrameName to be used.
--- return a SpriteFrameName to be used. --- @function [parent=#AnimationFrame] getSpriteFrame --- @param self --- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame) - --------------------------------- --- Gets the units of time the frame takes.
--- return The units of time the frame takes. --- @function [parent=#AnimationFrame] getDelayUnits --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets user information.
--- param userInfo A dictionary as UserInfo. --- @function [parent=#AnimationFrame] setUserInfo --- @param self --- @param #map_table userInfo --- @return AnimationFrame#AnimationFrame self (return value: cc.AnimationFrame) - --------------------------------- --- initializes the animation frame with a spriteframe, number of delay units and a notification user info --- @function [parent=#AnimationFrame] initWithSpriteFrame --- @param self --- @param #cc.SpriteFrame spriteFrame --- @param #float delayUnits --- @param #map_table userInfo --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates the animation frame with a spriteframe, number of delay units and a notification user info.
--- param spriteFrame The animation frame with a spriteframe.
--- param delayUnits Number of delay units.
--- param userInfo A notification user info.
--- since 3.0 --- @function [parent=#AnimationFrame] create --- @param self --- @param #cc.SpriteFrame spriteFrame --- @param #float delayUnits --- @param #map_table userInfo --- @return AnimationFrame#AnimationFrame ret (return value: cc.AnimationFrame) - --------------------------------- --- js ctor --- @function [parent=#AnimationFrame] AnimationFrame --- @param self --- @return AnimationFrame#AnimationFrame self (return value: cc.AnimationFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Application.lua b/cocos/scripting/lua-bindings/auto/api/Application.lua deleted file mode 100644 index c6ddb743d6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Application.lua +++ /dev/null @@ -1,57 +0,0 @@ - --------------------------------- --- @module Application --- @parent_module cc - --------------------------------- --- brief Get target platform --- @function [parent=#Application] getTargetPlatform --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Get current language config
--- return Current language config --- @function [parent=#Application] getCurrentLanguage --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Get current language iso 639-1 code
--- return Current language iso 639-1 code --- @function [parent=#Application] getCurrentLanguageCode --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- brief Open url in default browser
--- param String with url to open.
--- return true if the resource located by the URL was successfully opened; otherwise false. --- @function [parent=#Application] openURL --- @param self --- @param #string url --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get application version. --- @function [parent=#Application] getVersion --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, float, int --- @overload self, float --- @function [parent=#Application] setAnimationInterval --- @param self --- @param #float interval --- @param #int reason --- @return Application#Application self (return value: cc.Application) - --------------------------------- --- brief Get current application instance.
--- return Current application instance pointer. --- @function [parent=#Application] getInstance --- @param self --- @return Application#Application ret (return value: cc.Application) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Armature.lua b/cocos/scripting/lua-bindings/auto/api/Armature.lua deleted file mode 100644 index 35919a874c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Armature.lua +++ /dev/null @@ -1,230 +0,0 @@ - --------------------------------- --- @module Armature --- @extend Node,BlendProtocol --- @parent_module ccs - --------------------------------- --- Get a bone with the specified name
--- param name The bone's name you want to get --- @function [parent=#Armature] getBone --- @param self --- @param #string name --- @return Bone#Bone ret (return value: ccs.Bone) - --------------------------------- --- Change a bone's parent with the specified parent name.
--- param bone The bone you want to change parent
--- param parentName The new parent's name. --- @function [parent=#Armature] changeBoneParent --- @param self --- @param #ccs.Bone bone --- @param #string parentName --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] setAnimation --- @param self --- @param #ccs.ArmatureAnimation animation --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] getBoneAtPoint --- @param self --- @param #float x --- @param #float y --- @return Bone#Bone ret (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Armature] getArmatureTransformDirty --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Armature] setVersion --- @param self --- @param #float version --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- Set contentsize and Calculate anchor point. --- @function [parent=#Armature] updateOffsetPoint --- @param self --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] getParentBone --- @param self --- @return Bone#Bone ret (return value: ccs.Bone) - --------------------------------- --- Remove a bone with the specified name. If recursion it will also remove child Bone recursionly.
--- param bone The bone you want to remove
--- param recursion Determine whether remove the bone's child recursion. --- @function [parent=#Armature] removeBone --- @param self --- @param #ccs.Bone bone --- @param #bool recursion --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] getBatchNode --- @param self --- @return BatchNode#BatchNode ret (return value: ccs.BatchNode) - --------------------------------- --- @overload self, string, ccs.Bone --- @overload self, string --- @function [parent=#Armature] init --- @param self --- @param #string name --- @param #ccs.Bone parentBone --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Armature] setParentBone --- @param self --- @param #ccs.Bone parentBone --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] setBatchNode --- @param self --- @param #ccs.BatchNode batchNode --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#Armature] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- --- @function [parent=#Armature] setArmatureData --- @param self --- @param #ccs.ArmatureData armatureData --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- Add a Bone to this Armature,
--- param bone The Bone you want to add to Armature
--- param parentName The parent Bone's name you want to add to . If it's nullptr, then set Armature to its parent --- @function [parent=#Armature] addBone --- @param self --- @param #ccs.Bone bone --- @param #string parentName --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] getArmatureData --- @param self --- @return ArmatureData#ArmatureData ret (return value: ccs.ArmatureData) - --------------------------------- --- --- @function [parent=#Armature] getVersion --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Armature] getAnimation --- @param self --- @return ArmatureAnimation#ArmatureAnimation ret (return value: ccs.ArmatureAnimation) - --------------------------------- --- --- @function [parent=#Armature] getOffsetPoints --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#Armature] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- Get Armature's bone dictionary
--- return Armature's bone dictionary --- @function [parent=#Armature] getBoneDic --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- @overload self, string --- @overload self --- @overload self, string, ccs.Bone --- @function [parent=#Armature] create --- @param self --- @param #string name --- @param #ccs.Bone parentBone --- @return Armature#Armature ret (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] setAnchorPoint --- @param self --- @param #vec2_table point --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Armature] getAnchorPointInPoints --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#Armature] update --- @param self --- @param #float dt --- @return Armature#Armature self (return value: ccs.Armature) - --------------------------------- --- Init the empty armature --- @function [parent=#Armature] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Armature] getNodeToParentTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- This boundingBox will calculate all bones' boundingBox every time --- @function [parent=#Armature] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- js ctor --- @function [parent=#Armature] Armature --- @param self --- @return Armature#Armature self (return value: ccs.Armature) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ArmatureAnimation.lua b/cocos/scripting/lua-bindings/auto/api/ArmatureAnimation.lua deleted file mode 100644 index 130798b5fe..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ArmatureAnimation.lua +++ /dev/null @@ -1,158 +0,0 @@ - --------------------------------- --- @module ArmatureAnimation --- @extend ProcessBase --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ArmatureAnimation] getSpeedScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Play animation by animation name.
--- param animationName The animation name you want to play
--- param durationTo The frames between two animation changing-over.
--- It's meaning is changing to this animation need how many frames
--- -1 : use the value from MovementData get from flash design panel
--- param loop Whether the animation is loop
--- loop < 0 : use the value from MovementData get from flash design panel
--- loop = 0 : this animation is not loop
--- loop > 0 : this animation is loop --- @function [parent=#ArmatureAnimation] play --- @param self --- @param #string animationName --- @param #int durationTo --- @param #int loop --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- Go to specified frame and pause current movement. --- @function [parent=#ArmatureAnimation] gotoAndPause --- @param self --- @param #int frameIndex --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- --- @function [parent=#ArmatureAnimation] playWithIndexes --- @param self --- @param #array_table movementIndexes --- @param #int durationTo --- @param #bool loop --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- --- @function [parent=#ArmatureAnimation] setAnimationData --- @param self --- @param #ccs.AnimationData data --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- Scale animation play speed.
--- param animationScale Scale value --- @function [parent=#ArmatureAnimation] setSpeedScale --- @param self --- @param #float speedScale --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- --- @function [parent=#ArmatureAnimation] getAnimationData --- @param self --- @return AnimationData#AnimationData ret (return value: ccs.AnimationData) - --------------------------------- --- Go to specified frame and play current movement.
--- You need first switch to the movement you want to play, then call this function.
--- example : playByIndex(0);
--- gotoAndPlay(0);
--- playByIndex(1);
--- gotoAndPlay(0);
--- gotoAndPlay(15); --- @function [parent=#ArmatureAnimation] gotoAndPlay --- @param self --- @param #int frameIndex --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- Init with a Armature
--- param armature The Armature ArmatureAnimation will bind to --- @function [parent=#ArmatureAnimation] init --- @param self --- @param #ccs.Armature armature --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ArmatureAnimation] playWithNames --- @param self --- @param #array_table movementNames --- @param #int durationTo --- @param #bool loop --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- Get movement count --- @function [parent=#ArmatureAnimation] getMovementCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#ArmatureAnimation] playWithIndex --- @param self --- @param #int animationIndex --- @param #int durationTo --- @param #int loop --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- Get current movementID
--- return The name of current movement --- @function [parent=#ArmatureAnimation] getCurrentMovementID --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Create with a Armature
--- param armature The Armature ArmatureAnimation will bind to --- @function [parent=#ArmatureAnimation] create --- @param self --- @param #ccs.Armature armature --- @return ArmatureAnimation#ArmatureAnimation ret (return value: ccs.ArmatureAnimation) - --------------------------------- --- Pause the Process --- @function [parent=#ArmatureAnimation] pause --- @param self --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- Stop the Process --- @function [parent=#ArmatureAnimation] stop --- @param self --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- --- @function [parent=#ArmatureAnimation] update --- @param self --- @param #float dt --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- Resume the Process --- @function [parent=#ArmatureAnimation] resume --- @param self --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - --------------------------------- --- js ctor --- @function [parent=#ArmatureAnimation] ArmatureAnimation --- @param self --- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ArmatureData.lua b/cocos/scripting/lua-bindings/auto/api/ArmatureData.lua deleted file mode 100644 index f4b119361c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ArmatureData.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module ArmatureData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ArmatureData] addBoneData --- @param self --- @param #ccs.BoneData boneData --- @return ArmatureData#ArmatureData self (return value: ccs.ArmatureData) - --------------------------------- --- --- @function [parent=#ArmatureData] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ArmatureData] getBoneData --- @param self --- @param #string boneName --- @return BoneData#BoneData ret (return value: ccs.BoneData) - --------------------------------- --- --- @function [parent=#ArmatureData] create --- @param self --- @return ArmatureData#ArmatureData ret (return value: ccs.ArmatureData) - --------------------------------- --- js ctor --- @function [parent=#ArmatureData] ArmatureData --- @param self --- @return ArmatureData#ArmatureData self (return value: ccs.ArmatureData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ArmatureDataManager.lua b/cocos/scripting/lua-bindings/auto/api/ArmatureDataManager.lua deleted file mode 100644 index d6f8d4c902..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ArmatureDataManager.lua +++ /dev/null @@ -1,159 +0,0 @@ - --------------------------------- --- @module ArmatureDataManager --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ArmatureDataManager] getAnimationDatas --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- brief remove animation data
--- param id the id of the animation data --- @function [parent=#ArmatureDataManager] removeAnimationData --- @param self --- @param #string id --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- Add armature data
--- param id The id of the armature data
--- param armatureData ArmatureData * --- @function [parent=#ArmatureDataManager] addArmatureData --- @param self --- @param #string id --- @param #ccs.ArmatureData armatureData --- @param #string configFilePath --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- @overload self, string, string, string --- @overload self, string --- @function [parent=#ArmatureDataManager] addArmatureFileInfo --- @param self --- @param #string imagePath --- @param #string plistPath --- @param #string configFilePath --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- --- @function [parent=#ArmatureDataManager] removeArmatureFileInfo --- @param self --- @param #string configFilePath --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- --- @function [parent=#ArmatureDataManager] getTextureDatas --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- brief get texture data
--- param id the id of the texture data you want to get
--- return TextureData * --- @function [parent=#ArmatureDataManager] getTextureData --- @param self --- @param #string id --- @return TextureData#TextureData ret (return value: ccs.TextureData) - --------------------------------- --- brief get armature data
--- param id the id of the armature data you want to get
--- return ArmatureData * --- @function [parent=#ArmatureDataManager] getArmatureData --- @param self --- @param #string id --- @return ArmatureData#ArmatureData ret (return value: ccs.ArmatureData) - --------------------------------- --- brief get animation data from _animationDatas(Dictionary)
--- param id the id of the animation data you want to get
--- return AnimationData * --- @function [parent=#ArmatureDataManager] getAnimationData --- @param self --- @param #string id --- @return AnimationData#AnimationData ret (return value: ccs.AnimationData) - --------------------------------- --- brief add animation data
--- param id the id of the animation data
--- return AnimationData * --- @function [parent=#ArmatureDataManager] addAnimationData --- @param self --- @param #string id --- @param #ccs.AnimationData animationData --- @param #string configFilePath --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- Init ArmatureDataManager --- @function [parent=#ArmatureDataManager] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief remove armature data
--- param id the id of the armature data you want to get --- @function [parent=#ArmatureDataManager] removeArmatureData --- @param self --- @param #string id --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- --- @function [parent=#ArmatureDataManager] getArmatureDatas --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- brief remove texture data
--- param id the id of the texture data you want to get --- @function [parent=#ArmatureDataManager] removeTextureData --- @param self --- @param #string id --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- brief add texture data
--- param id the id of the texture data
--- return TextureData * --- @function [parent=#ArmatureDataManager] addTextureData --- @param self --- @param #string id --- @param #ccs.TextureData textureData --- @param #string configFilePath --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- brief Judge whether or not need auto load sprite file --- @function [parent=#ArmatureDataManager] isAutoLoadSpriteFile --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name --- @function [parent=#ArmatureDataManager] addSpriteFrameFromFile --- @param self --- @param #string plistPath --- @param #string imagePath --- @param #string configFilePath --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- --- @function [parent=#ArmatureDataManager] destroyInstance --- @param self --- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager) - --------------------------------- --- --- @function [parent=#ArmatureDataManager] getInstance --- @param self --- @return ArmatureDataManager#ArmatureDataManager ret (return value: ccs.ArmatureDataManager) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ArmatureDisplayData.lua b/cocos/scripting/lua-bindings/auto/api/ArmatureDisplayData.lua deleted file mode 100644 index 8f51a42466..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ArmatureDisplayData.lua +++ /dev/null @@ -1,19 +0,0 @@ - --------------------------------- --- @module ArmatureDisplayData --- @extend DisplayData --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ArmatureDisplayData] create --- @param self --- @return ArmatureDisplayData#ArmatureDisplayData ret (return value: ccs.ArmatureDisplayData) - --------------------------------- --- js ctor --- @function [parent=#ArmatureDisplayData] ArmatureDisplayData --- @param self --- @return ArmatureDisplayData#ArmatureDisplayData self (return value: ccs.ArmatureDisplayData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AssetsManager.lua b/cocos/scripting/lua-bindings/auto/api/AssetsManager.lua deleted file mode 100644 index 5535950576..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AssetsManager.lua +++ /dev/null @@ -1,101 +0,0 @@ - --------------------------------- --- @module AssetsManager --- @extend Node --- @parent_module cc - --------------------------------- --- --- @function [parent=#AssetsManager] setStoragePath --- @param self --- @param #char storagePath --- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager) - --------------------------------- --- --- @function [parent=#AssetsManager] setPackageUrl --- @param self --- @param #char packageUrl --- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager) - --------------------------------- --- --- @function [parent=#AssetsManager] checkUpdate --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#AssetsManager] getStoragePath --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- --- @function [parent=#AssetsManager] update --- @param self --- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager) - --------------------------------- --- @brief Sets connection time out in seconds --- @function [parent=#AssetsManager] setConnectionTimeout --- @param self --- @param #unsigned int timeout --- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager) - --------------------------------- --- --- @function [parent=#AssetsManager] setVersionFileUrl --- @param self --- @param #char versionFileUrl --- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager) - --------------------------------- --- --- @function [parent=#AssetsManager] getPackageUrl --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- @brief Gets connection time out in seconds --- @function [parent=#AssetsManager] getConnectionTimeout --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- --- @function [parent=#AssetsManager] getVersion --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#AssetsManager] getVersionFileUrl --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- --- @function [parent=#AssetsManager] deleteVersion --- @param self --- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager) - --------------------------------- --- --- @function [parent=#AssetsManager] create --- @param self --- @param #char packageUrl --- @param #char versionFileUrl --- @param #char storagePath --- @param #function errorCallback --- @param #function progressCallback --- @param #function successCallback --- @return AssetsManager#AssetsManager ret (return value: cc.AssetsManager) - --------------------------------- --- --- @function [parent=#AssetsManager] AssetsManager --- @param self --- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AssetsManagerEx.lua b/cocos/scripting/lua-bindings/auto/api/AssetsManagerEx.lua deleted file mode 100644 index cab0e1a791..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AssetsManagerEx.lua +++ /dev/null @@ -1,100 +0,0 @@ - --------------------------------- --- @module AssetsManagerEx --- @extend Ref --- @parent_module cc - --------------------------------- --- @brief Gets the current update state. --- @function [parent=#AssetsManagerEx] getState --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @brief Function for retrieving the max concurrent task count --- @function [parent=#AssetsManagerEx] getMaxConcurrentTask --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @brief Check out if there is a new version of manifest.
--- You may use this method before updating, then let user determine whether
--- he wants to update resources. --- @function [parent=#AssetsManagerEx] checkUpdate --- @param self --- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx) - --------------------------------- --- @brief Set the verification function for checking whether downloaded asset is correct, e.g. using md5 verification
--- param callback The verify callback function --- @function [parent=#AssetsManagerEx] setVerifyCallback --- @param self --- @param #function callback --- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx) - --------------------------------- --- @brief Gets storage path. --- @function [parent=#AssetsManagerEx] getStoragePath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @brief Update with the current local manifest. --- @function [parent=#AssetsManagerEx] update --- @param self --- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx) - --------------------------------- --- @brief Set the handle function for comparing manifests versions
--- param handle The compare function --- @function [parent=#AssetsManagerEx] setVersionCompareHandle --- @param self --- @param #function handle --- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx) - --------------------------------- --- @brief Function for setting the max concurrent task count --- @function [parent=#AssetsManagerEx] setMaxConcurrentTask --- @param self --- @param #int max --- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx) - --------------------------------- --- @brief Function for retrieving the local manifest object --- @function [parent=#AssetsManagerEx] getLocalManifest --- @param self --- @return Manifest#Manifest ret (return value: cc.Manifest) - --------------------------------- --- @brief Function for retrieving the remote manifest object --- @function [parent=#AssetsManagerEx] getRemoteManifest --- @param self --- @return Manifest#Manifest ret (return value: cc.Manifest) - --------------------------------- --- @brief Reupdate all failed assets under the current AssetsManagerEx context --- @function [parent=#AssetsManagerEx] downloadFailedAssets --- @param self --- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx) - --------------------------------- --- @brief Create function for creating a new AssetsManagerEx
--- param manifestUrl The url for the local manifest file
--- param storagePath The storage path for downloaded assets
--- warning The cached manifest in your storage path have higher priority and will be searched first,
--- only if it doesn't exist, AssetsManagerEx will use the given manifestUrl. --- @function [parent=#AssetsManagerEx] create --- @param self --- @param #string manifestUrl --- @param #string storagePath --- @return AssetsManagerEx#AssetsManagerEx ret (return value: cc.AssetsManagerEx) - --------------------------------- --- --- @function [parent=#AssetsManagerEx] AssetsManagerEx --- @param self --- @param #string manifestUrl --- @param #string storagePath --- @return AssetsManagerEx#AssetsManagerEx self (return value: cc.AssetsManagerEx) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AsyncTaskPool.lua b/cocos/scripting/lua-bindings/auto/api/AsyncTaskPool.lua deleted file mode 100644 index 8215260e7b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AsyncTaskPool.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module AsyncTaskPool --- @parent_module cc - --------------------------------- --- @overload self, int, function --- @overload self, int, function, void, function --- @function [parent=#AsyncTaskPool] enqueue --- @param self --- @param #int type --- @param #function callback --- @param #void callbackParam --- @param #function task --- @return AsyncTaskPool#AsyncTaskPool self (return value: cc.AsyncTaskPool) - --------------------------------- --- Stop tasks.
--- param type Task type you want to stop. --- @function [parent=#AsyncTaskPool] stopTasks --- @param self --- @param #int type --- @return AsyncTaskPool#AsyncTaskPool self (return value: cc.AsyncTaskPool) - --------------------------------- --- Destroys the async task pool. --- @function [parent=#AsyncTaskPool] destroyInstance --- @param self --- @return AsyncTaskPool#AsyncTaskPool self (return value: cc.AsyncTaskPool) - --------------------------------- --- Returns the shared instance of the async task pool. --- @function [parent=#AsyncTaskPool] getInstance --- @param self --- @return AsyncTaskPool#AsyncTaskPool ret (return value: cc.AsyncTaskPool) - --------------------------------- --- --- @function [parent=#AsyncTaskPool] AsyncTaskPool --- @param self --- @return AsyncTaskPool#AsyncTaskPool self (return value: cc.AsyncTaskPool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AtlasNode.lua b/cocos/scripting/lua-bindings/auto/api/AtlasNode.lua deleted file mode 100644 index 450350c665..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AtlasNode.lua +++ /dev/null @@ -1,153 +0,0 @@ - --------------------------------- --- @module AtlasNode --- @extend Node,TextureProtocol --- @parent_module cc - --------------------------------- --- updates the Atlas (indexed vertex array).
--- Shall be overridden in subclasses. --- @function [parent=#AtlasNode] updateAtlasValues --- @param self --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- Initializes an AtlasNode with an Atlas file the width and height of each item and the quantity of items to render --- @function [parent=#AtlasNode] initWithTileFile --- @param self --- @param #string tile --- @param #int tileWidth --- @param #int tileHeight --- @param #int itemsToRender --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#AtlasNode] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Set an buffer manager of the texture vertex. --- @function [parent=#AtlasNode] setTextureAtlas --- @param self --- @param #cc.TextureAtlas textureAtlas --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- code
--- When this function bound into js or lua,the parameter will be changed
--- In js: var setBlendFunc(var src, var dst)
--- endcode
--- lua NA --- @function [parent=#AtlasNode] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- Return the buffer manager of the texture vertex.
--- return Return A TextureAtlas. --- @function [parent=#AtlasNode] getTextureAtlas --- @param self --- @return TextureAtlas#TextureAtlas ret (return value: cc.TextureAtlas) - --------------------------------- --- lua NA --- @function [parent=#AtlasNode] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- --- @function [parent=#AtlasNode] getQuadsToDraw --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#AtlasNode] setTexture --- @param self --- @param #cc.Texture2D texture --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- Initializes an AtlasNode with a texture the width and height of each item measured in points and the quantity of items to render --- @function [parent=#AtlasNode] initWithTexture --- @param self --- @param #cc.Texture2D texture --- @param #int tileWidth --- @param #int tileHeight --- @param #int itemsToRender --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#AtlasNode] setQuadsToDraw --- @param self --- @param #int quadsToDraw --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- creates a AtlasNode with an Atlas file the width and height of each item and the quantity of items to render.
--- param filename The path of Atlas file.
--- param tileWidth The width of the item.
--- param tileHeight The height of the item.
--- param itemsToRender The quantity of items to render. --- @function [parent=#AtlasNode] create --- @param self --- @param #string filename --- @param #int tileWidth --- @param #int tileHeight --- @param #int itemsToRender --- @return AtlasNode#AtlasNode ret (return value: cc.AtlasNode) - --------------------------------- --- --- @function [parent=#AtlasNode] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- --- @function [parent=#AtlasNode] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#AtlasNode] setColor --- @param self --- @param #color3b_table color --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- --- @function [parent=#AtlasNode] getColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#AtlasNode] setOpacityModifyRGB --- @param self --- @param #bool isOpacityModifyRGB --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- --- @function [parent=#AtlasNode] setOpacity --- @param self --- @param #unsigned char opacity --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - --------------------------------- --- --- @function [parent=#AtlasNode] AtlasNode --- @param self --- @return AtlasNode#AtlasNode self (return value: cc.AtlasNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AttachNode.lua b/cocos/scripting/lua-bindings/auto/api/AttachNode.lua deleted file mode 100644 index 6b3a7a8de7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AttachNode.lua +++ /dev/null @@ -1,48 +0,0 @@ - --------------------------------- --- @module AttachNode --- @extend Node --- @parent_module cc - --------------------------------- --- creates an AttachNode
--- param attachBone The bone to which the AttachNode is going to attach, the attacheBone must be a bone of the AttachNode's parent --- @function [parent=#AttachNode] create --- @param self --- @param #cc.Bone3D attachBone --- @return AttachNode#AttachNode ret (return value: cc.AttachNode) - --------------------------------- --- --- @function [parent=#AttachNode] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return AttachNode#AttachNode self (return value: cc.AttachNode) - --------------------------------- --- --- @function [parent=#AttachNode] getWorldToNodeTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#AttachNode] getNodeToWorldTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#AttachNode] getNodeToParentTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#AttachNode] AttachNode --- @param self --- @return AttachNode#AttachNode self (return value: cc.AttachNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AudioEngine.lua b/cocos/scripting/lua-bindings/auto/api/AudioEngine.lua deleted file mode 100644 index 007e798783..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AudioEngine.lua +++ /dev/null @@ -1,229 +0,0 @@ - --------------------------------- --- @module AudioEngine --- @parent_module ccexp - --------------------------------- --- --- @function [parent=#AudioEngine] lazyInit --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the current playback position of an audio instance.
--- param audioID An audioID returned by the play2d function.
--- param sec The offset in seconds from the start to seek to.
--- return --- @function [parent=#AudioEngine] setCurrentTime --- @param self --- @param #int audioID --- @param #float sec --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the volume value of an audio instance.
--- param audioID An audioID returned by the play2d function.
--- return Volume value (range from 0.0 to 1.0). --- @function [parent=#AudioEngine] getVolume --- @param self --- @param #int audioID --- @return float#float ret (return value: float) - --------------------------------- --- Uncache the audio data from internal buffer.
--- AudioEngine cache audio data on ios,mac, and win32 platform.
--- warning This can lead to stop related audio first.
--- param filePath Audio file path. --- @function [parent=#AudioEngine] uncache --- @param self --- @param #string filePath --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Resume all suspended audio instances. --- @function [parent=#AudioEngine] resumeAll --- @param self --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Stop all audio instances. --- @function [parent=#AudioEngine] stopAll --- @param self --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Pause an audio instance.
--- param audioID An audioID returned by the play2d function. --- @function [parent=#AudioEngine] pause --- @param self --- @param #int audioID --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Gets the maximum number of simultaneous audio instance of AudioEngine. --- @function [parent=#AudioEngine] getMaxAudioInstance --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Check whether AudioEngine is enabled. --- @function [parent=#AudioEngine] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the current playback position of an audio instance.
--- param audioID An audioID returned by the play2d function.
--- return The current playback position of an audio instance. --- @function [parent=#AudioEngine] getCurrentTime --- @param self --- @param #int audioID --- @return float#float ret (return value: float) - --------------------------------- --- Sets the maximum number of simultaneous audio instance for AudioEngine.
--- param maxInstances The maximum number of simultaneous audio instance. --- @function [parent=#AudioEngine] setMaxAudioInstance --- @param self --- @param #int maxInstances --- @return bool#bool ret (return value: bool) - --------------------------------- --- Checks whether an audio instance is loop.
--- param audioID An audioID returned by the play2d function.
--- return Whether or not an audio instance is loop. --- @function [parent=#AudioEngine] isLoop --- @param self --- @param #int audioID --- @return bool#bool ret (return value: bool) - --------------------------------- --- Pause all playing audio instances. --- @function [parent=#AudioEngine] pauseAll --- @param self --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Uncache all audio data from internal buffer.
--- warning All audio will be stopped first. --- @function [parent=#AudioEngine] uncacheAll --- @param self --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Sets volume for an audio instance.
--- param audioID An audioID returned by the play2d function.
--- param volume Volume value (range from 0.0 to 1.0). --- @function [parent=#AudioEngine] setVolume --- @param self --- @param #int audioID --- @param #float volume --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#AudioEngine] preload --- @param self --- @param #string filePath --- @param #function callback --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Whether to enable playing audios
--- note If it's disabled, current playing audios will be stopped and the later 'preload', 'play2d' methods will take no effects. --- @function [parent=#AudioEngine] setEnabled --- @param self --- @param #bool isEnabled --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Play 2d sound.
--- param filePath The path of an audio file.
--- param loop Whether audio instance loop or not.
--- param volume Volume value (range from 0.0 to 1.0).
--- param profile A profile for audio instance. When profile is not specified, default profile will be used.
--- return An audio ID. It allows you to dynamically change the behavior of an audio instance on the fly.
--- see `AudioProfile` --- @function [parent=#AudioEngine] play2d --- @param self --- @param #string filePath --- @param #bool loop --- @param #float volume --- @param #cc.experimental::AudioProfile profile --- @return int#int ret (return value: int) - --------------------------------- --- Returns the state of an audio instance.
--- param audioID An audioID returned by the play2d function.
--- return The status of an audio instance. --- @function [parent=#AudioEngine] getState --- @param self --- @param #int audioID --- @return int#int ret (return value: int) - --------------------------------- --- Resume an audio instance.
--- param audioID An audioID returned by the play2d function. --- @function [parent=#AudioEngine] resume --- @param self --- @param #int audioID --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Stop an audio instance.
--- param audioID An audioID returned by the play2d function. --- @function [parent=#AudioEngine] stop --- @param self --- @param #int audioID --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Release objects relating to AudioEngine.
--- warning It must be called before the application exit.
--- lua endToLua --- @function [parent=#AudioEngine] end --- @param self --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Gets the duration of an audio instance.
--- param audioID An audioID returned by the play2d function.
--- return The duration of an audio instance. --- @function [parent=#AudioEngine] getDuration --- @param self --- @param #int audioID --- @return float#float ret (return value: float) - --------------------------------- --- Sets whether an audio instance loop or not.
--- param audioID An audioID returned by the play2d function.
--- param loop Whether audio instance loop or not. --- @function [parent=#AudioEngine] setLoop --- @param self --- @param #int audioID --- @param #bool loop --- @return experimental::AudioEngine#experimental::AudioEngine self (return value: cc.experimental::AudioEngine) - --------------------------------- --- Gets the default profile of audio instances.
--- return The default profile of audio instances. --- @function [parent=#AudioEngine] getDefaultProfile --- @param self --- @return experimental::AudioProfile#experimental::AudioProfile ret (return value: cc.experimental::AudioProfile) - --------------------------------- --- @overload self, string --- @overload self, int --- @function [parent=#AudioEngine] getProfile --- @param self --- @param #int audioID --- @return experimental::AudioProfile#experimental::AudioProfile ret (return value: cc.experimental::AudioProfile) - --------------------------------- --- Gets playing audio count. --- @function [parent=#AudioEngine] getPlayingAudioCount --- @param self --- @return int#int ret (return value: int) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AudioProfile.lua b/cocos/scripting/lua-bindings/auto/api/AudioProfile.lua deleted file mode 100644 index 1019c13ba9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AudioProfile.lua +++ /dev/null @@ -1,13 +0,0 @@ - --------------------------------- --- @module AudioProfile --- @parent_module ccexp - --------------------------------- --- Default constructor
--- lua new --- @function [parent=#AudioProfile] AudioProfile --- @param self --- @return experimental::AudioProfile#experimental::AudioProfile self (return value: cc.experimental::AudioProfile) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/AutoPolygon.lua b/cocos/scripting/lua-bindings/auto/api/AutoPolygon.lua deleted file mode 100644 index c7750adf8a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/AutoPolygon.lua +++ /dev/null @@ -1,16 +0,0 @@ - --------------------------------- --- @module AutoPolygon --- @parent_module cc - --------------------------------- --- create an AutoPolygon and initialize it with an image file
--- the image must be a 32bit PNG for current version 3.7
--- param filename a path to image file, e.g., "scene1/monster.png".
--- return an AutoPolygon object; --- @function [parent=#AutoPolygon] AutoPolygon --- @param self --- @param #string filename --- @return AutoPolygon#AutoPolygon self (return value: cc.AutoPolygon) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BaseData.lua b/cocos/scripting/lua-bindings/auto/api/BaseData.lua deleted file mode 100644 index 487052cafe..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BaseData.lua +++ /dev/null @@ -1,32 +0,0 @@ - --------------------------------- --- @module BaseData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#BaseData] getColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- --- @function [parent=#BaseData] setColor --- @param self --- @param #color4b_table color --- @return BaseData#BaseData self (return value: ccs.BaseData) - --------------------------------- --- --- @function [parent=#BaseData] create --- @param self --- @return BaseData#BaseData ret (return value: ccs.BaseData) - --------------------------------- --- js ctor --- @function [parent=#BaseData] BaseData --- @param self --- @return BaseData#BaseData self (return value: ccs.BaseData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BaseLight.lua b/cocos/scripting/lua-bindings/auto/api/BaseLight.lua deleted file mode 100644 index aae76d9d48..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BaseLight.lua +++ /dev/null @@ -1,53 +0,0 @@ - --------------------------------- --- @module BaseLight --- @extend Node --- @parent_module cc - --------------------------------- --- light enabled getter and setter. --- @function [parent=#BaseLight] setEnabled --- @param self --- @param #bool enabled --- @return BaseLight#BaseLight self (return value: cc.BaseLight) - --------------------------------- --- intensity getter and setter --- @function [parent=#BaseLight] getIntensity --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#BaseLight] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the light type,light type MUST be one of LightType::DIRECTIONAL ,
--- LightType::POINT, LightType::SPOT, LightType::AMBIENT. --- @function [parent=#BaseLight] getLightType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#BaseLight] setLightFlag --- @param self --- @param #int flag --- @return BaseLight#BaseLight self (return value: cc.BaseLight) - --------------------------------- --- --- @function [parent=#BaseLight] setIntensity --- @param self --- @param #float intensity --- @return BaseLight#BaseLight self (return value: cc.BaseLight) - --------------------------------- --- light flag getter and setter --- @function [parent=#BaseLight] getLightFlag --- @param self --- @return int#int ret (return value: int) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BatchNode.lua b/cocos/scripting/lua-bindings/auto/api/BatchNode.lua deleted file mode 100644 index c95ef4fb03..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BatchNode.lua +++ /dev/null @@ -1,46 +0,0 @@ - --------------------------------- --- @module BatchNode --- @extend Node --- @parent_module ccs - --------------------------------- --- --- @function [parent=#BatchNode] create --- @param self --- @return BatchNode#BatchNode ret (return value: ccs.BatchNode) - --------------------------------- --- @overload self, cc.Node, int, string --- @overload self, cc.Node, int, int --- @function [parent=#BatchNode] addChild --- @param self --- @param #cc.Node pChild --- @param #int zOrder --- @param #int tag --- @return BatchNode#BatchNode self (return value: ccs.BatchNode) - --------------------------------- --- js NA --- @function [parent=#BatchNode] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#BatchNode] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return BatchNode#BatchNode self (return value: ccs.BatchNode) - --------------------------------- --- --- @function [parent=#BatchNode] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return BatchNode#BatchNode self (return value: ccs.BatchNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BezierBy.lua b/cocos/scripting/lua-bindings/auto/api/BezierBy.lua deleted file mode 100644 index f065cf828e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BezierBy.lua +++ /dev/null @@ -1,48 +0,0 @@ - --------------------------------- --- @module BezierBy --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- initializes the action with a duration and a bezier configuration
--- param t in seconds --- @function [parent=#BezierBy] initWithDuration --- @param self --- @param #float t --- @param #cc._ccBezierConfig c --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#BezierBy] startWithTarget --- @param self --- @param #cc.Node target --- @return BezierBy#BezierBy self (return value: cc.BezierBy) - --------------------------------- --- --- @function [parent=#BezierBy] clone --- @param self --- @return BezierBy#BezierBy ret (return value: cc.BezierBy) - --------------------------------- --- --- @function [parent=#BezierBy] reverse --- @param self --- @return BezierBy#BezierBy ret (return value: cc.BezierBy) - --------------------------------- --- param time In seconds. --- @function [parent=#BezierBy] update --- @param self --- @param #float time --- @return BezierBy#BezierBy self (return value: cc.BezierBy) - --------------------------------- --- --- @function [parent=#BezierBy] BezierBy --- @param self --- @return BezierBy#BezierBy self (return value: cc.BezierBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BezierTo.lua b/cocos/scripting/lua-bindings/auto/api/BezierTo.lua deleted file mode 100644 index 630d31ee1c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BezierTo.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module BezierTo --- @extend BezierBy --- @parent_module cc - --------------------------------- --- param t In seconds. --- @function [parent=#BezierTo] initWithDuration --- @param self --- @param #float t --- @param #cc._ccBezierConfig c --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#BezierTo] startWithTarget --- @param self --- @param #cc.Node target --- @return BezierTo#BezierTo self (return value: cc.BezierTo) - --------------------------------- --- --- @function [parent=#BezierTo] clone --- @param self --- @return BezierTo#BezierTo ret (return value: cc.BezierTo) - --------------------------------- --- --- @function [parent=#BezierTo] reverse --- @param self --- @return BezierTo#BezierTo ret (return value: cc.BezierTo) - --------------------------------- --- --- @function [parent=#BezierTo] BezierTo --- @param self --- @return BezierTo#BezierTo self (return value: cc.BezierTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BillBoard.lua b/cocos/scripting/lua-bindings/auto/api/BillBoard.lua deleted file mode 100644 index b3782dd90c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BillBoard.lua +++ /dev/null @@ -1,57 +0,0 @@ - --------------------------------- --- @module BillBoard --- @extend Sprite --- @parent_module cc - --------------------------------- --- Get the billboard rotation mode. --- @function [parent=#BillBoard] getMode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set the billboard rotation mode. --- @function [parent=#BillBoard] setMode --- @param self --- @param #int mode --- @return BillBoard#BillBoard self (return value: cc.BillBoard) - --------------------------------- --- @overload self, string, int --- @overload self, int --- @overload self, string, rect_table, int --- @function [parent=#BillBoard] create --- @param self --- @param #string filename --- @param #rect_table rect --- @param #int mode --- @return BillBoard#BillBoard ret (return value: cc.BillBoard) - --------------------------------- --- Creates a BillBoard with a Texture2D object.
--- After creation, the rect will be the size of the texture, and the offset will be (0,0).
--- param texture A pointer to a Texture2D object.
--- return An autoreleased BillBoard object --- @function [parent=#BillBoard] createWithTexture --- @param self --- @param #cc.Texture2D texture --- @param #int mode --- @return BillBoard#BillBoard ret (return value: cc.BillBoard) - --------------------------------- --- update billboard's transform and turn it towards camera --- @function [parent=#BillBoard] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return BillBoard#BillBoard self (return value: cc.BillBoard) - --------------------------------- --- --- @function [parent=#BillBoard] BillBoard --- @param self --- @return BillBoard#BillBoard self (return value: cc.BillBoard) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BlendFuncFrame.lua b/cocos/scripting/lua-bindings/auto/api/BlendFuncFrame.lua deleted file mode 100644 index d5ff54ba3e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BlendFuncFrame.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module BlendFuncFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#BlendFuncFrame] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- --- @function [parent=#BlendFuncFrame] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return BlendFuncFrame#BlendFuncFrame self (return value: ccs.BlendFuncFrame) - --------------------------------- --- --- @function [parent=#BlendFuncFrame] create --- @param self --- @return BlendFuncFrame#BlendFuncFrame ret (return value: ccs.BlendFuncFrame) - --------------------------------- --- --- @function [parent=#BlendFuncFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#BlendFuncFrame] BlendFuncFrame --- @param self --- @return BlendFuncFrame#BlendFuncFrame self (return value: ccs.BlendFuncFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Blink.lua b/cocos/scripting/lua-bindings/auto/api/Blink.lua deleted file mode 100644 index 1d49e087f1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Blink.lua +++ /dev/null @@ -1,65 +0,0 @@ - --------------------------------- --- @module Blink --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- initializes the action
--- param duration in seconds --- @function [parent=#Blink] initWithDuration --- @param self --- @param #float duration --- @param #int blinks --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates the action.
--- param duration Duration time, in seconds.
--- param blinks Blink times.
--- return An autoreleased Blink object. --- @function [parent=#Blink] create --- @param self --- @param #float duration --- @param #int blinks --- @return Blink#Blink ret (return value: cc.Blink) - --------------------------------- --- --- @function [parent=#Blink] startWithTarget --- @param self --- @param #cc.Node target --- @return Blink#Blink self (return value: cc.Blink) - --------------------------------- --- --- @function [parent=#Blink] clone --- @param self --- @return Blink#Blink ret (return value: cc.Blink) - --------------------------------- --- --- @function [parent=#Blink] stop --- @param self --- @return Blink#Blink self (return value: cc.Blink) - --------------------------------- --- --- @function [parent=#Blink] reverse --- @param self --- @return Blink#Blink ret (return value: cc.Blink) - --------------------------------- --- param time In seconds. --- @function [parent=#Blink] update --- @param self --- @param #float time --- @return Blink#Blink self (return value: cc.Blink) - --------------------------------- --- --- @function [parent=#Blink] Blink --- @param self --- @return Blink#Blink self (return value: cc.Blink) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Bone.lua b/cocos/scripting/lua-bindings/auto/api/Bone.lua deleted file mode 100644 index cabced8f63..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Bone.lua +++ /dev/null @@ -1,288 +0,0 @@ - --------------------------------- --- @module Bone --- @extend Node --- @parent_module ccs - --------------------------------- --- --- @function [parent=#Bone] isTransformDirty --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Bone] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] isIgnoreMovementBoneData --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Update zorder --- @function [parent=#Bone] updateZOrder --- @param self --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] getDisplayRenderNode --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Bone] isBlendDirty --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Add a child to this bone, and it will let this child call setParent(Bone *parent) function to set self to it's parent
--- param child the child you want to add --- @function [parent=#Bone] addChildBone --- @param self --- @param #ccs.Bone child --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] getWorldInfo --- @param self --- @return BaseData#BaseData ret (return value: ccs.BaseData) - --------------------------------- --- --- @function [parent=#Bone] getTween --- @param self --- @return Tween#Tween ret (return value: ccs.Tween) - --------------------------------- --- Get parent bone
--- return parent bone --- @function [parent=#Bone] getParentBone --- @param self --- @return Bone#Bone ret (return value: ccs.Bone) - --------------------------------- --- Update color to render display --- @function [parent=#Bone] updateColor --- @param self --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] setTransformDirty --- @param self --- @param #bool dirty --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] getDisplayRenderNodeType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Bone] removeDisplay --- @param self --- @param #int index --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] setBoneData --- @param self --- @param #ccs.BoneData boneData --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- Initializes a Bone with the specified name
--- param name Bone's name. --- @function [parent=#Bone] init --- @param self --- @param #string name --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set parent bone.
--- If parent is null, then also remove this bone from armature.
--- It will not set the Armature, if you want to add the bone to a Armature, you should use Armature::addBone(Bone *bone, const char* parentName).
--- param parent the parent bone.
--- nullptr : remove this bone from armature --- @function [parent=#Bone] setParentBone --- @param self --- @param #ccs.Bone parent --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- @overload self, cc.Node, int --- @overload self, ccs.DisplayData, int --- @function [parent=#Bone] addDisplay --- @param self --- @param #ccs.DisplayData displayData --- @param #int index --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- Remove itself from its parent.
--- param recursion whether or not to remove childBone's display --- @function [parent=#Bone] removeFromParent --- @param self --- @param #bool recursion --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] getColliderDetector --- @param self --- @return ColliderDetector#ColliderDetector ret (return value: ccs.ColliderDetector) - --------------------------------- --- --- @function [parent=#Bone] getChildArmature --- @param self --- @return Armature#Armature ret (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Bone] getTweenData --- @param self --- @return FrameData#FrameData ret (return value: ccs.FrameData) - --------------------------------- --- --- @function [parent=#Bone] changeDisplayWithIndex --- @param self --- @param #int index --- @param #bool force --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] changeDisplayWithName --- @param self --- @param #string name --- @param #bool force --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] setArmature --- @param self --- @param #ccs.Armature armature --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] setBlendDirty --- @param self --- @param #bool dirty --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- Removes a child Bone
--- param bone the bone you want to remove --- @function [parent=#Bone] removeChildBone --- @param self --- @param #ccs.Bone bone --- @param #bool recursion --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] setChildArmature --- @param self --- @param #ccs.Armature childArmature --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] getNodeToArmatureTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#Bone] getDisplayManager --- @param self --- @return DisplayManager#DisplayManager ret (return value: ccs.DisplayManager) - --------------------------------- --- --- @function [parent=#Bone] getArmature --- @param self --- @return Armature#Armature ret (return value: ccs.Armature) - --------------------------------- --- --- @function [parent=#Bone] getBoneData --- @param self --- @return BoneData#BoneData ret (return value: ccs.BoneData) - --------------------------------- --- @overload self, string --- @overload self --- @function [parent=#Bone] create --- @param self --- @param #string name --- @return Bone#Bone ret (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] getNodeToWorldTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#Bone] setLocalZOrder --- @param self --- @param #int zOrder --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] update --- @param self --- @param #float delta --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Bone] updateDisplayedOpacity --- @param self --- @param #unsigned char parentOpacity --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- Initializes an empty Bone with nothing init. --- @function [parent=#Bone] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Bone] updateDisplayedColor --- @param self --- @param #color3b_table parentColor --- @return Bone#Bone self (return value: ccs.Bone) - --------------------------------- --- js ctor --- @function [parent=#Bone] Bone --- @param self --- @return Bone#Bone self (return value: ccs.Bone) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BoneData.lua b/cocos/scripting/lua-bindings/auto/api/BoneData.lua deleted file mode 100644 index 3052067984..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BoneData.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module BoneData --- @extend BaseData --- @parent_module ccs - --------------------------------- --- --- @function [parent=#BoneData] getDisplayData --- @param self --- @param #int index --- @return DisplayData#DisplayData ret (return value: ccs.DisplayData) - --------------------------------- --- --- @function [parent=#BoneData] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#BoneData] addDisplayData --- @param self --- @param #ccs.DisplayData displayData --- @return BoneData#BoneData self (return value: ccs.BoneData) - --------------------------------- --- --- @function [parent=#BoneData] create --- @param self --- @return BoneData#BoneData ret (return value: ccs.BoneData) - --------------------------------- --- js ctor --- @function [parent=#BoneData] BoneData --- @param self --- @return BoneData#BoneData self (return value: ccs.BoneData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BoneNode.lua b/cocos/scripting/lua-bindings/auto/api/BoneNode.lua deleted file mode 100644 index 85c1c0b0cd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/BoneNode.lua +++ /dev/null @@ -1,223 +0,0 @@ - --------------------------------- --- @module BoneNode --- @extend Node,BlendProtocol --- @parent_module ccs - --------------------------------- --- --- @function [parent=#BoneNode] getDebugDrawWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#BoneNode] getChildBones --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#BoneNode] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- brief: get all bones in this bone tree --- @function [parent=#BoneNode] getAllSubBones --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#BoneNode] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] setDebugDrawEnabled --- @param self --- @param #bool isDebugDraw --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- get displayings rect in self transform --- @function [parent=#BoneNode] getVisibleSkinsRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- brief: get all skins in this bone tree --- @function [parent=#BoneNode] getAllSubSkins --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- @overload self, string, bool --- @overload self, cc.Node, bool --- @function [parent=#BoneNode] displaySkin --- @param self --- @param #cc.Node skin --- @param #bool hideOthers --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] isDebugDrawEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, cc.Node, bool, bool --- @overload self, cc.Node, bool --- @function [parent=#BoneNode] addSkin --- @param self --- @param #cc.Node skin --- @param #bool display --- @param #bool hideOthers --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] getRootSkeletonNode --- @param self --- @return SkeletonNode#SkeletonNode ret (return value: ccs.SkeletonNode) - --------------------------------- --- --- @function [parent=#BoneNode] setDebugDrawLength --- @param self --- @param #float length --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#BoneNode] getSkins --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#BoneNode] getVisibleSkins --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#BoneNode] setDebugDrawWidth --- @param self --- @param #float width --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] getDebugDrawLength --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#BoneNode] setDebugDrawColor --- @param self --- @param #color4f_table color --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] getDebugDrawColor --- @param self --- @return color4f_table#color4f_table ret (return value: color4f_table) - --------------------------------- --- @overload self, int --- @overload self --- @function [parent=#BoneNode] create --- @param self --- @param #int length --- @return BoneNode#BoneNode ret (return value: ccs.BoneNode) - --------------------------------- --- @overload self, cc.Node, int, int --- @overload self, cc.Node, int, string --- @function [parent=#BoneNode] addChild --- @param self --- @param #cc.Node child --- @param #int localZOrder --- @param #string name --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] setName --- @param self --- @param #string name --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] setAnchorPoint --- @param self --- @param #vec2_table anchorPoint --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] setLocalZOrder --- @param self --- @param #int localZOrder --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#BoneNode] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#BoneNode] setContentSize --- @param self --- @param #size_table contentSize --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] setVisible --- @param self --- @param #bool visible --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - --------------------------------- --- --- @function [parent=#BoneNode] BoneNode --- @param self --- @return BoneNode#BoneNode self (return value: ccs.BoneNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Bundle3D.lua b/cocos/scripting/lua-bindings/auto/api/Bundle3D.lua deleted file mode 100644 index 4660ee9937..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Bundle3D.lua +++ /dev/null @@ -1,72 +0,0 @@ - --------------------------------- --- @module Bundle3D --- @parent_module cc - --------------------------------- --- load a file. You must load a file first, then call loadMeshData, loadSkinData, and so on
--- param path File to be loaded
--- return result of load --- @function [parent=#Bundle3D] load --- @param self --- @param #string path --- @return bool#bool ret (return value: bool) - --------------------------------- --- load skin data from bundle
--- param id The ID of the skin, load the first Skin in the bundle if it is empty --- @function [parent=#Bundle3D] loadSkinData --- @param self --- @param #string id --- @param #cc.SkinData skindata --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Bundle3D] clear --- @param self --- @return Bundle3D#Bundle3D self (return value: cc.Bundle3D) - --------------------------------- --- --- @function [parent=#Bundle3D] loadMaterials --- @param self --- @param #cc.MaterialDatas materialdatas --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Bundle3D] loadNodes --- @param self --- @param #cc.NodeDatas nodedatas --- @return bool#bool ret (return value: bool) - --------------------------------- --- load material data from bundle
--- param id The ID of the animation, load the first animation in the bundle if it is empty --- @function [parent=#Bundle3D] loadAnimationData --- @param self --- @param #string id --- @param #cc.Animation3DData animationdata --- @return bool#bool ret (return value: bool) - --------------------------------- --- create a new bundle, destroy it when finish using it --- @function [parent=#Bundle3D] createBundle --- @param self --- @return Bundle3D#Bundle3D ret (return value: cc.Bundle3D) - --------------------------------- --- --- @function [parent=#Bundle3D] destroyBundle --- @param self --- @param #cc.Bundle3D bundle --- @return Bundle3D#Bundle3D self (return value: cc.Bundle3D) - --------------------------------- --- --- @function [parent=#Bundle3D] Bundle3D --- @param self --- @return Bundle3D#Bundle3D self (return value: cc.Bundle3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Button.lua b/cocos/scripting/lua-bindings/auto/api/Button.lua deleted file mode 100644 index 71789ae595..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Button.lua +++ /dev/null @@ -1,365 +0,0 @@ - --------------------------------- --- @module Button --- @extend Widget --- @parent_module ccui - --------------------------------- --- --- @function [parent=#Button] getNormalTextureSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Query the button title content.
--- return Get the button's title content. --- @function [parent=#Button] getTitleText --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- replaces the current Label node with a new one --- @function [parent=#Button] setTitleLabel --- @param self --- @param #cc.Label label --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Change the font size of button's title
--- param size Title font size in float. --- @function [parent=#Button] setTitleFontSize --- @param self --- @param #float size --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- --- @function [parent=#Button] resetPressedRender --- @param self --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Enable scale9 renderer.
--- param enable Set to true will use scale9 renderer, false otherwise. --- @function [parent=#Button] setScale9Enabled --- @param self --- @param #bool enable --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- --- @function [parent=#Button] resetDisabledRender --- @param self --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Return the inner title renderer of Button.
--- return The button title.
--- since v3.3 --- @function [parent=#Button] getTitleRenderer --- @param self --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- brief Return the nine-patch sprite of clicked state
--- return the nine-patch sprite of clicked state
--- since v3.9 --- @function [parent=#Button] getRendererClicked --- @param self --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- --- @function [parent=#Button] getDisabledFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- brief Return a zoom scale
--- return the zoom scale in float
--- since v3.3 --- @function [parent=#Button] getZoomScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Return the capInsets of disabled state scale9sprite.
--- return The disabled scale9 renderer capInsets. --- @function [parent=#Button] getCapInsetsDisabledRenderer --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Change the color of button's title.
--- param color The title color in Color3B. --- @function [parent=#Button] setTitleColor --- @param self --- @param #color3b_table color --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- --- @function [parent=#Button] getNormalFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- --- @function [parent=#Button] resetNormalRender --- @param self --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- brief Return the nine-patch sprite of disabled state
--- return the nine-patch sprite of disabled state
--- since v3.9 --- @function [parent=#Button] getRendererDisabled --- @param self --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- Sets capInsets for button, only the disabled state scale9 renderer will be affected.
--- param capInsets capInsets in Rect. --- @function [parent=#Button] setCapInsetsDisabledRenderer --- @param self --- @param #rect_table capInsets --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Sets capInsets for button.
--- The capInset affects all button scale9 renderer only if `setScale9Enabled(true)` is called
--- param capInsets capInset in Rect. --- @function [parent=#Button] setCapInsets --- @param self --- @param #rect_table capInsets --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Load disabled state texture for button.
--- param disabled dark state texture.
--- param texType @see `TextureResType` --- @function [parent=#Button] loadTextureDisabled --- @param self --- @param #string disabled --- @param #int texType --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- --- @function [parent=#Button] init --- @param self --- @param #string normalImage --- @param #string selectedImage --- @param #string disableImage --- @param #int texType --- @return bool#bool ret (return value: bool) - --------------------------------- --- Change the content of button's title.
--- param text The title in std::string. --- @function [parent=#Button] setTitleText --- @param self --- @param #string text --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Sets capInsets for button, only the normal state scale9 renderer will be affected.
--- param capInsets capInsets in Rect. --- @function [parent=#Button] setCapInsetsNormalRenderer --- @param self --- @param #rect_table capInsets --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Load selected state texture for button.
--- param selected selected state texture.
--- param texType @see `TextureResType` --- @function [parent=#Button] loadTexturePressed --- @param self --- @param #string selected --- @param #int texType --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Change the font name of button's title
--- param fontName a font name string. --- @function [parent=#Button] setTitleFontName --- @param self --- @param #string fontName --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Return the capInsets of normal state scale9sprite.
--- return The normal scale9 renderer capInsets. --- @function [parent=#Button] getCapInsetsNormalRenderer --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- @overload self, int, int --- @overload self, int --- @function [parent=#Button] setTitleAlignment --- @param self --- @param #int hAlignment --- @param #int vAlignment --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Return the capInsets of pressed state scale9sprite.
--- return The pressed scale9 renderer capInsets. --- @function [parent=#Button] getCapInsetsPressedRenderer --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Load textures for button.
--- param normal normal state texture name.
--- param selected selected state texture name.
--- param disabled disabled state texture name.
--- param texType @see `TextureResType` --- @function [parent=#Button] loadTextures --- @param self --- @param #string normal --- @param #string selected --- @param #string disabled --- @param #int texType --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Query whether button is using scale9 renderer or not.
--- return whether button use scale9 renderer or not. --- @function [parent=#Button] isScale9Enabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Load normal state texture for button.
--- param normal normal state texture.
--- param texType @see `TextureResType` --- @function [parent=#Button] loadTextureNormal --- @param self --- @param #string normal --- @param #int texType --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Sets capInsets for button, only the pressed state scale9 renderer will be affected.
--- param capInsets capInsets in Rect --- @function [parent=#Button] setCapInsetsPressedRenderer --- @param self --- @param #rect_table capInsets --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- --- @function [parent=#Button] getPressedFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- returns the current Label being used --- @function [parent=#Button] getTitleLabel --- @param self --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- Query the font size of button title
--- return font size in float. --- @function [parent=#Button] getTitleFontSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Return the nine-patch sprite of normal state
--- return the nine-patch sprite of normal state
--- since v3.9 --- @function [parent=#Button] getRendererNormal --- @param self --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- Query the font name of button's title
--- return font name in std::string --- @function [parent=#Button] getTitleFontName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Query the button title color.
--- return Color3B of button title. --- @function [parent=#Button] getTitleColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Enable zooming action when button is pressed.
--- param enabled Set to true will enable zoom effect, false otherwise. --- @function [parent=#Button] setPressedActionEnabled --- @param self --- @param #bool enabled --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- @brief When user pressed the button, the button will zoom to a scale.
--- The final scale of the button equals (button original scale + _zoomScale)
--- since v3.3 --- @function [parent=#Button] setZoomScale --- @param self --- @param #float scale --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- @overload self, string, string, string, int --- @overload self --- @function [parent=#Button] create --- @param self --- @param #string normalImage --- @param #string selectedImage --- @param #string disableImage --- @param #int texType --- @return Button#Button ret (return value: ccui.Button) - --------------------------------- --- --- @function [parent=#Button] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#Button] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Button] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Button] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Button] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#Button] ignoreContentAdaptWithSize --- @param self --- @param #bool ignore --- @return Button#Button self (return value: ccui.Button) - --------------------------------- --- Default constructor. --- @function [parent=#Button] Button --- @param self --- @return Button#Button self (return value: ccui.Button) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CCBAnimationManager.lua b/cocos/scripting/lua-bindings/auto/api/CCBAnimationManager.lua deleted file mode 100644 index ba43c44bde..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CCBAnimationManager.lua +++ /dev/null @@ -1,257 +0,0 @@ - --------------------------------- --- @module CCBAnimationManager --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#CCBAnimationManager] moveAnimationsFromNode --- @param self --- @param #cc.Node fromNode --- @param #cc.Node toNode --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] setAutoPlaySequenceId --- @param self --- @param #int autoPlaySequenceId --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getDocumentCallbackNames --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] actionForSoundChannel --- @param self --- @param #cc.CCBSequenceProperty channel --- @return Sequence#Sequence ret (return value: cc.Sequence) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] setBaseValue --- @param self --- @param #cc.Value value --- @param #cc.Node pNode --- @param #string propName --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getDocumentOutletNodes --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getLastCompletedSequenceName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] setRootNode --- @param self --- @param #cc.Node pRootNode --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] runAnimationsForSequenceNamedTweenDuration --- @param self --- @param #char pName --- @param #float fTweenDuration --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] addDocumentOutletName --- @param self --- @param #string name --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getSequences --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getRootContainerSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] setDocumentControllerName --- @param self --- @param #string name --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] setObject --- @param self --- @param #cc.Ref obj --- @param #cc.Node pNode --- @param #string propName --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getContainerSize --- @param self --- @param #cc.Node pNode --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] actionForCallbackChannel --- @param self --- @param #cc.CCBSequenceProperty channel --- @return Sequence#Sequence ret (return value: cc.Sequence) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getDocumentOutletNames --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] addDocumentCallbackControlEvents --- @param self --- @param #int eventType --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getKeyframeCallbacks --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getDocumentCallbackControlEvents --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] setRootContainerSize --- @param self --- @param #size_table rootContainerSize --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] runAnimationsForSequenceIdTweenDuration --- @param self --- @param #int nSeqId --- @param #float fTweenDuraiton --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getRunningSequenceName --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getAutoPlaySequenceId --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] addDocumentCallbackName --- @param self --- @param #string name --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getRootNode --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] addDocumentOutletNode --- @param self --- @param #cc.Node node --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getSequenceDuration --- @param self --- @param #char pSequenceName --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] addDocumentCallbackNode --- @param self --- @param #cc.Node node --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] runAnimationsForSequenceNamed --- @param self --- @param #char pName --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getSequenceId --- @param self --- @param #char pSequenceName --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getDocumentCallbackNodes --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] setSequences --- @param self --- @param #array_table seq --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] debug --- @param self --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBAnimationManager] getDocumentControllerName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- js ctor --- @function [parent=#CCBAnimationManager] CCBAnimationManager --- @param self --- @return CCBAnimationManager#CCBAnimationManager self (return value: cc.CCBAnimationManager) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CCBReader.lua b/cocos/scripting/lua-bindings/auto/api/CCBReader.lua deleted file mode 100644 index e573d466ea..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CCBReader.lua +++ /dev/null @@ -1,144 +0,0 @@ - --------------------------------- --- @module CCBReader --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#CCBReader] addOwnerOutletName --- @param self --- @param #string name --- @return CCBReader#CCBReader self (return value: cc.CCBReader) - --------------------------------- --- --- @function [parent=#CCBReader] getOwnerCallbackNames --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBReader] addDocumentCallbackControlEvents --- @param self --- @param #int eventType --- @return CCBReader#CCBReader self (return value: cc.CCBReader) - --------------------------------- --- --- @function [parent=#CCBReader] setCCBRootPath --- @param self --- @param #char ccbRootPath --- @return CCBReader#CCBReader self (return value: cc.CCBReader) - --------------------------------- --- --- @function [parent=#CCBReader] addOwnerOutletNode --- @param self --- @param #cc.Node node --- @return CCBReader#CCBReader self (return value: cc.CCBReader) - --------------------------------- --- --- @function [parent=#CCBReader] getOwnerCallbackNodes --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBReader] readSoundKeyframesForSeq --- @param self --- @param #cc.CCBSequence seq --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CCBReader] getCCBRootPath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#CCBReader] getOwnerCallbackControlEvents --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBReader] getOwnerOutletNodes --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBReader] readUTF8 --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#CCBReader] addOwnerCallbackControlEvents --- @param self --- @param #int type --- @return CCBReader#CCBReader self (return value: cc.CCBReader) - --------------------------------- --- --- @function [parent=#CCBReader] getOwnerOutletNames --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- js setActionManager
--- lua setActionManager --- @function [parent=#CCBReader] setAnimationManager --- @param self --- @param #cc.CCBAnimationManager pAnimationManager --- @return CCBReader#CCBReader self (return value: cc.CCBReader) - --------------------------------- --- --- @function [parent=#CCBReader] readCallbackKeyframesForSeq --- @param self --- @param #cc.CCBSequence seq --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CCBReader] getAnimationManagersForNodes --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#CCBReader] getNodesWithAnimationManagers --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- js getActionManager
--- lua getActionManager --- @function [parent=#CCBReader] getAnimationManager --- @param self --- @return CCBAnimationManager#CCBAnimationManager ret (return value: cc.CCBAnimationManager) - --------------------------------- --- --- @function [parent=#CCBReader] setResolutionScale --- @param self --- @param #float scale --- @return CCBReader#CCBReader self (return value: cc.CCBReader) - --------------------------------- --- @overload self, cc.CCBReader --- @overload self, cc.NodeLoaderLibrary, cc.CCBMemberVariableAssigner, cc.CCBSelectorResolver, cc.NodeLoaderListener --- @overload self --- @function [parent=#CCBReader] CCBReader --- @param self --- @param #cc.NodeLoaderLibrary pNodeLoaderLibrary --- @param #cc.CCBMemberVariableAssigner pCCBMemberVariableAssigner --- @param #cc.CCBSelectorResolver pCCBSelectorResolver --- @param #cc.NodeLoaderListener pNodeLoaderListener --- @return CCBReader#CCBReader self (return value: cc.CCBReader) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CSLoader.lua b/cocos/scripting/lua-bindings/auto/api/CSLoader.lua deleted file mode 100644 index 5f158180ec..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CSLoader.lua +++ /dev/null @@ -1,110 +0,0 @@ - --------------------------------- --- @module CSLoader --- @parent_module cc - --------------------------------- --- --- @function [parent=#CSLoader] createNodeFromJson --- @param self --- @param #string filename --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#CSLoader] createNodeWithFlatBuffersFile --- @param self --- @param #string filename --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#CSLoader] loadNodeWithFile --- @param self --- @param #string fileName --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#CSLoader] bindCallback --- @param self --- @param #string callbackName --- @param #string callbackType --- @param #ccui.Widget sender --- @param #cc.Node handler --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CSLoader] setJsonPath --- @param self --- @param #string jsonPath --- @return CSLoader#CSLoader self (return value: cc.CSLoader) - --------------------------------- --- --- @function [parent=#CSLoader] init --- @param self --- @return CSLoader#CSLoader self (return value: cc.CSLoader) - --------------------------------- --- --- @function [parent=#CSLoader] loadNodeWithContent --- @param self --- @param #string content --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#CSLoader] isRecordJsonPath --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CSLoader] getJsonPath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#CSLoader] setRecordJsonPath --- @param self --- @param #bool record --- @return CSLoader#CSLoader self (return value: cc.CSLoader) - --------------------------------- --- --- @function [parent=#CSLoader] createNodeWithFlatBuffersForSimulator --- @param self --- @param #string filename --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#CSLoader] destroyInstance --- @param self --- @return CSLoader#CSLoader self (return value: cc.CSLoader) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#CSLoader] createNodeWithVisibleSize --- @param self --- @param #string filename --- @param #function callback --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#CSLoader] getInstance --- @param self --- @return CSLoader#CSLoader ret (return value: cc.CSLoader) - --------------------------------- --- --- @function [parent=#CSLoader] CSLoader --- @param self --- @return CSLoader#CSLoader self (return value: cc.CSLoader) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CallFunc.lua b/cocos/scripting/lua-bindings/auto/api/CallFunc.lua deleted file mode 100644 index 56a0db4da0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CallFunc.lua +++ /dev/null @@ -1,53 +0,0 @@ - --------------------------------- --- @module CallFunc --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- Executes the callback. --- @function [parent=#CallFunc] execute --- @param self --- @return CallFunc#CallFunc self (return value: cc.CallFunc) - --------------------------------- --- Get the selector target.
--- return The selector target. --- @function [parent=#CallFunc] getTargetCallback --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- Set the selector target.
--- param sel The selector target. --- @function [parent=#CallFunc] setTargetCallback --- @param self --- @param #cc.Ref sel --- @return CallFunc#CallFunc self (return value: cc.CallFunc) - --------------------------------- --- --- @function [parent=#CallFunc] clone --- @param self --- @return CallFunc#CallFunc ret (return value: cc.CallFunc) - --------------------------------- --- param time In seconds. --- @function [parent=#CallFunc] update --- @param self --- @param #float time --- @return CallFunc#CallFunc self (return value: cc.CallFunc) - --------------------------------- --- --- @function [parent=#CallFunc] reverse --- @param self --- @return CallFunc#CallFunc ret (return value: cc.CallFunc) - --------------------------------- --- --- @function [parent=#CallFunc] CallFunc --- @param self --- @return CallFunc#CallFunc self (return value: cc.CallFunc) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Camera.lua b/cocos/scripting/lua-bindings/auto/api/Camera.lua deleted file mode 100644 index d6cc882a62..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Camera.lua +++ /dev/null @@ -1,313 +0,0 @@ - --------------------------------- --- @module Camera --- @extend Node --- @parent_module cc - --------------------------------- --- Restore the FBO, RenderTargets and viewport. --- @function [parent=#Camera] restore --- @param self --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- get depth, camera with larger depth is drawn on top of camera with smaller depth, the depth of camera with CameraFlag::DEFAULT is 0, user defined camera is -1 by default --- @function [parent=#Camera] getDepth --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- get view projection matrix --- @function [parent=#Camera] getViewProjectionMatrix --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#Camera] applyViewport --- @param self --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- set the background brush. See CameraBackgroundBrush for more information.
--- param clearBrush Brush used to clear the background --- @function [parent=#Camera] setBackgroundBrush --- @param self --- @param #cc.CameraBackgroundBrush clearBrush --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Make Camera looks at target
--- param target The target camera is point at
--- param up The up vector, usually it's Y axis --- @function [parent=#Camera] lookAt --- @param self --- @param #vec3_table target --- @param #vec3_table up --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Apply the FBO, RenderTargets and viewport. --- @function [parent=#Camera] apply --- @param self --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Get clear brush --- @function [parent=#Camera] getBackgroundBrush --- @param self --- @return CameraBackgroundBrush#CameraBackgroundBrush ret (return value: cc.CameraBackgroundBrush) - --------------------------------- --- Gets the camera's projection matrix.
--- return The camera projection matrix. --- @function [parent=#Camera] getProjectionMatrix --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#Camera] isBrushValid --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get object depth towards camera --- @function [parent=#Camera] getDepthInView --- @param self --- @param #mat4_table transform --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Camera] restoreViewport --- @param self --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Before rendering scene with this camera, the background need to be cleared. It clears the depth buffer with max depth by default. Use setBackgroundBrush to modify the default behavior --- @function [parent=#Camera] clearBackground --- @param self --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- set additional matrix for the projection matrix, it multiplies mat to projection matrix when called, used by WP8 --- @function [parent=#Camera] setAdditionalProjection --- @param self --- @param #mat4_table mat --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Set Viewport for camera. --- @function [parent=#Camera] setViewport --- @param self --- @param #cc.experimental::Viewport vp --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- init camera --- @function [parent=#Camera] initDefault --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- get & set Camera flag --- @function [parent=#Camera] getCameraFlag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets the type of camera.
--- return The camera type. --- @function [parent=#Camera] getType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @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 rendered order --- @function [parent=#Camera] getRenderOrder --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Is this aabb visible in frustum --- @function [parent=#Camera] isVisibleInFrustum --- @param self --- @param #cc.AABB aabb --- @return bool#bool ret (return value: bool) - --------------------------------- --- set depth, camera with larger depth is drawn on top of camera with smaller depth, the depth of camera with CameraFlag::DEFAULT is 0, user defined camera is -1 by default --- @function [parent=#Camera] setDepth --- @param self --- @param #char depth --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Set the scene,this method shall not be invoke manually --- @function [parent=#Camera] setScene --- @param self --- @param #cc.Scene scene --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- --- @function [parent=#Camera] projectGL --- @param self --- @param #vec3_table src --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#Camera] restoreFrameBufferObject --- @param self --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Gets the camera's view matrix.
--- return The camera view matrix. --- @function [parent=#Camera] getViewMatrix --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- Get the frustum's near plane. --- @function [parent=#Camera] getNearPlane --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Camera] project --- @param self --- @param #vec3_table src --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#Camera] setCameraFlag --- @param self --- @param #int flag --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Get the frustum's far plane. --- @function [parent=#Camera] getFarPlane --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Camera] applyFrameBufferObject --- @param self --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Set FBO, which will attach several render target for the rendered result. --- @function [parent=#Camera] setFrameBufferObject --- @param self --- @param #cc.experimental::FrameBuffer fbo --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Whether or not the viewprojection matrix was updated since the last frame.
--- return True if the viewprojection matrix was updated since the last frame. --- @function [parent=#Camera] isViewProjectionUpdated --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Camera] initPerspective --- @param self --- @param #float fieldOfView --- @param #float aspectRatio --- @param #float nearPlane --- @param #float farPlane --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates an orthographic camera.
--- param zoomX The zoom factor along the X-axis of the orthographic projection (the width of the ortho projection).
--- param zoomY The zoom factor along the Y-axis of the orthographic projection (the height of the ortho projection).
--- param nearPlane The near plane distance.
--- param farPlane The far plane distance. --- @function [parent=#Camera] createOrthographic --- @param self --- @param #float zoomX --- @param #float zoomY --- @param #float nearPlane --- @param #float farPlane --- @return Camera#Camera ret (return value: cc.Camera) - --------------------------------- --- Get the visiting camera , the visiting camera shall be set on Scene::render --- @function [parent=#Camera] getVisitingCamera --- @param self --- @return Camera#Camera ret (return value: cc.Camera) - --------------------------------- --- create default camera, the camera type depends on Director::getProjection, the depth of the default camera is 0 --- @function [parent=#Camera] create --- @param self --- @return Camera#Camera ret (return value: cc.Camera) - --------------------------------- --- Creates a perspective camera.
--- param fieldOfView The field of view for the perspective camera (normally in the range of 40-60 degrees).
--- param aspectRatio The aspect ratio of the camera (normally the width of the viewport divided by the height of the viewport).
--- param nearPlane The near plane distance.
--- param farPlane The far plane distance. --- @function [parent=#Camera] createPerspective --- @param self --- @param #float fieldOfView --- @param #float aspectRatio --- @param #float nearPlane --- @param #float farPlane --- @return Camera#Camera ret (return value: cc.Camera) - --------------------------------- --- --- @function [parent=#Camera] getDefaultViewport --- @param self --- @return experimental::Viewport#experimental::Viewport ret (return value: cc.experimental::Viewport) - --------------------------------- --- --- @function [parent=#Camera] setDefaultViewport --- @param self --- @param #cc.experimental::Viewport vp --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- Get the default camera of the current running scene. --- @function [parent=#Camera] getDefaultCamera --- @param self --- @return Camera#Camera ret (return value: cc.Camera) - --------------------------------- --- --- @function [parent=#Camera] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return Camera#Camera self (return value: cc.Camera) - --------------------------------- --- --- @function [parent=#Camera] Camera --- @param self --- @return Camera#Camera self (return value: cc.Camera) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CameraBackgroundBrush.lua b/cocos/scripting/lua-bindings/auto/api/CameraBackgroundBrush.lua deleted file mode 100644 index 0bda3c73e6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CameraBackgroundBrush.lua +++ /dev/null @@ -1,84 +0,0 @@ - --------------------------------- --- @module CameraBackgroundBrush --- @extend Ref --- @parent_module cc - --------------------------------- --- get brush type
--- return BrushType --- @function [parent=#CameraBackgroundBrush] getBrushType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- draw the background --- @function [parent=#CameraBackgroundBrush] drawBackground --- @param self --- @param #cc.Camera --- @return CameraBackgroundBrush#CameraBackgroundBrush self (return value: cc.CameraBackgroundBrush) - --------------------------------- --- --- @function [parent=#CameraBackgroundBrush] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CameraBackgroundBrush] isValid --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates a Skybox brush with 6 textures.
--- param positive_x texture for the right side of the texture cube face.
--- param negative_x texture for the up side of the texture cube face.
--- param positive_y texture for the top side of the texture cube face
--- param negative_y texture for the bottom side of the texture cube face
--- param positive_z texture for the forward side of the texture cube face.
--- param negative_z texture for the rear side of the texture cube face.
--- return A new brush inited with given parameters. --- @function [parent=#CameraBackgroundBrush] createSkyboxBrush --- @param self --- @param #string positive_x --- @param #string negative_x --- @param #string positive_y --- @param #string negative_y --- @param #string positive_z --- @param #string negative_z --- @return CameraBackgroundSkyBoxBrush#CameraBackgroundSkyBoxBrush ret (return value: cc.CameraBackgroundSkyBoxBrush) - --------------------------------- --- Creates a color brush
--- param color Color of brush
--- param depth Depth used to clear depth buffer
--- return Created brush --- @function [parent=#CameraBackgroundBrush] createColorBrush --- @param self --- @param #color4f_table color --- @param #float depth --- @return CameraBackgroundColorBrush#CameraBackgroundColorBrush ret (return value: cc.CameraBackgroundColorBrush) - --------------------------------- --- Creates a none brush, it does nothing when clear the background
--- return Created brush. --- @function [parent=#CameraBackgroundBrush] createNoneBrush --- @param self --- @return CameraBackgroundBrush#CameraBackgroundBrush ret (return value: cc.CameraBackgroundBrush) - --------------------------------- --- Creates a depth brush, which clears depth buffer with a given depth.
--- param depth Depth used to clear depth buffer
--- return Created brush --- @function [parent=#CameraBackgroundBrush] createDepthBrush --- @param self --- @return CameraBackgroundDepthBrush#CameraBackgroundDepthBrush ret (return value: cc.CameraBackgroundDepthBrush) - --------------------------------- --- --- @function [parent=#CameraBackgroundBrush] CameraBackgroundBrush --- @param self --- @return CameraBackgroundBrush#CameraBackgroundBrush self (return value: cc.CameraBackgroundBrush) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CameraBackgroundColorBrush.lua b/cocos/scripting/lua-bindings/auto/api/CameraBackgroundColorBrush.lua deleted file mode 100644 index 0766ce7aa7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CameraBackgroundColorBrush.lua +++ /dev/null @@ -1,52 +0,0 @@ - --------------------------------- --- @module CameraBackgroundColorBrush --- @extend CameraBackgroundDepthBrush --- @parent_module cc - --------------------------------- --- Set clear color
--- param color Color used to clear the color buffer --- @function [parent=#CameraBackgroundColorBrush] setColor --- @param self --- @param #color4f_table color --- @return CameraBackgroundColorBrush#CameraBackgroundColorBrush self (return value: cc.CameraBackgroundColorBrush) - --------------------------------- --- Create a color brush
--- param color Color used to clear the color buffer
--- param depth Depth used to clear the depth buffer
--- return Created brush --- @function [parent=#CameraBackgroundColorBrush] create --- @param self --- @param #color4f_table color --- @param #float depth --- @return CameraBackgroundColorBrush#CameraBackgroundColorBrush ret (return value: cc.CameraBackgroundColorBrush) - --------------------------------- --- Get brush type. Should be BrushType::COLOR
--- return brush type --- @function [parent=#CameraBackgroundColorBrush] getBrushType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Draw background --- @function [parent=#CameraBackgroundColorBrush] drawBackground --- @param self --- @param #cc.Camera camera --- @return CameraBackgroundColorBrush#CameraBackgroundColorBrush self (return value: cc.CameraBackgroundColorBrush) - --------------------------------- --- --- @function [parent=#CameraBackgroundColorBrush] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CameraBackgroundColorBrush] CameraBackgroundColorBrush --- @param self --- @return CameraBackgroundColorBrush#CameraBackgroundColorBrush self (return value: cc.CameraBackgroundColorBrush) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CameraBackgroundDepthBrush.lua b/cocos/scripting/lua-bindings/auto/api/CameraBackgroundDepthBrush.lua deleted file mode 100644 index af177c3918..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CameraBackgroundDepthBrush.lua +++ /dev/null @@ -1,50 +0,0 @@ - --------------------------------- --- @module CameraBackgroundDepthBrush --- @extend CameraBackgroundBrush --- @parent_module cc - --------------------------------- --- Set depth
--- param depth Depth used to clear depth buffer --- @function [parent=#CameraBackgroundDepthBrush] setDepth --- @param self --- @param #float depth --- @return CameraBackgroundDepthBrush#CameraBackgroundDepthBrush self (return value: cc.CameraBackgroundDepthBrush) - --------------------------------- --- Create a depth brush
--- param depth Depth used to clear the depth buffer
--- return Created brush --- @function [parent=#CameraBackgroundDepthBrush] create --- @param self --- @param #float depth --- @return CameraBackgroundDepthBrush#CameraBackgroundDepthBrush ret (return value: cc.CameraBackgroundDepthBrush) - --------------------------------- --- Get brush type. Should be BrushType::DEPTH
--- return brush type --- @function [parent=#CameraBackgroundDepthBrush] getBrushType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Draw background --- @function [parent=#CameraBackgroundDepthBrush] drawBackground --- @param self --- @param #cc.Camera camera --- @return CameraBackgroundDepthBrush#CameraBackgroundDepthBrush self (return value: cc.CameraBackgroundDepthBrush) - --------------------------------- --- --- @function [parent=#CameraBackgroundDepthBrush] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CameraBackgroundDepthBrush] CameraBackgroundDepthBrush --- @param self --- @return CameraBackgroundDepthBrush#CameraBackgroundDepthBrush self (return value: cc.CameraBackgroundDepthBrush) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CameraBackgroundSkyBoxBrush.lua b/cocos/scripting/lua-bindings/auto/api/CameraBackgroundSkyBoxBrush.lua deleted file mode 100644 index 453a5ce584..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CameraBackgroundSkyBoxBrush.lua +++ /dev/null @@ -1,80 +0,0 @@ - --------------------------------- --- @module CameraBackgroundSkyBoxBrush --- @extend CameraBackgroundBrush --- @parent_module cc - --------------------------------- --- --- @function [parent=#CameraBackgroundSkyBoxBrush] setTextureValid --- @param self --- @param #bool valid --- @return CameraBackgroundSkyBoxBrush#CameraBackgroundSkyBoxBrush self (return value: cc.CameraBackgroundSkyBoxBrush) - --------------------------------- --- Set skybox texture
--- param texture Skybox texture --- @function [parent=#CameraBackgroundSkyBoxBrush] setTexture --- @param self --- @param #cc.TextureCube texture --- @return CameraBackgroundSkyBoxBrush#CameraBackgroundSkyBoxBrush self (return value: cc.CameraBackgroundSkyBoxBrush) - --------------------------------- --- --- @function [parent=#CameraBackgroundSkyBoxBrush] setActived --- @param self --- @param #bool actived --- @return CameraBackgroundSkyBoxBrush#CameraBackgroundSkyBoxBrush self (return value: cc.CameraBackgroundSkyBoxBrush) - --------------------------------- --- --- @function [parent=#CameraBackgroundSkyBoxBrush] isActived --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self --- @overload self, string, string, string, string, string, string --- @function [parent=#CameraBackgroundSkyBoxBrush] create --- @param self --- @param #string positive_x --- @param #string negative_x --- @param #string positive_y --- @param #string negative_y --- @param #string positive_z --- @param #string negative_z --- @return CameraBackgroundSkyBoxBrush#CameraBackgroundSkyBoxBrush ret (return value: cc.CameraBackgroundSkyBoxBrush) - --------------------------------- --- Get brush type. Should be BrushType::SKYBOX
--- return brush type --- @function [parent=#CameraBackgroundSkyBoxBrush] getBrushType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Draw background --- @function [parent=#CameraBackgroundSkyBoxBrush] drawBackground --- @param self --- @param #cc.Camera camera --- @return CameraBackgroundSkyBoxBrush#CameraBackgroundSkyBoxBrush self (return value: cc.CameraBackgroundSkyBoxBrush) - --------------------------------- --- init Skybox. --- @function [parent=#CameraBackgroundSkyBoxBrush] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CameraBackgroundSkyBoxBrush] isValid --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CameraBackgroundSkyBoxBrush] CameraBackgroundSkyBoxBrush --- @param self --- @return CameraBackgroundSkyBoxBrush#CameraBackgroundSkyBoxBrush self (return value: cc.CameraBackgroundSkyBoxBrush) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CardinalSplineBy.lua b/cocos/scripting/lua-bindings/auto/api/CardinalSplineBy.lua deleted file mode 100644 index ad5d41299f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CardinalSplineBy.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module CardinalSplineBy --- @extend CardinalSplineTo --- @parent_module cc - --------------------------------- --- --- @function [parent=#CardinalSplineBy] startWithTarget --- @param self --- @param #cc.Node target --- @return CardinalSplineBy#CardinalSplineBy self (return value: cc.CardinalSplineBy) - --------------------------------- --- --- @function [parent=#CardinalSplineBy] clone --- @param self --- @return CardinalSplineBy#CardinalSplineBy ret (return value: cc.CardinalSplineBy) - --------------------------------- --- --- @function [parent=#CardinalSplineBy] updatePosition --- @param self --- @param #vec2_table newPos --- @return CardinalSplineBy#CardinalSplineBy self (return value: cc.CardinalSplineBy) - --------------------------------- --- --- @function [parent=#CardinalSplineBy] reverse --- @param self --- @return CardinalSplineBy#CardinalSplineBy ret (return value: cc.CardinalSplineBy) - --------------------------------- --- --- @function [parent=#CardinalSplineBy] CardinalSplineBy --- @param self --- @return CardinalSplineBy#CardinalSplineBy self (return value: cc.CardinalSplineBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CardinalSplineTo.lua b/cocos/scripting/lua-bindings/auto/api/CardinalSplineTo.lua deleted file mode 100644 index ada278733a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CardinalSplineTo.lua +++ /dev/null @@ -1,67 +0,0 @@ - --------------------------------- --- @module CardinalSplineTo --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- Return a PointArray.
--- return A PointArray. --- @function [parent=#CardinalSplineTo] getPoints --- @param self --- @return point_table#point_table ret (return value: point_table) - --------------------------------- --- It will update the target position and change the _previousPosition to newPos
--- param newPos The new position. --- @function [parent=#CardinalSplineTo] updatePosition --- @param self --- @param #vec2_table newPos --- @return CardinalSplineTo#CardinalSplineTo self (return value: cc.CardinalSplineTo) - --------------------------------- --- Initializes the action with a duration and an array of points.
--- param duration In seconds.
--- param points An PointArray.
--- param tension Goodness of fit. --- @function [parent=#CardinalSplineTo] initWithDuration --- @param self --- @param #float duration --- @param #point_table points --- @param #float tension --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CardinalSplineTo] startWithTarget --- @param self --- @param #cc.Node target --- @return CardinalSplineTo#CardinalSplineTo self (return value: cc.CardinalSplineTo) - --------------------------------- --- --- @function [parent=#CardinalSplineTo] clone --- @param self --- @return CardinalSplineTo#CardinalSplineTo ret (return value: cc.CardinalSplineTo) - --------------------------------- --- --- @function [parent=#CardinalSplineTo] reverse --- @param self --- @return CardinalSplineTo#CardinalSplineTo ret (return value: cc.CardinalSplineTo) - --------------------------------- --- param time In seconds. --- @function [parent=#CardinalSplineTo] update --- @param self --- @param #float time --- @return CardinalSplineTo#CardinalSplineTo self (return value: cc.CardinalSplineTo) - --------------------------------- --- js ctor
--- lua NA --- @function [parent=#CardinalSplineTo] CardinalSplineTo --- @param self --- @return CardinalSplineTo#CardinalSplineTo self (return value: cc.CardinalSplineTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CatmullRomBy.lua b/cocos/scripting/lua-bindings/auto/api/CatmullRomBy.lua deleted file mode 100644 index 4034e4f8f8..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CatmullRomBy.lua +++ /dev/null @@ -1,29 +0,0 @@ - --------------------------------- --- @module CatmullRomBy --- @extend CardinalSplineBy --- @parent_module cc - --------------------------------- --- Initializes the action with a duration and an array of points.
--- param dt In seconds.
--- param points An PointArray. --- @function [parent=#CatmullRomBy] initWithDuration --- @param self --- @param #float dt --- @param #point_table points --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CatmullRomBy] clone --- @param self --- @return CatmullRomBy#CatmullRomBy ret (return value: cc.CatmullRomBy) - --------------------------------- --- --- @function [parent=#CatmullRomBy] reverse --- @param self --- @return CatmullRomBy#CatmullRomBy ret (return value: cc.CatmullRomBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CatmullRomTo.lua b/cocos/scripting/lua-bindings/auto/api/CatmullRomTo.lua deleted file mode 100644 index f765462285..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CatmullRomTo.lua +++ /dev/null @@ -1,29 +0,0 @@ - --------------------------------- --- @module CatmullRomTo --- @extend CardinalSplineTo --- @parent_module cc - --------------------------------- --- Initializes the action with a duration and an array of points.
--- param dt In seconds.
--- param points An PointArray. --- @function [parent=#CatmullRomTo] initWithDuration --- @param self --- @param #float dt --- @param #point_table points --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#CatmullRomTo] clone --- @param self --- @return CatmullRomTo#CatmullRomTo ret (return value: cc.CatmullRomTo) - --------------------------------- --- --- @function [parent=#CatmullRomTo] reverse --- @param self --- @return CatmullRomTo#CatmullRomTo ret (return value: cc.CatmullRomTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/CheckBox.lua b/cocos/scripting/lua-bindings/auto/api/CheckBox.lua deleted file mode 100644 index 94d20b1c2b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/CheckBox.lua +++ /dev/null @@ -1,48 +0,0 @@ - --------------------------------- --- @module CheckBox --- @extend AbstractCheckButton --- @parent_module ccui - --------------------------------- --- Add a callback function which would be called when checkbox is selected or unselected.
--- param callback A std::function with type @see `ccCheckBoxCallback` --- @function [parent=#CheckBox] addEventListener --- @param self --- @param #function callback --- @return CheckBox#CheckBox self (return value: ccui.CheckBox) - --------------------------------- --- @overload self, string, string, string, string, string, int --- @overload self --- @overload self, string, string, int --- @function [parent=#CheckBox] create --- @param self --- @param #string backGround --- @param #string backGroundSelected --- @param #string cross --- @param #string backGroundDisabled --- @param #string frontCrossDisabled --- @param #int texType --- @return CheckBox#CheckBox ret (return value: ccui.CheckBox) - --------------------------------- --- --- @function [parent=#CheckBox] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#CheckBox] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Default constructor.
--- lua new --- @function [parent=#CheckBox] CheckBox --- @param self --- @return CheckBox#CheckBox self (return value: ccui.CheckBox) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua b/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua deleted file mode 100644 index c8638cfca2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua +++ /dev/null @@ -1,111 +0,0 @@ - --------------------------------- --- @module ClippingNode --- @extend Node --- @parent_module cc - --------------------------------- --- If stencil has no children it will not be drawn.
--- If you have custom stencil-based node with stencil drawing mechanics other then children-based,
--- then this method should return true every time you wish stencil to be visited.
--- By default returns true if has any children attached.
--- return If you have custom stencil-based node with stencil drawing mechanics other then children-based,
--- then this method should return true every time you wish stencil to be visited.
--- By default returns true if has any children attached.
--- js NA --- @function [parent=#ClippingNode] hasContent --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set the ClippingNode whether or not invert.
--- param inverted A bool Type,to set the ClippingNode whether or not invert. --- @function [parent=#ClippingNode] setInverted --- @param self --- @param #bool inverted --- @return ClippingNode#ClippingNode self (return value: cc.ClippingNode) - --------------------------------- --- Set the Node to use as a stencil to do the clipping.
--- param stencil The Node to use as a stencil to do the clipping. --- @function [parent=#ClippingNode] setStencil --- @param self --- @param #cc.Node stencil --- @return ClippingNode#ClippingNode self (return value: cc.ClippingNode) - --------------------------------- --- The alpha threshold.
--- The content is drawn only where the stencil have pixel with alpha greater than the alphaThreshold.
--- Should be a float between 0 and 1.
--- This default to 1 (so alpha test is disabled).
--- return The alpha threshold value,Should be a float between 0 and 1. --- @function [parent=#ClippingNode] getAlphaThreshold --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Initializes a clipping node with an other node as its stencil.
--- The stencil node will be retained, and its parent will be set to this clipping node. --- @function [parent=#ClippingNode] init --- @param self --- @param #cc.Node stencil --- @return bool#bool ret (return value: bool) - --------------------------------- --- The Node to use as a stencil to do the clipping.
--- The stencil node will be retained.
--- This default to nil.
--- return The stencil node. --- @function [parent=#ClippingNode] getStencil --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Set the alpha threshold.
--- param alphaThreshold The alpha threshold. --- @function [parent=#ClippingNode] setAlphaThreshold --- @param self --- @param #float alphaThreshold --- @return ClippingNode#ClippingNode self (return value: cc.ClippingNode) - --------------------------------- --- Inverted. If this is set to true,
--- the stencil is inverted, so the content is drawn where the stencil is NOT drawn.
--- This default to false.
--- return If the clippingNode is Inverted, it will be return true. --- @function [parent=#ClippingNode] isInverted --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, cc.Node --- @overload self --- @function [parent=#ClippingNode] create --- @param self --- @param #cc.Node stencil --- @return ClippingNode#ClippingNode ret (return value: cc.ClippingNode) - --------------------------------- --- --- @function [parent=#ClippingNode] setCameraMask --- @param self --- @param #unsigned short mask --- @param #bool applyChildren --- @return ClippingNode#ClippingNode self (return value: cc.ClippingNode) - --------------------------------- --- --- @function [parent=#ClippingNode] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return ClippingNode#ClippingNode self (return value: cc.ClippingNode) - --------------------------------- --- Initializes a clipping node without a stencil. --- @function [parent=#ClippingNode] init --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua b/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua deleted file mode 100644 index f73fe5eee6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua +++ /dev/null @@ -1,54 +0,0 @@ - --------------------------------- --- @module ClippingRectangleNode --- @extend Node --- @parent_module cc - --------------------------------- --- brief Get whether the clipping is enabled or not.
--- return Whether the clipping is enabled or not. Default is true. --- @function [parent=#ClippingRectangleNode] isClippingEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Enable/Disable the clipping.
--- param enabled Pass true to enable clipping. Pass false to disable clipping. --- @function [parent=#ClippingRectangleNode] setClippingEnabled --- @param self --- @param #bool enabled --- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode) - --------------------------------- --- brief Get the clipping rectangle.
--- return The clipping rectangle. --- @function [parent=#ClippingRectangleNode] getClippingRegion --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- brief Set the clipping rectangle.
--- param clippingRegion Specify the clipping rectangle. --- @function [parent=#ClippingRectangleNode] setClippingRegion --- @param self --- @param #rect_table clippingRegion --- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode) - --------------------------------- --- @overload self --- @overload self, rect_table --- @function [parent=#ClippingRectangleNode] create --- @param self --- @param #rect_table clippingRegion --- @return ClippingRectangleNode#ClippingRectangleNode ret (return value: cc.ClippingRectangleNode) - --------------------------------- --- --- @function [parent=#ClippingRectangleNode] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ColorFrame.lua b/cocos/scripting/lua-bindings/auto/api/ColorFrame.lua deleted file mode 100644 index f97ffe1bad..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ColorFrame.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module ColorFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ColorFrame] getColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#ColorFrame] setColor --- @param self --- @param #color3b_table color --- @return ColorFrame#ColorFrame self (return value: ccs.ColorFrame) - --------------------------------- --- --- @function [parent=#ColorFrame] create --- @param self --- @return ColorFrame#ColorFrame ret (return value: ccs.ColorFrame) - --------------------------------- --- --- @function [parent=#ColorFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#ColorFrame] ColorFrame --- @param self --- @return ColorFrame#ColorFrame self (return value: ccs.ColorFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ComAttribute.lua b/cocos/scripting/lua-bindings/auto/api/ComAttribute.lua deleted file mode 100644 index 0683a78ee2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ComAttribute.lua +++ /dev/null @@ -1,103 +0,0 @@ - --------------------------------- --- @module ComAttribute --- @extend Component --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ComAttribute] getFloat --- @param self --- @param #string key --- @param #float def --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ComAttribute] getString --- @param self --- @param #string key --- @param #string def --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#ComAttribute] setFloat --- @param self --- @param #string key --- @param #float value --- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute) - --------------------------------- --- --- @function [parent=#ComAttribute] setString --- @param self --- @param #string key --- @param #string value --- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute) - --------------------------------- --- --- @function [parent=#ComAttribute] getBool --- @param self --- @param #string key --- @param #bool def --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ComAttribute] setInt --- @param self --- @param #string key --- @param #int value --- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute) - --------------------------------- --- --- @function [parent=#ComAttribute] parse --- @param self --- @param #string jsonFile --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ComAttribute] getInt --- @param self --- @param #string key --- @param #int def --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#ComAttribute] setBool --- @param self --- @param #string key --- @param #bool value --- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute) - --------------------------------- --- --- @function [parent=#ComAttribute] create --- @param self --- @return ComAttribute#ComAttribute ret (return value: ccs.ComAttribute) - --------------------------------- --- --- @function [parent=#ComAttribute] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#ComAttribute] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ComAttribute] serialize --- @param self --- @param #void r --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ComAudio.lua b/cocos/scripting/lua-bindings/auto/api/ComAudio.lua deleted file mode 100644 index f295c22dd7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ComAudio.lua +++ /dev/null @@ -1,234 +0,0 @@ - --------------------------------- --- @module ComAudio --- @extend Component,PlayableProtocol --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ComAudio] stopAllEffects --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] getEffectsVolume --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ComAudio] stopEffect --- @param self --- @param #unsigned int nSoundId --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] getBackgroundMusicVolume --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ComAudio] willPlayBackgroundMusic --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ComAudio] setBackgroundMusicVolume --- @param self --- @param #float volume --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- / @{/ @name implement Playable Protocol --- @function [parent=#ComAudio] start --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- @overload self --- @overload self, bool --- @function [parent=#ComAudio] stopBackgroundMusic --- @param self --- @param #bool bReleaseData --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] pauseBackgroundMusic --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] isBackgroundMusicPlaying --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ComAudio] isLoop --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ComAudio] resumeAllEffects --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] pauseAllEffects --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] preloadBackgroundMusic --- @param self --- @param #char pszFilePath --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- @overload self, char --- @overload self, char, bool --- @overload self --- @function [parent=#ComAudio] playBackgroundMusic --- @param self --- @param #char pszFilePath --- @param #bool bLoop --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] stop --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- lua endToLua --- @function [parent=#ComAudio] end --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- @overload self, char --- @overload self, char, bool --- @overload self --- @function [parent=#ComAudio] playEffect --- @param self --- @param #char pszFilePath --- @param #bool bLoop --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- --- @function [parent=#ComAudio] preloadEffect --- @param self --- @param #char pszFilePath --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] setLoop --- @param self --- @param #bool bLoop --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] unloadEffect --- @param self --- @param #char pszFilePath --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] rewindBackgroundMusic --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] pauseEffect --- @param self --- @param #unsigned int nSoundId --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] resumeBackgroundMusic --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] setFile --- @param self --- @param #char pszFilePath --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] setEffectsVolume --- @param self --- @param #float volume --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] getFile --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- --- @function [parent=#ComAudio] resumeEffect --- @param self --- @param #unsigned int nSoundId --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] create --- @param self --- @return ComAudio#ComAudio ret (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ComAudio] onRemove --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - --------------------------------- --- --- @function [parent=#ComAudio] serialize --- @param self --- @param #void r --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ComAudio] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ComAudio] onAdd --- @param self --- @return ComAudio#ComAudio self (return value: ccs.ComAudio) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ComController.lua b/cocos/scripting/lua-bindings/auto/api/ComController.lua deleted file mode 100644 index cd35e13b5b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ComController.lua +++ /dev/null @@ -1,52 +0,0 @@ - --------------------------------- --- @module ComController --- @extend Component,InputDelegate --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ComController] create --- @param self --- @return ComController#ComController ret (return value: ccs.ComController) - --------------------------------- --- --- @function [parent=#ComController] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ComController] onRemove --- @param self --- @return ComController#ComController self (return value: ccs.ComController) - --------------------------------- --- --- @function [parent=#ComController] update --- @param self --- @param #float delta --- @return ComController#ComController self (return value: ccs.ComController) - --------------------------------- --- --- @function [parent=#ComController] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ComController] onAdd --- @param self --- @return ComController#ComController self (return value: ccs.ComController) - --------------------------------- --- js ctor --- @function [parent=#ComController] ComController --- @param self --- @return ComController#ComController self (return value: ccs.ComController) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ComExtensionData.lua b/cocos/scripting/lua-bindings/auto/api/ComExtensionData.lua deleted file mode 100644 index bd2022d55e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ComExtensionData.lua +++ /dev/null @@ -1,71 +0,0 @@ - --------------------------------- --- @module ComExtensionData --- @extend Component --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ComExtensionData] setActionTag --- @param self --- @param #int actionTag --- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData) - --------------------------------- --- --- @function [parent=#ComExtensionData] getCustomProperty --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#ComExtensionData] getActionTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#ComExtensionData] setCustomProperty --- @param self --- @param #string customProperty --- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData) - --------------------------------- --- --- @function [parent=#ComExtensionData] create --- @param self --- @return ComExtensionData#ComExtensionData ret (return value: ccs.ComExtensionData) - --------------------------------- --- --- @function [parent=#ComExtensionData] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#ComExtensionData] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ComExtensionData] onRemove --- @param self --- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ComExtensionData] onAdd --- @param self --- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData) - --------------------------------- --- --- @function [parent=#ComExtensionData] ComExtensionData --- @param self --- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ComRender.lua b/cocos/scripting/lua-bindings/auto/api/ComRender.lua deleted file mode 100644 index 0d9f436c6e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ComRender.lua +++ /dev/null @@ -1,56 +0,0 @@ - --------------------------------- --- @module ComRender --- @extend Component --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ComRender] setNode --- @param self --- @param #cc.Node node --- @return ComRender#ComRender self (return value: ccs.ComRender) - --------------------------------- --- --- @function [parent=#ComRender] getNode --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- @overload self, cc.Node, char --- @overload self --- @function [parent=#ComRender] create --- @param self --- @param #cc.Node node --- @param #char comName --- @return ComRender#ComRender ret (return value: ccs.ComRender) - --------------------------------- --- --- @function [parent=#ComRender] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#ComRender] serialize --- @param self --- @param #void r --- @return bool#bool ret (return value: bool) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ComRender] onRemove --- @param self --- @return ComRender#ComRender self (return value: ccs.ComRender) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ComRender] onAdd --- @param self --- @return ComRender#ComRender self (return value: ccs.ComRender) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Component.lua b/cocos/scripting/lua-bindings/auto/api/Component.lua deleted file mode 100644 index 2c5b6416f0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Component.lua +++ /dev/null @@ -1,77 +0,0 @@ - --------------------------------- --- @module Component --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#Component] setEnabled --- @param self --- @param #bool enabled --- @return Component#Component self (return value: cc.Component) - --------------------------------- --- --- @function [parent=#Component] onRemove --- @param self --- @return Component#Component self (return value: cc.Component) - --------------------------------- --- --- @function [parent=#Component] setName --- @param self --- @param #string name --- @return Component#Component self (return value: cc.Component) - --------------------------------- --- --- @function [parent=#Component] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Component] update --- @param self --- @param #float delta --- @return Component#Component self (return value: cc.Component) - --------------------------------- --- --- @function [parent=#Component] getOwner --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Component] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Component] setOwner --- @param self --- @param #cc.Node owner --- @return Component#Component self (return value: cc.Component) - --------------------------------- --- --- @function [parent=#Component] getName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Component] onAdd --- @param self --- @return Component#Component self (return value: cc.Component) - --------------------------------- --- --- @function [parent=#Component] create --- @param self --- @return Component#Component ret (return value: cc.Component) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ComponentLua.lua b/cocos/scripting/lua-bindings/auto/api/ComponentLua.lua deleted file mode 100644 index 1d1d60653a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ComponentLua.lua +++ /dev/null @@ -1,34 +0,0 @@ - --------------------------------- --- @module ComponentLua --- @extend Component --- @parent_module cc - --------------------------------- --- This function is used to be invoked from lua side to get the corresponding script object of this component. --- @function [parent=#ComponentLua] getScriptObject --- @param self --- @return void#void ret (return value: void) - --------------------------------- --- --- @function [parent=#ComponentLua] update --- @param self --- @param #float dt --- @return ComponentLua#ComponentLua self (return value: cc.ComponentLua) - --------------------------------- --- --- @function [parent=#ComponentLua] create --- @param self --- @param #string scriptFileName --- @return ComponentLua#ComponentLua ret (return value: cc.ComponentLua) - --------------------------------- --- --- @function [parent=#ComponentLua] ComponentLua --- @param self --- @param #string scriptFileName --- @return ComponentLua#ComponentLua self (return value: cc.ComponentLua) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Console.lua b/cocos/scripting/lua-bindings/auto/api/Console.lua deleted file mode 100644 index d9dbf073f0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Console.lua +++ /dev/null @@ -1,62 +0,0 @@ - --------------------------------- --- @module Console --- @extend Ref --- @parent_module cc - --------------------------------- --- starts listening to specified TCP port --- @function [parent=#Console] listenOnTCP --- @param self --- @param #int port --- @return bool#bool ret (return value: bool) - --------------------------------- --- log something in the console --- @function [parent=#Console] log --- @param self --- @param #char buf --- @return Console#Console self (return value: cc.Console) - --------------------------------- --- delete custom command --- @function [parent=#Console] delCommand --- @param self --- @param #string cmdName --- @return Console#Console self (return value: cc.Console) - --------------------------------- --- stops the Console. 'stop' will be called at destruction time as well --- @function [parent=#Console] stop --- @param self --- @return Console#Console self (return value: cc.Console) - --------------------------------- --- starts listening to specified file descriptor --- @function [parent=#Console] listenOnFileDescriptor --- @param self --- @param #int fd --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Console] setCommandSeparator --- @param self --- @param #char var --- @return Console#Console self (return value: cc.Console) - --------------------------------- --- set bind address
--- address : 127.0.0.1 --- @function [parent=#Console] setBindAddress --- @param self --- @param #string address --- @return Console#Console self (return value: cc.Console) - --------------------------------- --- Checks whether the server for console is bound with ipv6 address --- @function [parent=#Console] isIpv6Server --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ContourData.lua b/cocos/scripting/lua-bindings/auto/api/ContourData.lua deleted file mode 100644 index 1545ea7495..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ContourData.lua +++ /dev/null @@ -1,32 +0,0 @@ - --------------------------------- --- @module ContourData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ContourData] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ContourData] addVertex --- @param self --- @param #vec2_table vertex --- @return ContourData#ContourData self (return value: ccs.ContourData) - --------------------------------- --- --- @function [parent=#ContourData] create --- @param self --- @return ContourData#ContourData ret (return value: ccs.ContourData) - --------------------------------- --- js ctor --- @function [parent=#ContourData] ContourData --- @param self --- @return ContourData#ContourData self (return value: ccs.ContourData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Control.lua b/cocos/scripting/lua-bindings/auto/api/Control.lua deleted file mode 100644 index d9d0567921..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Control.lua +++ /dev/null @@ -1,155 +0,0 @@ - --------------------------------- --- @module Control --- @extend Layer --- @parent_module cc - --------------------------------- --- Tells whether the control is enabled. --- @function [parent=#Control] setEnabled --- @param self --- @param #bool bEnabled --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- --- @function [parent=#Control] getState --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sends action messages for the given control events.
--- param controlEvents A bitmask whose set flags specify the control events for
--- which action messages are sent. See "CCControlEvent" for bitmask constants. --- @function [parent=#Control] sendActionsForControlEvents --- @param self --- @param #int controlEvents --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- A Boolean value that determines the control selected state. --- @function [parent=#Control] setSelected --- @param self --- @param #bool bSelected --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- --- @function [parent=#Control] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Updates the control layout using its current internal state. --- @function [parent=#Control] needsLayout --- @param self --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- --- @function [parent=#Control] hasVisibleParents --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Control] isSelected --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns a boolean value that indicates whether a touch is inside the bounds
--- of the receiver. The given touch must be relative to the world.
--- param touch A Touch object that represents a touch.
--- return Whether a touch is inside the receiver's rect. --- @function [parent=#Control] isTouchInside --- @param self --- @param #cc.Touch touch --- @return bool#bool ret (return value: bool) - --------------------------------- --- A Boolean value that determines whether the control is highlighted. --- @function [parent=#Control] setHighlighted --- @param self --- @param #bool bHighlighted --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- Returns a point corresponding to the touch location converted into the
--- control space coordinates.
--- param touch A Touch object that represents a touch. --- @function [parent=#Control] getTouchLocation --- @param self --- @param #cc.Touch touch --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#Control] isHighlighted --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates a Control object --- @function [parent=#Control] create --- @param self --- @return Control#Control ret (return value: cc.Control) - --------------------------------- --- --- @function [parent=#Control] onTouchMoved --- @param self --- @param #cc.Touch touch --- @param #cc.Event event --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- --- @function [parent=#Control] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Control] setOpacityModifyRGB --- @param self --- @param #bool bOpacityModifyRGB --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- --- @function [parent=#Control] onTouchCancelled --- @param self --- @param #cc.Touch touch --- @param #cc.Event event --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- --- @function [parent=#Control] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Control] onTouchEnded --- @param self --- @param #cc.Touch touch --- @param #cc.Event event --- @return Control#Control self (return value: cc.Control) - --------------------------------- --- --- @function [parent=#Control] onTouchBegan --- @param self --- @param #cc.Touch touch --- @param #cc.Event event --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor --- @function [parent=#Control] Control --- @param self --- @return Control#Control self (return value: cc.Control) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ControlButton.lua b/cocos/scripting/lua-bindings/auto/api/ControlButton.lua deleted file mode 100644 index ae6d5f4d21..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ControlButton.lua +++ /dev/null @@ -1,420 +0,0 @@ - --------------------------------- --- @module ControlButton --- @extend Control --- @parent_module cc - --------------------------------- --- --- @function [parent=#ControlButton] isPushed --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the title label to use for the specified state.
--- If a property is not specified for a state, the default is to use
--- the ButtonStateNormal value.
--- param label The title label to use for the specified state.
--- param state The state that uses the specified title. The values are described
--- in "CCControlState". --- @function [parent=#ControlButton] setTitleLabelForState --- @param self --- @param #cc.Node label --- @param #int state --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setAdjustBackgroundImage --- @param self --- @param #bool adjustBackgroundImage --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- Sets the title string to use for the specified state.
--- If a property is not specified for a state, the default is to use
--- the ButtonStateNormal value.
--- param title The title string to use for the specified state.
--- param state The state that uses the specified title. The values are described
--- in "CCControlState". --- @function [parent=#ControlButton] setTitleForState --- @param self --- @param #string title --- @param #int state --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setLabelAnchorPoint --- @param self --- @param #vec2_table var --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] getLabelAnchorPoint --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#ControlButton] initWithBackgroundSprite --- @param self --- @param #ccui.Scale9Sprite sprite --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlButton] getTitleTTFSizeForState --- @param self --- @param #int state --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlButton] setTitleTTFForState --- @param self --- @param #string fntFile --- @param #int state --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setTitleTTFSizeForState --- @param self --- @param #float size --- @param #int state --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setTitleLabel --- @param self --- @param #cc.Node var --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setPreferredSize --- @param self --- @param #size_table var --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] getCurrentTitleColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#ControlButton] setZoomOnTouchDown --- @param self --- @param #bool var --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setBackgroundSprite --- @param self --- @param #ccui.Scale9Sprite var --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- Returns the background sprite used for a state.
--- param state The state that uses the background sprite. Possible values are
--- described in "CCControlState". --- @function [parent=#ControlButton] getBackgroundSpriteForState --- @param self --- @param #int state --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- --- @function [parent=#ControlButton] getHorizontalOrigin --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#ControlButton] initWithTitleAndFontNameAndFontSize --- @param self --- @param #string title --- @param #string fontName --- @param #float fontSize --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the font of the label, changes the label to a BMFont if necessary.
--- param fntFile The name of the font to change to
--- param state The state that uses the specified fntFile. The values are described
--- in "CCControlState". --- @function [parent=#ControlButton] setTitleBMFontForState --- @param self --- @param #string fntFile --- @param #int state --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] getScaleRatio --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlButton] getTitleTTFForState --- @param self --- @param #int state --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#ControlButton] getBackgroundSprite --- @param self --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- Returns the title color used for a state.
--- param state The state that uses the specified color. The values are described
--- in "CCControlState".
--- return The color of the title for the specified state. --- @function [parent=#ControlButton] getTitleColorForState --- @param self --- @param #int state --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Sets the color of the title to use for the specified state.
--- param color The color of the title to use for the specified state.
--- param state The state that uses the specified color. The values are described
--- in "CCControlState". --- @function [parent=#ControlButton] setTitleColorForState --- @param self --- @param #color3b_table color --- @param #int state --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- Adjust the background image. YES by default. If the property is set to NO, the
--- background will use the preferred size of the background image. --- @function [parent=#ControlButton] doesAdjustBackgroundImage --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the background spriteFrame to use for the specified button state.
--- param spriteFrame The background spriteFrame to use for the specified state.
--- param state The state that uses the specified image. The values are described
--- in "CCControlState". --- @function [parent=#ControlButton] setBackgroundSpriteFrameForState --- @param self --- @param #cc.SpriteFrame spriteFrame --- @param #int state --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- Sets the background sprite to use for the specified button state.
--- param sprite The background sprite to use for the specified state.
--- param state The state that uses the specified image. The values are described
--- in "CCControlState". --- @function [parent=#ControlButton] setBackgroundSpriteForState --- @param self --- @param #ccui.Scale9Sprite sprite --- @param #int state --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setScaleRatio --- @param self --- @param #float var --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] getTitleBMFontForState --- @param self --- @param #int state --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#ControlButton] getTitleLabel --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#ControlButton] getPreferredSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#ControlButton] getVerticalMargin --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Returns the title label used for a state.
--- param state The state that uses the title label. Possible values are described
--- in "CCControlState". --- @function [parent=#ControlButton] getTitleLabelForState --- @param self --- @param #int state --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#ControlButton] setMargins --- @param self --- @param #int marginH --- @param #int marginV --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#ControlButton] getCurrentTitle --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#ControlButton] initWithLabelAndBackgroundSprite --- @param self --- @param #cc.Node label --- @param #ccui.Scale9Sprite backgroundSprite --- @param #bool adjustBackGroundSize --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlButton] getZoomOnTouchDown --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the title used for a state.
--- param state The state that uses the title. Possible values are described in
--- "CCControlState".
--- return The title for the specified state. --- @function [parent=#ControlButton] getTitleForState --- @param self --- @param #int state --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, ccui.Scale9Sprite --- @overload self --- @overload self, cc.Node, ccui.Scale9Sprite --- @overload self, string, string, float --- @overload self, cc.Node, ccui.Scale9Sprite, bool --- @function [parent=#ControlButton] create --- @param self --- @param #cc.Node label --- @param #ccui.Scale9Sprite backgroundSprite --- @param #bool adjustBackGroundSize --- @return ControlButton#ControlButton ret (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setEnabled --- @param self --- @param #bool enabled --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] onTouchEnded --- @param self --- @param #cc.Touch touch --- @param #cc.Event event --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setColor --- @param self --- @param #color3b_table --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] onTouchMoved --- @param self --- @param #cc.Touch touch --- @param #cc.Event event --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setSelected --- @param self --- @param #bool enabled --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] onTouchCancelled --- @param self --- @param #cc.Touch touch --- @param #cc.Event event --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] needsLayout --- @param self --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] onTouchBegan --- @param self --- @param #cc.Touch touch --- @param #cc.Event event --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlButton] updateDisplayedOpacity --- @param self --- @param #unsigned char parentOpacity --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlButton] setHighlighted --- @param self --- @param #bool enabled --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] updateDisplayedColor --- @param self --- @param #color3b_table parentColor --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- --- @function [parent=#ControlButton] setOpacity --- @param self --- @param #unsigned char var --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - --------------------------------- --- js ctor --- @function [parent=#ControlButton] ControlButton --- @param self --- @return ControlButton#ControlButton self (return value: cc.ControlButton) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ControlColourPicker.lua b/cocos/scripting/lua-bindings/auto/api/ControlColourPicker.lua deleted file mode 100644 index 929b6c693b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ControlColourPicker.lua +++ /dev/null @@ -1,95 +0,0 @@ - --------------------------------- --- @module ControlColourPicker --- @extend Control --- @parent_module cc - --------------------------------- --- --- @function [parent=#ControlColourPicker] hueSliderValueChanged --- @param self --- @param #cc.Ref sender --- @param #int controlEvent --- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] getHuePicker --- @param self --- @return ControlHuePicker#ControlHuePicker ret (return value: cc.ControlHuePicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] getcolourPicker --- @param self --- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker ret (return value: cc.ControlSaturationBrightnessPicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] setBackground --- @param self --- @param #cc.Sprite var --- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] setcolourPicker --- @param self --- @param #cc.ControlSaturationBrightnessPicker var --- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] colourSliderValueChanged --- @param self --- @param #cc.Ref sender --- @param #int controlEvent --- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] setHuePicker --- @param self --- @param #cc.ControlHuePicker var --- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] getBackground --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlColourPicker] create --- @param self --- @return ControlColourPicker#ControlColourPicker ret (return value: cc.ControlColourPicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] setEnabled --- @param self --- @param #bool bEnabled --- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker) - --------------------------------- --- --- @function [parent=#ControlColourPicker] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlColourPicker] setColor --- @param self --- @param #color3b_table colorValue --- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker) - --------------------------------- --- js ctor
--- lua new --- @function [parent=#ControlColourPicker] ControlColourPicker --- @param self --- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ControlHuePicker.lua b/cocos/scripting/lua-bindings/auto/api/ControlHuePicker.lua deleted file mode 100644 index 8047ca72c4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ControlHuePicker.lua +++ /dev/null @@ -1,110 +0,0 @@ - --------------------------------- --- @module ControlHuePicker --- @extend Control --- @parent_module cc - --------------------------------- --- --- @function [parent=#ControlHuePicker] initWithTargetAndPos --- @param self --- @param #cc.Node target --- @param #vec2_table pos --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlHuePicker] setHue --- @param self --- @param #float val --- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker) - --------------------------------- --- --- @function [parent=#ControlHuePicker] getStartPos --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#ControlHuePicker] getHue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlHuePicker] getSlider --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlHuePicker] setBackground --- @param self --- @param #cc.Sprite var --- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker) - --------------------------------- --- --- @function [parent=#ControlHuePicker] setHuePercentage --- @param self --- @param #float val --- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker) - --------------------------------- --- --- @function [parent=#ControlHuePicker] getBackground --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlHuePicker] getHuePercentage --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlHuePicker] setSlider --- @param self --- @param #cc.Sprite var --- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker) - --------------------------------- --- --- @function [parent=#ControlHuePicker] create --- @param self --- @param #cc.Node target --- @param #vec2_table pos --- @return ControlHuePicker#ControlHuePicker ret (return value: cc.ControlHuePicker) - --------------------------------- --- --- @function [parent=#ControlHuePicker] setEnabled --- @param self --- @param #bool enabled --- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker) - --------------------------------- --- --- @function [parent=#ControlHuePicker] onTouchMoved --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker) - --------------------------------- --- --- @function [parent=#ControlHuePicker] onTouchBegan --- @param self --- @param #cc.Touch touch --- @param #cc.Event pEvent --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor --- @function [parent=#ControlHuePicker] ControlHuePicker --- @param self --- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ControlPotentiometer.lua b/cocos/scripting/lua-bindings/auto/api/ControlPotentiometer.lua deleted file mode 100644 index dfe1afb2cd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ControlPotentiometer.lua +++ /dev/null @@ -1,189 +0,0 @@ - --------------------------------- --- @module ControlPotentiometer --- @extend Control --- @parent_module cc - --------------------------------- --- --- @function [parent=#ControlPotentiometer] setPreviousLocation --- @param self --- @param #vec2_table var --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] setValue --- @param self --- @param #float value --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] getProgressTimer --- @param self --- @return ProgressTimer#ProgressTimer ret (return value: cc.ProgressTimer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] getMaximumValue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the angle in degree between line1 and line2. --- @function [parent=#ControlPotentiometer] angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint --- @param self --- @param #vec2_table beginLineA --- @param #vec2_table endLineA --- @param #vec2_table beginLineB --- @param #vec2_table endLineB --- @return float#float ret (return value: float) - --------------------------------- --- Factorize the event dispatch into these methods. --- @function [parent=#ControlPotentiometer] potentiometerBegan --- @param self --- @param #vec2_table location --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] setMaximumValue --- @param self --- @param #float maximumValue --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] getMinimumValue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] setThumbSprite --- @param self --- @param #cc.Sprite var --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] getValue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] getPreviousLocation --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the distance between the point1 and point2. --- @function [parent=#ControlPotentiometer] distanceBetweenPointAndPoint --- @param self --- @param #vec2_table point1 --- @param #vec2_table point2 --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] potentiometerEnded --- @param self --- @param #vec2_table location --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] setProgressTimer --- @param self --- @param #cc.ProgressTimer var --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] setMinimumValue --- @param self --- @param #float minimumValue --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] getThumbSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Initializes a potentiometer with a track sprite and a progress bar.
--- param trackSprite Sprite, that is used as a background.
--- param progressTimer ProgressTimer, that is used as a progress bar. --- @function [parent=#ControlPotentiometer] initWithTrackSprite_ProgressTimer_ThumbSprite --- @param self --- @param #cc.Sprite trackSprite --- @param #cc.ProgressTimer progressTimer --- @param #cc.Sprite thumbSprite --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] potentiometerMoved --- @param self --- @param #vec2_table location --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- Creates potentiometer with a track filename and a progress filename. --- @function [parent=#ControlPotentiometer] create --- @param self --- @param #char backgroundFile --- @param #char progressFile --- @param #char thumbFile --- @return ControlPotentiometer#ControlPotentiometer ret (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] isTouchInside --- @param self --- @param #cc.Touch touch --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] setEnabled --- @param self --- @param #bool enabled --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] onTouchMoved --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] onTouchEnded --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - --------------------------------- --- --- @function [parent=#ControlPotentiometer] onTouchBegan --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor
--- lua new --- @function [parent=#ControlPotentiometer] ControlPotentiometer --- @param self --- @return ControlPotentiometer#ControlPotentiometer self (return value: cc.ControlPotentiometer) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ControlSaturationBrightnessPicker.lua b/cocos/scripting/lua-bindings/auto/api/ControlSaturationBrightnessPicker.lua deleted file mode 100644 index 062ad2f543..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ControlSaturationBrightnessPicker.lua +++ /dev/null @@ -1,78 +0,0 @@ - --------------------------------- --- @module ControlSaturationBrightnessPicker --- @extend Control --- @parent_module cc - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] getShadow --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] initWithTargetAndPos --- @param self --- @param #cc.Node target --- @param #vec2_table pos --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] getStartPos --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] getOverlay --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] getSlider --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] getBackground --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] getSaturation --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] getBrightness --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] create --- @param self --- @param #cc.Node target --- @param #vec2_table pos --- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker ret (return value: cc.ControlSaturationBrightnessPicker) - --------------------------------- --- --- @function [parent=#ControlSaturationBrightnessPicker] setEnabled --- @param self --- @param #bool enabled --- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker self (return value: cc.ControlSaturationBrightnessPicker) - --------------------------------- --- js ctor --- @function [parent=#ControlSaturationBrightnessPicker] ControlSaturationBrightnessPicker --- @param self --- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker self (return value: cc.ControlSaturationBrightnessPicker) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ControlSlider.lua b/cocos/scripting/lua-bindings/auto/api/ControlSlider.lua deleted file mode 100644 index e38924f9c7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ControlSlider.lua +++ /dev/null @@ -1,182 +0,0 @@ - --------------------------------- --- @module ControlSlider --- @extend Control --- @parent_module cc - --------------------------------- --- --- @function [parent=#ControlSlider] setBackgroundSprite --- @param self --- @param #cc.Sprite var --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] getMaximumAllowedValue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite --- @overload self, cc.Sprite, cc.Sprite, cc.Sprite --- @function [parent=#ControlSlider] initWithSprites --- @param self --- @param #cc.Sprite backgroundSprite --- @param #cc.Sprite progressSprite --- @param #cc.Sprite thumbSprite --- @param #cc.Sprite selectedThumbSprite --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlSlider] getMinimumAllowedValue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlSlider] getMaximumValue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlSlider] getSelectedThumbSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlSlider] setProgressSprite --- @param self --- @param #cc.Sprite var --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] setMaximumValue --- @param self --- @param #float val --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] getMinimumValue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlSlider] setThumbSprite --- @param self --- @param #cc.Sprite var --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] getValue --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ControlSlider] getBackgroundSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlSlider] getThumbSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlSlider] setValue --- @param self --- @param #float val --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] locationFromTouch --- @param self --- @param #cc.Touch touch --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#ControlSlider] setMinimumValue --- @param self --- @param #float val --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] setMinimumAllowedValue --- @param self --- @param #float var --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] getProgressSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlSlider] setSelectedThumbSprite --- @param self --- @param #cc.Sprite var --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] setMaximumAllowedValue --- @param self --- @param #float var --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- @overload self, cc.Sprite, cc.Sprite, cc.Sprite --- @overload self, char, char, char --- @overload self, char, char, char, char --- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite --- @function [parent=#ControlSlider] create --- @param self --- @param #cc.Sprite backgroundSprite --- @param #cc.Sprite pogressSprite --- @param #cc.Sprite thumbSprite --- @param #cc.Sprite selectedThumbSprite --- @return ControlSlider#ControlSlider ret (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] isTouchInside --- @param self --- @param #cc.Touch touch --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlSlider] setEnabled --- @param self --- @param #bool enabled --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- --- @function [parent=#ControlSlider] needsLayout --- @param self --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - --------------------------------- --- js ctor
--- lua new --- @function [parent=#ControlSlider] ControlSlider --- @param self --- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ControlStepper.lua b/cocos/scripting/lua-bindings/auto/api/ControlStepper.lua deleted file mode 100644 index 285238c55d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ControlStepper.lua +++ /dev/null @@ -1,187 +0,0 @@ - --------------------------------- --- @module ControlStepper --- @extend Control --- @parent_module cc - --------------------------------- --- --- @function [parent=#ControlStepper] getMinusSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlStepper] setValue --- @param self --- @param #double value --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] setStepValue --- @param self --- @param #double stepValue --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] initWithMinusSpriteAndPlusSprite --- @param self --- @param #cc.Sprite minusSprite --- @param #cc.Sprite plusSprite --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set the numeric value of the stepper. If send is true, the Control::EventType::VALUE_CHANGED is sent. --- @function [parent=#ControlStepper] setValueWithSendingEvent --- @param self --- @param #double value --- @param #bool send --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] setMaximumValue --- @param self --- @param #double maximumValue --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] getMinusLabel --- @param self --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- --- @function [parent=#ControlStepper] getPlusLabel --- @param self --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- --- @function [parent=#ControlStepper] setWraps --- @param self --- @param #bool wraps --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] setMinusLabel --- @param self --- @param #cc.Label var --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- Start the autorepeat increment/decrement. --- @function [parent=#ControlStepper] startAutorepeat --- @param self --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- Update the layout of the stepper with the given touch location. --- @function [parent=#ControlStepper] updateLayoutUsingTouchLocation --- @param self --- @param #vec2_table location --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] isContinuous --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Stop the autorepeat. --- @function [parent=#ControlStepper] stopAutorepeat --- @param self --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] setMinimumValue --- @param self --- @param #double minimumValue --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] setPlusLabel --- @param self --- @param #cc.Label var --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] getValue --- @param self --- @return double#double ret (return value: double) - --------------------------------- --- --- @function [parent=#ControlStepper] getPlusSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#ControlStepper] setPlusSprite --- @param self --- @param #cc.Sprite var --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] setMinusSprite --- @param self --- @param #cc.Sprite var --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] create --- @param self --- @param #cc.Sprite minusSprite --- @param #cc.Sprite plusSprite --- @return ControlStepper#ControlStepper ret (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] onTouchMoved --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] onTouchEnded --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] update --- @param self --- @param #float dt --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - --------------------------------- --- --- @function [parent=#ControlStepper] onTouchBegan --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor
--- lua new --- @function [parent=#ControlStepper] ControlStepper --- @param self --- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ControlSwitch.lua b/cocos/scripting/lua-bindings/auto/api/ControlSwitch.lua deleted file mode 100644 index 0b123ff5a8..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ControlSwitch.lua +++ /dev/null @@ -1,107 +0,0 @@ - --------------------------------- --- @module ControlSwitch --- @extend Control --- @parent_module cc - --------------------------------- --- @overload self, bool --- @overload self, bool, bool --- @function [parent=#ControlSwitch] setOn --- @param self --- @param #bool isOn --- @param #bool animated --- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch) - --------------------------------- --- --- @function [parent=#ControlSwitch] locationFromTouch --- @param self --- @param #cc.Touch touch --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#ControlSwitch] isOn --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite, cc.Label, cc.Label --- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite --- @function [parent=#ControlSwitch] initWithMaskSprite --- @param self --- @param #cc.Sprite maskSprite --- @param #cc.Sprite onSprite --- @param #cc.Sprite offSprite --- @param #cc.Sprite thumbSprite --- @param #cc.Label onLabel --- @param #cc.Label offLabel --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ControlSwitch] hasMoved --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite --- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite, cc.Label, cc.Label --- @function [parent=#ControlSwitch] create --- @param self --- @param #cc.Sprite maskSprite --- @param #cc.Sprite onSprite --- @param #cc.Sprite offSprite --- @param #cc.Sprite thumbSprite --- @param #cc.Label onLabel --- @param #cc.Label offLabel --- @return ControlSwitch#ControlSwitch ret (return value: cc.ControlSwitch) - --------------------------------- --- --- @function [parent=#ControlSwitch] setEnabled --- @param self --- @param #bool enabled --- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch) - --------------------------------- --- --- @function [parent=#ControlSwitch] onTouchMoved --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch) - --------------------------------- --- --- @function [parent=#ControlSwitch] onTouchEnded --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch) - --------------------------------- --- --- @function [parent=#ControlSwitch] onTouchCancelled --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch) - --------------------------------- --- --- @function [parent=#ControlSwitch] onTouchBegan --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor
--- lua new --- @function [parent=#ControlSwitch] ControlSwitch --- @param self --- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Controller.lua b/cocos/scripting/lua-bindings/auto/api/Controller.lua deleted file mode 100644 index 88abe6a9c2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Controller.lua +++ /dev/null @@ -1,83 +0,0 @@ - --------------------------------- --- @module Controller --- @parent_module cc - --------------------------------- --- Activate receives key event from external key. e.g. back,menu.
--- Controller receives only standard key which contained within enum Key by default.
--- warning The API only work on the android platform for support diversified game controller.
--- param externalKeyCode External key code.
--- param receive True if external key event on this controller should be receive, false otherwise. --- @function [parent=#Controller] receiveExternalKeyEvent --- @param self --- @param #int externalKeyCode --- @param #bool receive --- @return Controller#Controller self (return value: cc.Controller) - --------------------------------- --- Gets the name of this Controller object. --- @function [parent=#Controller] getDeviceName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Indicates whether the Controller is connected. --- @function [parent=#Controller] isConnected --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the Controller id. --- @function [parent=#Controller] getDeviceId --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Changes the tag that is used to identify the controller easily.
--- param tag A integer that identifies the controller. --- @function [parent=#Controller] setTag --- @param self --- @param #int tag --- @return Controller#Controller self (return value: cc.Controller) - --------------------------------- --- Returns a tag that is used to identify the controller easily.
--- return An integer that identifies the controller. --- @function [parent=#Controller] getTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Start discovering new controllers.
--- warning The API has an empty implementation on Android. --- @function [parent=#Controller] startDiscoveryController --- @param self --- @return Controller#Controller self (return value: cc.Controller) - --------------------------------- --- Stop the discovery process.
--- warning The API has an empty implementation on Android. --- @function [parent=#Controller] stopDiscoveryController --- @param self --- @return Controller#Controller self (return value: cc.Controller) - --------------------------------- --- Gets a Controller object with device ID.
--- param deviceId A unique identifier to find the controller.
--- return A Controller object. --- @function [parent=#Controller] getControllerByDeviceId --- @param self --- @param #int deviceId --- @return Controller#Controller ret (return value: cc.Controller) - --------------------------------- --- Gets a Controller object with tag.
--- param tag An identifier to find the controller.
--- return A Controller object. --- @function [parent=#Controller] getControllerByTag --- @param self --- @param #int tag --- @return Controller#Controller ret (return value: cc.Controller) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/DelayTime.lua b/cocos/scripting/lua-bindings/auto/api/DelayTime.lua deleted file mode 100644 index 431c0b318a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/DelayTime.lua +++ /dev/null @@ -1,41 +0,0 @@ - --------------------------------- --- @module DelayTime --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- Creates the action.
--- param d Duration time, in seconds.
--- return An autoreleased DelayTime object. --- @function [parent=#DelayTime] create --- @param self --- @param #float d --- @return DelayTime#DelayTime ret (return value: cc.DelayTime) - --------------------------------- --- --- @function [parent=#DelayTime] clone --- @param self --- @return DelayTime#DelayTime ret (return value: cc.DelayTime) - --------------------------------- --- param time In seconds. --- @function [parent=#DelayTime] update --- @param self --- @param #float time --- @return DelayTime#DelayTime self (return value: cc.DelayTime) - --------------------------------- --- --- @function [parent=#DelayTime] reverse --- @param self --- @return DelayTime#DelayTime ret (return value: cc.DelayTime) - --------------------------------- --- --- @function [parent=#DelayTime] DelayTime --- @param self --- @return DelayTime#DelayTime self (return value: cc.DelayTime) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Device.lua b/cocos/scripting/lua-bindings/auto/api/Device.lua deleted file mode 100644 index 2843ebb3e4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Device.lua +++ /dev/null @@ -1,46 +0,0 @@ - --------------------------------- --- @module Device --- @parent_module cc - --------------------------------- --- To enable or disable accelerometer. --- @function [parent=#Device] setAccelerometerEnabled --- @param self --- @param #bool isEnabled --- @return Device#Device self (return value: cc.Device) - --------------------------------- --- Sets the interval of accelerometer. --- @function [parent=#Device] setAccelerometerInterval --- @param self --- @param #float interval --- @return Device#Device self (return value: cc.Device) - --------------------------------- --- Controls whether the screen should remain on.
--- param keepScreenOn One flag indicating that the screen should remain on. --- @function [parent=#Device] setKeepScreenOn --- @param self --- @param #bool keepScreenOn --- @return Device#Device self (return value: cc.Device) - --------------------------------- --- Vibrate for the specified amount of time.
--- If vibrate is not supported, then invoking this method has no effect.
--- Some platforms limit to a maximum duration of 5 seconds.
--- Duration is ignored on iOS due to API limitations.
--- param duration The duration in seconds. --- @function [parent=#Device] vibrate --- @param self --- @param #float duration --- @return Device#Device self (return value: cc.Device) - --------------------------------- --- Gets the DPI of device
--- return The DPI of device. --- @function [parent=#Device] getDPI --- @param self --- @return int#int ret (return value: int) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/DirectionLight.lua b/cocos/scripting/lua-bindings/auto/api/DirectionLight.lua deleted file mode 100644 index e40dbc6fa1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/DirectionLight.lua +++ /dev/null @@ -1,50 +0,0 @@ - --------------------------------- --- @module DirectionLight --- @extend BaseLight --- @parent_module cc - --------------------------------- --- Returns the Direction in parent. --- @function [parent=#DirectionLight] getDirection --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Returns direction in world. --- @function [parent=#DirectionLight] getDirectionInWorld --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Sets the Direction in parent.
--- param dir The Direction in parent. --- @function [parent=#DirectionLight] setDirection --- @param self --- @param #vec3_table dir --- @return DirectionLight#DirectionLight self (return value: cc.DirectionLight) - --------------------------------- --- Creates a direction light.
--- param direction The light's direction
--- param color The light's color.
--- return The new direction light. --- @function [parent=#DirectionLight] create --- @param self --- @param #vec3_table direction --- @param #color3b_table color --- @return DirectionLight#DirectionLight ret (return value: cc.DirectionLight) - --------------------------------- --- --- @function [parent=#DirectionLight] getLightType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#DirectionLight] DirectionLight --- @param self --- @return DirectionLight#DirectionLight self (return value: cc.DirectionLight) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Director.lua b/cocos/scripting/lua-bindings/auto/api/Director.lua deleted file mode 100644 index f62adda800..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Director.lua +++ /dev/null @@ -1,569 +0,0 @@ - --------------------------------- --- @module Director --- @parent_module cc - --------------------------------- --- Pauses the running scene.
--- The running scene will be _drawed_ but all scheduled timers will be paused.
--- While paused, the draw rate will be 4 FPS to reduce CPU consumption. --- @function [parent=#Director] pause --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Clones a projection matrix and put it to the top of projection matrix stack.
--- param index The index of projection matrix stack.
--- js NA --- @function [parent=#Director] pushProjectionMatrix --- @param self --- @param #unsigned int index --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Pops the top matrix of the projection matrix stack.
--- param index The index of projection matrix stack.
--- js NA --- @function [parent=#Director] popProjectionMatrix --- @param self --- @param #unsigned int index --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Sets the EventDispatcher associated with this director.
--- since v3.0
--- js NA --- @function [parent=#Director] setEventDispatcher --- @param self --- @param #cc.EventDispatcher dispatcher --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Adds an identity matrix to the top of projection matrix stack.
--- param index The index of projection matrix stack.
--- js NA --- @function [parent=#Director] loadProjectionIdentityMatrix --- @param self --- @param #unsigned int index --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- The size in pixels of the surface. It could be different than the screen size.
--- High-res devices might have a higher surface size than the screen size.
--- Only available when compiled using SDK >= 4.0.
--- since v0.99.4 --- @function [parent=#Director] setContentScaleFactor --- @param self --- @param #float scaleFactor --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- --- @function [parent=#Director] getDeltaTime --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets content scale factor.
--- see Director::setContentScaleFactor() --- @function [parent=#Director] getContentScaleFactor --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the size of the OpenGL view in pixels. --- @function [parent=#Director] getWinSizeInPixels --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Returns safe area rectangle of the OpenGL view in points. --- @function [parent=#Director] getSafeAreaRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Sets the OpenGL default values.
--- It will enable alpha blending, disable depth test.
--- js NA --- @function [parent=#Director] setGLDefaultValues --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Sets the ActionManager associated with this director.
--- since v2.0 --- @function [parent=#Director] setActionManager --- @param self --- @param #cc.ActionManager actionManager --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Enables/disables OpenGL alpha blending. --- @function [parent=#Director] setAlphaBlending --- @param self --- @param #bool on --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Pops out all scenes from the stack until the root scene in the queue.
--- This scene will replace the running one.
--- Internally it will call `popToSceneStackLevel(1)`. --- @function [parent=#Director] popToRootScene --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Adds a matrix to the top of specified type of matrix stack.
--- param type Matrix type.
--- param mat The matrix that to be added.
--- js NA --- @function [parent=#Director] loadMatrix --- @param self --- @param #int type --- @param #mat4_table mat --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- This object will be visited after the main scene is visited.
--- This object MUST implement the "visit" function.
--- Useful to hook a notification object, like Notifications (http:github.com/manucorporat/CCNotifications)
--- since v0.99.5 --- @function [parent=#Director] getNotificationNode --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Returns the size of the OpenGL view in points. --- @function [parent=#Director] getWinSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#Director] getTextureCache --- @param self --- @return TextureCache#TextureCache ret (return value: cc.TextureCache) - --------------------------------- --- Whether or not the replaced scene will receive the cleanup message.
--- If the new scene is pushed, then the old scene won't receive the "cleanup" message.
--- If the new scene replaces the old one, the it will receive the "cleanup" message.
--- since v0.99.0 --- @function [parent=#Director] isSendCleanupToScene --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns visible origin coordinate of the OpenGL view in points. --- @function [parent=#Director] getVisibleOrigin --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- @overload self, float --- @overload self --- @function [parent=#Director] mainLoop --- @param self --- @param #float dt --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Enables/disables OpenGL depth test. --- @function [parent=#Director] setDepthTest --- @param self --- @param #bool on --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Gets Frame Rate.
--- js NA --- @function [parent=#Director] getFrameRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get seconds per frame. --- @function [parent=#Director] getSecondsPerFrame --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Clear all types of matrix stack, and add identity matrix to these matrix stacks.
--- js NA --- @function [parent=#Director] resetMatrixStack --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Converts an OpenGL coordinate to a screen coordinate.
--- Useful to convert node points to window points for calls such as glScissor. --- @function [parent=#Director] convertToUI --- @param self --- @param #vec2_table point --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Clones a specified type matrix and put it to the top of specified type of matrix stack.
--- js NA --- @function [parent=#Director] pushMatrix --- @param self --- @param #int type --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Sets the default values based on the Configuration info. --- @function [parent=#Director] setDefaultValues --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- --- @function [parent=#Director] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the Scheduler associated with this director.
--- since v2.0 --- @function [parent=#Director] setScheduler --- @param self --- @param #cc.Scheduler scheduler --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Multiplies a matrix to the top of projection matrix stack.
--- param mat The matrix that to be multiplied.
--- param index The index of projection matrix stack.
--- js NA --- @function [parent=#Director] multiplyProjectionMatrix --- @param self --- @param #mat4_table mat --- @param #unsigned int index --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Gets the top matrix of specified type of matrix stack.
--- js NA --- @function [parent=#Director] getMatrix --- @param self --- @param #int type --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- returns whether or not the Director is in a valid state --- @function [parent=#Director] isValid --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- The main loop is triggered again.
--- Call this function only if [stopAnimation] was called earlier.
--- warning Don't call this function to start the main loop. To run the main loop call runWithScene. --- @function [parent=#Director] startAnimation --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Get the GLView.
--- lua NA --- @function [parent=#Director] getOpenGLView --- @param self --- @return GLView#GLView ret (return value: cc.GLView) - --------------------------------- --- Gets current running Scene. Director can only run one Scene at a time. --- @function [parent=#Director] getRunningScene --- @param self --- @return Scene#Scene ret (return value: cc.Scene) - --------------------------------- --- Sets the glViewport. --- @function [parent=#Director] setViewport --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Stops the animation. Nothing will be drawn. The main loop won't be triggered anymore.
--- If you don't want to pause your animation call [pause] instead. --- @function [parent=#Director] stopAnimation --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Pops out all scenes from the stack until it reaches `level`.
--- If level is 0, it will end the director.
--- If level is 1, it will pop all scenes until it reaches to root scene.
--- If level is <= than the current stack level, it won't do anything. --- @function [parent=#Director] popToSceneStackLevel --- @param self --- @param #int level --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Resumes the paused scene.
--- The scheduled timers will be activated again.
--- The "delta time" will be 0 (as if the game wasn't paused). --- @function [parent=#Director] resume --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Whether or not `_nextDeltaTimeZero` is set to 0. --- @function [parent=#Director] isNextDeltaTimeZero --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets clear values for the color buffers,
--- value range of each element is [0.0, 1.0].
--- js NA --- @function [parent=#Director] setClearColor --- @param self --- @param #color4f_table clearColor --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Ends the execution, releases the running scene.
--- lua endToLua --- @function [parent=#Director] end --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Sets the GLView.
--- lua NA --- @function [parent=#Director] setOpenGLView --- @param self --- @param #cc.GLView openGLView --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Converts a screen coordinate to an OpenGL coordinate.
--- Useful to convert (multi) touch coordinates to the current layout (portrait or landscape). --- @function [parent=#Director] convertToGL --- @param self --- @param #vec2_table point --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Removes all cocos2d cached data.
--- It will purge the TextureCache, SpriteFrameCache, LabelBMFont cache
--- since v0.99.3 --- @function [parent=#Director] purgeCachedData --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- How many frames were called since the director started --- @function [parent=#Director] getTotalFrames --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Enters the Director's main loop with the given Scene.
--- Call it to run only your FIRST scene.
--- Don't call it if there is already a running scene.
--- It will call pushScene: and then it will call startAnimation
--- js NA --- @function [parent=#Director] runWithScene --- @param self --- @param #cc.Scene scene --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Sets the notification node.
--- see Director::getNotificationNode() --- @function [parent=#Director] setNotificationNode --- @param self --- @param #cc.Node node --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Draw the scene.
--- This method is called every frame. Don't call it manually. --- @function [parent=#Director] drawScene --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- --- @function [parent=#Director] restart --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Pops out a scene from the stack.
--- This scene will replace the running one.
--- The running scene will be deleted. If there are no more scenes in the stack the execution is terminated.
--- ONLY call it if there is a running scene. --- @function [parent=#Director] popScene --- @param self --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Adds an identity matrix to the top of specified type of matrix stack.
--- js NA --- @function [parent=#Director] loadIdentityMatrix --- @param self --- @param #int type --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Whether or not displaying the FPS on the bottom-left corner of the screen. --- @function [parent=#Director] isDisplayStats --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets OpenGL projection. --- @function [parent=#Director] setProjection --- @param self --- @param #int projection --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Returns the Console associated with this director.
--- since v3.0
--- js NA --- @function [parent=#Director] getConsole --- @param self --- @return Console#Console ret (return value: cc.Console) - --------------------------------- --- Multiplies a matrix to the top of specified type of matrix stack.
--- param type Matrix type.
--- param mat The matrix that to be multiplied.
--- js NA --- @function [parent=#Director] multiplyMatrix --- @param self --- @param #int type --- @param #mat4_table mat --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Gets the distance between camera and near clipping frame.
--- It is correct for default camera that near clipping frame is same as the screen. --- @function [parent=#Director] getZEye --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the delta time between current frame and next frame is 0.
--- This value will be used in Schedule, and will affect all functions that are using frame delta time, such as Actions.
--- This value will take effect only one time. --- @function [parent=#Director] setNextDeltaTimeZero --- @param self --- @param #bool nextDeltaTimeZero --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Pops the top matrix of the specified type of matrix stack.
--- js NA --- @function [parent=#Director] popMatrix --- @param self --- @param #int type --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Returns visible size of the OpenGL view in points.
--- The value is equal to `Director::getWinSize()` if don't invoke `GLView::setDesignResolutionSize()`. --- @function [parent=#Director] getVisibleSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Adds a matrix to the top of projection matrix stack.
--- param mat The matrix that to be added.
--- param index The index of projection matrix stack.
--- js NA --- @function [parent=#Director] loadProjectionMatrix --- @param self --- @param #mat4_table mat --- @param #unsigned int index --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Init the projection matrix stack.
--- param stackCount The size of projection matrix stack.
--- js NA --- @function [parent=#Director] initProjectionMatrixStack --- @param self --- @param #unsigned int stackCount --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Gets the Scheduler associated with this director.
--- since v2.0 --- @function [parent=#Director] getScheduler --- @param self --- @return Scheduler#Scheduler ret (return value: cc.Scheduler) - --------------------------------- --- Suspends the execution of the running scene, pushing it on the stack of suspended scenes.
--- The new scene will be executed.
--- Try to avoid big stacks of pushed scenes to reduce memory allocation.
--- ONLY call it if there is a running scene. --- @function [parent=#Director] pushScene --- @param self --- @param #cc.Scene scene --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Gets the FPS value. --- @function [parent=#Director] getAnimationInterval --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Whether or not the Director is paused. --- @function [parent=#Director] isPaused --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Display the FPS on the bottom-left corner of the screen. --- @function [parent=#Director] setDisplayStats --- @param self --- @param #bool displayStats --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Gets the EventDispatcher associated with this director.
--- since v3.0
--- js NA --- @function [parent=#Director] getEventDispatcher --- @param self --- @return EventDispatcher#EventDispatcher ret (return value: cc.EventDispatcher) - --------------------------------- --- Replaces the running scene with a new one. The running scene is terminated.
--- ONLY call it if there is a running scene.
--- js NA --- @function [parent=#Director] replaceScene --- @param self --- @param #cc.Scene scene --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Sets the FPS value. FPS = 1/interval. --- @function [parent=#Director] setAnimationInterval --- @param self --- @param #float interval --- @return Director#Director self (return value: cc.Director) - --------------------------------- --- Gets the ActionManager associated with this director.
--- since v2.0 --- @function [parent=#Director] getActionManager --- @param self --- @return ActionManager#ActionManager ret (return value: cc.ActionManager) - --------------------------------- --- Returns a shared instance of the director.
--- js _getInstance --- @function [parent=#Director] getInstance --- @param self --- @return Director#Director ret (return value: cc.Director) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/DisplayData.lua b/cocos/scripting/lua-bindings/auto/api/DisplayData.lua deleted file mode 100644 index 897ef8633e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/DisplayData.lua +++ /dev/null @@ -1,33 +0,0 @@ - --------------------------------- --- @module DisplayData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#DisplayData] copy --- @param self --- @param #ccs.DisplayData displayData --- @return DisplayData#DisplayData self (return value: ccs.DisplayData) - --------------------------------- --- --- @function [parent=#DisplayData] changeDisplayToTexture --- @param self --- @param #string displayName --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#DisplayData] create --- @param self --- @return DisplayData#DisplayData ret (return value: ccs.DisplayData) - --------------------------------- --- js ctor --- @function [parent=#DisplayData] DisplayData --- @param self --- @return DisplayData#DisplayData self (return value: ccs.DisplayData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua b/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua deleted file mode 100644 index f9aa756ef5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua +++ /dev/null @@ -1,150 +0,0 @@ - --------------------------------- --- @module DisplayManager --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#DisplayManager] getDisplayRenderNode --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#DisplayManager] getAnchorPointInPoints --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#DisplayManager] getDisplayRenderNodeType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#DisplayManager] removeDisplay --- @param self --- @param #int index --- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager) - --------------------------------- --- --- @function [parent=#DisplayManager] setForceChangeDisplay --- @param self --- @param #bool force --- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager) - --------------------------------- --- --- @function [parent=#DisplayManager] init --- @param self --- @param #ccs.Bone bone --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#DisplayManager] getContentSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#DisplayManager] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- @overload self, cc.Node, int --- @overload self, ccs.DisplayData, int --- @function [parent=#DisplayManager] addDisplay --- @param self --- @param #ccs.DisplayData displayData --- @param #int index --- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager) - --------------------------------- --- @overload self, float, float --- @overload self, vec2_table --- @function [parent=#DisplayManager] containPoint --- @param self --- @param #float x --- @param #float y --- @return bool#bool ret (return value: bool) - --------------------------------- --- Change display by index. You can just use this method to change display in the display list.
--- The display list is just used for this bone, and it is the displays you may use in every frame.
--- Note : if index is the same with prev index, the method will not effect
--- param index The index of the display you want to change
--- param force If true, then force change display to specified display, or current display will set to display index edit in the flash every key frame. --- @function [parent=#DisplayManager] changeDisplayWithIndex --- @param self --- @param #int index --- @param #bool force --- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager) - --------------------------------- --- --- @function [parent=#DisplayManager] changeDisplayWithName --- @param self --- @param #string name --- @param #bool force --- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager) - --------------------------------- --- --- @function [parent=#DisplayManager] isForceChangeDisplay --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#DisplayManager] getCurrentDisplayIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#DisplayManager] getAnchorPoint --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#DisplayManager] getDecorativeDisplayList --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Determines if the display is visible
--- see setVisible(bool)
--- return true if the node is visible, false if the node is hidden. --- @function [parent=#DisplayManager] isVisible --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets whether the display is visible
--- The default value is true, a node is default to visible
--- param visible true if the node is visible, false if the node is hidden. --- @function [parent=#DisplayManager] setVisible --- @param self --- @param #bool visible --- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager) - --------------------------------- --- --- @function [parent=#DisplayManager] create --- @param self --- @param #ccs.Bone bone --- @return DisplayManager#DisplayManager ret (return value: ccs.DisplayManager) - --------------------------------- --- --- @function [parent=#DisplayManager] DisplayManager --- @param self --- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/DrawNode.lua b/cocos/scripting/lua-bindings/auto/api/DrawNode.lua deleted file mode 100644 index a7eb685059..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/DrawNode.lua +++ /dev/null @@ -1,276 +0,0 @@ - --------------------------------- --- @module DrawNode --- @extend Node --- @parent_module cc - --------------------------------- --- Draw an line from origin to destination with color.
--- param origin The line origin.
--- param destination The line destination.
--- param color The line color.
--- js NA --- @function [parent=#DrawNode] drawLine --- @param self --- @param #vec2_table origin --- @param #vec2_table destination --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- When isolated is set, the position of the node is no longer affected by parent nodes.
--- Which means it will be drawn just like a root node. --- @function [parent=#DrawNode] setIsolated --- @param self --- @param #bool isolated --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- @overload self, vec2_table, vec2_table, vec2_table, vec2_table, color4f_table --- @overload self, vec2_table, vec2_table, color4f_table --- @function [parent=#DrawNode] drawRect --- @param self --- @param #vec2_table p1 --- @param #vec2_table p2 --- @param #vec2_table p3 --- @param #vec2_table p4 --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- @overload self, vec2_table, float, float, unsigned int, color4f_table --- @overload self, vec2_table, float, float, unsigned int, float, float, color4f_table --- @function [parent=#DrawNode] drawSolidCircle --- @param self --- @param #vec2_table center --- @param #float radius --- @param #float angle --- @param #unsigned int segments --- @param #float scaleX --- @param #float scaleY --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- --- @function [parent=#DrawNode] setLineWidth --- @param self --- @param #float lineWidth --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- js NA --- @function [parent=#DrawNode] onDrawGLPoint --- @param self --- @param #mat4_table transform --- @param #unsigned int flags --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- draw a dot at a position, with a given radius and color.
--- param pos The dot center.
--- param radius The dot radius.
--- param color The dot color. --- @function [parent=#DrawNode] drawDot --- @param self --- @param #vec2_table pos --- @param #float radius --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- draw a segment with a radius and color.
--- param from The segment origin.
--- param to The segment destination.
--- param radius The segment radius.
--- param color The segment color. --- @function [parent=#DrawNode] drawSegment --- @param self --- @param #vec2_table from --- @param #vec2_table to --- @param #float radius --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- Get the color mixed mode.
--- lua NA --- @function [parent=#DrawNode] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- js NA --- @function [parent=#DrawNode] onDraw --- @param self --- @param #mat4_table transform --- @param #unsigned int flags --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- @overload self, vec2_table, float, float, unsigned int, bool, color4f_table --- @overload self, vec2_table, float, float, unsigned int, bool, float, float, color4f_table --- @function [parent=#DrawNode] drawCircle --- @param self --- @param #vec2_table center --- @param #float radius --- @param #float angle --- @param #unsigned int segments --- @param #bool drawLineToCenter --- @param #float scaleX --- @param #float scaleY --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- Draws a quad bezier path.
--- param origin The origin of the bezier path.
--- param control The control of the bezier path.
--- param destination The destination of the bezier path.
--- param segments The number of segments.
--- param color Set the quad bezier color. --- @function [parent=#DrawNode] drawQuadBezier --- @param self --- @param #vec2_table origin --- @param #vec2_table control --- @param #vec2_table destination --- @param #unsigned int segments --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- js NA --- @function [parent=#DrawNode] onDrawGLLine --- @param self --- @param #mat4_table transform --- @param #unsigned int flags --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- draw a triangle with color.
--- param p1 The triangle vertex point.
--- param p2 The triangle vertex point.
--- param p3 The triangle vertex point.
--- param color The triangle color.
--- js NA --- @function [parent=#DrawNode] drawTriangle --- @param self --- @param #vec2_table p1 --- @param #vec2_table p2 --- @param #vec2_table p3 --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- Set the color mixed mode.
--- code
--- When this function bound into js or lua,the parameter will be changed
--- In js: var setBlendFunc(var src, var dst)
--- endcode
--- lua NA --- @function [parent=#DrawNode] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- Clear the geometry in the node's buffer. --- @function [parent=#DrawNode] clear --- @param self --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- Draws a solid rectangle given the origin and destination point measured in points.
--- The origin and the destination can not have the same x and y coordinate.
--- param origin The rectangle origin.
--- param destination The rectangle destination.
--- param color The rectangle color.
--- js NA --- @function [parent=#DrawNode] drawSolidRect --- @param self --- @param #vec2_table origin --- @param #vec2_table destination --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- --- @function [parent=#DrawNode] getLineWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Draw a point.
--- param point A Vec2 used to point.
--- param pointSize The point size.
--- param color The point color.
--- js NA --- @function [parent=#DrawNode] drawPoint --- @param self --- @param #vec2_table point --- @param #float pointSize --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- --- @function [parent=#DrawNode] isIsolated --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Draw a cubic bezier curve with color and number of segments
--- param origin The origin of the bezier path.
--- param control1 The first control of the bezier path.
--- param control2 The second control of the bezier path.
--- param destination The destination of the bezier path.
--- param segments The number of segments.
--- param color Set the cubic bezier color. --- @function [parent=#DrawNode] drawCubicBezier --- @param self --- @param #vec2_table origin --- @param #vec2_table control1 --- @param #vec2_table control2 --- @param #vec2_table destination --- @param #unsigned int segments --- @param #color4f_table color --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- creates and initialize a DrawNode node.
--- return Return an autorelease object. --- @function [parent=#DrawNode] create --- @param self --- @return DrawNode#DrawNode ret (return value: cc.DrawNode) - --------------------------------- --- --- @function [parent=#DrawNode] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- --- @function [parent=#DrawNode] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - --------------------------------- --- --- @function [parent=#DrawNode] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#DrawNode] DrawNode --- @param self --- @return DrawNode#DrawNode self (return value: cc.DrawNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseBackIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseBackIn.lua deleted file mode 100644 index 9d715f06db..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseBackIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseBackIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseBackIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseBackIn#EaseBackIn ret (return value: cc.EaseBackIn) - --------------------------------- --- --- @function [parent=#EaseBackIn] clone --- @param self --- @return EaseBackIn#EaseBackIn ret (return value: cc.EaseBackIn) - --------------------------------- --- --- @function [parent=#EaseBackIn] update --- @param self --- @param #float time --- @return EaseBackIn#EaseBackIn self (return value: cc.EaseBackIn) - --------------------------------- --- --- @function [parent=#EaseBackIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseBackIn] EaseBackIn --- @param self --- @return EaseBackIn#EaseBackIn self (return value: cc.EaseBackIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseBackInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseBackInOut.lua deleted file mode 100644 index 0a2b560110..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseBackInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseBackInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseBackInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseBackInOut#EaseBackInOut ret (return value: cc.EaseBackInOut) - --------------------------------- --- --- @function [parent=#EaseBackInOut] clone --- @param self --- @return EaseBackInOut#EaseBackInOut ret (return value: cc.EaseBackInOut) - --------------------------------- --- --- @function [parent=#EaseBackInOut] update --- @param self --- @param #float time --- @return EaseBackInOut#EaseBackInOut self (return value: cc.EaseBackInOut) - --------------------------------- --- --- @function [parent=#EaseBackInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseBackInOut] EaseBackInOut --- @param self --- @return EaseBackInOut#EaseBackInOut self (return value: cc.EaseBackInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseBackOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseBackOut.lua deleted file mode 100644 index ca2e3f133f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseBackOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseBackOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseBackOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseBackOut#EaseBackOut ret (return value: cc.EaseBackOut) - --------------------------------- --- --- @function [parent=#EaseBackOut] clone --- @param self --- @return EaseBackOut#EaseBackOut ret (return value: cc.EaseBackOut) - --------------------------------- --- --- @function [parent=#EaseBackOut] update --- @param self --- @param #float time --- @return EaseBackOut#EaseBackOut self (return value: cc.EaseBackOut) - --------------------------------- --- --- @function [parent=#EaseBackOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseBackOut] EaseBackOut --- @param self --- @return EaseBackOut#EaseBackOut self (return value: cc.EaseBackOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseBezierAction.lua b/cocos/scripting/lua-bindings/auto/api/EaseBezierAction.lua deleted file mode 100644 index e009a72331..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseBezierAction.lua +++ /dev/null @@ -1,51 +0,0 @@ - --------------------------------- --- @module EaseBezierAction --- @extend ActionEase --- @parent_module cc - --------------------------------- --- brief Set the bezier parameters. --- @function [parent=#EaseBezierAction] setBezierParamer --- @param self --- @param #float p0 --- @param #float p1 --- @param #float p2 --- @param #float p3 --- @return EaseBezierAction#EaseBezierAction self (return value: cc.EaseBezierAction) - --------------------------------- --- brief Create the action with the inner action.
--- param action The pointer of the inner action.
--- return A pointer of EaseBezierAction action. If creation failed, return nil. --- @function [parent=#EaseBezierAction] create --- @param self --- @param #cc.ActionInterval action --- @return EaseBezierAction#EaseBezierAction ret (return value: cc.EaseBezierAction) - --------------------------------- --- --- @function [parent=#EaseBezierAction] clone --- @param self --- @return EaseBezierAction#EaseBezierAction ret (return value: cc.EaseBezierAction) - --------------------------------- --- --- @function [parent=#EaseBezierAction] update --- @param self --- @param #float time --- @return EaseBezierAction#EaseBezierAction self (return value: cc.EaseBezierAction) - --------------------------------- --- --- @function [parent=#EaseBezierAction] reverse --- @param self --- @return EaseBezierAction#EaseBezierAction ret (return value: cc.EaseBezierAction) - --------------------------------- --- --- @function [parent=#EaseBezierAction] EaseBezierAction --- @param self --- @return EaseBezierAction#EaseBezierAction self (return value: cc.EaseBezierAction) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseBounce.lua b/cocos/scripting/lua-bindings/auto/api/EaseBounce.lua deleted file mode 100644 index 7a8afed457..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseBounce.lua +++ /dev/null @@ -1,7 +0,0 @@ - --------------------------------- --- @module EaseBounce --- @extend ActionEase --- @parent_module cc - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseBounceIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseBounceIn.lua deleted file mode 100644 index f31bb1d771..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseBounceIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseBounceIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseBounceIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseBounceIn#EaseBounceIn ret (return value: cc.EaseBounceIn) - --------------------------------- --- --- @function [parent=#EaseBounceIn] clone --- @param self --- @return EaseBounceIn#EaseBounceIn ret (return value: cc.EaseBounceIn) - --------------------------------- --- --- @function [parent=#EaseBounceIn] update --- @param self --- @param #float time --- @return EaseBounceIn#EaseBounceIn self (return value: cc.EaseBounceIn) - --------------------------------- --- --- @function [parent=#EaseBounceIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseBounceIn] EaseBounceIn --- @param self --- @return EaseBounceIn#EaseBounceIn self (return value: cc.EaseBounceIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseBounceInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseBounceInOut.lua deleted file mode 100644 index 465342b1f4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseBounceInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseBounceInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseBounceInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseBounceInOut#EaseBounceInOut ret (return value: cc.EaseBounceInOut) - --------------------------------- --- --- @function [parent=#EaseBounceInOut] clone --- @param self --- @return EaseBounceInOut#EaseBounceInOut ret (return value: cc.EaseBounceInOut) - --------------------------------- --- --- @function [parent=#EaseBounceInOut] update --- @param self --- @param #float time --- @return EaseBounceInOut#EaseBounceInOut self (return value: cc.EaseBounceInOut) - --------------------------------- --- --- @function [parent=#EaseBounceInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseBounceInOut] EaseBounceInOut --- @param self --- @return EaseBounceInOut#EaseBounceInOut self (return value: cc.EaseBounceInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseBounceOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseBounceOut.lua deleted file mode 100644 index b7c5e44a35..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseBounceOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseBounceOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseBounceOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseBounceOut#EaseBounceOut ret (return value: cc.EaseBounceOut) - --------------------------------- --- --- @function [parent=#EaseBounceOut] clone --- @param self --- @return EaseBounceOut#EaseBounceOut ret (return value: cc.EaseBounceOut) - --------------------------------- --- --- @function [parent=#EaseBounceOut] update --- @param self --- @param #float time --- @return EaseBounceOut#EaseBounceOut self (return value: cc.EaseBounceOut) - --------------------------------- --- --- @function [parent=#EaseBounceOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseBounceOut] EaseBounceOut --- @param self --- @return EaseBounceOut#EaseBounceOut self (return value: cc.EaseBounceOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseCircleActionIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseCircleActionIn.lua deleted file mode 100644 index cecd6c7d05..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseCircleActionIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseCircleActionIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseCircleActionIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseCircleActionIn#EaseCircleActionIn ret (return value: cc.EaseCircleActionIn) - --------------------------------- --- --- @function [parent=#EaseCircleActionIn] clone --- @param self --- @return EaseCircleActionIn#EaseCircleActionIn ret (return value: cc.EaseCircleActionIn) - --------------------------------- --- --- @function [parent=#EaseCircleActionIn] update --- @param self --- @param #float time --- @return EaseCircleActionIn#EaseCircleActionIn self (return value: cc.EaseCircleActionIn) - --------------------------------- --- --- @function [parent=#EaseCircleActionIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseCircleActionIn] EaseCircleActionIn --- @param self --- @return EaseCircleActionIn#EaseCircleActionIn self (return value: cc.EaseCircleActionIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseCircleActionInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseCircleActionInOut.lua deleted file mode 100644 index f27230fa1a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseCircleActionInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseCircleActionInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseCircleActionInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseCircleActionInOut#EaseCircleActionInOut ret (return value: cc.EaseCircleActionInOut) - --------------------------------- --- --- @function [parent=#EaseCircleActionInOut] clone --- @param self --- @return EaseCircleActionInOut#EaseCircleActionInOut ret (return value: cc.EaseCircleActionInOut) - --------------------------------- --- --- @function [parent=#EaseCircleActionInOut] update --- @param self --- @param #float time --- @return EaseCircleActionInOut#EaseCircleActionInOut self (return value: cc.EaseCircleActionInOut) - --------------------------------- --- --- @function [parent=#EaseCircleActionInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseCircleActionInOut] EaseCircleActionInOut --- @param self --- @return EaseCircleActionInOut#EaseCircleActionInOut self (return value: cc.EaseCircleActionInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseCircleActionOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseCircleActionOut.lua deleted file mode 100644 index 83179f2f98..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseCircleActionOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseCircleActionOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseCircleActionOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseCircleActionOut#EaseCircleActionOut ret (return value: cc.EaseCircleActionOut) - --------------------------------- --- --- @function [parent=#EaseCircleActionOut] clone --- @param self --- @return EaseCircleActionOut#EaseCircleActionOut ret (return value: cc.EaseCircleActionOut) - --------------------------------- --- --- @function [parent=#EaseCircleActionOut] update --- @param self --- @param #float time --- @return EaseCircleActionOut#EaseCircleActionOut self (return value: cc.EaseCircleActionOut) - --------------------------------- --- --- @function [parent=#EaseCircleActionOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseCircleActionOut] EaseCircleActionOut --- @param self --- @return EaseCircleActionOut#EaseCircleActionOut self (return value: cc.EaseCircleActionOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseCubicActionIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseCubicActionIn.lua deleted file mode 100644 index bba07a7d9b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseCubicActionIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseCubicActionIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseCubicActionIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseCubicActionIn#EaseCubicActionIn ret (return value: cc.EaseCubicActionIn) - --------------------------------- --- --- @function [parent=#EaseCubicActionIn] clone --- @param self --- @return EaseCubicActionIn#EaseCubicActionIn ret (return value: cc.EaseCubicActionIn) - --------------------------------- --- --- @function [parent=#EaseCubicActionIn] update --- @param self --- @param #float time --- @return EaseCubicActionIn#EaseCubicActionIn self (return value: cc.EaseCubicActionIn) - --------------------------------- --- --- @function [parent=#EaseCubicActionIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseCubicActionIn] EaseCubicActionIn --- @param self --- @return EaseCubicActionIn#EaseCubicActionIn self (return value: cc.EaseCubicActionIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseCubicActionInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseCubicActionInOut.lua deleted file mode 100644 index c718e4d6ff..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseCubicActionInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseCubicActionInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseCubicActionInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseCubicActionInOut#EaseCubicActionInOut ret (return value: cc.EaseCubicActionInOut) - --------------------------------- --- --- @function [parent=#EaseCubicActionInOut] clone --- @param self --- @return EaseCubicActionInOut#EaseCubicActionInOut ret (return value: cc.EaseCubicActionInOut) - --------------------------------- --- --- @function [parent=#EaseCubicActionInOut] update --- @param self --- @param #float time --- @return EaseCubicActionInOut#EaseCubicActionInOut self (return value: cc.EaseCubicActionInOut) - --------------------------------- --- --- @function [parent=#EaseCubicActionInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseCubicActionInOut] EaseCubicActionInOut --- @param self --- @return EaseCubicActionInOut#EaseCubicActionInOut self (return value: cc.EaseCubicActionInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseCubicActionOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseCubicActionOut.lua deleted file mode 100644 index e3b6209b78..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseCubicActionOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseCubicActionOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseCubicActionOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseCubicActionOut#EaseCubicActionOut ret (return value: cc.EaseCubicActionOut) - --------------------------------- --- --- @function [parent=#EaseCubicActionOut] clone --- @param self --- @return EaseCubicActionOut#EaseCubicActionOut ret (return value: cc.EaseCubicActionOut) - --------------------------------- --- --- @function [parent=#EaseCubicActionOut] update --- @param self --- @param #float time --- @return EaseCubicActionOut#EaseCubicActionOut self (return value: cc.EaseCubicActionOut) - --------------------------------- --- --- @function [parent=#EaseCubicActionOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseCubicActionOut] EaseCubicActionOut --- @param self --- @return EaseCubicActionOut#EaseCubicActionOut self (return value: cc.EaseCubicActionOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseElastic.lua b/cocos/scripting/lua-bindings/auto/api/EaseElastic.lua deleted file mode 100644 index 0d85ebce27..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseElastic.lua +++ /dev/null @@ -1,33 +0,0 @@ - --------------------------------- --- @module EaseElastic --- @extend ActionEase --- @parent_module cc - --------------------------------- --- brief Set period of the wave in radians.
--- param fPeriod The value will be set. --- @function [parent=#EaseElastic] setPeriod --- @param self --- @param #float fPeriod --- @return EaseElastic#EaseElastic self (return value: cc.EaseElastic) - --------------------------------- --- brief Initializes the action with the inner action and the period in radians.
--- param action The pointer of the inner action.
--- param period Period of the wave in radians. Default is 0.3.
--- return Return true when the initialization success, otherwise return false. --- @function [parent=#EaseElastic] initWithAction --- @param self --- @param #cc.ActionInterval action --- @param #float period --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get period of the wave in radians. Default value is 0.3.
--- return Return the period of the wave in radians. --- @function [parent=#EaseElastic] getPeriod --- @param self --- @return float#float ret (return value: float) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseElasticIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseElasticIn.lua deleted file mode 100644 index d501a07b28..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseElasticIn.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module EaseElasticIn --- @extend EaseElastic --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseElasticIn] create --- @param self --- @param #cc.ActionInterval action --- @param #float rate --- @return EaseElasticIn#EaseElasticIn ret (return value: cc.EaseElasticIn) - --------------------------------- --- --- @function [parent=#EaseElasticIn] clone --- @param self --- @return EaseElasticIn#EaseElasticIn ret (return value: cc.EaseElasticIn) - --------------------------------- --- --- @function [parent=#EaseElasticIn] update --- @param self --- @param #float time --- @return EaseElasticIn#EaseElasticIn self (return value: cc.EaseElasticIn) - --------------------------------- --- --- @function [parent=#EaseElasticIn] reverse --- @param self --- @return EaseElastic#EaseElastic ret (return value: cc.EaseElastic) - --------------------------------- --- --- @function [parent=#EaseElasticIn] EaseElasticIn --- @param self --- @return EaseElasticIn#EaseElasticIn self (return value: cc.EaseElasticIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua deleted file mode 100644 index e4325d64e9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module EaseElasticInOut --- @extend EaseElastic --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseElasticInOut] create --- @param self --- @param #cc.ActionInterval action --- @param #float rate --- @return EaseElasticInOut#EaseElasticInOut ret (return value: cc.EaseElasticInOut) - --------------------------------- --- --- @function [parent=#EaseElasticInOut] clone --- @param self --- @return EaseElasticInOut#EaseElasticInOut ret (return value: cc.EaseElasticInOut) - --------------------------------- --- --- @function [parent=#EaseElasticInOut] update --- @param self --- @param #float time --- @return EaseElasticInOut#EaseElasticInOut self (return value: cc.EaseElasticInOut) - --------------------------------- --- --- @function [parent=#EaseElasticInOut] reverse --- @param self --- @return EaseElastic#EaseElastic ret (return value: cc.EaseElastic) - --------------------------------- --- --- @function [parent=#EaseElasticInOut] EaseElasticInOut --- @param self --- @return EaseElasticInOut#EaseElasticInOut self (return value: cc.EaseElasticInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua deleted file mode 100644 index 315a5dc9c6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module EaseElasticOut --- @extend EaseElastic --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseElasticOut] create --- @param self --- @param #cc.ActionInterval action --- @param #float rate --- @return EaseElasticOut#EaseElasticOut ret (return value: cc.EaseElasticOut) - --------------------------------- --- --- @function [parent=#EaseElasticOut] clone --- @param self --- @return EaseElasticOut#EaseElasticOut ret (return value: cc.EaseElasticOut) - --------------------------------- --- --- @function [parent=#EaseElasticOut] update --- @param self --- @param #float time --- @return EaseElasticOut#EaseElasticOut self (return value: cc.EaseElasticOut) - --------------------------------- --- --- @function [parent=#EaseElasticOut] reverse --- @param self --- @return EaseElastic#EaseElastic ret (return value: cc.EaseElastic) - --------------------------------- --- --- @function [parent=#EaseElasticOut] EaseElasticOut --- @param self --- @return EaseElasticOut#EaseElasticOut self (return value: cc.EaseElasticOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseExponentialIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseExponentialIn.lua deleted file mode 100644 index 8bd38d49a3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseExponentialIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseExponentialIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseExponentialIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseExponentialIn#EaseExponentialIn ret (return value: cc.EaseExponentialIn) - --------------------------------- --- --- @function [parent=#EaseExponentialIn] clone --- @param self --- @return EaseExponentialIn#EaseExponentialIn ret (return value: cc.EaseExponentialIn) - --------------------------------- --- --- @function [parent=#EaseExponentialIn] update --- @param self --- @param #float time --- @return EaseExponentialIn#EaseExponentialIn self (return value: cc.EaseExponentialIn) - --------------------------------- --- --- @function [parent=#EaseExponentialIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseExponentialIn] EaseExponentialIn --- @param self --- @return EaseExponentialIn#EaseExponentialIn self (return value: cc.EaseExponentialIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseExponentialInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseExponentialInOut.lua deleted file mode 100644 index 90a9490a6c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseExponentialInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseExponentialInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseExponentialInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseExponentialInOut#EaseExponentialInOut ret (return value: cc.EaseExponentialInOut) - --------------------------------- --- --- @function [parent=#EaseExponentialInOut] clone --- @param self --- @return EaseExponentialInOut#EaseExponentialInOut ret (return value: cc.EaseExponentialInOut) - --------------------------------- --- --- @function [parent=#EaseExponentialInOut] update --- @param self --- @param #float time --- @return EaseExponentialInOut#EaseExponentialInOut self (return value: cc.EaseExponentialInOut) - --------------------------------- --- --- @function [parent=#EaseExponentialInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseExponentialInOut] EaseExponentialInOut --- @param self --- @return EaseExponentialInOut#EaseExponentialInOut self (return value: cc.EaseExponentialInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseExponentialOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseExponentialOut.lua deleted file mode 100644 index aa518fe08a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseExponentialOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseExponentialOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseExponentialOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseExponentialOut#EaseExponentialOut ret (return value: cc.EaseExponentialOut) - --------------------------------- --- --- @function [parent=#EaseExponentialOut] clone --- @param self --- @return EaseExponentialOut#EaseExponentialOut ret (return value: cc.EaseExponentialOut) - --------------------------------- --- --- @function [parent=#EaseExponentialOut] update --- @param self --- @param #float time --- @return EaseExponentialOut#EaseExponentialOut self (return value: cc.EaseExponentialOut) - --------------------------------- --- --- @function [parent=#EaseExponentialOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseExponentialOut] EaseExponentialOut --- @param self --- @return EaseExponentialOut#EaseExponentialOut self (return value: cc.EaseExponentialOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseIn.lua deleted file mode 100644 index bace6aa85b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseIn.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module EaseIn --- @extend EaseRateAction --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseIn] create --- @param self --- @param #cc.ActionInterval action --- @param #float rate --- @return EaseIn#EaseIn ret (return value: cc.EaseIn) - --------------------------------- --- --- @function [parent=#EaseIn] clone --- @param self --- @return EaseIn#EaseIn ret (return value: cc.EaseIn) - --------------------------------- --- --- @function [parent=#EaseIn] update --- @param self --- @param #float time --- @return EaseIn#EaseIn self (return value: cc.EaseIn) - --------------------------------- --- --- @function [parent=#EaseIn] reverse --- @param self --- @return EaseRateAction#EaseRateAction ret (return value: cc.EaseRateAction) - --------------------------------- --- --- @function [parent=#EaseIn] EaseIn --- @param self --- @return EaseIn#EaseIn self (return value: cc.EaseIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseInOut.lua deleted file mode 100644 index a8b3cb137b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseInOut.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module EaseInOut --- @extend EaseRateAction --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseInOut] create --- @param self --- @param #cc.ActionInterval action --- @param #float rate --- @return EaseInOut#EaseInOut ret (return value: cc.EaseInOut) - --------------------------------- --- --- @function [parent=#EaseInOut] clone --- @param self --- @return EaseInOut#EaseInOut ret (return value: cc.EaseInOut) - --------------------------------- --- --- @function [parent=#EaseInOut] update --- @param self --- @param #float time --- @return EaseInOut#EaseInOut self (return value: cc.EaseInOut) - --------------------------------- --- --- @function [parent=#EaseInOut] reverse --- @param self --- @return EaseRateAction#EaseRateAction ret (return value: cc.EaseRateAction) - --------------------------------- --- --- @function [parent=#EaseInOut] EaseInOut --- @param self --- @return EaseInOut#EaseInOut self (return value: cc.EaseInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseOut.lua deleted file mode 100644 index d00792b909..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseOut.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module EaseOut --- @extend EaseRateAction --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseOut] create --- @param self --- @param #cc.ActionInterval action --- @param #float rate --- @return EaseOut#EaseOut ret (return value: cc.EaseOut) - --------------------------------- --- --- @function [parent=#EaseOut] clone --- @param self --- @return EaseOut#EaseOut ret (return value: cc.EaseOut) - --------------------------------- --- --- @function [parent=#EaseOut] update --- @param self --- @param #float time --- @return EaseOut#EaseOut self (return value: cc.EaseOut) - --------------------------------- --- --- @function [parent=#EaseOut] reverse --- @param self --- @return EaseRateAction#EaseRateAction ret (return value: cc.EaseRateAction) - --------------------------------- --- --- @function [parent=#EaseOut] EaseOut --- @param self --- @return EaseOut#EaseOut self (return value: cc.EaseOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionIn.lua deleted file mode 100644 index 654e009e1e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuadraticActionIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuadraticActionIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuadraticActionIn#EaseQuadraticActionIn ret (return value: cc.EaseQuadraticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionIn] clone --- @param self --- @return EaseQuadraticActionIn#EaseQuadraticActionIn ret (return value: cc.EaseQuadraticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionIn] update --- @param self --- @param #float time --- @return EaseQuadraticActionIn#EaseQuadraticActionIn self (return value: cc.EaseQuadraticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionIn] EaseQuadraticActionIn --- @param self --- @return EaseQuadraticActionIn#EaseQuadraticActionIn self (return value: cc.EaseQuadraticActionIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionInOut.lua deleted file mode 100644 index ff7ad4e6d1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuadraticActionInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuadraticActionInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuadraticActionInOut#EaseQuadraticActionInOut ret (return value: cc.EaseQuadraticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionInOut] clone --- @param self --- @return EaseQuadraticActionInOut#EaseQuadraticActionInOut ret (return value: cc.EaseQuadraticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionInOut] update --- @param self --- @param #float time --- @return EaseQuadraticActionInOut#EaseQuadraticActionInOut self (return value: cc.EaseQuadraticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionInOut] EaseQuadraticActionInOut --- @param self --- @return EaseQuadraticActionInOut#EaseQuadraticActionInOut self (return value: cc.EaseQuadraticActionInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionOut.lua deleted file mode 100644 index 1c17a38c85..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuadraticActionOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuadraticActionOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuadraticActionOut#EaseQuadraticActionOut ret (return value: cc.EaseQuadraticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionOut] clone --- @param self --- @return EaseQuadraticActionOut#EaseQuadraticActionOut ret (return value: cc.EaseQuadraticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionOut] update --- @param self --- @param #float time --- @return EaseQuadraticActionOut#EaseQuadraticActionOut self (return value: cc.EaseQuadraticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuadraticActionOut] EaseQuadraticActionOut --- @param self --- @return EaseQuadraticActionOut#EaseQuadraticActionOut self (return value: cc.EaseQuadraticActionOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionIn.lua deleted file mode 100644 index 7b3dedcea2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuarticActionIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuarticActionIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuarticActionIn#EaseQuarticActionIn ret (return value: cc.EaseQuarticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuarticActionIn] clone --- @param self --- @return EaseQuarticActionIn#EaseQuarticActionIn ret (return value: cc.EaseQuarticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuarticActionIn] update --- @param self --- @param #float time --- @return EaseQuarticActionIn#EaseQuarticActionIn self (return value: cc.EaseQuarticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuarticActionIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuarticActionIn] EaseQuarticActionIn --- @param self --- @return EaseQuarticActionIn#EaseQuarticActionIn self (return value: cc.EaseQuarticActionIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionInOut.lua deleted file mode 100644 index cc8d73479d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuarticActionInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuarticActionInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuarticActionInOut#EaseQuarticActionInOut ret (return value: cc.EaseQuarticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuarticActionInOut] clone --- @param self --- @return EaseQuarticActionInOut#EaseQuarticActionInOut ret (return value: cc.EaseQuarticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuarticActionInOut] update --- @param self --- @param #float time --- @return EaseQuarticActionInOut#EaseQuarticActionInOut self (return value: cc.EaseQuarticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuarticActionInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuarticActionInOut] EaseQuarticActionInOut --- @param self --- @return EaseQuarticActionInOut#EaseQuarticActionInOut self (return value: cc.EaseQuarticActionInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionOut.lua deleted file mode 100644 index 09e2c2f72a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuarticActionOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuarticActionOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuarticActionOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuarticActionOut#EaseQuarticActionOut ret (return value: cc.EaseQuarticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuarticActionOut] clone --- @param self --- @return EaseQuarticActionOut#EaseQuarticActionOut ret (return value: cc.EaseQuarticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuarticActionOut] update --- @param self --- @param #float time --- @return EaseQuarticActionOut#EaseQuarticActionOut self (return value: cc.EaseQuarticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuarticActionOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuarticActionOut] EaseQuarticActionOut --- @param self --- @return EaseQuarticActionOut#EaseQuarticActionOut self (return value: cc.EaseQuarticActionOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionIn.lua deleted file mode 100644 index 5bff615743..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuinticActionIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuinticActionIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuinticActionIn#EaseQuinticActionIn ret (return value: cc.EaseQuinticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuinticActionIn] clone --- @param self --- @return EaseQuinticActionIn#EaseQuinticActionIn ret (return value: cc.EaseQuinticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuinticActionIn] update --- @param self --- @param #float time --- @return EaseQuinticActionIn#EaseQuinticActionIn self (return value: cc.EaseQuinticActionIn) - --------------------------------- --- --- @function [parent=#EaseQuinticActionIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuinticActionIn] EaseQuinticActionIn --- @param self --- @return EaseQuinticActionIn#EaseQuinticActionIn self (return value: cc.EaseQuinticActionIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionInOut.lua deleted file mode 100644 index f3e8dcd80e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuinticActionInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuinticActionInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuinticActionInOut#EaseQuinticActionInOut ret (return value: cc.EaseQuinticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuinticActionInOut] clone --- @param self --- @return EaseQuinticActionInOut#EaseQuinticActionInOut ret (return value: cc.EaseQuinticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuinticActionInOut] update --- @param self --- @param #float time --- @return EaseQuinticActionInOut#EaseQuinticActionInOut self (return value: cc.EaseQuinticActionInOut) - --------------------------------- --- --- @function [parent=#EaseQuinticActionInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuinticActionInOut] EaseQuinticActionInOut --- @param self --- @return EaseQuinticActionInOut#EaseQuinticActionInOut self (return value: cc.EaseQuinticActionInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionOut.lua deleted file mode 100644 index f3a974bb87..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseQuinticActionOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseQuinticActionOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseQuinticActionOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseQuinticActionOut#EaseQuinticActionOut ret (return value: cc.EaseQuinticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuinticActionOut] clone --- @param self --- @return EaseQuinticActionOut#EaseQuinticActionOut ret (return value: cc.EaseQuinticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuinticActionOut] update --- @param self --- @param #float time --- @return EaseQuinticActionOut#EaseQuinticActionOut self (return value: cc.EaseQuinticActionOut) - --------------------------------- --- --- @function [parent=#EaseQuinticActionOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseQuinticActionOut] EaseQuinticActionOut --- @param self --- @return EaseQuinticActionOut#EaseQuinticActionOut self (return value: cc.EaseQuinticActionOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseRateAction.lua b/cocos/scripting/lua-bindings/auto/api/EaseRateAction.lua deleted file mode 100644 index b7bd164ccc..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseRateAction.lua +++ /dev/null @@ -1,41 +0,0 @@ - --------------------------------- --- @module EaseRateAction --- @extend ActionEase --- @parent_module cc - --------------------------------- --- brief Set the rate value for the ease rate action.
--- param rate The value will be set. --- @function [parent=#EaseRateAction] setRate --- @param self --- @param #float rate --- @return EaseRateAction#EaseRateAction self (return value: cc.EaseRateAction) - --------------------------------- --- brief Initializes the action with the inner action and the rate parameter.
--- param pAction The pointer of the inner action.
--- param fRate The value of the rate parameter.
--- return Return true when the initialization success, otherwise return false. --- @function [parent=#EaseRateAction] initWithAction --- @param self --- @param #cc.ActionInterval pAction --- @param #float fRate --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the rate value of the ease rate action.
--- return Return the rate value of the ease rate action. --- @function [parent=#EaseRateAction] getRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#EaseRateAction] create --- @param self --- @param #cc.ActionInterval action --- @param #float rate --- @return EaseRateAction#EaseRateAction ret (return value: cc.EaseRateAction) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseSineIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseSineIn.lua deleted file mode 100644 index 289ab1e537..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseSineIn.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseSineIn --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseSineIn] create --- @param self --- @param #cc.ActionInterval action --- @return EaseSineIn#EaseSineIn ret (return value: cc.EaseSineIn) - --------------------------------- --- --- @function [parent=#EaseSineIn] clone --- @param self --- @return EaseSineIn#EaseSineIn ret (return value: cc.EaseSineIn) - --------------------------------- --- --- @function [parent=#EaseSineIn] update --- @param self --- @param #float time --- @return EaseSineIn#EaseSineIn self (return value: cc.EaseSineIn) - --------------------------------- --- --- @function [parent=#EaseSineIn] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseSineIn] EaseSineIn --- @param self --- @return EaseSineIn#EaseSineIn self (return value: cc.EaseSineIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseSineInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseSineInOut.lua deleted file mode 100644 index 0ec55a2cea..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseSineInOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseSineInOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseSineInOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseSineInOut#EaseSineInOut ret (return value: cc.EaseSineInOut) - --------------------------------- --- --- @function [parent=#EaseSineInOut] clone --- @param self --- @return EaseSineInOut#EaseSineInOut ret (return value: cc.EaseSineInOut) - --------------------------------- --- --- @function [parent=#EaseSineInOut] update --- @param self --- @param #float time --- @return EaseSineInOut#EaseSineInOut self (return value: cc.EaseSineInOut) - --------------------------------- --- --- @function [parent=#EaseSineInOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseSineInOut] EaseSineInOut --- @param self --- @return EaseSineInOut#EaseSineInOut self (return value: cc.EaseSineInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EaseSineOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseSineOut.lua deleted file mode 100644 index 20b93aa3c6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EaseSineOut.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EaseSineOut --- @extend ActionEase --- @parent_module cc - --------------------------------- --- --- @function [parent=#EaseSineOut] create --- @param self --- @param #cc.ActionInterval action --- @return EaseSineOut#EaseSineOut ret (return value: cc.EaseSineOut) - --------------------------------- --- --- @function [parent=#EaseSineOut] clone --- @param self --- @return EaseSineOut#EaseSineOut ret (return value: cc.EaseSineOut) - --------------------------------- --- --- @function [parent=#EaseSineOut] update --- @param self --- @param #float time --- @return EaseSineOut#EaseSineOut self (return value: cc.EaseSineOut) - --------------------------------- --- --- @function [parent=#EaseSineOut] reverse --- @param self --- @return ActionEase#ActionEase ret (return value: cc.ActionEase) - --------------------------------- --- --- @function [parent=#EaseSineOut] EaseSineOut --- @param self --- @return EaseSineOut#EaseSineOut self (return value: cc.EaseSineOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EditBox.lua b/cocos/scripting/lua-bindings/auto/api/EditBox.lua deleted file mode 100644 index 668ed00946..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EditBox.lua +++ /dev/null @@ -1,492 +0,0 @@ - --------------------------------- --- @module EditBox --- @extend Widget,IMEDelegate --- @parent_module ccui - --------------------------------- --- Get the font size.
--- return The font size. --- @function [parent=#EditBox] getFontSize --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#EditBox] keyboardDidShow --- @param self --- @param #cc.IMEKeyboardNotificationInfo info --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Sets the maximum input length of the edit box.
--- Setting this value enables multiline input mode by default.
--- Available on Android, iOS and Windows Phone.
--- param maxLength The maximum length. --- @function [parent=#EditBox] setMaxLength --- @param self --- @param #int maxLength --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- --- @function [parent=#EditBox] openKeyboard --- @param self --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the font size.
--- param fontSize The font size. --- @function [parent=#EditBox] setFontSize --- @param self --- @param #int fontSize --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Get the text entered in the edit box.
--- return The text entered in the edit box. --- @function [parent=#EditBox] getText --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- Get the input mode of the edit box.
--- return One of the EditBox::InputMode constants. --- @function [parent=#EditBox] getInputMode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, size_table, ccui.Scale9Sprite --- @overload self, size_table, string, int --- @overload self, size_table, ccui.Scale9Sprite, ccui.Scale9Sprite, ccui.Scale9Sprite --- @function [parent=#EditBox] initWithSizeAndBackgroundSprite --- @param self --- @param #size_table size --- @param #ccui.Scale9Sprite normalSprite --- @param #ccui.Scale9Sprite pressedSprite --- @param #ccui.Scale9Sprite disabledSprite --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the placeholder's font name. only system font is allowed.
--- return The font name. --- @function [parent=#EditBox] getPlaceholderFontName --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#EditBox] keyboardDidHide --- @param self --- @param #cc.IMEKeyboardNotificationInfo info --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the placeholder's font name. only system font is allowed.
--- param pFontName The font name. --- @function [parent=#EditBox] setPlaceholderFontName --- @param self --- @param #char pFontName --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Get the placeholder's font size.
--- return The font size. --- @function [parent=#EditBox] getPlaceholderFontSize --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Return the capInsets of disabled state scale9sprite.
--- return The disabled scale9 renderer capInsets. --- @function [parent=#EditBox] getCapInsetsDisabledRenderer --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Get a text in the edit box that acts as a placeholder when an
--- edit box is empty. --- @function [parent=#EditBox] getPlaceHolder --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- Set the font name. Only system font is allowed.
--- param pFontName The font name. --- @function [parent=#EditBox] setFontName --- @param self --- @param #char pFontName --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Registers a script function that will be called for EditBox events.
--- This handler will be removed automatically after onExit() called.
--- code
--- -- lua sample
--- local function editboxEventHandler(eventType)
--- if eventType == "began" then
--- -- triggered when an edit box gains focus after keyboard is shown
--- elseif eventType == "ended" then
--- -- triggered when an edit box loses focus after keyboard is hidden.
--- elseif eventType == "changed" then
--- -- triggered when the edit box text was changed.
--- elseif eventType == "return" then
--- -- triggered when the return button was pressed or the outside area of keyboard was touched.
--- end
--- end
--- local editbox = EditBox:create(Size(...), Scale9Sprite:create(...))
--- editbox = registerScriptEditBoxHandler(editboxEventHandler)
--- endcode
--- param handler A number that indicates a lua function.
--- js NA
--- lua NA --- @function [parent=#EditBox] registerScriptEditBoxHandler --- @param self --- @param #int handler --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Sets capInsets for edit box, only the disabled state scale9 renderer will be affected.
--- param capInsets capInsets in Rect. --- @function [parent=#EditBox] setCapInsetsDisabledRenderer --- @param self --- @param #rect_table capInsets --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the placeholder's font size.
--- param fontSize The font size. --- @function [parent=#EditBox] setPlaceholderFontSize --- @param self --- @param #int fontSize --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Load disabled state texture for edit box.
--- param disabled dark state texture.
--- param texType @see `TextureResType` --- @function [parent=#EditBox] loadTextureDisabled --- @param self --- @param #string disabled --- @param #int texType --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the input mode of the edit box.
--- param inputMode One of the EditBox::InputMode constants. --- @function [parent=#EditBox] setInputMode --- @param self --- @param #int inputMode --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Unregisters a script function that will be called for EditBox events.
--- js NA
--- lua NA --- @function [parent=#EditBox] unregisterScriptEditBoxHandler --- @param self --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#EditBox] keyboardWillShow --- @param self --- @param #cc.IMEKeyboardNotificationInfo info --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- @overload self, color4b_table --- @overload self, color3b_table --- @function [parent=#EditBox] setPlaceholderFontColor --- @param self --- @param #color3b_table color --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Get the return type that are to be applied to the edit box.
--- return One of the EditBox::KeyboardReturnType constants. --- @function [parent=#EditBox] getReturnType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, color4b_table --- @overload self, color3b_table --- @function [parent=#EditBox] setFontColor --- @param self --- @param #color3b_table color --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Get the font name.
--- return The font name. --- @function [parent=#EditBox] getFontName --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#EditBox] keyboardWillHide --- @param self --- @param #cc.IMEKeyboardNotificationInfo info --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Sets capInsets for edit box, only the normal state scale9 renderer will be affected.
--- param capInsets capInsets in Rect. --- @function [parent=#EditBox] setCapInsetsNormalRenderer --- @param self --- @param #rect_table capInsets --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Load pressed state texture for edit box.
--- param pressed pressed state texture.
--- param texType @see `TextureResType` --- @function [parent=#EditBox] loadTexturePressed --- @param self --- @param #string pressed --- @param #int texType --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Get the font color of the widget's text. --- @function [parent=#EditBox] getFontColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- Get the input flags that are to be applied to the edit box.
--- return One of the EditBox::InputFlag constants. --- @function [parent=#EditBox] getInputFlag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Init edit box with specified size. This method should be invoked right after constructor.
--- param size The size of edit box.
--- param normalImage normal state texture name.
--- param pressedImage pressed state texture name.
--- param disabledImage disabled state texture name.
--- return Whether initialization is successfully or not. --- @function [parent=#EditBox] initWithSizeAndTexture --- @param self --- @param #size_table size --- @param #string normalImage --- @param #string pressedImage --- @param #string disabledImage --- @param #int texType --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the text horizontal alignment. --- @function [parent=#EditBox] getTextHorizontalAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Return the capInsets of normal state scale9sprite.
--- return The normal scale9 renderer capInsets. --- @function [parent=#EditBox] getCapInsetsNormalRenderer --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Return the capInsets of pressed state scale9sprite.
--- return The pressed scale9 renderer capInsets. --- @function [parent=#EditBox] getCapInsetsPressedRenderer --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- get a script Handler
--- js NA
--- lua NA --- @function [parent=#EditBox] getScriptEditBoxHandler --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Load textures for edit box.
--- param normal normal state texture name.
--- param pressed pressed state texture name.
--- param disabled disabled state texture name.
--- param texType @see `TextureResType` --- @function [parent=#EditBox] loadTextures --- @param self --- @param #string normal --- @param #string pressed --- @param #string disabled --- @param #int texType --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set a text in the edit box that acts as a placeholder when an
--- edit box is empty.
--- param pText The given text. --- @function [parent=#EditBox] setPlaceHolder --- @param self --- @param #char pText --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the input flags that are to be applied to the edit box.
--- param inputFlag One of the EditBox::InputFlag constants. --- @function [parent=#EditBox] setInputFlag --- @param self --- @param #int inputFlag --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the return type that are to be applied to the edit box.
--- param returnType One of the EditBox::KeyboardReturnType constants. --- @function [parent=#EditBox] setReturnType --- @param self --- @param #int returnType --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Load normal state texture for edit box.
--- param normal normal state texture.
--- param texType @see `TextureResType` --- @function [parent=#EditBox] loadTextureNormal --- @param self --- @param #string normal --- @param #int texType --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Gets the maximum input length of the edit box.
--- return Maximum input length. --- @function [parent=#EditBox] getMaxLength --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets capInsets for edit box, only the pressed state scale9 renderer will be affected.
--- param capInsets capInsets in Rect --- @function [parent=#EditBox] setCapInsetsPressedRenderer --- @param self --- @param #rect_table capInsets --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the text entered in the edit box.
--- param pText The given text. --- @function [parent=#EditBox] setText --- @param self --- @param #char pText --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the placeholder's font. Only system font is allowed.
--- param pFontName The font name.
--- param fontSize The font size. --- @function [parent=#EditBox] setPlaceholderFont --- @param self --- @param #char pFontName --- @param #int fontSize --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Get the font color of the placeholder text when the edit box is empty. --- @function [parent=#EditBox] getPlaceholderFontColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- Sets capInsets for edit box.
--- param capInsets capInset in Rect. --- @function [parent=#EditBox] setCapInsets --- @param self --- @param #rect_table capInsets --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the font. Only system font is allowed.
--- param pFontName The font name.
--- param fontSize The font size. --- @function [parent=#EditBox] setFont --- @param self --- @param #char pFontName --- @param #int fontSize --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Set the text horizontal alignment. --- @function [parent=#EditBox] setTextHorizontalAlignment --- @param self --- @param #int alignment --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- @overload self, size_table, string, int --- @overload self, size_table, ccui.Scale9Sprite, ccui.Scale9Sprite, ccui.Scale9Sprite --- @overload self, size_table, string, string, string, int --- @function [parent=#EditBox] create --- @param self --- @param #size_table size --- @param #string normalImage --- @param #string pressedImage --- @param #string disabledImage --- @param #int texType --- @return EditBox#EditBox ret (return value: ccui.EditBox) - --------------------------------- --- --- @function [parent=#EditBox] setAnchorPoint --- @param self --- @param #vec2_table anchorPoint --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#EditBox] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Returns the "class name" of widget. --- @function [parent=#EditBox] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#EditBox] setPosition --- @param self --- @param #vec2_table pos --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- --- @function [parent=#EditBox] setVisible --- @param self --- @param #bool visible --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- --- @function [parent=#EditBox] setContentSize --- @param self --- @param #size_table size --- @return EditBox#EditBox self (return value: ccui.EditBox) - --------------------------------- --- Constructor.
--- js ctor
--- lua new --- @function [parent=#EditBox] EditBox --- @param self --- @return EditBox#EditBox self (return value: ccui.EditBox) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Event.lua b/cocos/scripting/lua-bindings/auto/api/Event.lua deleted file mode 100644 index 6085bae55b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Event.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module Event --- @extend Ref --- @parent_module cc - --------------------------------- --- Checks whether the event has been stopped.
--- return True if the event has been stopped. --- @function [parent=#Event] isStopped --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the event type.
--- return The event type. --- @function [parent=#Event] getType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets current target of the event.
--- return The target with which the event associates.
--- note It's only available when the event listener is associated with node.
--- It returns 0 when the listener is associated with fixed priority. --- @function [parent=#Event] getCurrentTarget --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Stops propagation for current event. --- @function [parent=#Event] stopPropagation --- @param self --- @return Event#Event self (return value: cc.Event) - --------------------------------- --- Constructor --- @function [parent=#Event] Event --- @param self --- @param #int type --- @return Event#Event self (return value: cc.Event) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventAcceleration.lua b/cocos/scripting/lua-bindings/auto/api/EventAcceleration.lua deleted file mode 100644 index 73335dae14..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventAcceleration.lua +++ /dev/null @@ -1,7 +0,0 @@ - --------------------------------- --- @module EventAcceleration --- @extend Event --- @parent_module cc - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventAssetsManagerEx.lua b/cocos/scripting/lua-bindings/auto/api/EventAssetsManagerEx.lua deleted file mode 100644 index 576c27321b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventAssetsManagerEx.lua +++ /dev/null @@ -1,70 +0,0 @@ - --------------------------------- --- @module EventAssetsManagerEx --- @extend EventCustom --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventAssetsManagerEx] getAssetsManagerEx --- @param self --- @return AssetsManagerEx#AssetsManagerEx ret (return value: cc.AssetsManagerEx) - --------------------------------- --- --- @function [parent=#EventAssetsManagerEx] getAssetId --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#EventAssetsManagerEx] getCURLECode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#EventAssetsManagerEx] getMessage --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#EventAssetsManagerEx] getCURLMCode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#EventAssetsManagerEx] getPercentByFile --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#EventAssetsManagerEx] getEventCode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#EventAssetsManagerEx] getPercent --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Constructor --- @function [parent=#EventAssetsManagerEx] EventAssetsManagerEx --- @param self --- @param #string eventName --- @param #cc.AssetsManagerEx manager --- @param #int code --- @param #float percent --- @param #float percentByFile --- @param #string assetId --- @param #string message --- @param #int curle_code --- @param #int curlm_code --- @return EventAssetsManagerEx#EventAssetsManagerEx self (return value: cc.EventAssetsManagerEx) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventController.lua b/cocos/scripting/lua-bindings/auto/api/EventController.lua deleted file mode 100644 index 869f90ffe0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventController.lua +++ /dev/null @@ -1,59 +0,0 @@ - --------------------------------- --- @module EventController --- @extend Event --- @parent_module cc - --------------------------------- --- Gets the event type of the controller.
--- return The event type of the controller. --- @function [parent=#EventController] getControllerEventType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets the connect status.
--- param True if it's connected. --- @function [parent=#EventController] setConnectStatus --- @param self --- @param #bool isConnected --- @return EventController#EventController self (return value: cc.EventController) - --------------------------------- --- Gets the connect status.
--- return True if it's connected. --- @function [parent=#EventController] isConnected --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#EventController] setKeyCode --- @param self --- @param #int keyCode --- @return EventController#EventController self (return value: cc.EventController) - --------------------------------- --- --- @function [parent=#EventController] getController --- @param self --- @return Controller#Controller ret (return value: cc.Controller) - --------------------------------- --- Gets the key code of the controller.
--- return The key code of the controller. --- @function [parent=#EventController] getKeyCode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, int, cc.Controller, bool --- @overload self, int, cc.Controller, int --- @function [parent=#EventController] EventController --- @param self --- @param #int type --- @param #cc.Controller controller --- @param #int keyCode --- @return EventController#EventController self (return value: cc.EventController) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventCustom.lua b/cocos/scripting/lua-bindings/auto/api/EventCustom.lua deleted file mode 100644 index 869728fc2c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventCustom.lua +++ /dev/null @@ -1,23 +0,0 @@ - --------------------------------- --- @module EventCustom --- @extend Event --- @parent_module cc - --------------------------------- --- Gets event name.
--- return The name of the event. --- @function [parent=#EventCustom] getEventName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Constructor.
--- param eventName A given name of the custom event.
--- js ctor --- @function [parent=#EventCustom] EventCustom --- @param self --- @param #string eventName --- @return EventCustom#EventCustom self (return value: cc.EventCustom) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventDispatcher.lua b/cocos/scripting/lua-bindings/auto/api/EventDispatcher.lua deleted file mode 100644 index fb8b038269..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventDispatcher.lua +++ /dev/null @@ -1,163 +0,0 @@ - --------------------------------- --- @module EventDispatcher --- @extend Ref --- @parent_module cc - --------------------------------- --- Pauses all listeners which are associated the specified target.
--- param target A given target node.
--- param recursive True if pause recursively, the default value is false. --- @function [parent=#EventDispatcher] pauseEventListenersForTarget --- @param self --- @param #cc.Node target --- @param #bool recursive --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Adds a event listener for a specified event with the priority of scene graph.
--- param listener The listener of a specified event.
--- param node The priority of the listener is based on the draw order of this node.
--- note The priority of scene graph will be fixed value 0. So the order of listener item
--- in the vector will be ' <0, scene graph (0 priority), >0'. --- @function [parent=#EventDispatcher] addEventListenerWithSceneGraphPriority --- @param self --- @param #cc.EventListener listener --- @param #cc.Node node --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Whether to enable dispatching events.
--- param isEnabled True if enable dispatching events. --- @function [parent=#EventDispatcher] setEnabled --- @param self --- @param #bool isEnabled --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Adds a event listener for a specified event with the fixed priority.
--- param listener The listener of a specified event.
--- param fixedPriority The fixed priority of the listener.
--- note A lower priority will be called before the ones that have a higher value.
--- 0 priority is forbidden for fixed priority since it's used for scene graph based priority. --- @function [parent=#EventDispatcher] addEventListenerWithFixedPriority --- @param self --- @param #cc.EventListener listener --- @param #int fixedPriority --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Remove a listener.
--- param listener The specified event listener which needs to be removed. --- @function [parent=#EventDispatcher] removeEventListener --- @param self --- @param #cc.EventListener listener --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Dispatches a Custom Event with a event name an optional user data.
--- param eventName The name of the event which needs to be dispatched.
--- param optionalUserData The optional user data, it's a void*, the default value is nullptr. --- @function [parent=#EventDispatcher] dispatchCustomEvent --- @param self --- @param #string eventName --- @param #void optionalUserData --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Resumes all listeners which are associated the specified target.
--- param target A given target node.
--- param recursive True if resume recursively, the default value is false. --- @function [parent=#EventDispatcher] resumeEventListenersForTarget --- @param self --- @param #cc.Node target --- @param #bool recursive --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Removes all listeners which are associated with the specified target.
--- param target A given target node.
--- param recursive True if remove recursively, the default value is false. --- @function [parent=#EventDispatcher] removeEventListenersForTarget --- @param self --- @param #cc.Node target --- @param #bool recursive --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Sets listener's priority with fixed value.
--- param listener A given listener.
--- param fixedPriority The fixed priority value. --- @function [parent=#EventDispatcher] setPriority --- @param self --- @param #cc.EventListener listener --- @param #int fixedPriority --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Adds a Custom event listener.
--- It will use a fixed priority of 1.
--- param eventName A given name of the event.
--- param callback A given callback method that associated the event name.
--- return the generated event. Needed in order to remove the event from the dispatcher --- @function [parent=#EventDispatcher] addCustomEventListener --- @param self --- @param #string eventName --- @param #function callback --- @return EventListenerCustom#EventListenerCustom ret (return value: cc.EventListenerCustom) - --------------------------------- --- Dispatches the event.
--- Also removes all EventListeners marked for deletion from the
--- event dispatcher list.
--- param event The event needs to be dispatched. --- @function [parent=#EventDispatcher] dispatchEvent --- @param self --- @param #cc.Event event --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Query whether the specified event listener id has been added.
--- param listenerID The listenerID of the event listener id.
--- return True if dispatching events is exist --- @function [parent=#EventDispatcher] hasEventListener --- @param self --- @param #string listenerID --- @return bool#bool ret (return value: bool) - --------------------------------- --- Removes all listeners. --- @function [parent=#EventDispatcher] removeAllEventListeners --- @param self --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Removes all custom listeners with the same event name.
--- param customEventName A given event listener name which needs to be removed. --- @function [parent=#EventDispatcher] removeCustomEventListeners --- @param self --- @param #string customEventName --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Checks whether dispatching events is enabled.
--- return True if dispatching events is enabled. --- @function [parent=#EventDispatcher] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Removes all listeners with the same event listener type.
--- param listenerType A given event listener type which needs to be removed. --- @function [parent=#EventDispatcher] removeEventListenersForType --- @param self --- @param #int listenerType --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - --------------------------------- --- Constructor of EventDispatcher. --- @function [parent=#EventDispatcher] EventDispatcher --- @param self --- @return EventDispatcher#EventDispatcher self (return value: cc.EventDispatcher) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventFocus.lua b/cocos/scripting/lua-bindings/auto/api/EventFocus.lua deleted file mode 100644 index 382c47d222..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventFocus.lua +++ /dev/null @@ -1,18 +0,0 @@ - --------------------------------- --- @module EventFocus --- @extend Event --- @parent_module cc - --------------------------------- --- Constructor.
--- param widgetLoseFocus The widget which lose focus.
--- param widgetGetFocus The widget which get focus.
--- js ctor --- @function [parent=#EventFocus] EventFocus --- @param self --- @param #ccui.Widget widgetLoseFocus --- @param #ccui.Widget widgetGetFocus --- @return EventFocus#EventFocus self (return value: cc.EventFocus) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventFrame.lua b/cocos/scripting/lua-bindings/auto/api/EventFrame.lua deleted file mode 100644 index 67bf03987e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventFrame.lua +++ /dev/null @@ -1,51 +0,0 @@ - --------------------------------- --- @module EventFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#EventFrame] setEvent --- @param self --- @param #string event --- @return EventFrame#EventFrame self (return value: ccs.EventFrame) - --------------------------------- --- --- @function [parent=#EventFrame] init --- @param self --- @return EventFrame#EventFrame self (return value: ccs.EventFrame) - --------------------------------- --- --- @function [parent=#EventFrame] getEvent --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#EventFrame] create --- @param self --- @return EventFrame#EventFrame ret (return value: ccs.EventFrame) - --------------------------------- --- --- @function [parent=#EventFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#EventFrame] setNode --- @param self --- @param #cc.Node node --- @return EventFrame#EventFrame self (return value: ccs.EventFrame) - --------------------------------- --- --- @function [parent=#EventFrame] EventFrame --- @param self --- @return EventFrame#EventFrame self (return value: ccs.EventFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventKeyboard.lua b/cocos/scripting/lua-bindings/auto/api/EventKeyboard.lua deleted file mode 100644 index 03a840e98c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventKeyboard.lua +++ /dev/null @@ -1,18 +0,0 @@ - --------------------------------- --- @module EventKeyboard --- @extend Event --- @parent_module cc - --------------------------------- --- Constructor.
--- param keyCode A given keycode.
--- param isPressed True if the key is pressed.
--- js ctor --- @function [parent=#EventKeyboard] EventKeyboard --- @param self --- @param #int keyCode --- @param #bool isPressed --- @return EventKeyboard#EventKeyboard self (return value: cc.EventKeyboard) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListener.lua b/cocos/scripting/lua-bindings/auto/api/EventListener.lua deleted file mode 100644 index 2366ff177a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListener.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module EventListener --- @extend Ref --- @parent_module cc - --------------------------------- --- Enables or disables the listener.
--- note Only listeners with `enabled` state will be able to receive events.
--- When an listener was initialized, it's enabled by default.
--- An event listener can receive events when it is enabled and is not paused.
--- paused state is always false when it is a fixed priority listener.
--- param enabled True if enables the listener. --- @function [parent=#EventListener] setEnabled --- @param self --- @param #bool enabled --- @return EventListener#EventListener self (return value: cc.EventListener) - --------------------------------- --- Checks whether the listener is enabled.
--- return True if the listener is enabled. --- @function [parent=#EventListener] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Clones the listener, its subclasses have to override this method. --- @function [parent=#EventListener] clone --- @param self --- @return EventListener#EventListener ret (return value: cc.EventListener) - --------------------------------- --- Checks whether the listener is available.
--- return True if the listener is available. --- @function [parent=#EventListener] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerAcceleration.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerAcceleration.lua deleted file mode 100644 index 83d16b7531..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerAcceleration.lua +++ /dev/null @@ -1,32 +0,0 @@ - --------------------------------- --- @module EventListenerAcceleration --- @extend EventListener --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerAcceleration] init --- @param self --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerAcceleration] clone --- @param self --- @return EventListenerAcceleration#EventListenerAcceleration ret (return value: cc.EventListenerAcceleration) - --------------------------------- --- --- @function [parent=#EventListenerAcceleration] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#EventListenerAcceleration] EventListenerAcceleration --- @param self --- @return EventListenerAcceleration#EventListenerAcceleration self (return value: cc.EventListenerAcceleration) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerAssetsManagerEx.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerAssetsManagerEx.lua deleted file mode 100644 index e8277a121f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerAssetsManagerEx.lua +++ /dev/null @@ -1,33 +0,0 @@ - --------------------------------- --- @module EventListenerAssetsManagerEx --- @extend EventListenerCustom --- @parent_module cc - --------------------------------- --- Initializes event with type and callback function --- @function [parent=#EventListenerAssetsManagerEx] init --- @param self --- @param #cc.AssetsManagerEx AssetsManagerEx --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#EventListenerAssetsManagerEx] clone --- @param self --- @return EventListenerAssetsManagerEx#EventListenerAssetsManagerEx ret (return value: cc.EventListenerAssetsManagerEx) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerAssetsManagerEx] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Constructor --- @function [parent=#EventListenerAssetsManagerEx] EventListenerAssetsManagerEx --- @param self --- @return EventListenerAssetsManagerEx#EventListenerAssetsManagerEx self (return value: cc.EventListenerAssetsManagerEx) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerController.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerController.lua deleted file mode 100644 index ca09978475..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerController.lua +++ /dev/null @@ -1,26 +0,0 @@ - --------------------------------- --- @module EventListenerController --- @extend EventListener --- @parent_module cc - --------------------------------- --- Create a controller event listener.
--- return An autoreleased EventListenerController object. --- @function [parent=#EventListenerController] create --- @param self --- @return EventListenerController#EventListenerController ret (return value: cc.EventListenerController) - --------------------------------- --- --- @function [parent=#EventListenerController] clone --- @param self --- @return EventListenerController#EventListenerController ret (return value: cc.EventListenerController) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerController] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerCustom.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerCustom.lua deleted file mode 100644 index 371230e830..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerCustom.lua +++ /dev/null @@ -1,25 +0,0 @@ - --------------------------------- --- @module EventListenerCustom --- @extend EventListener --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerCustom] clone --- @param self --- @return EventListenerCustom#EventListenerCustom ret (return value: cc.EventListenerCustom) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerCustom] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Constructor --- @function [parent=#EventListenerCustom] EventListenerCustom --- @param self --- @return EventListenerCustom#EventListenerCustom self (return value: cc.EventListenerCustom) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerFocus.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerFocus.lua deleted file mode 100644 index 24d44a1ef7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerFocus.lua +++ /dev/null @@ -1,31 +0,0 @@ - --------------------------------- --- @module EventListenerFocus --- @extend EventListener --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerFocus] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerFocus] clone --- @param self --- @return EventListenerFocus#EventListenerFocus ret (return value: cc.EventListenerFocus) - --------------------------------- --- --- @function [parent=#EventListenerFocus] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#EventListenerFocus] EventListenerFocus --- @param self --- @return EventListenerFocus#EventListenerFocus self (return value: cc.EventListenerFocus) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerKeyboard.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerKeyboard.lua deleted file mode 100644 index 06a4a8767a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerKeyboard.lua +++ /dev/null @@ -1,31 +0,0 @@ - --------------------------------- --- @module EventListenerKeyboard --- @extend EventListener --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerKeyboard] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerKeyboard] clone --- @param self --- @return EventListenerKeyboard#EventListenerKeyboard ret (return value: cc.EventListenerKeyboard) - --------------------------------- --- --- @function [parent=#EventListenerKeyboard] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#EventListenerKeyboard] EventListenerKeyboard --- @param self --- @return EventListenerKeyboard#EventListenerKeyboard self (return value: cc.EventListenerKeyboard) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerMouse.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerMouse.lua deleted file mode 100644 index a1c66086d4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerMouse.lua +++ /dev/null @@ -1,31 +0,0 @@ - --------------------------------- --- @module EventListenerMouse --- @extend EventListener --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerMouse] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerMouse] clone --- @param self --- @return EventListenerMouse#EventListenerMouse ret (return value: cc.EventListenerMouse) - --------------------------------- --- --- @function [parent=#EventListenerMouse] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#EventListenerMouse] EventListenerMouse --- @param self --- @return EventListenerMouse#EventListenerMouse self (return value: cc.EventListenerMouse) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContact.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContact.lua deleted file mode 100644 index 3cfe06acd1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContact.lua +++ /dev/null @@ -1,26 +0,0 @@ - --------------------------------- --- @module EventListenerPhysicsContact --- @extend EventListenerCustom --- @parent_module cc - --------------------------------- --- Create the listener. --- @function [parent=#EventListenerPhysicsContact] create --- @param self --- @return EventListenerPhysicsContact#EventListenerPhysicsContact ret (return value: cc.EventListenerPhysicsContact) - --------------------------------- --- Clone an object from this listener. --- @function [parent=#EventListenerPhysicsContact] clone --- @param self --- @return EventListenerPhysicsContact#EventListenerPhysicsContact ret (return value: cc.EventListenerPhysicsContact) - --------------------------------- --- Check the listener is available.
--- return True if there's one available callback function at least, false if there's no one. --- @function [parent=#EventListenerPhysicsContact] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithBodies.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithBodies.lua deleted file mode 100644 index 816ab63165..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithBodies.lua +++ /dev/null @@ -1,29 +0,0 @@ - --------------------------------- --- @module EventListenerPhysicsContactWithBodies --- @extend EventListenerPhysicsContact --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerPhysicsContactWithBodies] hitTest --- @param self --- @param #cc.PhysicsShape shapeA --- @param #cc.PhysicsShape shapeB --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create the listener. --- @function [parent=#EventListenerPhysicsContactWithBodies] create --- @param self --- @param #cc.PhysicsBody bodyA --- @param #cc.PhysicsBody bodyB --- @return EventListenerPhysicsContactWithBodies#EventListenerPhysicsContactWithBodies ret (return value: cc.EventListenerPhysicsContactWithBodies) - --------------------------------- --- --- @function [parent=#EventListenerPhysicsContactWithBodies] clone --- @param self --- @return EventListenerPhysicsContactWithBodies#EventListenerPhysicsContactWithBodies ret (return value: cc.EventListenerPhysicsContactWithBodies) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithGroup.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithGroup.lua deleted file mode 100644 index b56b7f0d3a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithGroup.lua +++ /dev/null @@ -1,28 +0,0 @@ - --------------------------------- --- @module EventListenerPhysicsContactWithGroup --- @extend EventListenerPhysicsContact --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerPhysicsContactWithGroup] hitTest --- @param self --- @param #cc.PhysicsShape shapeA --- @param #cc.PhysicsShape shapeB --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create the listener. --- @function [parent=#EventListenerPhysicsContactWithGroup] create --- @param self --- @param #int group --- @return EventListenerPhysicsContactWithGroup#EventListenerPhysicsContactWithGroup ret (return value: cc.EventListenerPhysicsContactWithGroup) - --------------------------------- --- --- @function [parent=#EventListenerPhysicsContactWithGroup] clone --- @param self --- @return EventListenerPhysicsContactWithGroup#EventListenerPhysicsContactWithGroup ret (return value: cc.EventListenerPhysicsContactWithGroup) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithShapes.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithShapes.lua deleted file mode 100644 index d04998ceca..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerPhysicsContactWithShapes.lua +++ /dev/null @@ -1,29 +0,0 @@ - --------------------------------- --- @module EventListenerPhysicsContactWithShapes --- @extend EventListenerPhysicsContact --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerPhysicsContactWithShapes] hitTest --- @param self --- @param #cc.PhysicsShape shapeA --- @param #cc.PhysicsShape shapeB --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create the listener. --- @function [parent=#EventListenerPhysicsContactWithShapes] create --- @param self --- @param #cc.PhysicsShape shapeA --- @param #cc.PhysicsShape shapeB --- @return EventListenerPhysicsContactWithShapes#EventListenerPhysicsContactWithShapes ret (return value: cc.EventListenerPhysicsContactWithShapes) - --------------------------------- --- --- @function [parent=#EventListenerPhysicsContactWithShapes] clone --- @param self --- @return EventListenerPhysicsContactWithShapes#EventListenerPhysicsContactWithShapes ret (return value: cc.EventListenerPhysicsContactWithShapes) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerTouchAllAtOnce.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerTouchAllAtOnce.lua deleted file mode 100644 index ae33105374..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerTouchAllAtOnce.lua +++ /dev/null @@ -1,31 +0,0 @@ - --------------------------------- --- @module EventListenerTouchAllAtOnce --- @extend EventListener --- @parent_module cc - --------------------------------- --- --- @function [parent=#EventListenerTouchAllAtOnce] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerTouchAllAtOnce] clone --- @param self --- @return EventListenerTouchAllAtOnce#EventListenerTouchAllAtOnce ret (return value: cc.EventListenerTouchAllAtOnce) - --------------------------------- --- --- @function [parent=#EventListenerTouchAllAtOnce] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#EventListenerTouchAllAtOnce] EventListenerTouchAllAtOnce --- @param self --- @return EventListenerTouchAllAtOnce#EventListenerTouchAllAtOnce self (return value: cc.EventListenerTouchAllAtOnce) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventListenerTouchOneByOne.lua b/cocos/scripting/lua-bindings/auto/api/EventListenerTouchOneByOne.lua deleted file mode 100644 index 5a5a5206a9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventListenerTouchOneByOne.lua +++ /dev/null @@ -1,46 +0,0 @@ - --------------------------------- --- @module EventListenerTouchOneByOne --- @extend EventListener --- @parent_module cc - --------------------------------- --- Is swall touches or not.
--- return True if needs to swall touches. --- @function [parent=#EventListenerTouchOneByOne] isSwallowTouches --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Whether or not to swall touches.
--- param needSwallow True if needs to swall touches. --- @function [parent=#EventListenerTouchOneByOne] setSwallowTouches --- @param self --- @param #bool needSwallow --- @return EventListenerTouchOneByOne#EventListenerTouchOneByOne self (return value: cc.EventListenerTouchOneByOne) - --------------------------------- --- --- @function [parent=#EventListenerTouchOneByOne] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- / Overrides --- @function [parent=#EventListenerTouchOneByOne] clone --- @param self --- @return EventListenerTouchOneByOne#EventListenerTouchOneByOne ret (return value: cc.EventListenerTouchOneByOne) - --------------------------------- --- --- @function [parent=#EventListenerTouchOneByOne] checkAvailable --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#EventListenerTouchOneByOne] EventListenerTouchOneByOne --- @param self --- @return EventListenerTouchOneByOne#EventListenerTouchOneByOne self (return value: cc.EventListenerTouchOneByOne) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventMouse.lua b/cocos/scripting/lua-bindings/auto/api/EventMouse.lua deleted file mode 100644 index 5e64c16bf4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventMouse.lua +++ /dev/null @@ -1,137 +0,0 @@ - --------------------------------- --- @module EventMouse --- @extend Event --- @parent_module cc - --------------------------------- --- Returns the previous touch location in screen coordinates.
--- return The previous touch location in screen coordinates.
--- js NA --- @function [parent=#EventMouse] getPreviousLocationInView --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the current touch location in OpenGL coordinates.
--- return The current touch location in OpenGL coordinates. --- @function [parent=#EventMouse] getLocation --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get mouse button.
--- return The mouse button.
--- js getButton --- @function [parent=#EventMouse] getMouseButton --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Returns the previous touch location in OpenGL coordinates.
--- return The previous touch location in OpenGL coordinates.
--- js NA --- @function [parent=#EventMouse] getPreviousLocation --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the delta of 2 current touches locations in screen coordinates.
--- return The delta of 2 current touches locations in screen coordinates. --- @function [parent=#EventMouse] getDelta --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set mouse scroll data.
--- param scrollX The scroll data of x axis.
--- param scrollY The scroll data of y axis. --- @function [parent=#EventMouse] setScrollData --- @param self --- @param #float scrollX --- @param #float scrollY --- @return EventMouse#EventMouse self (return value: cc.EventMouse) - --------------------------------- --- Returns the start touch location in screen coordinates.
--- return The start touch location in screen coordinates.
--- js NA --- @function [parent=#EventMouse] getStartLocationInView --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the start touch location in OpenGL coordinates.
--- return The start touch location in OpenGL coordinates.
--- js NA --- @function [parent=#EventMouse] getStartLocation --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set mouse button.
--- param button a given mouse button.
--- js setButton --- @function [parent=#EventMouse] setMouseButton --- @param self --- @param #int button --- @return EventMouse#EventMouse self (return value: cc.EventMouse) - --------------------------------- --- Returns the current touch location in screen coordinates.
--- return The current touch location in screen coordinates. --- @function [parent=#EventMouse] getLocationInView --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get mouse scroll data of y axis.
--- return The scroll data of y axis. --- @function [parent=#EventMouse] getScrollY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get mouse scroll data of x axis.
--- return The scroll data of x axis. --- @function [parent=#EventMouse] getScrollX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the cursor position of x axis.
--- return The x coordinate of cursor position.
--- js getLocationX --- @function [parent=#EventMouse] getCursorX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the cursor position of y axis.
--- return The y coordinate of cursor position.
--- js getLocationY --- @function [parent=#EventMouse] getCursorY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the cursor position.
--- param x The x coordinate of cursor position.
--- param y The y coordinate of cursor position.
--- js setLocation --- @function [parent=#EventMouse] setCursorPosition --- @param self --- @param #float x --- @param #float y --- @return EventMouse#EventMouse self (return value: cc.EventMouse) - --------------------------------- --- Constructor.
--- param mouseEventCode A given mouse event type.
--- js ctor --- @function [parent=#EventMouse] EventMouse --- @param self --- @param #int mouseEventCode --- @return EventMouse#EventMouse self (return value: cc.EventMouse) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/EventTouch.lua b/cocos/scripting/lua-bindings/auto/api/EventTouch.lua deleted file mode 100644 index 63db45098f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/EventTouch.lua +++ /dev/null @@ -1,29 +0,0 @@ - --------------------------------- --- @module EventTouch --- @extend Event --- @parent_module cc - --------------------------------- --- Get event code.
--- return The code of the event. --- @function [parent=#EventTouch] getEventCode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set the event code.
--- param eventCode A given EventCode. --- @function [parent=#EventTouch] setEventCode --- @param self --- @param #int eventCode --- @return EventTouch#EventTouch self (return value: cc.EventTouch) - --------------------------------- --- Constructor.
--- js NA --- @function [parent=#EventTouch] EventTouch --- @param self --- @return EventTouch#EventTouch self (return value: cc.EventTouch) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FadeIn.lua b/cocos/scripting/lua-bindings/auto/api/FadeIn.lua deleted file mode 100644 index 41d310ef17..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FadeIn.lua +++ /dev/null @@ -1,48 +0,0 @@ - --------------------------------- --- @module FadeIn --- @extend FadeTo --- @parent_module cc - --------------------------------- --- js NA --- @function [parent=#FadeIn] setReverseAction --- @param self --- @param #cc.FadeTo ac --- @return FadeIn#FadeIn self (return value: cc.FadeIn) - --------------------------------- --- Creates the action.
--- param d Duration time, in seconds.
--- return An autoreleased FadeIn object. --- @function [parent=#FadeIn] create --- @param self --- @param #float d --- @return FadeIn#FadeIn ret (return value: cc.FadeIn) - --------------------------------- --- --- @function [parent=#FadeIn] startWithTarget --- @param self --- @param #cc.Node target --- @return FadeIn#FadeIn self (return value: cc.FadeIn) - --------------------------------- --- --- @function [parent=#FadeIn] clone --- @param self --- @return FadeIn#FadeIn ret (return value: cc.FadeIn) - --------------------------------- --- --- @function [parent=#FadeIn] reverse --- @param self --- @return FadeTo#FadeTo ret (return value: cc.FadeTo) - --------------------------------- --- --- @function [parent=#FadeIn] FadeIn --- @param self --- @return FadeIn#FadeIn self (return value: cc.FadeIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FadeOut.lua b/cocos/scripting/lua-bindings/auto/api/FadeOut.lua deleted file mode 100644 index e25f43baf2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FadeOut.lua +++ /dev/null @@ -1,47 +0,0 @@ - --------------------------------- --- @module FadeOut --- @extend FadeTo --- @parent_module cc - --------------------------------- --- js NA --- @function [parent=#FadeOut] setReverseAction --- @param self --- @param #cc.FadeTo ac --- @return FadeOut#FadeOut self (return value: cc.FadeOut) - --------------------------------- --- Creates the action.
--- param d Duration time, in seconds. --- @function [parent=#FadeOut] create --- @param self --- @param #float d --- @return FadeOut#FadeOut ret (return value: cc.FadeOut) - --------------------------------- --- --- @function [parent=#FadeOut] startWithTarget --- @param self --- @param #cc.Node target --- @return FadeOut#FadeOut self (return value: cc.FadeOut) - --------------------------------- --- --- @function [parent=#FadeOut] clone --- @param self --- @return FadeOut#FadeOut ret (return value: cc.FadeOut) - --------------------------------- --- --- @function [parent=#FadeOut] reverse --- @param self --- @return FadeTo#FadeTo ret (return value: cc.FadeTo) - --------------------------------- --- --- @function [parent=#FadeOut] FadeOut --- @param self --- @return FadeOut#FadeOut self (return value: cc.FadeOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FadeOutBLTiles.lua b/cocos/scripting/lua-bindings/auto/api/FadeOutBLTiles.lua deleted file mode 100644 index 188296af88..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FadeOutBLTiles.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module FadeOutBLTiles --- @extend FadeOutTRTiles --- @parent_module cc - --------------------------------- --- brief Create the action with the grid size and the duration.
--- param duration Specify the duration of the FadeOutBLTiles action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- return If the creation success, return a pointer of FadeOutBLTiles action; otherwise, return nil. --- @function [parent=#FadeOutBLTiles] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @return FadeOutBLTiles#FadeOutBLTiles ret (return value: cc.FadeOutBLTiles) - --------------------------------- --- --- @function [parent=#FadeOutBLTiles] clone --- @param self --- @return FadeOutBLTiles#FadeOutBLTiles ret (return value: cc.FadeOutBLTiles) - --------------------------------- --- --- @function [parent=#FadeOutBLTiles] testFunc --- @param self --- @param #size_table pos --- @param #float time --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#FadeOutBLTiles] FadeOutBLTiles --- @param self --- @return FadeOutBLTiles#FadeOutBLTiles self (return value: cc.FadeOutBLTiles) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FadeOutDownTiles.lua b/cocos/scripting/lua-bindings/auto/api/FadeOutDownTiles.lua deleted file mode 100644 index 1542945397..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FadeOutDownTiles.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module FadeOutDownTiles --- @extend FadeOutUpTiles --- @parent_module cc - --------------------------------- --- brief Create the action with the grid size and the duration.
--- param duration Specify the duration of the FadeOutDownTiles action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- return If the creation success, return a pointer of FadeOutDownTiles action; otherwise, return nil. --- @function [parent=#FadeOutDownTiles] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @return FadeOutDownTiles#FadeOutDownTiles ret (return value: cc.FadeOutDownTiles) - --------------------------------- --- --- @function [parent=#FadeOutDownTiles] clone --- @param self --- @return FadeOutDownTiles#FadeOutDownTiles ret (return value: cc.FadeOutDownTiles) - --------------------------------- --- --- @function [parent=#FadeOutDownTiles] testFunc --- @param self --- @param #size_table pos --- @param #float time --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#FadeOutDownTiles] FadeOutDownTiles --- @param self --- @return FadeOutDownTiles#FadeOutDownTiles self (return value: cc.FadeOutDownTiles) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FadeOutTRTiles.lua b/cocos/scripting/lua-bindings/auto/api/FadeOutTRTiles.lua deleted file mode 100644 index 687e487ed1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FadeOutTRTiles.lua +++ /dev/null @@ -1,74 +0,0 @@ - --------------------------------- --- @module FadeOutTRTiles --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Show the tile at specified position.
--- param pos The position index of the tile should be shown. --- @function [parent=#FadeOutTRTiles] turnOnTile --- @param self --- @param #vec2_table pos --- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles) - --------------------------------- --- brief Hide the tile at specified position.
--- param pos The position index of the tile should be hide. --- @function [parent=#FadeOutTRTiles] turnOffTile --- @param self --- @param #vec2_table pos --- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles) - --------------------------------- --- brief Show part of the tile.
--- param pos The position index of the tile should be shown.
--- param distance The percentage that the tile should be shown. --- @function [parent=#FadeOutTRTiles] transformTile --- @param self --- @param #vec2_table pos --- @param #float distance --- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles) - --------------------------------- --- brief Calculate the percentage a tile should be shown.
--- param pos The position index of the tile.
--- param time The current percentage of the action.
--- return Return the percentage the tile should be shown. --- @function [parent=#FadeOutTRTiles] testFunc --- @param self --- @param #size_table pos --- @param #float time --- @return float#float ret (return value: float) - --------------------------------- --- brief Create the action with the grid size and the duration.
--- param duration Specify the duration of the FadeOutTRTiles action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- return If the creation success, return a pointer of FadeOutTRTiles action; otherwise, return nil. --- @function [parent=#FadeOutTRTiles] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @return FadeOutTRTiles#FadeOutTRTiles ret (return value: cc.FadeOutTRTiles) - --------------------------------- --- --- @function [parent=#FadeOutTRTiles] clone --- @param self --- @return FadeOutTRTiles#FadeOutTRTiles ret (return value: cc.FadeOutTRTiles) - --------------------------------- --- --- @function [parent=#FadeOutTRTiles] update --- @param self --- @param #float time --- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles) - --------------------------------- --- --- @function [parent=#FadeOutTRTiles] FadeOutTRTiles --- @param self --- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FadeOutUpTiles.lua b/cocos/scripting/lua-bindings/auto/api/FadeOutUpTiles.lua deleted file mode 100644 index ab0d1c58e9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FadeOutUpTiles.lua +++ /dev/null @@ -1,46 +0,0 @@ - --------------------------------- --- @module FadeOutUpTiles --- @extend FadeOutTRTiles --- @parent_module cc - --------------------------------- --- brief Create the action with the grid size and the duration.
--- param duration Specify the duration of the FadeOutUpTiles action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- return If the creation success, return a pointer of FadeOutUpTiles action; otherwise, return nil. --- @function [parent=#FadeOutUpTiles] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @return FadeOutUpTiles#FadeOutUpTiles ret (return value: cc.FadeOutUpTiles) - --------------------------------- --- --- @function [parent=#FadeOutUpTiles] clone --- @param self --- @return FadeOutUpTiles#FadeOutUpTiles ret (return value: cc.FadeOutUpTiles) - --------------------------------- --- --- @function [parent=#FadeOutUpTiles] transformTile --- @param self --- @param #vec2_table pos --- @param #float distance --- @return FadeOutUpTiles#FadeOutUpTiles self (return value: cc.FadeOutUpTiles) - --------------------------------- --- --- @function [parent=#FadeOutUpTiles] testFunc --- @param self --- @param #size_table pos --- @param #float time --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#FadeOutUpTiles] FadeOutUpTiles --- @param self --- @return FadeOutUpTiles#FadeOutUpTiles self (return value: cc.FadeOutUpTiles) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FadeTo.lua b/cocos/scripting/lua-bindings/auto/api/FadeTo.lua deleted file mode 100644 index 5e80bf9c5d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FadeTo.lua +++ /dev/null @@ -1,59 +0,0 @@ - --------------------------------- --- @module FadeTo --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- initializes the action with duration and opacity
--- param duration in seconds --- @function [parent=#FadeTo] initWithDuration --- @param self --- @param #float duration --- @param #unsigned char opacity --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates an action with duration and opacity.
--- param duration Duration time, in seconds.
--- param opacity A certain opacity, the range is from 0 to 255.
--- return An autoreleased FadeTo object. --- @function [parent=#FadeTo] create --- @param self --- @param #float duration --- @param #unsigned char opacity --- @return FadeTo#FadeTo ret (return value: cc.FadeTo) - --------------------------------- --- --- @function [parent=#FadeTo] startWithTarget --- @param self --- @param #cc.Node target --- @return FadeTo#FadeTo self (return value: cc.FadeTo) - --------------------------------- --- --- @function [parent=#FadeTo] clone --- @param self --- @return FadeTo#FadeTo ret (return value: cc.FadeTo) - --------------------------------- --- --- @function [parent=#FadeTo] reverse --- @param self --- @return FadeTo#FadeTo ret (return value: cc.FadeTo) - --------------------------------- --- param time In seconds. --- @function [parent=#FadeTo] update --- @param self --- @param #float time --- @return FadeTo#FadeTo self (return value: cc.FadeTo) - --------------------------------- --- --- @function [parent=#FadeTo] FadeTo --- @param self --- @return FadeTo#FadeTo self (return value: cc.FadeTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FileUtils.lua b/cocos/scripting/lua-bindings/auto/api/FileUtils.lua deleted file mode 100644 index 01ac0f28c9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FileUtils.lua +++ /dev/null @@ -1,469 +0,0 @@ - --------------------------------- --- @module FileUtils --- @parent_module cc - --------------------------------- --- Returns the fullpath for a given filename.
--- First it will try to get a new filename from the "filenameLookup" dictionary.
--- If a new filename can't be found on the dictionary, it will use the original filename.
--- Then it will try to obtain the full path of the filename using the FileUtils search rules: resolutions, and search paths.
--- The file search is based on the array element order of search paths and resolution directories.
--- For instance:
--- We set two elements("/mnt/sdcard/", "internal_dir/") to search paths vector by setSearchPaths,
--- and set three elements("resources-ipadhd/", "resources-ipad/", "resources-iphonehd")
--- to resolutions vector by setSearchResolutionsOrder. The "internal_dir" is relative to "Resources/".
--- If we have a file named 'sprite.png', the mapping in fileLookup dictionary contains `key: sprite.png -> value: sprite.pvr.gz`.
--- Firstly, it will replace 'sprite.png' with 'sprite.pvr.gz', then searching the file sprite.pvr.gz as follows:
--- /mnt/sdcard/resources-ipadhd/sprite.pvr.gz (if not found, search next)
--- /mnt/sdcard/resources-ipad/sprite.pvr.gz (if not found, search next)
--- /mnt/sdcard/resources-iphonehd/sprite.pvr.gz (if not found, search next)
--- /mnt/sdcard/sprite.pvr.gz (if not found, search next)
--- internal_dir/resources-ipadhd/sprite.pvr.gz (if not found, search next)
--- internal_dir/resources-ipad/sprite.pvr.gz (if not found, search next)
--- internal_dir/resources-iphonehd/sprite.pvr.gz (if not found, search next)
--- internal_dir/sprite.pvr.gz (if not found, return "sprite.png")
--- If the filename contains relative path like "gamescene/uilayer/sprite.png",
--- and the mapping in fileLookup dictionary contains `key: gamescene/uilayer/sprite.png -> value: gamescene/uilayer/sprite.pvr.gz`.
--- The file search order will be:
--- /mnt/sdcard/gamescene/uilayer/resources-ipadhd/sprite.pvr.gz (if not found, search next)
--- /mnt/sdcard/gamescene/uilayer/resources-ipad/sprite.pvr.gz (if not found, search next)
--- /mnt/sdcard/gamescene/uilayer/resources-iphonehd/sprite.pvr.gz (if not found, search next)
--- /mnt/sdcard/gamescene/uilayer/sprite.pvr.gz (if not found, search next)
--- internal_dir/gamescene/uilayer/resources-ipadhd/sprite.pvr.gz (if not found, search next)
--- internal_dir/gamescene/uilayer/resources-ipad/sprite.pvr.gz (if not found, search next)
--- internal_dir/gamescene/uilayer/resources-iphonehd/sprite.pvr.gz (if not found, search next)
--- internal_dir/gamescene/uilayer/sprite.pvr.gz (if not found, return "gamescene/uilayer/sprite.png")
--- If the new file can't be found on the file system, it will return the parameter filename directly.
--- This method was added to simplify multiplatform support. Whether you are using cocos2d-js or any cross-compilation toolchain like StellaSDK or Apportable,
--- you might need to load different resources for a given file in the different platforms.
--- since v2.1 --- @function [parent=#FileUtils] fullPathForFilename --- @param self --- @param #string filename --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#FileUtils] getStringFromFile --- @param self --- @param #string path --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Sets the filenameLookup dictionary.
--- param filenameLookupDict The dictionary for replacing filename.
--- since v2.1 --- @function [parent=#FileUtils] setFilenameLookupDictionary --- @param self --- @param #map_table filenameLookupDict --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#FileUtils] removeFile --- @param self --- @param #string filepath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- List all files recursively in a directory, async off the main cocos thread.
--- param dirPath The path of the directory, it could be a relative or an absolute path.
--- param callback The callback to be called once the list operation is complete.
--- Will be called on the main cocos thread.
--- js NA
--- lua NA --- @function [parent=#FileUtils] listFilesRecursivelyAsync --- @param self --- @param #string dirPath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Checks whether the path is an absolute path.
--- note On Android, if the parameter passed in is relative to "assets/", this method will treat it as an absolute path.
--- Also on Blackberry, path starts with "app/native/Resources/" is treated as an absolute path.
--- param path The path that needs to be checked.
--- return True if it's an absolute path, false if not. --- @function [parent=#FileUtils] isAbsolutePath --- @param self --- @param #string path --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, string, string, string, function --- @overload self, string, string, string --- @overload self, string, string --- @overload self, string, string, function --- @function [parent=#FileUtils] renameFile --- @param self --- @param #string path --- @param #string oldname --- @param #string name --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Get default resource root path. --- @function [parent=#FileUtils] getDefaultResourceRootPath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Loads the filenameLookup dictionary from the contents of a filename.
--- note The plist file name should follow the format below:
--- code
---
---
---
---
--- filenames
---
--- sounds/click.wav
--- sounds/click.caf
--- sounds/endgame.wav
--- sounds/endgame.caf
--- sounds/gem-0.wav
--- sounds/gem-0.caf
---

--- metadata
---
--- version
--- 1
---

---

---

--- endcode
--- param filename The plist file name.
--- since v2.1
--- js loadFilenameLookup
--- lua loadFilenameLookup --- @function [parent=#FileUtils] loadFilenameLookupDictionaryFromFile --- @param self --- @param #string filename --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Checks whether to pop up a message box when failed to load an image.
--- return True if pop up a message box when failed to load an image, false if not. --- @function [parent=#FileUtils] isPopupNotify --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#FileUtils] getValueVectorFromFile --- @param self --- @param #string filename --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Gets the array of search paths.
--- return The array of search paths which may contain the prefix of default resource root path.
--- note In best practise, getter function should return the value of setter function passes in.
--- But since we should not break the compatibility, we keep using the old logic.
--- Therefore, If you want to get the original search paths, please call 'getOriginalSearchPaths()' instead.
--- see fullPathForFilename(const char*).
--- lua NA --- @function [parent=#FileUtils] getSearchPaths --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- write a ValueMap into a plist file
--- param dict the ValueMap want to save
--- param fullPath The full path to the file you want to save a string
--- return bool --- @function [parent=#FileUtils] writeToFile --- @param self --- @param #map_table dict --- @param #string fullPath --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the original search path array set by 'setSearchPaths' or 'addSearchPath'.
--- return The array of the original search paths --- @function [parent=#FileUtils] getOriginalSearchPaths --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Gets the new filename from the filename lookup dictionary.
--- It is possible to have a override names.
--- param filename The original filename.
--- return The new filename after searching in the filename lookup dictionary.
--- If the original filename wasn't in the dictionary, it will return the original filename. --- @function [parent=#FileUtils] getNewFilename --- @param self --- @param #string filename --- @return string#string ret (return value: string) - --------------------------------- --- List all files in a directory.
--- param dirPath The path of the directory, it could be a relative or an absolute path.
--- return File paths in a string vector --- @function [parent=#FileUtils] listFiles --- @param self --- @param #string dirPath --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Converts the contents of a file to a ValueMap.
--- param filename The filename of the file to gets content.
--- return ValueMap of the file contents.
--- note This method is used internally. --- @function [parent=#FileUtils] getValueMapFromFile --- @param self --- @param #string filename --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#FileUtils] getFileSize --- @param self --- @param #string filepath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Converts the contents of a file to a ValueMap.
--- This method is used internally. --- @function [parent=#FileUtils] getValueMapFromData --- @param self --- @param #char filedata --- @param #int filesize --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#FileUtils] removeDirectory --- @param self --- @param #string dirPath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Sets the array of search paths.
--- You can use this array to modify the search path of the resources.
--- If you want to use "themes" or search resources in the "cache", you can do it easily by adding new entries in this array.
--- note This method could access relative path and absolute path.
--- If the relative path was passed to the vector, FileUtils will add the default resource directory before the relative path.
--- For instance:
--- On Android, the default resource root path is "assets/".
--- If "/mnt/sdcard/" and "resources-large" were set to the search paths vector,
--- "resources-large" will be converted to "assets/resources-large" since it was a relative path.
--- param searchPaths The array contains search paths.
--- see fullPathForFilename(const char*)
--- since v2.1
--- In js:var setSearchPaths(var jsval);
--- lua NA --- @function [parent=#FileUtils] setSearchPaths --- @param self --- @param #array_table searchPaths --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- @overload self, string, string, function --- @overload self, string, string --- @function [parent=#FileUtils] writeStringToFile --- @param self --- @param #string dataStr --- @param #string fullPath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Sets the array that contains the search order of the resources.
--- param searchResolutionsOrder The source array that contains the search order of the resources.
--- see getSearchResolutionsOrder(), fullPathForFilename(const char*).
--- since v2.1
--- In js:var setSearchResolutionsOrder(var jsval)
--- lua NA --- @function [parent=#FileUtils] setSearchResolutionsOrder --- @param self --- @param #array_table searchResolutionsOrder --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Append search order of the resources.
--- see setSearchResolutionsOrder(), fullPathForFilename().
--- since v2.1 --- @function [parent=#FileUtils] addSearchResolutionsOrder --- @param self --- @param #string order --- @param #bool front --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Add search path.
--- since v2.1 --- @function [parent=#FileUtils] addSearchPath --- @param self --- @param #string path --- @param #bool front --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- @overload self, array_table, string, function --- @overload self, array_table, string --- @function [parent=#FileUtils] writeValueVectorToFile --- @param self --- @param #array_table vecData --- @param #string fullPath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#FileUtils] isFileExist --- @param self --- @param #string filename --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Purges full path caches. --- @function [parent=#FileUtils] purgeCachedEntries --- @param self --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Gets full path from a file name and the path of the relative file.
--- param filename The file name.
--- param relativeFile The path of the relative file.
--- return The full path.
--- e.g. filename: hello.png, pszRelativeFile: /User/path1/path2/hello.plist
--- Return: /User/path1/path2/hello.pvr (If there a a key(hello.png)-value(hello.pvr) in FilenameLookup dictionary. ) --- @function [parent=#FileUtils] fullPathFromRelativeFile --- @param self --- @param #string filename --- @param #string relativeFile --- @return string#string ret (return value: string) - --------------------------------- --- Windows fopen can't support UTF-8 filename
--- Need convert all parameters fopen and other 3rd-party libs
--- param filenameUtf8 std::string name file for conversion from utf-8
--- return std::string ansi filename in current locale --- @function [parent=#FileUtils] getSuitableFOpen --- @param self --- @param #string filenameUtf8 --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, map_table, string, function --- @overload self, map_table, string --- @function [parent=#FileUtils] writeValueMapToFile --- @param self --- @param #map_table dict --- @param #string fullPath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Gets filename extension is a suffix (separated from the base filename by a dot) in lower case.
--- Examples of filename extensions are .png, .jpeg, .exe, .dmg and .txt.
--- param filePath The path of the file, it could be a relative or absolute path.
--- return suffix for filename in lower case or empty if a dot not found. --- @function [parent=#FileUtils] getFileExtension --- @param self --- @param #string filePath --- @return string#string ret (return value: string) - --------------------------------- --- Sets writable path. --- @function [parent=#FileUtils] setWritablePath --- @param self --- @param #string writablePath --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Sets whether to pop-up a message box when failed to load an image. --- @function [parent=#FileUtils] setPopupNotify --- @param self --- @param #bool notify --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#FileUtils] isDirectoryExist --- @param self --- @param #string fullPath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Set default resource root path. --- @function [parent=#FileUtils] setDefaultResourceRootPath --- @param self --- @param #string path --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Gets the array that contains the search order of the resources.
--- see setSearchResolutionsOrder(const std::vector&), fullPathForFilename(const char*).
--- since v2.1
--- lua NA --- @function [parent=#FileUtils] getSearchResolutionsOrder --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- @overload self, string, function --- @overload self, string --- @function [parent=#FileUtils] createDirectory --- @param self --- @param #string dirPath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- List all files in a directory async, off of the main cocos thread.
--- param dirPath The path of the directory, it could be a relative or an absolute path.
--- param callback The callback to be called once the list operation is complete. Will be called on the main cocos thread.
--- js NA
--- lua NA --- @function [parent=#FileUtils] listFilesAsync --- @param self --- @param #string dirPath --- @param #function callback --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Gets the writable path.
--- return The path that can be write/read a file in --- @function [parent=#FileUtils] getWritablePath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- List all files recursively in a directory.
--- param dirPath The path of the directory, it could be a relative or an absolute path.
--- return File paths in a string vector --- @function [parent=#FileUtils] listFilesRecursively --- @param self --- @param #string dirPath --- @param #array_table files --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Destroys the instance of FileUtils. --- @function [parent=#FileUtils] destroyInstance --- @param self --- @return FileUtils#FileUtils self (return value: cc.FileUtils) - --------------------------------- --- Gets the instance of FileUtils. --- @function [parent=#FileUtils] getInstance --- @param self --- @return FileUtils#FileUtils ret (return value: cc.FileUtils) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FiniteTimeAction.lua b/cocos/scripting/lua-bindings/auto/api/FiniteTimeAction.lua deleted file mode 100644 index 826721fa86..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FiniteTimeAction.lua +++ /dev/null @@ -1,34 +0,0 @@ - --------------------------------- --- @module FiniteTimeAction --- @extend Action --- @parent_module cc - --------------------------------- --- Set duration in seconds of the action.
--- param duration In seconds of the action. --- @function [parent=#FiniteTimeAction] setDuration --- @param self --- @param #float duration --- @return FiniteTimeAction#FiniteTimeAction self (return value: cc.FiniteTimeAction) - --------------------------------- --- Get duration in seconds of the action.
--- return The duration in seconds of the action. --- @function [parent=#FiniteTimeAction] getDuration --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#FiniteTimeAction] clone --- @param self --- @return FiniteTimeAction#FiniteTimeAction ret (return value: cc.FiniteTimeAction) - --------------------------------- --- --- @function [parent=#FiniteTimeAction] reverse --- @param self --- @return FiniteTimeAction#FiniteTimeAction ret (return value: cc.FiniteTimeAction) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FlipX.lua b/cocos/scripting/lua-bindings/auto/api/FlipX.lua deleted file mode 100644 index 3a7a1df020..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FlipX.lua +++ /dev/null @@ -1,48 +0,0 @@ - --------------------------------- --- @module FlipX --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- init the action --- @function [parent=#FlipX] initWithFlipX --- @param self --- @param #bool x --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create the action.
--- param x Flips the sprite horizontally if true.
--- return An autoreleased FlipX object. --- @function [parent=#FlipX] create --- @param self --- @param #bool x --- @return FlipX#FlipX ret (return value: cc.FlipX) - --------------------------------- --- --- @function [parent=#FlipX] clone --- @param self --- @return FlipX#FlipX ret (return value: cc.FlipX) - --------------------------------- --- param time In seconds. --- @function [parent=#FlipX] update --- @param self --- @param #float time --- @return FlipX#FlipX self (return value: cc.FlipX) - --------------------------------- --- --- @function [parent=#FlipX] reverse --- @param self --- @return FlipX#FlipX ret (return value: cc.FlipX) - --------------------------------- --- --- @function [parent=#FlipX] FlipX --- @param self --- @return FlipX#FlipX self (return value: cc.FlipX) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FlipX3D.lua b/cocos/scripting/lua-bindings/auto/api/FlipX3D.lua deleted file mode 100644 index 8e36686662..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FlipX3D.lua +++ /dev/null @@ -1,55 +0,0 @@ - --------------------------------- --- @module FlipX3D --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Initializes an action with duration and grid size.
--- param gridSize Specify the grid size of the FlipX3D action.
--- param duration Specify the duration of the FlipX3D action. It's a value in seconds.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#FlipX3D] initWithSize --- @param self --- @param #size_table gridSize --- @param #float duration --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Initializes an action with duration.
--- param duration Specify the duration of the FlipX3D action. It's a value in seconds.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#FlipX3D] initWithDuration --- @param self --- @param #float duration --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create the action with duration.
--- param duration Specify the duration of the FilpX3D action. It's a value in seconds.
--- return If the creation success, return a pointer of FilpX3D action; otherwise, return nil. --- @function [parent=#FlipX3D] create --- @param self --- @param #float duration --- @return FlipX3D#FlipX3D ret (return value: cc.FlipX3D) - --------------------------------- --- --- @function [parent=#FlipX3D] clone --- @param self --- @return FlipX3D#FlipX3D ret (return value: cc.FlipX3D) - --------------------------------- --- --- @function [parent=#FlipX3D] update --- @param self --- @param #float time --- @return FlipX3D#FlipX3D self (return value: cc.FlipX3D) - --------------------------------- --- --- @function [parent=#FlipX3D] FlipX3D --- @param self --- @return FlipX3D#FlipX3D self (return value: cc.FlipX3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FlipY.lua b/cocos/scripting/lua-bindings/auto/api/FlipY.lua deleted file mode 100644 index fc7452ec9c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FlipY.lua +++ /dev/null @@ -1,48 +0,0 @@ - --------------------------------- --- @module FlipY --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- init the action --- @function [parent=#FlipY] initWithFlipY --- @param self --- @param #bool y --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create the action.
--- param y Flips the sprite vertically if true.
--- return An autoreleased FlipY object. --- @function [parent=#FlipY] create --- @param self --- @param #bool y --- @return FlipY#FlipY ret (return value: cc.FlipY) - --------------------------------- --- --- @function [parent=#FlipY] clone --- @param self --- @return FlipY#FlipY ret (return value: cc.FlipY) - --------------------------------- --- param time In seconds. --- @function [parent=#FlipY] update --- @param self --- @param #float time --- @return FlipY#FlipY self (return value: cc.FlipY) - --------------------------------- --- --- @function [parent=#FlipY] reverse --- @param self --- @return FlipY#FlipY ret (return value: cc.FlipY) - --------------------------------- --- --- @function [parent=#FlipY] FlipY --- @param self --- @return FlipY#FlipY self (return value: cc.FlipY) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FlipY3D.lua b/cocos/scripting/lua-bindings/auto/api/FlipY3D.lua deleted file mode 100644 index 27f08497ab..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FlipY3D.lua +++ /dev/null @@ -1,35 +0,0 @@ - --------------------------------- --- @module FlipY3D --- @extend FlipX3D --- @parent_module cc - --------------------------------- --- brief Create the action with duration.
--- param duration Specify the duration of the FlipY3D action. It's a value in seconds.
--- return If the creation success, return a pointer of FlipY3D action; otherwise, return nil. --- @function [parent=#FlipY3D] create --- @param self --- @param #float duration --- @return FlipY3D#FlipY3D ret (return value: cc.FlipY3D) - --------------------------------- --- --- @function [parent=#FlipY3D] clone --- @param self --- @return FlipY3D#FlipY3D ret (return value: cc.FlipY3D) - --------------------------------- --- --- @function [parent=#FlipY3D] update --- @param self --- @param #float time --- @return FlipY3D#FlipY3D self (return value: cc.FlipY3D) - --------------------------------- --- --- @function [parent=#FlipY3D] FlipY3D --- @param self --- @return FlipY3D#FlipY3D self (return value: cc.FlipY3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Follow.lua b/cocos/scripting/lua-bindings/auto/api/Follow.lua deleted file mode 100644 index 5aba6c2f35..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Follow.lua +++ /dev/null @@ -1,122 +0,0 @@ - --------------------------------- --- @module Follow --- @extend Action --- @parent_module cc - --------------------------------- --- Alter behavior - turn on/off boundary.
--- param value Turn on/off boundary. --- @function [parent=#Follow] setBoundarySet --- @param self --- @param #bool value --- @return Follow#Follow self (return value: cc.Follow) - --------------------------------- --- Initializes the action with a set boundary or with no boundary.
--- param followedNode The node to be followed.
--- param rect The boundary. If \p rect is equal to Rect::ZERO, it'll work
--- with no boundary. --- @function [parent=#Follow] initWithTarget --- @param self --- @param #cc.Node followedNode --- @param #rect_table rect --- @return bool#bool ret (return value: bool) - --------------------------------- --- Initializes the action with a set boundary or with no boundary with offsets.
--- param followedNode The node to be followed.
--- param rect The boundary. If \p rect is equal to Rect::ZERO, it'll work
--- with no boundary.
--- param xOffset The horizontal offset from the center of the screen from which the
--- node is to be followed.It can be positive,negative or zero.If
--- set to zero the node will be horizontally centered followed.
--- param yOffset The vertical offset from the center of the screen from which the
--- node is to be followed.It can be positive,negative or zero.
--- If set to zero the node will be vertically centered followed.
--- If both xOffset and yOffset are set to zero,then the node will be horizontally and vertically centered followed. --- @function [parent=#Follow] initWithTargetAndOffset --- @param self --- @param #cc.Node followedNode --- @param #float xOffset --- @param #float yOffset --- @param #rect_table rect --- @return bool#bool ret (return value: bool) - --------------------------------- --- Return boundarySet.
--- return Return boundarySet. --- @function [parent=#Follow] isBoundarySet --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates the action with a set boundary or with no boundary.
--- param followedNode The node to be followed.
--- param rect The boundary. If \p rect is equal to Rect::ZERO, it'll work
--- with no boundary. --- @function [parent=#Follow] create --- @param self --- @param #cc.Node followedNode --- @param #rect_table rect --- @return Follow#Follow ret (return value: cc.Follow) - --------------------------------- --- Creates the action with a set boundary or with no boundary with offsets.
--- param followedNode The node to be followed.
--- param rect The boundary. If \p rect is equal to Rect::ZERO, it'll work
--- with no boundary.
--- param xOffset The horizontal offset from the center of the screen from which the
--- node is to be followed.It can be positive,negative or zero.If
--- set to zero the node will be horizontally centered followed.
--- param yOffset The vertical offset from the center of the screen from which the
--- node is to be followed.It can be positive,negative or zero.
--- If set to zero the node will be vertically centered followed.
--- If both xOffset and yOffset are set to zero,then the node will be horizontally and vertically centered followed. --- @function [parent=#Follow] createWithOffset --- @param self --- @param #cc.Node followedNode --- @param #float xOffset --- @param #float yOffset --- @param #rect_table rect --- @return Follow#Follow ret (return value: cc.Follow) - --------------------------------- --- param dt in seconds.
--- js NA --- @function [parent=#Follow] step --- @param self --- @param #float dt --- @return Follow#Follow self (return value: cc.Follow) - --------------------------------- --- --- @function [parent=#Follow] clone --- @param self --- @return Follow#Follow ret (return value: cc.Follow) - --------------------------------- --- --- @function [parent=#Follow] stop --- @param self --- @return Follow#Follow self (return value: cc.Follow) - --------------------------------- --- --- @function [parent=#Follow] reverse --- @param self --- @return Follow#Follow ret (return value: cc.Follow) - --------------------------------- --- --- @function [parent=#Follow] isDone --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor --- @function [parent=#Follow] Follow --- @param self --- @return Follow#Follow self (return value: cc.Follow) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Frame.lua b/cocos/scripting/lua-bindings/auto/api/Frame.lua deleted file mode 100644 index 9be7ffcdee..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Frame.lua +++ /dev/null @@ -1,104 +0,0 @@ - --------------------------------- --- @module Frame --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#Frame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#Frame] setTweenType --- @param self --- @param #int tweenType --- @return Frame#Frame self (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#Frame] setNode --- @param self --- @param #cc.Node node --- @return Frame#Frame self (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#Frame] setTimeline --- @param self --- @param #ccs.Timeline timeline --- @return Frame#Frame self (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#Frame] isEnterWhenPassed --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Frame] getTweenType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Frame] getEasingParams --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#Frame] setEasingParams --- @param self --- @param #array_table easingParams --- @return Frame#Frame self (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#Frame] getFrameIndex --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- --- @function [parent=#Frame] apply --- @param self --- @param #float percent --- @return Frame#Frame self (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#Frame] isTween --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Frame] setFrameIndex --- @param self --- @param #unsigned int frameIndex --- @return Frame#Frame self (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#Frame] setTween --- @param self --- @param #bool tween --- @return Frame#Frame self (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#Frame] getTimeline --- @param self --- @return Timeline#Timeline ret (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Frame] getNode --- @param self --- @return Node#Node ret (return value: cc.Node) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/FrameData.lua b/cocos/scripting/lua-bindings/auto/api/FrameData.lua deleted file mode 100644 index 47ecbb3c45..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/FrameData.lua +++ /dev/null @@ -1,26 +0,0 @@ - --------------------------------- --- @module FrameData --- @extend BaseData --- @parent_module ccs - --------------------------------- --- --- @function [parent=#FrameData] copy --- @param self --- @param #ccs.BaseData baseData --- @return FrameData#FrameData self (return value: ccs.FrameData) - --------------------------------- --- --- @function [parent=#FrameData] create --- @param self --- @return FrameData#FrameData ret (return value: ccs.FrameData) - --------------------------------- --- js ctor --- @function [parent=#FrameData] FrameData --- @param self --- @return FrameData#FrameData self (return value: ccs.FrameData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/GLProgram.lua b/cocos/scripting/lua-bindings/auto/api/GLProgram.lua deleted file mode 100644 index 8a5e54f095..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/GLProgram.lua +++ /dev/null @@ -1,136 +0,0 @@ - --------------------------------- --- @module GLProgram --- @extend Ref --- @parent_module cc - --------------------------------- --- returns the fragmentShader error log --- @function [parent=#GLProgram] getFragmentShaderLog --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, char, char, string --- @overload self, char, char --- @overload self, char, char, string, string --- @function [parent=#GLProgram] initWithByteArrays --- @param self --- @param #char vShaderByteArray --- @param #char fShaderByteArray --- @param #string compileTimeHeaders --- @param #string compileTimeDefines --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, string, string, string --- @overload self, string, string --- @overload self, string, string, string, string --- @function [parent=#GLProgram] initWithFilenames --- @param self --- @param #string vShaderFilename --- @param #string fShaderFilename --- @param #string compileTimeHeaders --- @param #string compileTimeDefines --- @return bool#bool ret (return value: bool) - --------------------------------- --- it will call glUseProgram() --- @function [parent=#GLProgram] use --- @param self --- @return GLProgram#GLProgram self (return value: cc.GLProgram) - --------------------------------- --- returns the vertexShader error log --- @function [parent=#GLProgram] getVertexShaderLog --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @overload self --- @overload self, mat4_table --- @function [parent=#GLProgram] setUniformsForBuiltins --- @param self --- @param #mat4_table modelView --- @return GLProgram#GLProgram self (return value: cc.GLProgram) - --------------------------------- --- It will create 4 uniforms:
--- - kUniformPMatrix
--- - kUniformMVMatrix
--- - kUniformMVPMatrix
--- - GLProgram::UNIFORM_SAMPLER
--- And it will bind "GLProgram::UNIFORM_SAMPLER" to 0 --- @function [parent=#GLProgram] updateUniforms --- @param self --- @return GLProgram#GLProgram self (return value: cc.GLProgram) - --------------------------------- --- calls glUniform1i only if the values are different than the previous call for this same shader program.
--- js setUniformLocationI32
--- lua setUniformLocationI32 --- @function [parent=#GLProgram] setUniformLocationWith1i --- @param self --- @param #int location --- @param #int i1 --- @return GLProgram#GLProgram self (return value: cc.GLProgram) - --------------------------------- --- Reload all shaders, this function is designed for android
--- when opengl context lost, so don't call it. --- @function [parent=#GLProgram] reset --- @param self --- @return GLProgram#GLProgram self (return value: cc.GLProgram) - --------------------------------- --- It will add a new attribute to the shader by calling glBindAttribLocation. --- @function [parent=#GLProgram] bindAttribLocation --- @param self --- @param #string attributeName --- @param #unsigned int index --- @return GLProgram#GLProgram self (return value: cc.GLProgram) - --------------------------------- --- Calls glGetAttribLocation. --- @function [parent=#GLProgram] getAttribLocation --- @param self --- @param #string attributeName --- @return int#int ret (return value: int) - --------------------------------- --- links the glProgram --- @function [parent=#GLProgram] link --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, char, char, string --- @overload self, char, char --- @overload self, char, char, string, string --- @function [parent=#GLProgram] createWithByteArrays --- @param self --- @param #char vShaderByteArray --- @param #char fShaderByteArray --- @param #string compileTimeHeaders --- @param #string compileTimeDefines --- @return GLProgram#GLProgram ret (return value: cc.GLProgram) - --------------------------------- --- @overload self, string, string, string --- @overload self, string, string --- @overload self, string, string, string, string --- @function [parent=#GLProgram] createWithFilenames --- @param self --- @param #string vShaderFilename --- @param #string fShaderFilename --- @param #string compileTimeHeaders --- @param #string compileTimeDefines --- @return GLProgram#GLProgram ret (return value: cc.GLProgram) - --------------------------------- --- Constructor. --- @function [parent=#GLProgram] GLProgram --- @param self --- @return GLProgram#GLProgram self (return value: cc.GLProgram) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/GLProgramCache.lua b/cocos/scripting/lua-bindings/auto/api/GLProgramCache.lua deleted file mode 100644 index 5a79b25d29..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/GLProgramCache.lua +++ /dev/null @@ -1,59 +0,0 @@ - --------------------------------- --- @module GLProgramCache --- @extend Ref --- @parent_module cc - --------------------------------- --- reload default programs these are relative to light --- @function [parent=#GLProgramCache] reloadDefaultGLProgramsRelativeToLights --- @param self --- @return GLProgramCache#GLProgramCache self (return value: cc.GLProgramCache) - --------------------------------- --- adds a GLProgram to the cache for a given name --- @function [parent=#GLProgramCache] addGLProgram --- @param self --- @param #cc.GLProgram program --- @param #string key --- @return GLProgramCache#GLProgramCache self (return value: cc.GLProgramCache) - --------------------------------- --- reload the default shaders --- @function [parent=#GLProgramCache] reloadDefaultGLPrograms --- @param self --- @return GLProgramCache#GLProgramCache self (return value: cc.GLProgramCache) - --------------------------------- --- loads the default shaders --- @function [parent=#GLProgramCache] loadDefaultGLPrograms --- @param self --- @return GLProgramCache#GLProgramCache self (return value: cc.GLProgramCache) - --------------------------------- --- returns a GL program for a given key --- @function [parent=#GLProgramCache] getGLProgram --- @param self --- @param #string key --- @return GLProgram#GLProgram ret (return value: cc.GLProgram) - --------------------------------- --- purges the cache. It releases the retained instance. --- @function [parent=#GLProgramCache] destroyInstance --- @param self --- @return GLProgramCache#GLProgramCache self (return value: cc.GLProgramCache) - --------------------------------- --- returns the shared instance --- @function [parent=#GLProgramCache] getInstance --- @param self --- @return GLProgramCache#GLProgramCache ret (return value: cc.GLProgramCache) - --------------------------------- --- Constructor.
--- js ctor --- @function [parent=#GLProgramCache] GLProgramCache --- @param self --- @return GLProgramCache#GLProgramCache self (return value: cc.GLProgramCache) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/GLProgramState.lua b/cocos/scripting/lua-bindings/auto/api/GLProgramState.lua deleted file mode 100644 index e7a7e5ede0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/GLProgramState.lua +++ /dev/null @@ -1,249 +0,0 @@ - --------------------------------- --- @module GLProgramState --- @extend Ref --- @parent_module cc - --------------------------------- --- Get the flag of vertex attribs used by OR operation. --- @function [parent=#GLProgramState] getVertexAttribsFlags --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- @overload self, int, vec4_table --- @overload self, string, vec4_table --- @function [parent=#GLProgramState] setUniformVec4 --- @param self --- @param #string uniformName --- @param #vec4_table value --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Applies the specified custom auto-binding.
--- param uniformName Name of the shader uniform.
--- param autoBinding Name of the auto binding. --- @function [parent=#GLProgramState] applyAutoBinding --- @param self --- @param #string uniformName --- @param #string autoBinding --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- @overload self, int, vec2_table --- @overload self, string, vec2_table --- @function [parent=#GLProgramState] setUniformVec2 --- @param self --- @param #string uniformName --- @param #vec2_table value --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- @overload self, int, vec3_table --- @overload self, string, vec3_table --- @function [parent=#GLProgramState] setUniformVec3 --- @param self --- @param #string uniformName --- @param #vec3_table value --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Apply GLProgram, attributes and uniforms.
--- param modelView The applied modelView matrix to shader. --- @function [parent=#GLProgramState] apply --- @param self --- @param #mat4_table modelView --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Returns the Node bound to the GLProgramState --- @function [parent=#GLProgramState] getNodeBinding --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- @overload self, int, int, vec4_table --- @overload self, string, int, vec4_table --- @function [parent=#GLProgramState] setUniformVec4v --- @param self --- @param #string uniformName --- @param #int size --- @param #vec4_table pointer --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Apply GLProgram, and built in uniforms.
--- param modelView The applied modelView matrix to shader. --- @function [parent=#GLProgramState] applyGLProgram --- @param self --- @param #mat4_table modelView --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Sets the node that this render state is bound to.
--- The specified node is used to apply auto-bindings for the render state.
--- This is typically set to the node of the model that a material is
--- applied to.
--- param node The node to use for applying auto-bindings. --- @function [parent=#GLProgramState] setNodeBinding --- @param self --- @param #cc.Node node --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- @overload self, int, int --- @overload self, string, int --- @function [parent=#GLProgramState] setUniformInt --- @param self --- @param #string uniformName --- @param #int value --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Sets a uniform auto-binding.
--- This method parses the passed in autoBinding string and attempts to convert it
--- to an enumeration value. If it matches to one of the predefined strings, it will create a
--- callback to get the correct value at runtime.
--- param uniformName The name of the material parameter to store an auto-binding for.
--- param autoBinding A string matching one of the built-in AutoBinding enum constants. --- @function [parent=#GLProgramState] setParameterAutoBinding --- @param self --- @param #string uniformName --- @param #string autoBinding --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- @overload self, int, int, vec2_table --- @overload self, string, int, vec2_table --- @function [parent=#GLProgramState] setUniformVec2v --- @param self --- @param #string uniformName --- @param #int size --- @param #vec2_table pointer --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Get the number of user defined uniform count. --- @function [parent=#GLProgramState] getUniformCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Apply attributes.
--- param applyAttribFlags Call GL::enableVertexAttribs(_vertexAttribsFlags) or not. --- @function [parent=#GLProgramState] applyAttributes --- @param self --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Returns a new copy of the GLProgramState. The GLProgram is reused --- @function [parent=#GLProgramState] clone --- @param self --- @return GLProgramState#GLProgramState ret (return value: cc.GLProgramState) - --------------------------------- --- @{
--- Setter and Getter of the owner GLProgram binded in this program state. --- @function [parent=#GLProgramState] setGLProgram --- @param self --- @param #cc.GLProgram glprogram --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- @overload self, int, int, float --- @overload self, string, int, float --- @function [parent=#GLProgramState] setUniformFloatv --- @param self --- @param #string uniformName --- @param #int size --- @param #float pointer --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- --- @function [parent=#GLProgramState] getGLProgram --- @param self --- @return GLProgram#GLProgram ret (return value: cc.GLProgram) - --------------------------------- --- @overload self, int, cc.Texture2D --- @overload self, string, cc.Texture2D --- @function [parent=#GLProgramState] setUniformTexture --- @param self --- @param #string uniformName --- @param #cc.Texture2D texture --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Apply user defined uniforms. --- @function [parent=#GLProgramState] applyUniforms --- @param self --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- @overload self, int, float --- @overload self, string, float --- @function [parent=#GLProgramState] setUniformFloat --- @param self --- @param #string uniformName --- @param #float value --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- @overload self, int, mat4_table --- @overload self, string, mat4_table --- @function [parent=#GLProgramState] setUniformMat4 --- @param self --- @param #string uniformName --- @param #mat4_table value --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- @overload self, int, int, vec3_table --- @overload self, string, int, vec3_table --- @function [parent=#GLProgramState] setUniformVec3v --- @param self --- @param #string uniformName --- @param #int size --- @param #vec3_table pointer --- @return GLProgramState#GLProgramState self (return value: cc.GLProgramState) - --------------------------------- --- Get the number of vertex attributes. --- @function [parent=#GLProgramState] getVertexAttribCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- returns a new instance of GLProgramState for a given GLProgram --- @function [parent=#GLProgramState] create --- @param self --- @param #cc.GLProgram glprogram --- @return GLProgramState#GLProgramState ret (return value: cc.GLProgramState) - --------------------------------- --- @overload self, string, cc.Texture2D --- @overload self, string --- @function [parent=#GLProgramState] getOrCreateWithGLProgramName --- @param self --- @param #string glProgramName --- @param #cc.Texture2D texture --- @return GLProgramState#GLProgramState ret (return value: cc.GLProgramState) - --------------------------------- --- gets-or-creates an instance of GLProgramState for a given GLProgram --- @function [parent=#GLProgramState] getOrCreateWithGLProgram --- @param self --- @param #cc.GLProgram glprogram --- @return GLProgramState#GLProgramState ret (return value: cc.GLProgramState) - --------------------------------- --- gets-or-creates an instance of GLProgramState for given shaders --- @function [parent=#GLProgramState] getOrCreateWithShaders --- @param self --- @param #string vertexShader --- @param #string fragShader --- @param #string compileTimeDefines --- @return GLProgramState#GLProgramState ret (return value: cc.GLProgramState) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/GLView.lua b/cocos/scripting/lua-bindings/auto/api/GLView.lua deleted file mode 100644 index a3a087536c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/GLView.lua +++ /dev/null @@ -1,307 +0,0 @@ - --------------------------------- --- @module GLView --- @extend Ref --- @parent_module cc - --------------------------------- --- Set the frame size of EGL view.
--- param width The width of the fram size.
--- param height The height of the fram size. --- @function [parent=#GLView] setFrameSize --- @param self --- @param #float width --- @param #float height --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Get the opengl view port rectangle.
--- return Return the opengl view port rectangle. --- @function [parent=#GLView] getViewPortRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Get scale factor of the vertical direction.
--- return Scale factor of the vertical direction. --- @function [parent=#GLView] getScaleY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Only works on ios platform. Set Content Scale of the Factor. --- @function [parent=#GLView] setContentScaleFactor --- @param self --- @param #float --- @return bool#bool ret (return value: bool) - --------------------------------- --- Only works on ios platform. Get Content Scale of the Factor. --- @function [parent=#GLView] getContentScaleFactor --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Open or close IME keyboard , subclass must implement this method.
--- param open Open or close IME keyboard. --- @function [parent=#GLView] setIMEKeyboardState --- @param self --- @param #bool open --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Gets safe area rectangle --- @function [parent=#GLView] getSafeAreaRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#GLView] getVR --- @param self --- @return VRIRenderer#VRIRenderer ret (return value: cc.VRIRenderer) - --------------------------------- --- Set Scissor rectangle with points.
--- param x Set the points of x.
--- param y Set the points of y.
--- param w Set the width of the view port
--- param h Set the Height of the view port. --- @function [parent=#GLView] setScissorInPoints --- @param self --- @param #float x --- @param #float y --- @param #float w --- @param #float h --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Get the view name.
--- return The view name. --- @function [parent=#GLView] getViewName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Get whether opengl render system is ready, subclass must implement this method. --- @function [parent=#GLView] isOpenGLReady --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Hide or Show the mouse cursor if there is one.
--- param isVisible Hide or Show the mouse cursor if there is one. --- @function [parent=#GLView] setCursorVisible --- @param self --- @param #bool --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Get the frame size of EGL view.
--- In general, it returns the screen size since the EGL view is a fullscreen view.
--- return The frame size of EGL view. --- @function [parent=#GLView] getFrameSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Set default window icon (implemented for windows and linux).
--- On windows it will use icon from .exe file (if included).
--- On linux it will use default window icon. --- @function [parent=#GLView] setDefaultIcon --- @param self --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Get scale factor of the horizontal direction.
--- return Scale factor of the horizontal direction. --- @function [parent=#GLView] getScaleX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the visible origin point of opengl viewport.
--- return The visible origin point of opengl viewport. --- @function [parent=#GLView] getVisibleOrigin --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set zoom factor for frame. This methods are for
--- debugging big resolution (e.g.new ipad) app on desktop.
--- param zoomFactor The zoom factor for frame. --- @function [parent=#GLView] setFrameZoomFactor --- @param self --- @param #float --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Get zoom factor for frame. This methods are for
--- debugging big resolution (e.g.new ipad) app on desktop.
--- return The zoom factor for frame. --- @function [parent=#GLView] getFrameZoomFactor --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get design resolution size.
--- Default resolution size is the same as 'getFrameSize'.
--- return The design resolution size. --- @function [parent=#GLView] getDesignResolutionSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- @overload self, array_table --- @overload self, string --- @function [parent=#GLView] setIcon --- @param self --- @param #string filename --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- When the window is closed, it will return false if the platforms is Ios or Android.
--- If the platforms is windows or Mac,it will return true.
--- return In ios and android it will return false,if in windows or Mac it will return true. --- @function [parent=#GLView] windowShouldClose --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Exchanges the front and back buffers, subclass must implement this method. --- @function [parent=#GLView] swapBuffers --- @param self --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Set the design resolution size.
--- param width Design resolution width.
--- param height Design resolution height.
--- param resolutionPolicy The resolution policy desired, you may choose:
--- [1] EXACT_FIT Fill screen by stretch-to-fit: if the design resolution ratio of width to height is different from the screen resolution ratio, your game view will be stretched.
--- [2] NO_BORDER Full screen without black border: if the design resolution ratio of width to height is different from the screen resolution ratio, two areas of your game view will be cut.
--- [3] SHOW_ALL Full screen with black border: if the design resolution ratio of width to height is different from the screen resolution ratio, two black borders will be shown. --- @function [parent=#GLView] setDesignResolutionSize --- @param self --- @param #float width --- @param #float height --- @param #int resolutionPolicy --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Returns the current Resolution policy.
--- return The current Resolution policy. --- @function [parent=#GLView] getResolutionPolicy --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Force destroying EGL view, subclass must implement this method.
--- lua endToLua --- @function [parent=#GLView] end --- @param self --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Returns whether or not the view is in Retina Display mode.
--- return Returns whether or not the view is in Retina Display mode. --- @function [parent=#GLView] isRetinaDisplay --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Renders a Scene with a Renderer
--- This method is called directly by the Director --- @function [parent=#GLView] renderScene --- @param self --- @param #cc.Scene scene --- @param #cc.Renderer renderer --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Sets a VR renderer.
--- if `vrrenderer` is `nullptr` VR will be disabled --- @function [parent=#GLView] setVR --- @param self --- @param #cc.VRIRenderer vrrenderer --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Set opengl view port rectangle with points.
--- param x Set the points of x.
--- param y Set the points of y.
--- param w Set the width of the view port
--- param h Set the Height of the view port. --- @function [parent=#GLView] setViewPortInPoints --- @param self --- @param #float x --- @param #float y --- @param #float w --- @param #float h --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Get the current scissor rectangle.
--- return The current scissor rectangle. --- @function [parent=#GLView] getScissorRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Get retina factor.
--- return The retina factor. --- @function [parent=#GLView] getRetinaFactor --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set the view name.
--- param viewname A string will be set to the view as name. --- @function [parent=#GLView] setViewName --- @param self --- @param #string viewname --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Get the visible rectangle of opengl viewport.
--- return The visible rectangle of opengl viewport. --- @function [parent=#GLView] getVisibleRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Get the visible area size of opengl viewport.
--- return The visible area size of opengl viewport. --- @function [parent=#GLView] getVisibleSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Get whether GL_SCISSOR_TEST is enable.
--- return Whether GL_SCISSOR_TEST is enable. --- @function [parent=#GLView] isScissorEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Polls the events. --- @function [parent=#GLView] pollEvents --- @param self --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Static method and member so that we can modify it on all platforms before create OpenGL context.
--- param glContextAttrs The OpenGL context attrs. --- @function [parent=#GLView] setGLContextAttrs --- @param self --- @param #GLContextAttrs glContextAttrs --- @return GLView#GLView self (return value: cc.GLView) - --------------------------------- --- Return the OpenGL context attrs.
--- return Return the OpenGL context attrs. --- @function [parent=#GLView] getGLContextAttrs --- @param self --- @return GLContextAttrs#GLContextAttrs ret (return value: GLContextAttrs) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/GLViewImpl.lua b/cocos/scripting/lua-bindings/auto/api/GLViewImpl.lua deleted file mode 100644 index d7a9e8ae51..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/GLViewImpl.lua +++ /dev/null @@ -1,49 +0,0 @@ - --------------------------------- --- @module GLViewImpl --- @extend GLView --- @parent_module cc - --------------------------------- --- --- @function [parent=#GLViewImpl] createWithRect --- @param self --- @param #string viewName --- @param #rect_table rect --- @param #float frameZoomFactor --- @return GLViewImpl#GLViewImpl ret (return value: cc.GLViewImpl) - --------------------------------- --- --- @function [parent=#GLViewImpl] create --- @param self --- @param #string viewname --- @return GLViewImpl#GLViewImpl ret (return value: cc.GLViewImpl) - --------------------------------- --- --- @function [parent=#GLViewImpl] createWithFullScreen --- @param self --- @param #string viewName --- @return GLViewImpl#GLViewImpl ret (return value: cc.GLViewImpl) - --------------------------------- --- --- @function [parent=#GLViewImpl] setIMEKeyboardState --- @param self --- @param #bool bOpen --- @return GLViewImpl#GLViewImpl self (return value: cc.GLViewImpl) - --------------------------------- --- --- @function [parent=#GLViewImpl] isOpenGLReady --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#GLViewImpl] getSafeAreaRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/GUIReader.lua b/cocos/scripting/lua-bindings/auto/api/GUIReader.lua deleted file mode 100644 index c9fd0bdc4d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/GUIReader.lua +++ /dev/null @@ -1,53 +0,0 @@ - --------------------------------- --- @module GUIReader --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#GUIReader] setFilePath --- @param self --- @param #string strFilePath --- @return GUIReader#GUIReader self (return value: ccs.GUIReader) - --------------------------------- --- --- @function [parent=#GUIReader] widgetFromJsonFile --- @param self --- @param #char fileName --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#GUIReader] getFilePath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#GUIReader] widgetFromBinaryFile --- @param self --- @param #char fileName --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#GUIReader] getVersionInteger --- @param self --- @param #char str --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#GUIReader] destroyInstance --- @param self --- @return GUIReader#GUIReader self (return value: ccs.GUIReader) - --------------------------------- --- --- @function [parent=#GUIReader] getInstance --- @param self --- @return GUIReader#GUIReader ret (return value: ccs.GUIReader) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Grid3D.lua b/cocos/scripting/lua-bindings/auto/api/Grid3D.lua deleted file mode 100644 index 5c73a82676..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Grid3D.lua +++ /dev/null @@ -1,73 +0,0 @@ - --------------------------------- --- @module Grid3D --- @extend GridBase --- @parent_module cc - --------------------------------- --- --- @function [parent=#Grid3D] getNeedDepthTestForBlit --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @{
--- Getter and Setter for depth test state when blit.
--- js NA --- @function [parent=#Grid3D] setNeedDepthTestForBlit --- @param self --- @param #bool neededDepthTest --- @return Grid3D#Grid3D self (return value: cc.Grid3D) - --------------------------------- --- @overload self, size_table, rect_table --- @overload self, size_table --- @overload self, size_table, cc.Texture2D, bool --- @overload self, size_table, cc.Texture2D, bool, rect_table --- @function [parent=#Grid3D] create --- @param self --- @param #size_table gridSize --- @param #cc.Texture2D texture --- @param #bool flipped --- @param #rect_table rect --- @return Grid3D#Grid3D ret (return value: cc.Grid3D) - --------------------------------- --- --- @function [parent=#Grid3D] calculateVertexPoints --- @param self --- @return Grid3D#Grid3D self (return value: cc.Grid3D) - --------------------------------- --- @{
--- Implementations for interfaces in base class. --- @function [parent=#Grid3D] beforeBlit --- @param self --- @return Grid3D#Grid3D self (return value: cc.Grid3D) - --------------------------------- --- --- @function [parent=#Grid3D] afterBlit --- @param self --- @return Grid3D#Grid3D self (return value: cc.Grid3D) - --------------------------------- --- --- @function [parent=#Grid3D] reuse --- @param self --- @return Grid3D#Grid3D self (return value: cc.Grid3D) - --------------------------------- --- --- @function [parent=#Grid3D] blit --- @param self --- @return Grid3D#Grid3D self (return value: cc.Grid3D) - --------------------------------- --- Constructor.
--- js ctor --- @function [parent=#Grid3D] Grid3D --- @param self --- @return Grid3D#Grid3D self (return value: cc.Grid3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Grid3DAction.lua b/cocos/scripting/lua-bindings/auto/api/Grid3DAction.lua deleted file mode 100644 index d98bb008bd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Grid3DAction.lua +++ /dev/null @@ -1,26 +0,0 @@ - --------------------------------- --- @module Grid3DAction --- @extend GridAction --- @parent_module cc - --------------------------------- --- brief Get the effect grid rect.
--- return Return the effect grid rect. --- @function [parent=#Grid3DAction] getGridRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#Grid3DAction] clone --- @param self --- @return Grid3DAction#Grid3DAction ret (return value: cc.Grid3DAction) - --------------------------------- --- --- @function [parent=#Grid3DAction] getGrid --- @param self --- @return GridBase#GridBase ret (return value: cc.GridBase) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/GridAction.lua b/cocos/scripting/lua-bindings/auto/api/GridAction.lua deleted file mode 100644 index a22d4f0fc4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/GridAction.lua +++ /dev/null @@ -1,44 +0,0 @@ - --------------------------------- --- @module GridAction --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- brief Get the pointer of GridBase.
--- return The pointer of GridBase. --- @function [parent=#GridAction] getGrid --- @param self --- @return GridBase#GridBase ret (return value: cc.GridBase) - --------------------------------- --- brief Initializes the action with size and duration.
--- param duration The duration of the GridAction. It's a value in seconds.
--- param gridSize The size of the GridAction should be.
--- return Return true when the initialization success, otherwise return false. --- @function [parent=#GridAction] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#GridAction] startWithTarget --- @param self --- @param #cc.Node target --- @return GridAction#GridAction self (return value: cc.GridAction) - --------------------------------- --- --- @function [parent=#GridAction] clone --- @param self --- @return GridAction#GridAction ret (return value: cc.GridAction) - --------------------------------- --- --- @function [parent=#GridAction] reverse --- @param self --- @return GridAction#GridAction ret (return value: cc.GridAction) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/GridBase.lua b/cocos/scripting/lua-bindings/auto/api/GridBase.lua deleted file mode 100644 index bffdf7e15e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/GridBase.lua +++ /dev/null @@ -1,163 +0,0 @@ - --------------------------------- --- @module GridBase --- @extend Ref --- @parent_module cc - --------------------------------- --- Set the size of the grid. --- @function [parent=#GridBase] setGridSize --- @param self --- @param #size_table gridSize --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- brief Set the effect grid rect.
--- param rect The effect grid rect. --- @function [parent=#GridBase] setGridRect --- @param self --- @param #rect_table rect --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- --- @function [parent=#GridBase] afterBlit --- @param self --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- brief Get the effect grid rect.
--- return Return the effect grid rect. --- @function [parent=#GridBase] getGridRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#GridBase] afterDraw --- @param self --- @param #cc.Node target --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- @{
--- Init and reset the status when render effects by using the grid. --- @function [parent=#GridBase] beforeDraw --- @param self --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- Interface, Calculate the vertices used for the blit. --- @function [parent=#GridBase] calculateVertexPoints --- @param self --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- is texture flipped. --- @function [parent=#GridBase] isTextureFlipped --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Size of the grid. --- @function [parent=#GridBase] getGridSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Pixels between the grids. --- @function [parent=#GridBase] getStep --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Change projection to 2D for grabbing. --- @function [parent=#GridBase] set2DProjection --- @param self --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- Get the pixels between the grids. --- @function [parent=#GridBase] setStep --- @param self --- @param #vec2_table step --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- Set the texture flipped or not. --- @function [parent=#GridBase] setTextureFlipped --- @param self --- @param #bool flipped --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- Interface used to blit the texture with grid to screen. --- @function [parent=#GridBase] blit --- @param self --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- --- @function [parent=#GridBase] setActive --- @param self --- @param #bool active --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- Get number of times that the grid will be reused. --- @function [parent=#GridBase] getReuseGrid --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, size_table, rect_table --- @overload self, size_table --- @overload self, size_table, cc.Texture2D, bool --- @overload self, size_table, cc.Texture2D, bool, rect_table --- @function [parent=#GridBase] initWithSize --- @param self --- @param #size_table gridSize --- @param #cc.Texture2D texture --- @param #bool flipped --- @param #rect_table rect --- @return bool#bool ret (return value: bool) - --------------------------------- --- @{
--- Interface for custom action when before or after draw.
--- js NA --- @function [parent=#GridBase] beforeBlit --- @param self --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- Set number of times that the grid will be reused. --- @function [parent=#GridBase] setReuseGrid --- @param self --- @param #int reuseGrid --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- @} @{
--- Getter and setter of the active state of the grid. --- @function [parent=#GridBase] isActive --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Interface, Reuse the grid vertices. --- @function [parent=#GridBase] reuse --- @param self --- @return GridBase#GridBase self (return value: cc.GridBase) - --------------------------------- --- @overload self, size_table --- @overload self, size_table, cc.Texture2D, bool --- @function [parent=#GridBase] create --- @param self --- @param #size_table gridSize --- @param #cc.Texture2D texture --- @param #bool flipped --- @return GridBase#GridBase ret (return value: cc.GridBase) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/HBox.lua b/cocos/scripting/lua-bindings/auto/api/HBox.lua deleted file mode 100644 index e50ec6d8bd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/HBox.lua +++ /dev/null @@ -1,36 +0,0 @@ - --------------------------------- --- @module HBox --- @extend Layout --- @parent_module ccui - --------------------------------- --- --- @function [parent=#HBox] initWithSize --- @param self --- @param #size_table size --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, size_table --- @overload self --- @function [parent=#HBox] create --- @param self --- @param #size_table size --- @return HBox#HBox ret (return value: ccui.HBox) - --------------------------------- --- --- @function [parent=#HBox] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#HBox] HBox --- @param self --- @return HBox#HBox self (return value: ccui.HBox) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Helper.lua b/cocos/scripting/lua-bindings/auto/api/Helper.lua deleted file mode 100644 index 53ab2d533c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Helper.lua +++ /dev/null @@ -1,94 +0,0 @@ - --------------------------------- --- @module Helper --- @parent_module ccui - --------------------------------- --- brief Get a UTF8 substring from a std::string with a given start position and length
--- Sample: std::string str = "中国中国中国"; substr = getSubStringOfUTF8String(str,0,2) will = "中国"
--- param str The source string.
--- param start The start position of the substring.
--- param length The length of the substring in UTF8 count
--- return a UTF8 substring
--- js NA --- @function [parent=#Helper] getSubStringOfUTF8String --- @param self --- @param #string str --- @param #unsigned int start --- @param #unsigned int length --- @return string#string ret (return value: string) - --------------------------------- --- brief Convert a node's boundingBox rect into screen coordinates.
--- param node Any node pointer.
--- return A Rect in screen coordinates. --- @function [parent=#Helper] convertBoundingBoxToScreen --- @param self --- @param #cc.Node node --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Change the active property of Layout's @see `LayoutComponent`
--- param active A boolean value. --- @function [parent=#Helper] changeLayoutSystemActiveState --- @param self --- @param #bool active --- @return Helper#Helper self (return value: ccui.Helper) - --------------------------------- --- Find a widget with a specific action tag from root widget
--- This search will be recursive through all child widgets.
--- param root The be searched root widget.
--- param tag The widget action's tag.
--- return Widget instance pointer. --- @function [parent=#Helper] seekActionWidgetByActionTag --- @param self --- @param #ccui.Widget root --- @param #int tag --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Find a widget with a specific name from root widget.
--- This search will be recursive through all child widgets.
--- param root The be searched root widget.
--- param name The widget name.
--- return Widget instance pointer. --- @function [parent=#Helper] seekWidgetByName --- @param self --- @param #ccui.Widget root --- @param #string name --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Find a widget with a specific tag from root widget.
--- This search will be recursive through all child widgets.
--- param root The be searched root widget.
--- param tag The widget tag.
--- return Widget instance pointer. --- @function [parent=#Helper] seekWidgetByTag --- @param self --- @param #ccui.Widget root --- @param #int tag --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- brief restrict capInsetSize, when the capInsets's width is larger than the textureSize, it will restrict to 0,
--- the height goes the same way as width.
--- param capInsets A user defined capInsets.
--- param textureSize The size of a scale9enabled texture
--- return a restricted capInset. --- @function [parent=#Helper] restrictCapInsetRect --- @param self --- @param #rect_table capInsets --- @param #size_table textureSize --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Refresh object and it's children layout state
--- param rootNode A Node* or Node* descendant instance pointer. --- @function [parent=#Helper] doLayout --- @param self --- @param #cc.Node rootNode --- @return Helper#Helper self (return value: ccui.Helper) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Hide.lua b/cocos/scripting/lua-bindings/auto/api/Hide.lua deleted file mode 100644 index 3d31b8d7db..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Hide.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module Hide --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- Allocates and initializes the action.
--- return An autoreleased Hide object. --- @function [parent=#Hide] create --- @param self --- @return Hide#Hide ret (return value: cc.Hide) - --------------------------------- --- --- @function [parent=#Hide] clone --- @param self --- @return Hide#Hide ret (return value: cc.Hide) - --------------------------------- --- param time In seconds. --- @function [parent=#Hide] update --- @param self --- @param #float time --- @return Hide#Hide self (return value: cc.Hide) - --------------------------------- --- --- @function [parent=#Hide] reverse --- @param self --- @return ActionInstant#ActionInstant ret (return value: cc.ActionInstant) - --------------------------------- --- --- @function [parent=#Hide] Hide --- @param self --- @return Hide#Hide self (return value: cc.Hide) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Image.lua b/cocos/scripting/lua-bindings/auto/api/Image.lua deleted file mode 100644 index 5c229bfaac..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Image.lua +++ /dev/null @@ -1,110 +0,0 @@ - --------------------------------- --- @module Image --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#Image] hasPremultipliedAlpha --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Save Image data to the specified file, with specified format.
--- param filePath the file's absolute path, including file suffix.
--- param isToRGB whether the image is saved as RGB format. --- @function [parent=#Image] saveToFile --- @param self --- @param #string filename --- @param #bool isToRGB --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Image] hasAlpha --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Image] isCompressed --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Image] getHeight --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Load the image from the specified path.
--- param path the absolute file path.
--- return true if loaded correctly. --- @function [parent=#Image] initWithImageFile --- @param self --- @param #string path --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Image] getWidth --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Image] getBitPerPixel --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Image] getFileType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Image] getFilePath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Image] getNumberOfMipmaps --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Image] getRenderFormat --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- treats (or not) PVR files as if they have alpha premultiplied.
--- Since it is impossible to know at runtime if the PVR images have the alpha channel premultiplied, it is
--- possible load them as if they have (or not) the alpha channel premultiplied.
--- By default it is disabled. --- @function [parent=#Image] setPVRImagesHavePremultipliedAlpha --- @param self --- @param #bool haveAlphaPremultiplied --- @return Image#Image self (return value: cc.Image) - --------------------------------- --- Enables or disables premultiplied alpha for PNG files.
--- param enabled (default: true) --- @function [parent=#Image] setPNGPremultipliedAlphaEnabled --- @param self --- @param #bool enabled --- @return Image#Image self (return value: cc.Image) - --------------------------------- --- js ctor --- @function [parent=#Image] Image --- @param self --- @return Image#Image self (return value: cc.Image) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ImageView.lua b/cocos/scripting/lua-bindings/auto/api/ImageView.lua deleted file mode 100644 index 6fd1148981..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ImageView.lua +++ /dev/null @@ -1,158 +0,0 @@ - --------------------------------- --- @module ImageView --- @extend Widget,BlendProtocol --- @parent_module ccui - --------------------------------- --- Returns the blending function that is currently being used.
--- return A BlendFunc structure with source and destination factor which specified pixel arithmetic.
--- js NA
--- lua NA --- @function [parent=#ImageView] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- Load texture for imageview.
--- param fileName file name of texture.
--- param texType @see `Widget::TextureResType` --- @function [parent=#ImageView] loadTexture --- @param self --- @param #string fileName --- @param #int texType --- @return ImageView#ImageView self (return value: ccui.ImageView) - --------------------------------- --- Sets the source blending function.
--- param blendFunc A structure with source and destination factor to specify pixel arithmetic. e.g. {BlendFactor::ONE, BlendFactor::ONE}, {BlendFactor::SRC_ALPHA, BlendFactor::ONE_MINUS_SRC_ALPHA}.
--- js NA
--- lua NA --- @function [parent=#ImageView] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return ImageView#ImageView self (return value: ccui.ImageView) - --------------------------------- --- --- @function [parent=#ImageView] init --- @param self --- @param #string imageFileName --- @param #int texType --- @return bool#bool ret (return value: bool) - --------------------------------- --- Enable scale9 renderer.
--- param enabled Set to true will use scale9 renderer, false otherwise. --- @function [parent=#ImageView] setScale9Enabled --- @param self --- @param #bool enabled --- @return ImageView#ImageView self (return value: ccui.ImageView) - --------------------------------- --- Updates the texture rect of the ImageView in points.
--- It will call setTextureRect:rotated:untrimmedSize with rotated = NO, and utrimmedSize = rect.size. --- @function [parent=#ImageView] setTextureRect --- @param self --- @param #rect_table rect --- @return ImageView#ImageView self (return value: ccui.ImageView) - --------------------------------- --- Sets capInsets for imageview.
--- The capInsets affects the ImageView's renderer only if `setScale9Enabled(true)` is called.
--- param capInsets capinsets for imageview --- @function [parent=#ImageView] setCapInsets --- @param self --- @param #rect_table capInsets --- @return ImageView#ImageView self (return value: ccui.ImageView) - --------------------------------- --- --- @function [parent=#ImageView] getRenderFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Get ImageView's capInsets size.
--- return Query capInsets size in Rect
--- see `setCapInsets(const Rect&)` --- @function [parent=#ImageView] getCapInsets --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Query whether button is using scale9 renderer or not.
--- return whether button use scale9 renderer or not. --- @function [parent=#ImageView] isScale9Enabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, string, int --- @overload self --- @function [parent=#ImageView] create --- @param self --- @param #string imageFileName --- @param #int texType --- @return ImageView#ImageView ret (return value: ccui.ImageView) - --------------------------------- --- --- @function [parent=#ImageView] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#ImageView] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#ImageView] ignoreContentAdaptWithSize --- @param self --- @param #bool ignore --- @return ImageView#ImageView self (return value: ccui.ImageView) - --------------------------------- --- --- @function [parent=#ImageView] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#ImageView] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ImageView] setGLProgram --- @param self --- @param #cc.GLProgram glProgram --- @return ImageView#ImageView self (return value: ccui.ImageView) - --------------------------------- --- --- @function [parent=#ImageView] setGLProgramState --- @param self --- @param #cc.GLProgramState glProgramState --- @return ImageView#ImageView self (return value: ccui.ImageView) - --------------------------------- --- --- @function [parent=#ImageView] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#ImageView] ImageView --- @param self --- @return ImageView#ImageView self (return value: ccui.ImageView) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/InnerActionFrame.lua b/cocos/scripting/lua-bindings/auto/api/InnerActionFrame.lua deleted file mode 100644 index ebb15e6552..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/InnerActionFrame.lua +++ /dev/null @@ -1,91 +0,0 @@ - --------------------------------- --- @module InnerActionFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#InnerActionFrame] getEndFrameIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#InnerActionFrame] getStartFrameIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#InnerActionFrame] getInnerActionType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#InnerActionFrame] setEndFrameIndex --- @param self --- @param #int frameIndex --- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame) - --------------------------------- --- --- @function [parent=#InnerActionFrame] setEnterWithName --- @param self --- @param #bool isEnterWithName --- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame) - --------------------------------- --- --- @function [parent=#InnerActionFrame] setSingleFrameIndex --- @param self --- @param #int frameIndex --- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame) - --------------------------------- --- --- @function [parent=#InnerActionFrame] setStartFrameIndex --- @param self --- @param #int frameIndex --- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame) - --------------------------------- --- --- @function [parent=#InnerActionFrame] getSingleFrameIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#InnerActionFrame] setInnerActionType --- @param self --- @param #int type --- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame) - --------------------------------- --- --- @function [parent=#InnerActionFrame] setAnimationName --- @param self --- @param #string animationNamed --- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame) - --------------------------------- --- --- @function [parent=#InnerActionFrame] create --- @param self --- @return InnerActionFrame#InnerActionFrame ret (return value: ccs.InnerActionFrame) - --------------------------------- --- --- @function [parent=#InnerActionFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#InnerActionFrame] InnerActionFrame --- @param self --- @return InnerActionFrame#InnerActionFrame self (return value: ccs.InnerActionFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/JumpBy.lua b/cocos/scripting/lua-bindings/auto/api/JumpBy.lua deleted file mode 100644 index 6497d1dea1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/JumpBy.lua +++ /dev/null @@ -1,65 +0,0 @@ - --------------------------------- --- @module JumpBy --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- initializes the action
--- param duration in seconds --- @function [parent=#JumpBy] initWithDuration --- @param self --- @param #float duration --- @param #vec2_table position --- @param #float height --- @param #int jumps --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates the action.
--- param duration Duration time, in seconds.
--- param position The jumping distance.
--- param height The jumping height.
--- param jumps The jumping times.
--- return An autoreleased JumpBy object. --- @function [parent=#JumpBy] create --- @param self --- @param #float duration --- @param #vec2_table position --- @param #float height --- @param #int jumps --- @return JumpBy#JumpBy ret (return value: cc.JumpBy) - --------------------------------- --- --- @function [parent=#JumpBy] startWithTarget --- @param self --- @param #cc.Node target --- @return JumpBy#JumpBy self (return value: cc.JumpBy) - --------------------------------- --- --- @function [parent=#JumpBy] clone --- @param self --- @return JumpBy#JumpBy ret (return value: cc.JumpBy) - --------------------------------- --- --- @function [parent=#JumpBy] reverse --- @param self --- @return JumpBy#JumpBy ret (return value: cc.JumpBy) - --------------------------------- --- param time In seconds. --- @function [parent=#JumpBy] update --- @param self --- @param #float time --- @return JumpBy#JumpBy self (return value: cc.JumpBy) - --------------------------------- --- --- @function [parent=#JumpBy] JumpBy --- @param self --- @return JumpBy#JumpBy self (return value: cc.JumpBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/JumpTiles3D.lua b/cocos/scripting/lua-bindings/auto/api/JumpTiles3D.lua deleted file mode 100644 index aebde5c4f3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/JumpTiles3D.lua +++ /dev/null @@ -1,86 +0,0 @@ - --------------------------------- --- @module JumpTiles3D --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Set the amplitude rate of the effect.
--- param amplitudeRate The value of amplitude rate will be set. --- @function [parent=#JumpTiles3D] setAmplitudeRate --- @param self --- @param #float amplitudeRate --- @return JumpTiles3D#JumpTiles3D self (return value: cc.JumpTiles3D) - --------------------------------- --- brief Initializes the action with the number of jumps, the sin amplitude, the grid size and the duration.
--- param duration Specify the duration of the JumpTiles3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param numberOfJumps Specify the jump tiles count.
--- param amplitude Specify the amplitude of the JumpTiles3D action.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#JumpTiles3D] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int numberOfJumps --- @param #float amplitude --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the amplitude of the effect.
--- return Return the amplitude of the effect. --- @function [parent=#JumpTiles3D] getAmplitude --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Get the amplitude rate of the effect.
--- return Return the amplitude rate of the effect. --- @function [parent=#JumpTiles3D] getAmplitudeRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the amplitude to the effect.
--- param amplitude The value of amplitude will be set. --- @function [parent=#JumpTiles3D] setAmplitude --- @param self --- @param #float amplitude --- @return JumpTiles3D#JumpTiles3D self (return value: cc.JumpTiles3D) - --------------------------------- --- brief Create the action with the number of jumps, the sin amplitude, the grid size and the duration.
--- param duration Specify the duration of the JumpTiles3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param numberOfJumps Specify the jump tiles count.
--- param amplitude Specify the amplitude of the JumpTiles3D action.
--- return If the creation success, return a pointer of JumpTiles3D action; otherwise, return nil. --- @function [parent=#JumpTiles3D] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int numberOfJumps --- @param #float amplitude --- @return JumpTiles3D#JumpTiles3D ret (return value: cc.JumpTiles3D) - --------------------------------- --- --- @function [parent=#JumpTiles3D] clone --- @param self --- @return JumpTiles3D#JumpTiles3D ret (return value: cc.JumpTiles3D) - --------------------------------- --- --- @function [parent=#JumpTiles3D] update --- @param self --- @param #float time --- @return JumpTiles3D#JumpTiles3D self (return value: cc.JumpTiles3D) - --------------------------------- --- --- @function [parent=#JumpTiles3D] JumpTiles3D --- @param self --- @return JumpTiles3D#JumpTiles3D self (return value: cc.JumpTiles3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/JumpTo.lua b/cocos/scripting/lua-bindings/auto/api/JumpTo.lua deleted file mode 100644 index b120247a27..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/JumpTo.lua +++ /dev/null @@ -1,58 +0,0 @@ - --------------------------------- --- @module JumpTo --- @extend JumpBy --- @parent_module cc - --------------------------------- --- initializes the action
--- param duration In seconds. --- @function [parent=#JumpTo] initWithDuration --- @param self --- @param #float duration --- @param #vec2_table position --- @param #float height --- @param #int jumps --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates the action.
--- param duration Duration time, in seconds.
--- param position The jumping destination position.
--- param height The jumping height.
--- param jumps The jumping times.
--- return An autoreleased JumpTo object. --- @function [parent=#JumpTo] create --- @param self --- @param #float duration --- @param #vec2_table position --- @param #float height --- @param #int jumps --- @return JumpTo#JumpTo ret (return value: cc.JumpTo) - --------------------------------- --- --- @function [parent=#JumpTo] startWithTarget --- @param self --- @param #cc.Node target --- @return JumpTo#JumpTo self (return value: cc.JumpTo) - --------------------------------- --- --- @function [parent=#JumpTo] clone --- @param self --- @return JumpTo#JumpTo ret (return value: cc.JumpTo) - --------------------------------- --- --- @function [parent=#JumpTo] reverse --- @param self --- @return JumpTo#JumpTo ret (return value: cc.JumpTo) - --------------------------------- --- --- @function [parent=#JumpTo] JumpTo --- @param self --- @return JumpTo#JumpTo self (return value: cc.JumpTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Label.lua b/cocos/scripting/lua-bindings/auto/api/Label.lua deleted file mode 100644 index 376b5b84d4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Label.lua +++ /dev/null @@ -1,649 +0,0 @@ - --------------------------------- --- @module Label --- @extend Node,LabelProtocol,BlendProtocol --- @parent_module cc - --------------------------------- --- --- @function [parent=#Label] isClipMarginEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Enable shadow effect to Label.
--- todo Support blur for shadow effect. --- @function [parent=#Label] enableShadow --- @param self --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Sets the untransformed size of the Label in a more efficient way. --- @function [parent=#Label] setDimensions --- @param self --- @param #float width --- @param #float height --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] getWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Return the text the Label is currently displaying. --- @function [parent=#Label] getString --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Label] getHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, int --- @overload self --- @function [parent=#Label] disableEffect --- @param self --- @param #int effect --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Sets a new TTF configuration to Label.
--- see `TTFConfig` --- @function [parent=#Label] setTTFConfig --- @param self --- @param #cc._ttfConfig ttfConfig --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns type of label
--- warning Not support system font.
--- return the type of label
--- since v3.18.0 --- @function [parent=#Label] getLabelType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Returns the text color of the Label. --- @function [parent=#Label] getTextColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- --- @function [parent=#Label] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- Toggle wrap option of the label.
--- Note: System font doesn't support manually toggle wrap.
--- param enable Set true to enable wrap and false to disable wrap. --- @function [parent=#Label] enableWrap --- @param self --- @param #bool enable --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Makes the Label exactly this untransformed width.
--- The Label's width be used for text align if the value not equal zero. --- @function [parent=#Label] setWidth --- @param self --- @param #float width --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Returns the additional kerning of the Label.
--- warning Not support system font.
--- since v3.2.0 --- @function [parent=#Label] getAdditionalKerning --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Return the user define BMFont size.
--- return The BMFont size in float value. --- @function [parent=#Label] getBMFontSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Label] getMaxLineWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the Label's text horizontal alignment. --- @function [parent=#Label] getHorizontalAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Return shadow effect offset value. --- @function [parent=#Label] getShadowOffset --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#Label] getLineSpacing --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Clips upper and lower margin to reduce height of Label. --- @function [parent=#Label] setClipMarginEnabled --- @param self --- @param #bool clipEnabled --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Sets the text that this Label is to display. --- @function [parent=#Label] setString --- @param self --- @param #string text --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Sets a new system font to Label.
--- param font A font file or a font family name.
--- warning --- @function [parent=#Label] setSystemFontName --- @param self --- @param #string font --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Query the wrap is enabled or not.
--- Note: System font will always return true. --- @function [parent=#Label] isWrapEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Return the outline effect size value. --- @function [parent=#Label] getOutlineSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets a new bitmap font to Label --- @function [parent=#Label] setBMFontFilePath --- @param self --- @param #string bmfontFilePath --- @param #vec2_table imageOffset --- @param #float fontSize --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, cc._ttfConfig, string, int, int --- @overload self, string, string, float, size_table, int, int --- @function [parent=#Label] initWithTTF --- @param self --- @param #string text --- @param #string fontFilePath --- @param #float fontSize --- @param #size_table dimensions --- @param #int hAlignment --- @param #int vAlignment --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Label] getFontAtlas --- @param self --- @return FontAtlas#FontAtlas ret (return value: cc.FontAtlas) - --------------------------------- --- Sets the line height of the Label.
--- warning Not support system font.
--- since v3.2.0 --- @function [parent=#Label] setLineHeight --- @param self --- @param #float height --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] setSystemFontSize --- @param self --- @param #float fontSize --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Change the label's Overflow type, currently only TTF and BMFont support all the valid Overflow type.
--- Char Map font supports all the Overflow type except for SHRINK, because we can't measure it's font size.
--- System font only support Overflow::Normal and Overflow::RESIZE_HEIGHT.
--- param overflow see `Overflow` --- @function [parent=#Label] setOverflow --- @param self --- @param #int overflow --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Enables strikethrough.
--- Underline and Strikethrough cannot be enabled at the same time.
--- Strikethrough is like an underline but at the middle of the glyph --- @function [parent=#Label] enableStrikethrough --- @param self --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Update content immediately. --- @function [parent=#Label] updateContent --- @param self --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Return length of string. --- @function [parent=#Label] getStringLength --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Specify what happens when a line is too long for Label.
--- param breakWithoutSpace Lines are automatically broken between words if this value is false. --- @function [parent=#Label] setLineBreakWithoutSpace --- @param self --- @param #bool breakWithoutSpace --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Return the number of lines of text. --- @function [parent=#Label] getStringNumLines --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Enable outline effect to Label.
--- warning Limiting use to only when the Label created with true type font or system font. --- @function [parent=#Label] enableOutline --- @param self --- @param #color4b_table outlineColor --- @param #int outlineSize --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Return the shadow effect blur radius. --- @function [parent=#Label] getShadowBlurRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Return current effect color value. --- @function [parent=#Label] getEffectColor --- @param self --- @return color4f_table#color4f_table ret (return value: color4f_table) - --------------------------------- --- --- @function [parent=#Label] removeAllChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- @overload self, cc.Texture2D, int, int, int --- @overload self, string, int, int, int --- @overload self, string --- @function [parent=#Label] setCharMap --- @param self --- @param #string charMapFile --- @param #int itemWidth --- @param #int itemHeight --- @param #int startCharMap --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Label] getDimensions --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Makes the Label at most this line untransformed width.
--- The Label's max line width be used for force line breaks if the value not equal zero. --- @function [parent=#Label] setMaxLineWidth --- @param self --- @param #float maxLineWidth --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Returns the system font used by the Label. --- @function [parent=#Label] getSystemFontName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Sets the Label's text vertical alignment. --- @function [parent=#Label] setVerticalAlignment --- @param self --- @param #int vAlignment --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] setLineSpacing --- @param self --- @param #float height --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Returns font size --- @function [parent=#Label] getRenderingFontSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the line height of this Label.
--- warning Not support system font.
--- since v3.2.0 --- @function [parent=#Label] getLineHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Return the shadow effect color value. --- @function [parent=#Label] getShadowColor --- @param self --- @return color4f_table#color4f_table ret (return value: color4f_table) - --------------------------------- --- Returns the TTF configuration object used by the Label.
--- see `TTFConfig` --- @function [parent=#Label] getTTFConfig --- @param self --- @return _ttfConfig#_ttfConfig ret (return value: cc._ttfConfig) - --------------------------------- --- Enable italics rendering --- @function [parent=#Label] enableItalics --- @param self --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Sets the text color of Label.
--- The text color is different from the color of Node.
--- warning Limiting use to only when the Label created with true type font or system font. --- @function [parent=#Label] setTextColor --- @param self --- @param #color4b_table color --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Provides a way to treat each character like a Sprite.
--- warning No support system font. --- @function [parent=#Label] getLetter --- @param self --- @param #int lettetIndex --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Makes the Label exactly this untransformed height.
--- The Label's height be used for text align if the value not equal zero.
--- The text will display incomplete if the size of Label is not large enough to display all text. --- @function [parent=#Label] setHeight --- @param self --- @param #float height --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Return whether the shadow effect is enabled. --- @function [parent=#Label] isShadowEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Enable glow effect to Label.
--- warning Limiting use to only when the Label created with true type font. --- @function [parent=#Label] enableGlow --- @param self --- @param #color4b_table glowColor --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Query the label's Overflow type.
--- return see `Overflow` --- @function [parent=#Label] getOverflow --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Returns the Label's text vertical alignment. --- @function [parent=#Label] getVerticalAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets the additional kerning of the Label.
--- warning Not support system font.
--- since v3.2.0 --- @function [parent=#Label] setAdditionalKerning --- @param self --- @param #float space --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Returns the bitmap font path used by the Label. --- @function [parent=#Label] getSystemFontSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Label] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Returns the Label's text horizontal alignment. --- @function [parent=#Label] getTextAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Returns the bitmap font used by the Label. --- @function [parent=#Label] getBMFontFilePath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Sets the Label's text horizontal alignment. --- @function [parent=#Label] setHorizontalAlignment --- @param self --- @param #int hAlignment --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Enable bold rendering --- @function [parent=#Label] enableBold --- @param self --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Enable underline --- @function [parent=#Label] enableUnderline --- @param self --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Return current effect type. --- @function [parent=#Label] getLabelEffectType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, int, int --- @overload self, int --- @function [parent=#Label] setAlignment --- @param self --- @param #int hAlignment --- @param #int vAlignment --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- warning This method is not recommended for game developers. --- @function [parent=#Label] requestSystemFontRefresh --- @param self --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Change font size of label type BMFONT
--- Note: This function only scale the BMFONT letter to mimic the font size change effect.
--- param fontSize The desired font size in float. --- @function [parent=#Label] setBMFontSize --- @param self --- @param #float fontSize --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- Allocates and initializes a Label, with a bitmap font file.
--- param bmfontPath A bitmap font file, it's a FNT format.
--- param text The initial text.
--- param hAlignment Text horizontal alignment.
--- param maxLineWidth The max line width.
--- param imageOffset
--- return An automatically released Label object.
--- see setBMFontFilePath setMaxLineWidth --- @function [parent=#Label] createWithBMFont --- @param self --- @param #string bmfontPath --- @param #string text --- @param #int hAlignment --- @param #int maxLineWidth --- @param #vec2_table imageOffset --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- Allocates and initializes a Label, with default settings.
--- return An automatically released Label object. --- @function [parent=#Label] create --- @param self --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- @overload self, cc.Texture2D, int, int, int --- @overload self, string, int, int, int --- @overload self, string --- @function [parent=#Label] createWithCharMap --- @param self --- @param #string charMapFile --- @param #int itemWidth --- @param #int itemHeight --- @param #int startCharMap --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- Allocates and initializes a Label, base on platform-dependent API.
--- param text The initial text.
--- param font A font file or a font family name.
--- param fontSize The font size. This value must be > 0.
--- param dimensions
--- param hAlignment The text horizontal alignment.
--- param vAlignment The text vertical alignment.
--- warning It will generate texture by the platform-dependent code.
--- return An automatically released Label object. --- @function [parent=#Label] createWithSystemFont --- @param self --- @param #string text --- @param #string font --- @param #float fontSize --- @param #size_table dimensions --- @param #int hAlignment --- @param #int vAlignment --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Label] setCameraMask --- @param self --- @param #unsigned short mask --- @param #bool applyChildren --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Label] setOpacityModifyRGB --- @param self --- @param #bool isOpacityModifyRGB --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] updateDisplayedOpacity --- @param self --- @param #unsigned char parentOpacity --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] getContentSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#Label] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#Label] updateDisplayedColor --- @param self --- @param #color3b_table parentColor --- @return Label#Label self (return value: cc.Label) - --------------------------------- --- --- @function [parent=#Label] setGlobalZOrder --- @param self --- @param #float globalZOrder --- @return Label#Label self (return value: cc.Label) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua b/cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua deleted file mode 100644 index afb6e1b2ea..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua +++ /dev/null @@ -1,64 +0,0 @@ - --------------------------------- --- @module LabelAtlas --- @extend AtlasNode,LabelProtocol --- @parent_module cc - --------------------------------- --- --- @function [parent=#LabelAtlas] setString --- @param self --- @param #string label --- @return LabelAtlas#LabelAtlas self (return value: cc.LabelAtlas) - --------------------------------- --- @overload self, string, string --- @overload self, string, string, int, int, int --- @overload self, string, cc.Texture2D, int, int, int --- @function [parent=#LabelAtlas] initWithString --- @param self --- @param #string string --- @param #cc.Texture2D texture --- @param #int itemWidth --- @param #int itemHeight --- @param #int startCharMap --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#LabelAtlas] getString --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, string, string, int, int, int --- @overload self --- @overload self, string, string --- @function [parent=#LabelAtlas] create --- @param self --- @param #string string --- @param #string charMapFile --- @param #int itemWidth --- @param #int itemHeight --- @param #int startCharMap --- @return LabelAtlas#LabelAtlas ret (return value: cc.LabelAtlas) - --------------------------------- --- --- @function [parent=#LabelAtlas] updateAtlasValues --- @param self --- @return LabelAtlas#LabelAtlas self (return value: cc.LabelAtlas) - --------------------------------- --- js NA --- @function [parent=#LabelAtlas] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#LabelAtlas] LabelAtlas --- @param self --- @return LabelAtlas#LabelAtlas self (return value: cc.LabelAtlas) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Layer.lua b/cocos/scripting/lua-bindings/auto/api/Layer.lua deleted file mode 100644 index 579d137133..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Layer.lua +++ /dev/null @@ -1,32 +0,0 @@ - --------------------------------- --- @module Layer --- @extend Node --- @parent_module cc - --------------------------------- --- Creates a fullscreen black layer.
--- return An autoreleased Layer object. --- @function [parent=#Layer] create --- @param self --- @return Layer#Layer ret (return value: cc.Layer) - --------------------------------- --- --- @function [parent=#Layer] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Layer] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Layer] Layer --- @param self --- @return Layer#Layer self (return value: cc.Layer) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LayerColor.lua b/cocos/scripting/lua-bindings/auto/api/LayerColor.lua deleted file mode 100644 index f3051a1aae..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LayerColor.lua +++ /dev/null @@ -1,107 +0,0 @@ - --------------------------------- --- @module LayerColor --- @extend Layer,BlendProtocol --- @parent_module cc - --------------------------------- --- Change width and height in Points.
--- param w The width of layer.
--- param h The Height of layer.
--- since v0.8 --- @function [parent=#LayerColor] changeWidthAndHeight --- @param self --- @param #float w --- @param #float h --- @return LayerColor#LayerColor self (return value: cc.LayerColor) - --------------------------------- --- BlendFunction. Conforms to BlendProtocol protocol
--- lua NA --- @function [parent=#LayerColor] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- code
--- When this function bound into js or lua,the parameter will be changed
--- In js: var setBlendFunc(var src, var dst)
--- In lua: local setBlendFunc(local src, local dst)
--- endcode --- @function [parent=#LayerColor] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return LayerColor#LayerColor self (return value: cc.LayerColor) - --------------------------------- --- Change width in Points.
--- param w The width of layer. --- @function [parent=#LayerColor] changeWidth --- @param self --- @param #float w --- @return LayerColor#LayerColor self (return value: cc.LayerColor) - --------------------------------- --- @overload self, color4b_table --- @overload self, color4b_table, float, float --- @function [parent=#LayerColor] initWithColor --- @param self --- @param #color4b_table color --- @param #float width --- @param #float height --- @return bool#bool ret (return value: bool) - --------------------------------- --- Change height in Points.
--- param h The height of layer. --- @function [parent=#LayerColor] changeHeight --- @param self --- @param #float h --- @return LayerColor#LayerColor self (return value: cc.LayerColor) - --------------------------------- --- @overload self, color4b_table, float, float --- @overload self --- @overload self, color4b_table --- @function [parent=#LayerColor] create --- @param self --- @param #color4b_table color --- @param #float width --- @param #float height --- @return LayerColor#LayerColor ret (return value: cc.LayerColor) - --------------------------------- --- --- @function [parent=#LayerColor] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return LayerColor#LayerColor self (return value: cc.LayerColor) - --------------------------------- --- --- @function [parent=#LayerColor] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#LayerColor] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#LayerColor] setContentSize --- @param self --- @param #size_table var --- @return LayerColor#LayerColor self (return value: cc.LayerColor) - --------------------------------- --- --- @function [parent=#LayerColor] LayerColor --- @param self --- @return LayerColor#LayerColor self (return value: cc.LayerColor) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LayerGradient.lua b/cocos/scripting/lua-bindings/auto/api/LayerGradient.lua deleted file mode 100644 index 2d9f133b4e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LayerGradient.lua +++ /dev/null @@ -1,138 +0,0 @@ - --------------------------------- --- @module LayerGradient --- @extend LayerColor --- @parent_module cc - --------------------------------- --- Returns the start color of the gradient.
--- return The start color. --- @function [parent=#LayerGradient] getStartColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Get the compressedInterpolation
--- return The interpolation will be compressed if true. --- @function [parent=#LayerGradient] isCompressedInterpolation --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the start opacity of the gradient.
--- return The start opacity. --- @function [parent=#LayerGradient] getStartOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- Sets the directional vector that will be used for the gradient.
--- The default value is vertical direction (0,-1).
--- param alongVector The direction of gradient. --- @function [parent=#LayerGradient] setVector --- @param self --- @param #vec2_table alongVector --- @return LayerGradient#LayerGradient self (return value: cc.LayerGradient) - --------------------------------- --- Returns the start opacity of the gradient.
--- param startOpacity The start opacity, from 0 to 255. --- @function [parent=#LayerGradient] setStartOpacity --- @param self --- @param #unsigned char startOpacity --- @return LayerGradient#LayerGradient self (return value: cc.LayerGradient) - --------------------------------- --- Whether or not the interpolation will be compressed in order to display all the colors of the gradient both in canonical and non canonical vectors.
--- Default: true.
--- param compressedInterpolation The interpolation will be compressed if true. --- @function [parent=#LayerGradient] setCompressedInterpolation --- @param self --- @param #bool compressedInterpolation --- @return LayerGradient#LayerGradient self (return value: cc.LayerGradient) - --------------------------------- --- Returns the end opacity of the gradient.
--- param endOpacity The end opacity, from 0 to 255. --- @function [parent=#LayerGradient] setEndOpacity --- @param self --- @param #unsigned char endOpacity --- @return LayerGradient#LayerGradient self (return value: cc.LayerGradient) - --------------------------------- --- Returns the directional vector used for the gradient.
--- return The direction of gradient. --- @function [parent=#LayerGradient] getVector --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Sets the end color of the gradient.
--- param endColor The end color. --- @function [parent=#LayerGradient] setEndColor --- @param self --- @param #color3b_table endColor --- @return LayerGradient#LayerGradient self (return value: cc.LayerGradient) - --------------------------------- --- @overload self, color4b_table, color4b_table, vec2_table --- @overload self, color4b_table, color4b_table --- @function [parent=#LayerGradient] initWithColor --- @param self --- @param #color4b_table start --- @param #color4b_table end --- @param #vec2_table v --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the end color of the gradient.
--- return The end color. --- @function [parent=#LayerGradient] getEndColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Returns the end opacity of the gradient.
--- return The end opacity. --- @function [parent=#LayerGradient] getEndOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- Sets the start color of the gradient.
--- param startColor The start color. --- @function [parent=#LayerGradient] setStartColor --- @param self --- @param #color3b_table startColor --- @return LayerGradient#LayerGradient self (return value: cc.LayerGradient) - --------------------------------- --- @overload self, color4b_table, color4b_table --- @overload self --- @overload self, color4b_table, color4b_table, vec2_table --- @function [parent=#LayerGradient] create --- @param self --- @param #color4b_table start --- @param #color4b_table end --- @param #vec2_table v --- @return LayerGradient#LayerGradient ret (return value: cc.LayerGradient) - --------------------------------- --- --- @function [parent=#LayerGradient] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#LayerGradient] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#LayerGradient] LayerGradient --- @param self --- @return LayerGradient#LayerGradient self (return value: cc.LayerGradient) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LayerMultiplex.lua b/cocos/scripting/lua-bindings/auto/api/LayerMultiplex.lua deleted file mode 100644 index 107710cb58..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LayerMultiplex.lua +++ /dev/null @@ -1,59 +0,0 @@ - --------------------------------- --- @module LayerMultiplex --- @extend Layer --- @parent_module cc - --------------------------------- --- initializes a MultiplexLayer with an array of layers
--- since v2.1 --- @function [parent=#LayerMultiplex] initWithArray --- @param self --- @param #array_table arrayOfLayers --- @return bool#bool ret (return value: bool) - --------------------------------- --- release the current layer and switches to another layer indexed by n.
--- The current (old) layer will be removed from it's parent with 'cleanup=true'.
--- param n The layer indexed by n will display. --- @function [parent=#LayerMultiplex] switchToAndReleaseMe --- @param self --- @param #int n --- @return LayerMultiplex#LayerMultiplex self (return value: cc.LayerMultiplex) - --------------------------------- --- Add a certain layer to LayerMultiplex.
--- param layer A layer need to be added to the LayerMultiplex. --- @function [parent=#LayerMultiplex] addLayer --- @param self --- @param #cc.Layer layer --- @return LayerMultiplex#LayerMultiplex self (return value: cc.LayerMultiplex) - --------------------------------- --- @overload self, int, bool --- @overload self, int --- @function [parent=#LayerMultiplex] switchTo --- @param self --- @param #int n --- @param #bool cleanup --- @return LayerMultiplex#LayerMultiplex self (return value: cc.LayerMultiplex) - --------------------------------- --- --- @function [parent=#LayerMultiplex] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#LayerMultiplex] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- js ctor --- @function [parent=#LayerMultiplex] LayerMultiplex --- @param self --- @return LayerMultiplex#LayerMultiplex self (return value: cc.LayerMultiplex) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LayerRadialGradient.lua b/cocos/scripting/lua-bindings/auto/api/LayerRadialGradient.lua deleted file mode 100644 index 859d37256b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LayerRadialGradient.lua +++ /dev/null @@ -1,170 +0,0 @@ - --------------------------------- --- @module LayerRadialGradient --- @extend Layer --- @parent_module cc - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getStartColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getStartColor3B --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getStartOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] setCenter --- @param self --- @param #vec2_table center --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getEndColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] setStartOpacity --- @param self --- @param #unsigned char opacity --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getCenter --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] setEndOpacity --- @param self --- @param #unsigned char opacity --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] setExpand --- @param self --- @param #float expand --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getEndOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] initWithColor --- @param self --- @param #color4b_table startColor --- @param #color4b_table endColor --- @param #float radius --- @param #vec2_table center --- @param #float expand --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, color4b_table --- @overload self, color3b_table --- @function [parent=#LayerRadialGradient] setEndColor --- @param self --- @param #color3b_table color --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getEndColor3B --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] setRadius --- @param self --- @param #float radius --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- @overload self, color4b_table --- @overload self, color3b_table --- @function [parent=#LayerRadialGradient] setStartColor --- @param self --- @param #color3b_table color --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getExpand --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] getRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self --- @overload self, color4b_table, color4b_table, float, vec2_table, float --- @function [parent=#LayerRadialGradient] create --- @param self --- @param #color4b_table startColor --- @param #color4b_table endColor --- @param #float radius --- @param #vec2_table center --- @param #float expand --- @return LayerRadialGradient#LayerRadialGradient ret (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] setContentSize --- @param self --- @param #size_table size --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - --------------------------------- --- --- @function [parent=#LayerRadialGradient] LayerRadialGradient --- @param self --- @return LayerRadialGradient#LayerRadialGradient self (return value: cc.LayerRadialGradient) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Layout.lua b/cocos/scripting/lua-bindings/auto/api/Layout.lua deleted file mode 100644 index 6e8b0af92f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Layout.lua +++ /dev/null @@ -1,356 +0,0 @@ - --------------------------------- --- @module Layout --- @extend Widget,LayoutProtocol --- @parent_module ccui - --------------------------------- --- Sets background color vector for layout.
--- This setting only take effect when layout's color type is BackGroundColorType::GRADIENT
--- param vector The color vector in `Vec2`. --- @function [parent=#Layout] setBackGroundColorVector --- @param self --- @param #vec2_table vector --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Change the clipping type of layout.
--- On default, the clipping type is `ClippingType::STENCIL`.
--- see `ClippingType`
--- param type The clipping type of layout. --- @function [parent=#Layout] setClippingType --- @param self --- @param #int type --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Sets Color Type for layout's background
--- param type @see `BackGroundColorType` --- @function [parent=#Layout] setBackGroundColorType --- @param self --- @param #int type --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- If a layout is loop focused which means that the focus movement will be inside the layout
--- param loop pass true to let the focus movement loop inside the layout --- @function [parent=#Layout] setLoopFocus --- @param self --- @param #bool loop --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Set layout's background image color.
--- param color Background color value in `Color3B`. --- @function [parent=#Layout] setBackGroundImageColor --- @param self --- @param #color3b_table color --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Get the layout's background color vector.
--- return Background color vector. --- @function [parent=#Layout] getBackGroundColorVector --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- see `setClippingType(ClippingType)` --- @function [parent=#Layout] getClippingType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Layout] getRenderFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- return If focus loop is enabled, then it will return true, otherwise it returns false. The default value is false. --- @function [parent=#Layout] isLoopFocus --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Remove the background image of layout. --- @function [parent=#Layout] removeBackGroundImage --- @param self --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Get the layout's background color opacity.
--- return Background color opacity value. --- @function [parent=#Layout] getBackGroundColorOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- Gets if layout is clipping enabled.
--- return if layout is clipping enabled. --- @function [parent=#Layout] isClippingEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set opacity of background image.
--- param opacity Background image opacity in GLubyte. --- @function [parent=#Layout] setBackGroundImageOpacity --- @param self --- @param #unsigned char opacity --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Sets a background image for layout.
--- param fileName image file path.
--- param texType @see TextureResType. --- @function [parent=#Layout] setBackGroundImage --- @param self --- @param #string fileName --- @param #int texType --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- @overload self, color3b_table, color3b_table --- @overload self, color3b_table --- @function [parent=#Layout] setBackGroundColor --- @param self --- @param #color3b_table startColor --- @param #color3b_table endColor --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- request to refresh widget layout --- @function [parent=#Layout] requestDoLayout --- @param self --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Query background image's capInsets size.
--- return The background image capInsets. --- @function [parent=#Layout] getBackGroundImageCapInsets --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Query the layout's background color.
--- return Background color in Color3B. --- @function [parent=#Layout] getBackGroundColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Toggle layout clipping.
--- If you do need clipping, you pass true to this function.
--- param enabled Pass true to enable clipping, false otherwise. --- @function [parent=#Layout] setClippingEnabled --- @param self --- @param #bool enabled --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Get color of layout's background image.
--- return Layout's background image color. --- @function [parent=#Layout] getBackGroundImageColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Query background image scale9 enable status.
--- return Whether background image is scale9 enabled or not. --- @function [parent=#Layout] isBackGroundImageScale9Enabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Query the layout's background color type.
--- return The layout's background color type. --- @function [parent=#Layout] getBackGroundColorType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get the gradient background end color.
--- return Gradient background end color value. --- @function [parent=#Layout] getBackGroundEndColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Sets background color opacity of layout.
--- param opacity The opacity in `GLubyte`. --- @function [parent=#Layout] setBackGroundColorOpacity --- @param self --- @param #unsigned char opacity --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Get the opacity of layout's background image.
--- return The opacity of layout's background image. --- @function [parent=#Layout] getBackGroundImageOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- return To query whether the layout will pass the focus to its children or not. The default value is true --- @function [parent=#Layout] isPassFocusToChild --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets a background image capinsets for layout, it only affects the scale9 enabled background image
--- param capInsets The capInsets in Rect. --- @function [parent=#Layout] setBackGroundImageCapInsets --- @param self --- @param #rect_table capInsets --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Gets background image texture size.
--- return background image texture size. --- @function [parent=#Layout] getBackGroundImageTextureSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- force refresh widget layout --- @function [parent=#Layout] forceDoLayout --- @param self --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Query layout type.
--- return Get the layout type. --- @function [parent=#Layout] getLayoutType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- param pass To specify whether the layout pass its focus to its child --- @function [parent=#Layout] setPassFocusToChild --- @param self --- @param #bool pass --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Get the gradient background start color.
--- return Gradient background start color value. --- @function [parent=#Layout] getBackGroundStartColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Enable background image scale9 rendering.
--- param enabled True means enable scale9 rendering for background image, false otherwise. --- @function [parent=#Layout] setBackGroundImageScale9Enabled --- @param self --- @param #bool enabled --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Change the layout type.
--- param type Layout type. --- @function [parent=#Layout] setLayoutType --- @param self --- @param #int type --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Create a empty layout. --- @function [parent=#Layout] create --- @param self --- @return Layout#Layout ret (return value: ccui.Layout) - --------------------------------- --- --- @function [parent=#Layout] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- @overload self, cc.Node, int --- @overload self, cc.Node --- @overload self, cc.Node, int, int --- @overload self, cc.Node, int, string --- @function [parent=#Layout] addChild --- @param self --- @param #cc.Node child --- @param #int localZOrder --- @param #string name --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Returns the "class name" of widget. --- @function [parent=#Layout] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter.
--- param cleanup true if all running actions on all children nodes should be cleanup, false otherwise.
--- js removeAllChildren
--- lua removeAllChildren --- @function [parent=#Layout] removeAllChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Removes all children from the container with a cleanup.
--- see `removeAllChildrenWithCleanup(bool)` --- @function [parent=#Layout] removeAllChildren --- @param self --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- When a widget is in a layout, you could call this method to get the next focused widget within a specified direction.
--- If the widget is not in a layout, it will return itself
--- param direction the direction to look for the next focused widget in a layout
--- param current the current focused widget
--- return the next focused widget in a layout --- @function [parent=#Layout] findNextFocusedWidget --- @param self --- @param #int direction --- @param #ccui.Widget current --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#Layout] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- --- @function [parent=#Layout] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Override function. Set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true.
--- param mask Mask being set
--- param applyChildren If true call this function recursively from this node to its children. --- @function [parent=#Layout] setCameraMask --- @param self --- @param #unsigned short mask --- @param #bool applyChildren --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- --- @function [parent=#Layout] setGlobalZOrder --- @param self --- @param #float globalZOrder --- @return Layout#Layout self (return value: ccui.Layout) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#Layout] Layout --- @param self --- @return Layout#Layout self (return value: ccui.Layout) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LayoutComponent.lua b/cocos/scripting/lua-bindings/auto/api/LayoutComponent.lua deleted file mode 100644 index 7261a71ccc..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LayoutComponent.lua +++ /dev/null @@ -1,408 +0,0 @@ - --------------------------------- --- @module LayoutComponent --- @extend Component --- @parent_module ccui - --------------------------------- --- Toggle enable stretch width.
--- param isUsed True if enable stretch width, false otherwise. --- @function [parent=#LayoutComponent] setStretchWidthEnabled --- @param self --- @param #bool isUsed --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Change percent width of owner.
--- param percentWidth Percent Width in float. --- @function [parent=#LayoutComponent] setPercentWidth --- @param self --- @param #float percentWidth --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query the anchor position.
--- return Anchor position to it's parent --- @function [parent=#LayoutComponent] getAnchorPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Toggle position percentX enabled.
--- param isUsed True if enable position percentX, false otherwise. --- @function [parent=#LayoutComponent] setPositionPercentXEnabled --- @param self --- @param #bool isUsed --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Toggle enable stretch height.
--- param isUsed True if stretch height is enabled, false otherwise. --- @function [parent=#LayoutComponent] setStretchHeightEnabled --- @param self --- @param #bool isUsed --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Toggle active enabled of LayoutComponent's owner.
--- param enable True if active layout component, false otherwise. --- @function [parent=#LayoutComponent] setActiveEnabled --- @param self --- @param #bool enable --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query the right margin of owner relative to its parent.
--- return Right margin in float. --- @function [parent=#LayoutComponent] getRightMargin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Query owner's content size.
--- return Owner's content size. --- @function [parent=#LayoutComponent] getSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Change the anchor position to it's parent.
--- param point A value in (x,y) format. --- @function [parent=#LayoutComponent] setAnchorPosition --- @param self --- @param #vec2_table point --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Refresh layout of the owner. --- @function [parent=#LayoutComponent] refreshLayout --- @param self --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query whether percent width is enabled or not.
--- return True if percent width is enabled, false, otherwise. --- @function [parent=#LayoutComponent] isPercentWidthEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Change element's vertical dock type.
--- param vEage Vertical dock type @see `VerticalEdge`. --- @function [parent=#LayoutComponent] setVerticalEdge --- @param self --- @param #int vEage --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query the top margin of owner relative to its parent.
--- return Top margin in float. --- @function [parent=#LayoutComponent] getTopMargin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Change content size width of owner.
--- param width Content size width in float. --- @function [parent=#LayoutComponent] setSizeWidth --- @param self --- @param #float width --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query the percent content size value.
--- return Percent (x,y) in Vec2. --- @function [parent=#LayoutComponent] getPercentContentSize --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Query element vertical dock type.
--- return Vertical dock type. --- @function [parent=#LayoutComponent] getVerticalEdge --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Toggle enable percent width.
--- param isUsed True if percent width is enabled, false otherwise. --- @function [parent=#LayoutComponent] setPercentWidthEnabled --- @param self --- @param #bool isUsed --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query whether stretch width is enabled or not.
--- return True if stretch width is enabled, false otherwise. --- @function [parent=#LayoutComponent] isStretchWidthEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Change left margin of owner relative to its parent.
--- param margin Margin in float. --- @function [parent=#LayoutComponent] setLeftMargin --- @param self --- @param #float margin --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query content size width of owner.
--- return Content size width in float. --- @function [parent=#LayoutComponent] getSizeWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Toggle position percentY enabled.
--- param isUsed True if position percentY is enabled, false otherwise. --- @function [parent=#LayoutComponent] setPositionPercentYEnabled --- @param self --- @param #bool isUsed --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query size height of owner.
--- return Size height in float. --- @function [parent=#LayoutComponent] getSizeHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Query the position percentY Y value.
--- return Position percent Y value in float. --- @function [parent=#LayoutComponent] getPositionPercentY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Query the position percent X value.
--- return Position percent X value in float. --- @function [parent=#LayoutComponent] getPositionPercentX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Change the top margin of owner relative to its parent.
--- param margin Margin in float. --- @function [parent=#LayoutComponent] setTopMargin --- @param self --- @param #float margin --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query percent height of owner.
--- return Percent height in float. --- @function [parent=#LayoutComponent] getPercentHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Query whether use percent content size or not.
--- return True if using percent content size, false otherwise. --- @function [parent=#LayoutComponent] getUsingPercentContentSize --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Change position percentY value.
--- param percentMargin Margin in float. --- @function [parent=#LayoutComponent] setPositionPercentY --- @param self --- @param #float percentMargin --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Change position percent X value.
--- param percentMargin Margin in float. --- @function [parent=#LayoutComponent] setPositionPercentX --- @param self --- @param #float percentMargin --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Change right margin of owner relative to its parent.
--- param margin Margin in float. --- @function [parent=#LayoutComponent] setRightMargin --- @param self --- @param #float margin --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Whether position percentY is enabled or not.
--- see `setPositionPercentYEnabled`
--- return True if position percentY is enabled, false otherwise. --- @function [parent=#LayoutComponent] isPositionPercentYEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Change percent height value of owner.
--- param percentHeight Percent height in float. --- @function [parent=#LayoutComponent] setPercentHeight --- @param self --- @param #float percentHeight --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Toggle enable percent only.
--- param enable True if percent only is enabled, false otherwise. --- @function [parent=#LayoutComponent] setPercentOnlyEnabled --- @param self --- @param #bool enable --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Change element's horizontal dock type.
--- param hEage Horizontal dock type @see `HorizontalEdge` --- @function [parent=#LayoutComponent] setHorizontalEdge --- @param self --- @param #int hEage --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Change the position of component owner.
--- param position A position in (x,y) --- @function [parent=#LayoutComponent] setPosition --- @param self --- @param #vec2_table position --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Percent content size is used to adapt node's content size based on parent's content size.
--- If set to true then node's content size will be changed based on the value set by @see setPercentContentSize
--- param isUsed True to enable percent content size, false otherwise. --- @function [parent=#LayoutComponent] setUsingPercentContentSize --- @param self --- @param #bool isUsed --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query left margin of owner relative to its parent.
--- return Left margin in float. --- @function [parent=#LayoutComponent] getLeftMargin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Query the owner's position.
--- return The owner's position. --- @function [parent=#LayoutComponent] getPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Change size height of owner.
--- param height Size height in float. --- @function [parent=#LayoutComponent] setSizeHeight --- @param self --- @param #float height --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Whether position percentX is enabled or not.
--- return True if position percentX is enable, false otherwise. --- @function [parent=#LayoutComponent] isPositionPercentXEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Query the bottom margin of owner relative to its parent.
--- return Bottom margin in float. --- @function [parent=#LayoutComponent] getBottomMargin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Toggle enable percent height.
--- param isUsed True if percent height is enabled, false otherwise. --- @function [parent=#LayoutComponent] setPercentHeightEnabled --- @param self --- @param #bool isUsed --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Set percent content size.
--- The value should be [0-1], 0 means the child's content size will be 0
--- and 1 means the child's content size is the same as its parents.
--- param percent The percent (x,y) of the node in [0-1] scope. --- @function [parent=#LayoutComponent] setPercentContentSize --- @param self --- @param #vec2_table percent --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Query whether percent height is enabled or not.
--- return True if percent height is enabled, false otherwise. --- @function [parent=#LayoutComponent] isPercentHeightEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Query percent width of owner.
--- return percent width in float. --- @function [parent=#LayoutComponent] getPercentWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Query element horizontal dock type.
--- return Horizontal dock type. --- @function [parent=#LayoutComponent] getHorizontalEdge --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Query whether stretch height is enabled or not.
--- return True if stretch height is enabled, false otherwise. --- @function [parent=#LayoutComponent] isStretchHeightEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Change the bottom margin of owner relative to its parent.
--- param margin in float. --- @function [parent=#LayoutComponent] setBottomMargin --- @param self --- @param #float margin --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- Change the content size of owner.
--- param size Content size in @see `Size`. --- @function [parent=#LayoutComponent] setSize --- @param self --- @param #size_table size --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - --------------------------------- --- --- @function [parent=#LayoutComponent] create --- @param self --- @return LayoutComponent#LayoutComponent ret (return value: ccui.LayoutComponent) - --------------------------------- --- Bind a LayoutComponent to a specified node.
--- If the node has already binded a LayoutComponent named __LAYOUT_COMPONENT_NAME, just return the LayoutComponent.
--- Otherwise, create a new LayoutComponent and bind the LayoutComponent to the node.
--- param node A Node* instance pointer.
--- return The binded LayoutComponent instance pointer. --- @function [parent=#LayoutComponent] bindLayoutComponent --- @param self --- @param #cc.Node node --- @return LayoutComponent#LayoutComponent ret (return value: ccui.LayoutComponent) - --------------------------------- --- --- @function [parent=#LayoutComponent] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Default constructor
--- lua new --- @function [parent=#LayoutComponent] LayoutComponent --- @param self --- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LayoutParameter.lua b/cocos/scripting/lua-bindings/auto/api/LayoutParameter.lua deleted file mode 100644 index 30f19f152c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LayoutParameter.lua +++ /dev/null @@ -1,51 +0,0 @@ - --------------------------------- --- @module LayoutParameter --- @extend Ref --- @parent_module ccui - --------------------------------- --- Create a copy of original LayoutParameter.
--- return A LayoutParameter pointer. --- @function [parent=#LayoutParameter] clone --- @param self --- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter) - --------------------------------- --- Gets LayoutParameterType of LayoutParameter.
--- see LayoutParameterType.
--- return LayoutParameterType --- @function [parent=#LayoutParameter] getLayoutType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Create a cloned instance of LayoutParameter.
--- return A LayoutParameter pointer. --- @function [parent=#LayoutParameter] createCloneInstance --- @param self --- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter) - --------------------------------- --- Copy all the member field from argument LayoutParameter to self.
--- param model A LayoutParameter instance. --- @function [parent=#LayoutParameter] copyProperties --- @param self --- @param #ccui.LayoutParameter model --- @return LayoutParameter#LayoutParameter self (return value: ccui.LayoutParameter) - --------------------------------- --- Create a empty LayoutParameter.
--- return A autorelease LayoutParameter instance. --- @function [parent=#LayoutParameter] create --- @param self --- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter) - --------------------------------- --- Default constructor.
--- lua new --- @function [parent=#LayoutParameter] LayoutParameter --- @param self --- @return LayoutParameter#LayoutParameter self (return value: ccui.LayoutParameter) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Lens3D.lua b/cocos/scripting/lua-bindings/auto/api/Lens3D.lua deleted file mode 100644 index 4feea72844..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Lens3D.lua +++ /dev/null @@ -1,94 +0,0 @@ - --------------------------------- --- @module Lens3D --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Set whether lens is concave.
--- param concave Whether lens is concave. --- @function [parent=#Lens3D] setConcave --- @param self --- @param #bool concave --- @return Lens3D#Lens3D self (return value: cc.Lens3D) - --------------------------------- --- brief Initializes the action with center position, radius, grid size and duration.
--- param duration Specify the duration of the Lens3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param position Specify the center position of the lens effect.
--- param radius Specify the radius of the lens effect.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#Lens3D] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #vec2_table position --- @param #float radius --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Set the value of lens effect.
--- param lensEffect The value of lens effect will be set. --- @function [parent=#Lens3D] setLensEffect --- @param self --- @param #float lensEffect --- @return Lens3D#Lens3D self (return value: cc.Lens3D) - --------------------------------- --- brief Get the value of lens effect. Default value is 0.7.
--- return The value of lens effect. --- @function [parent=#Lens3D] getLensEffect --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the center position of lens effect.
--- param position The center position will be set. --- @function [parent=#Lens3D] setPosition --- @param self --- @param #vec2_table position --- @return Lens3D#Lens3D self (return value: cc.Lens3D) - --------------------------------- --- brief Get the center position of lens effect.
--- return The center position of lens effect. --- @function [parent=#Lens3D] getPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- brief Create the action with center position, radius, a grid size and duration.
--- param duration Specify the duration of the Lens3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param position Specify the center position of the lens.
--- param radius Specify the radius of the lens.
--- return If the creation success, return a pointer of Lens3D action; otherwise, return nil. --- @function [parent=#Lens3D] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #vec2_table position --- @param #float radius --- @return Lens3D#Lens3D ret (return value: cc.Lens3D) - --------------------------------- --- --- @function [parent=#Lens3D] clone --- @param self --- @return Lens3D#Lens3D ret (return value: cc.Lens3D) - --------------------------------- --- --- @function [parent=#Lens3D] update --- @param self --- @param #float time --- @return Lens3D#Lens3D self (return value: cc.Lens3D) - --------------------------------- --- --- @function [parent=#Lens3D] Lens3D --- @param self --- @return Lens3D#Lens3D self (return value: cc.Lens3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua b/cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua deleted file mode 100644 index c0f10cc0a9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua +++ /dev/null @@ -1,51 +0,0 @@ - --------------------------------- --- @module LinearLayoutParameter --- @extend LayoutParameter --- @parent_module ccui - --------------------------------- --- Sets LinearGravity parameter for LayoutParameter.
--- see LinearGravity
--- param gravity Gravity in LinearGravity. --- @function [parent=#LinearLayoutParameter] setGravity --- @param self --- @param #int gravity --- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter) - --------------------------------- --- Gets LinearGravity parameter for LayoutParameter.
--- see LinearGravity
--- return LinearGravity --- @function [parent=#LinearLayoutParameter] getGravity --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Create a empty LinearLayoutParameter instance.
--- return A initialized LayoutParameter which is marked as "autorelease". --- @function [parent=#LinearLayoutParameter] create --- @param self --- @return LinearLayoutParameter#LinearLayoutParameter ret (return value: ccui.LinearLayoutParameter) - --------------------------------- --- --- @function [parent=#LinearLayoutParameter] createCloneInstance --- @param self --- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter) - --------------------------------- --- --- @function [parent=#LinearLayoutParameter] copyProperties --- @param self --- @param #ccui.LayoutParameter model --- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter) - --------------------------------- --- Default constructor.
--- lua new --- @function [parent=#LinearLayoutParameter] LinearLayoutParameter --- @param self --- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Liquid.lua b/cocos/scripting/lua-bindings/auto/api/Liquid.lua deleted file mode 100644 index 8a1210e4d4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Liquid.lua +++ /dev/null @@ -1,86 +0,0 @@ - --------------------------------- --- @module Liquid --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Set the amplitude rate of the effect.
--- param amplitudeRate The value of amplitude rate will be set. --- @function [parent=#Liquid] setAmplitudeRate --- @param self --- @param #float amplitudeRate --- @return Liquid#Liquid self (return value: cc.Liquid) - --------------------------------- --- brief Initializes the action with amplitude, grid size, waves count and duration.
--- param duration Specify the duration of the Liquid action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param waves Specify the waves count of the Liquid action.
--- param amplitude Specify the amplitude of the Liquid action.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#Liquid] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int waves --- @param #float amplitude --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the amplitude of the effect.
--- return Return the amplitude of the effect. --- @function [parent=#Liquid] getAmplitude --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Get the amplitude rate of the effect.
--- return Return the amplitude rate of the effect. --- @function [parent=#Liquid] getAmplitudeRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the amplitude to the effect.
--- param amplitude The value of amplitude will be set. --- @function [parent=#Liquid] setAmplitude --- @param self --- @param #float amplitude --- @return Liquid#Liquid self (return value: cc.Liquid) - --------------------------------- --- brief Create the action with amplitude, grid size, waves count and duration.
--- param duration Specify the duration of the Liquid action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param waves Specify the waves count of the Liquid action.
--- param amplitude Specify the amplitude of the Liquid action.
--- return If the creation success, return a pointer of Liquid action; otherwise, return nil. --- @function [parent=#Liquid] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int waves --- @param #float amplitude --- @return Liquid#Liquid ret (return value: cc.Liquid) - --------------------------------- --- --- @function [parent=#Liquid] clone --- @param self --- @return Liquid#Liquid ret (return value: cc.Liquid) - --------------------------------- --- --- @function [parent=#Liquid] update --- @param self --- @param #float time --- @return Liquid#Liquid self (return value: cc.Liquid) - --------------------------------- --- --- @function [parent=#Liquid] Liquid --- @param self --- @return Liquid#Liquid self (return value: cc.Liquid) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ListView.lua b/cocos/scripting/lua-bindings/auto/api/ListView.lua deleted file mode 100644 index f36d39556a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ListView.lua +++ /dev/null @@ -1,495 +0,0 @@ - --------------------------------- --- @module ListView --- @extend ScrollView --- @parent_module ccui - --------------------------------- --- Set the gravity of ListView.
--- see `ListViewGravity` --- @function [parent=#ListView] setGravity --- @param self --- @param #int gravity --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Removes the last item of ListView. --- @function [parent=#ListView] removeLastItem --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Get the left padding in ListView
--- return Left padding in float --- @function [parent=#ListView] getLeftPadding --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Query the center item
--- return An item instance. --- @function [parent=#ListView] getCenterItemInCurrentView --- @param self --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- brief Query current selected widget's index.
--- return An index of a selected item. --- @function [parent=#ListView] getCurSelectedIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get the time in seconds to scroll between items.
--- return The time in seconds to scroll between items
--- see setScrollDuration(float) --- @function [parent=#ListView] getScrollDuration --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Query whether the magnetic out of boundary is allowed. --- @function [parent=#ListView] getMagneticAllowedOutOfBoundary --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Query margin between each item in ListView.
--- return A margin in float. --- @function [parent=#ListView] getItemsMargin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, int, vec2_table, vec2_table, float --- @overload self, int, vec2_table, vec2_table --- @function [parent=#ListView] scrollToItem --- @param self --- @param #int itemIndex --- @param #vec2_table positionRatioInView --- @param #vec2_table itemAnchorPoint --- @param #float timeInSec --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- brief Jump to specific item
--- param itemIndex Specifies the item's index
--- param positionRatioInView Specifies the position with ratio in list view's content size.
--- param itemAnchorPoint Specifies an anchor point of each item for position to calculate distance. --- @function [parent=#ListView] jumpToItem --- @param self --- @param #int itemIndex --- @param #vec2_table positionRatioInView --- @param #vec2_table itemAnchorPoint --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Change padding with top padding
--- param t Top padding in float --- @function [parent=#ListView] setTopPadding --- @param self --- @param #float t --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Return the index of specified widget.
--- param item A widget pointer.
--- return The index of a given widget in ListView. --- @function [parent=#ListView] getIndex --- @param self --- @param #ccui.Widget item --- @return int#int ret (return value: int) - --------------------------------- --- Insert a custom item into the end of ListView.
--- param item An item in `Widget*`. --- @function [parent=#ListView] pushBackCustomItem --- @param self --- @param #ccui.Widget item --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- brief Set current selected widget's index and call TouchEventType::ENDED event.
--- param itemIndex A index of a selected item. --- @function [parent=#ListView] setCurSelectedIndex --- @param self --- @param #int itemIndex --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Insert a default item(create by cloning model) into listview at a give index.
--- param index An index in ssize_t. --- @function [parent=#ListView] insertDefaultItem --- @param self --- @param #int index --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Set magnetic type of ListView.
--- see `MagneticType` --- @function [parent=#ListView] setMagneticType --- @param self --- @param #int magneticType --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Set magnetic allowed out of boundary. --- @function [parent=#ListView] setMagneticAllowedOutOfBoundary --- @param self --- @param #bool magneticAllowedOutOfBoundary --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Add an event click callback to ListView, then one item of Listview is clicked, the callback will be called.
--- param callback A callback function with type of `ccListViewCallback`. --- @function [parent=#ListView] addEventListener --- @param self --- @param #function callback --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] doLayout --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- brief Query the topmost item in horizontal list
--- return An item instance. --- @function [parent=#ListView] getTopmostItemInCurrentView --- @param self --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Change padding with left, top, right, and bottom padding.
--- param l Left padding in float.
--- param t Top margin in float.
--- param r Right margin in float.
--- param b Bottom margin in float. --- @function [parent=#ListView] setPadding --- @param self --- @param #float l --- @param #float t --- @param #float r --- @param #float b --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- brief Remove all items in current ListView. --- @function [parent=#ListView] removeAllItems --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Get the right padding in ListView
--- return Right padding in float --- @function [parent=#ListView] getRightPadding --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Query the bottommost item in horizontal list
--- return An item instance. --- @function [parent=#ListView] getBottommostItemInCurrentView --- @param self --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Return all items in a ListView.
--- returns A vector of widget pointers. --- @function [parent=#ListView] getItems --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- brief Query the leftmost item in horizontal list
--- return An item instance. --- @function [parent=#ListView] getLeftmostItemInCurrentView --- @param self --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Set the margin between each item in ListView.
--- param margin A margin in float. --- @function [parent=#ListView] setItemsMargin --- @param self --- @param #float margin --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Get magnetic type of ListView. --- @function [parent=#ListView] getMagneticType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Return an item at a given index.
--- param index A given index in ssize_t.
--- return A widget instance. --- @function [parent=#ListView] getItem --- @param self --- @param #int index --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Remove an item at given index.
--- param index A given index in ssize_t. --- @function [parent=#ListView] removeItem --- @param self --- @param #int index --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Get the top padding in ListView
--- return Top padding in float --- @function [parent=#ListView] getTopPadding --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Insert a default item(create by a cloned model) at the end of the listview. --- @function [parent=#ListView] pushBackDefaultItem --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Change padding with left padding
--- param l Left padding in float. --- @function [parent=#ListView] setLeftPadding --- @param self --- @param #float l --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- brief Query the closest item to a specific position in inner container.
--- param targetPosition Specifies the target position in inner container's coordinates.
--- param itemAnchorPoint Specifies an anchor point of each item for position to calculate distance.
--- return An item instance if list view is not empty. Otherwise, returns null. --- @function [parent=#ListView] getClosestItemToPosition --- @param self --- @param #vec2_table targetPosition --- @param #vec2_table itemAnchorPoint --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Change padding with bottom padding
--- param b Bottom padding in float --- @function [parent=#ListView] setBottomPadding --- @param self --- @param #float b --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Set the time in seconds to scroll between items.
--- Subsequent calls of function 'scrollToItem', will take 'time' seconds for scrolling.
--- param time The seconds needed to scroll between two items. 'time' must be >= 0
--- see scrollToItem(ssize_t, const Vec2&, const Vec2&) --- @function [parent=#ListView] setScrollDuration --- @param self --- @param #float time --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- brief Query the closest item to a specific position in current view.
--- For instance, to find the item in the center of view, call 'getClosestItemToPositionInCurrentView(Vec2::ANCHOR_MIDDLE, Vec2::ANCHOR_MIDDLE)'.
--- param positionRatioInView Specifies the target position with ratio in list view's content size.
--- param itemAnchorPoint Specifies an anchor point of each item for position to calculate distance.
--- return An item instance if list view is not empty. Otherwise, returns null. --- @function [parent=#ListView] getClosestItemToPositionInCurrentView --- @param self --- @param #vec2_table positionRatioInView --- @param #vec2_table itemAnchorPoint --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- brief Query the rightmost item in horizontal list
--- return An item instance. --- @function [parent=#ListView] getRightmostItemInCurrentView --- @param self --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Change padding with right padding
--- param r Right padding in float --- @function [parent=#ListView] setRightPadding --- @param self --- @param #float r --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Set an item model for listview.
--- When calling `pushBackDefaultItem`, the model will be used as a blueprint and new model copy will be inserted into ListView.
--- param model Model in `Widget*`. --- @function [parent=#ListView] setItemModel --- @param self --- @param #ccui.Widget model --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Get the bottom padding in ListView
--- return Bottom padding in float --- @function [parent=#ListView] getBottomPadding --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Insert a custom widget into ListView at a given index.
--- param item A widget pointer to be inserted.
--- param index A given index in ssize_t. --- @function [parent=#ListView] insertCustomItem --- @param self --- @param #ccui.Widget item --- @param #int index --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Create an empty ListView.
--- return A ListView instance. --- @function [parent=#ListView] create --- @param self --- @return ListView#ListView ret (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- @overload self, cc.Node, int --- @overload self, cc.Node --- @overload self, cc.Node, int, int --- @overload self, cc.Node, int, string --- @function [parent=#ListView] addChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @param #string name --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Override functions --- @function [parent=#ListView] jumpToBottom --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Changes scroll direction of scrollview.
--- Direction Direction::VERTICAL means vertical scroll, Direction::HORIZONTAL means horizontal scroll.
--- param dir Set the list view's scroll direction. --- @function [parent=#ListView] setDirection --- @param self --- @param #int dir --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToTopRight --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToLeft --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] removeAllChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] requestDoLayout --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] removeAllChildren --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToTopLeft --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToBottomRight --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToTop --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToBottomLeft --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToPercentBothDirection --- @param self --- @param #vec2_table percent --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToPercentHorizontal --- @param self --- @param #float percent --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] jumpToRight --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- --- @function [parent=#ListView] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#ListView] jumpToPercentVertical --- @param self --- @param #float percent --- @return ListView#ListView self (return value: ccui.ListView) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#ListView] ListView --- @param self --- @return ListView#ListView self (return value: ccui.ListView) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua b/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua deleted file mode 100644 index a878e7f61a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua +++ /dev/null @@ -1,136 +0,0 @@ - --------------------------------- --- @module LoadingBar --- @extend Widget --- @parent_module ccui - --------------------------------- --- Changes the progress value of LoadingBar.
--- param percent Percent value from 1 to 100. --- @function [parent=#LoadingBar] setPercent --- @param self --- @param #float percent --- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar) - --------------------------------- --- Load texture for LoadingBar.
--- param texture File name of texture.
--- param texType Texture resource type,@see TextureResType. --- @function [parent=#LoadingBar] loadTexture --- @param self --- @param #string texture --- @param #int texType --- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar) - --------------------------------- --- Change the progress direction of LoadingBar.
--- see Direction `LEFT` means progress left to right, `RIGHT` otherwise.
--- param direction Direction --- @function [parent=#LoadingBar] setDirection --- @param self --- @param #int direction --- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar) - --------------------------------- --- --- @function [parent=#LoadingBar] getRenderFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Enable scale9 renderer.
--- param enabled Set to true will use scale9 renderer, false otherwise. --- @function [parent=#LoadingBar] setScale9Enabled --- @param self --- @param #bool enabled --- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar) - --------------------------------- --- Set capInsets for LoadingBar.
--- This setting only take effect when enable scale9 renderer.
--- param capInsets CapInset in `Rect`. --- @function [parent=#LoadingBar] setCapInsets --- @param self --- @param #rect_table capInsets --- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar) - --------------------------------- --- Get the progress direction of LoadingBar.
--- see Direction `LEFT` means progress left to right, `RIGHT` otherwise.
--- return LoadingBar progress direction. --- @function [parent=#LoadingBar] getDirection --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Query LoadingBar's capInsets.
--- return CapInsets of LoadingBar. --- @function [parent=#LoadingBar] getCapInsets --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- brief Query whether LoadingBar is using scale9 renderer or not.
--- return Whether LoadingBar uses scale9 renderer or not. --- @function [parent=#LoadingBar] isScale9Enabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the progress value of LoadingBar.
--- return Progress value from 1 to 100. --- @function [parent=#LoadingBar] getPercent --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, string, float --- @overload self --- @overload self, string, int, float --- @function [parent=#LoadingBar] create --- @param self --- @param #string textureName --- @param #int texType --- @param #float percentage --- @return LoadingBar#LoadingBar ret (return value: ccui.LoadingBar) - --------------------------------- --- --- @function [parent=#LoadingBar] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#LoadingBar] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#LoadingBar] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#LoadingBar] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#LoadingBar] ignoreContentAdaptWithSize --- @param self --- @param #bool ignore --- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar) - --------------------------------- --- Default constructor.
--- js ctor
--- lua new --- @function [parent=#LoadingBar] LoadingBar --- @param self --- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Manifest.lua b/cocos/scripting/lua-bindings/auto/api/Manifest.lua deleted file mode 100644 index 5306dea81f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Manifest.lua +++ /dev/null @@ -1,49 +0,0 @@ - --------------------------------- --- @module Manifest --- @extend Ref --- @parent_module cc - --------------------------------- --- @brief Gets remote manifest file url. --- @function [parent=#Manifest] getManifestFileUrl --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @brief Check whether the version informations have been fully loaded --- @function [parent=#Manifest] isVersionLoaded --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @brief Check whether the manifest have been fully loaded --- @function [parent=#Manifest] isLoaded --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @brief Gets remote package url. --- @function [parent=#Manifest] getPackageUrl --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @brief Gets manifest version. --- @function [parent=#Manifest] getVersion --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @brief Gets remote version file url. --- @function [parent=#Manifest] getVersionFileUrl --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @brief Get the search paths list related to the Manifest. --- @function [parent=#Manifest] getSearchPaths --- @param self --- @return array_table#array_table ret (return value: array_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Material.lua b/cocos/scripting/lua-bindings/auto/api/Material.lua deleted file mode 100644 index 3e3832a3f2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Material.lua +++ /dev/null @@ -1,104 +0,0 @@ - --------------------------------- --- @module Material --- @extend RenderState --- @parent_module cc - --------------------------------- --- returns a clone (deep-copy) of the material --- @function [parent=#Material] clone --- @param self --- @return Material#Material ret (return value: cc.Material) - --------------------------------- --- Returns the number of Techniques in the Material. --- @function [parent=#Material] getTechniqueCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- / sets the material name --- @function [parent=#Material] setName --- @param self --- @param #string name --- @return Material#Material self (return value: cc.Material) - --------------------------------- --- Returns a Technique by index.
--- returns `nullptr` if the index is invalid. --- @function [parent=#Material] getTechniqueByIndex --- @param self --- @param #int index --- @return Technique#Technique ret (return value: cc.Technique) - --------------------------------- --- / returns the material name --- @function [parent=#Material] getName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Returns the list of Techniques --- @function [parent=#Material] getTechniques --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Sets the current technique --- @function [parent=#Material] setTechnique --- @param self --- @param #string techniqueName --- @return Material#Material self (return value: cc.Material) - --------------------------------- --- Returns a Technique by its name.
--- returns `nullptr` if the Technique can't be found. --- @function [parent=#Material] getTechniqueByName --- @param self --- @param #string name --- @return Technique#Technique ret (return value: cc.Technique) - --------------------------------- --- Adds a Technique into the Material --- @function [parent=#Material] addTechnique --- @param self --- @param #cc.Technique technique --- @return Material#Material self (return value: cc.Material) - --------------------------------- --- Returns the Technique used by the Material --- @function [parent=#Material] getTechnique --- @param self --- @return Technique#Technique ret (return value: cc.Technique) - --------------------------------- --- Creates a Material using the data from the Properties object defined at the specified URL,
--- where the URL is of the format ".#//.../"
--- (and "#//.../" is optional).
--- param url The URL pointing to the Properties object defining the material.
--- return A new Material or NULL if there was an error. --- @function [parent=#Material] createWithFilename --- @param self --- @param #string path --- @return Material#Material ret (return value: cc.Material) - --------------------------------- --- Creates a Material with a GLProgramState.
--- It will only contain one Technique and one Pass.
--- Added in order to support legacy code. --- @function [parent=#Material] createWithGLStateProgram --- @param self --- @param #cc.GLProgramState programState --- @return Material#Material ret (return value: cc.Material) - --------------------------------- --- Creates a material from the specified properties object.
--- param materialProperties The properties object defining the
--- material (must have namespace equal to 'material').
--- return A new Material. --- @function [parent=#Material] createWithProperties --- @param self --- @param #cc.Properties materialProperties --- @return Material#Material ret (return value: cc.Material) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Menu.lua b/cocos/scripting/lua-bindings/auto/api/Menu.lua deleted file mode 100644 index df555c6769..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Menu.lua +++ /dev/null @@ -1,111 +0,0 @@ - --------------------------------- --- @module Menu --- @extend Layer --- @parent_module cc - --------------------------------- --- initializes a Menu with a NSArray of MenuItem objects --- @function [parent=#Menu] initWithArray --- @param self --- @param #array_table arrayOfItems --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set whether the menu is enabled. If set to false, interacting with the menu
--- will have no effect.
--- The default value is true, a menu is enabled by default.
--- param value true if menu is to be enabled, false if menu is to be disabled. --- @function [parent=#Menu] setEnabled --- @param self --- @param #bool value --- @return Menu#Menu self (return value: cc.Menu) - --------------------------------- --- Align items vertically. --- @function [parent=#Menu] alignItemsVertically --- @param self --- @return Menu#Menu self (return value: cc.Menu) - --------------------------------- --- Determines if the menu is enabled.
--- see `setEnabled(bool)`.
--- return whether the menu is enabled or not. --- @function [parent=#Menu] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Align items horizontally. --- @function [parent=#Menu] alignItemsHorizontally --- @param self --- @return Menu#Menu self (return value: cc.Menu) - --------------------------------- --- Align items horizontally with padding.
--- since v0.7.2 --- @function [parent=#Menu] alignItemsHorizontallyWithPadding --- @param self --- @param #float padding --- @return Menu#Menu self (return value: cc.Menu) - --------------------------------- --- Align items vertically with padding.
--- since v0.7.2 --- @function [parent=#Menu] alignItemsVerticallyWithPadding --- @param self --- @param #float padding --- @return Menu#Menu self (return value: cc.Menu) - --------------------------------- --- @overload self, cc.Node, int --- @overload self, cc.Node --- @overload self, cc.Node, int, int --- @overload self, cc.Node, int, string --- @function [parent=#Menu] addChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @param #string name --- @return Menu#Menu self (return value: cc.Menu) - --------------------------------- --- --- @function [parent=#Menu] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Menu] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return Menu#Menu self (return value: cc.Menu) - --------------------------------- --- initializes an empty Menu --- @function [parent=#Menu] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Menu] setOpacityModifyRGB --- @param self --- @param #bool value --- @return Menu#Menu self (return value: cc.Menu) - --------------------------------- --- --- @function [parent=#Menu] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor --- @function [parent=#Menu] Menu --- @param self --- @return Menu#Menu self (return value: cc.Menu) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MenuItem.lua b/cocos/scripting/lua-bindings/auto/api/MenuItem.lua deleted file mode 100644 index 00cdee3c3c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MenuItem.lua +++ /dev/null @@ -1,62 +0,0 @@ - --------------------------------- --- @module MenuItem --- @extend Node --- @parent_module cc - --------------------------------- --- Enables or disables the item. --- @function [parent=#MenuItem] setEnabled --- @param self --- @param #bool value --- @return MenuItem#MenuItem self (return value: cc.MenuItem) - --------------------------------- --- Activate the item. --- @function [parent=#MenuItem] activate --- @param self --- @return MenuItem#MenuItem self (return value: cc.MenuItem) - --------------------------------- --- Returns whether or not the item is enabled. --- @function [parent=#MenuItem] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- The item was selected (not activated), similar to "mouse-over". --- @function [parent=#MenuItem] selected --- @param self --- @return MenuItem#MenuItem self (return value: cc.MenuItem) - --------------------------------- --- Returns whether or not the item is selected. --- @function [parent=#MenuItem] isSelected --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- The item was unselected. --- @function [parent=#MenuItem] unselected --- @param self --- @return MenuItem#MenuItem self (return value: cc.MenuItem) - --------------------------------- --- Returns the outside box. --- @function [parent=#MenuItem] rect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- js NA --- @function [parent=#MenuItem] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- js ctor --- @function [parent=#MenuItem] MenuItem --- @param self --- @return MenuItem#MenuItem self (return value: cc.MenuItem) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MenuItemAtlasFont.lua b/cocos/scripting/lua-bindings/auto/api/MenuItemAtlasFont.lua deleted file mode 100644 index 66c6e6ae31..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MenuItemAtlasFont.lua +++ /dev/null @@ -1,25 +0,0 @@ - --------------------------------- --- @module MenuItemAtlasFont --- @extend MenuItemLabel --- @parent_module cc - --------------------------------- --- Initializes a menu item from a string and atlas with a target/selector. --- @function [parent=#MenuItemAtlasFont] initWithString --- @param self --- @param #string value --- @param #string charMapFile --- @param #int itemWidth --- @param #int itemHeight --- @param #char startCharMap --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor --- @function [parent=#MenuItemAtlasFont] MenuItemAtlasFont --- @param self --- @return MenuItemAtlasFont#MenuItemAtlasFont self (return value: cc.MenuItemAtlasFont) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MenuItemFont.lua b/cocos/scripting/lua-bindings/auto/api/MenuItemFont.lua deleted file mode 100644 index 6bcf79a5d5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MenuItemFont.lua +++ /dev/null @@ -1,85 +0,0 @@ - --------------------------------- --- @module MenuItemFont --- @extend MenuItemLabel --- @parent_module cc - --------------------------------- --- Returns the name of the Font.
--- js getFontNameObj
--- js NA --- @function [parent=#MenuItemFont] getFontNameObj --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Set the font name .
--- c++ can not overload static and non-static member functions with the same parameter types.
--- so change the name to setFontNameObj.
--- js setFontName
--- js NA --- @function [parent=#MenuItemFont] setFontNameObj --- @param self --- @param #string name --- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont) - --------------------------------- --- Initializes a menu item from a string with a target/selector. --- @function [parent=#MenuItemFont] initWithString --- @param self --- @param #string value --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- get font size .
--- js getFontSize
--- js NA --- @function [parent=#MenuItemFont] getFontSizeObj --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set font size.
--- c++ can not overload static and non-static member functions with the same parameter types.
--- so change the name to setFontSizeObj.
--- js setFontSize
--- js NA --- @function [parent=#MenuItemFont] setFontSizeObj --- @param self --- @param #int size --- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont) - --------------------------------- --- Set the default font name. --- @function [parent=#MenuItemFont] setFontName --- @param self --- @param #string name --- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont) - --------------------------------- --- Get default font size. --- @function [parent=#MenuItemFont] getFontSize --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get the default font name. --- @function [parent=#MenuItemFont] getFontName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Set default font size. --- @function [parent=#MenuItemFont] setFontSize --- @param self --- @param #int size --- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont) - --------------------------------- --- js ctor --- @function [parent=#MenuItemFont] MenuItemFont --- @param self --- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MenuItemImage.lua b/cocos/scripting/lua-bindings/auto/api/MenuItemImage.lua deleted file mode 100644 index 71f6d28180..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MenuItemImage.lua +++ /dev/null @@ -1,50 +0,0 @@ - --------------------------------- --- @module MenuItemImage --- @extend MenuItemSprite --- @parent_module cc - --------------------------------- --- Sets the sprite frame for the disabled image. --- @function [parent=#MenuItemImage] setDisabledSpriteFrame --- @param self --- @param #cc.SpriteFrame frame --- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage) - --------------------------------- --- Sets the sprite frame for the selected image. --- @function [parent=#MenuItemImage] setSelectedSpriteFrame --- @param self --- @param #cc.SpriteFrame frame --- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage) - --------------------------------- --- Sets the sprite frame for the normal image. --- @function [parent=#MenuItemImage] setNormalSpriteFrame --- @param self --- @param #cc.SpriteFrame frame --- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage) - --------------------------------- --- --- @function [parent=#MenuItemImage] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Initializes a menu item with a normal, selected and disabled image with a callable object. --- @function [parent=#MenuItemImage] initWithNormalImage --- @param self --- @param #string normalImage --- @param #string selectedImage --- @param #string disabledImage --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor --- @function [parent=#MenuItemImage] MenuItemImage --- @param self --- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MenuItemLabel.lua b/cocos/scripting/lua-bindings/auto/api/MenuItemLabel.lua deleted file mode 100644 index 751e96bcb2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MenuItemLabel.lua +++ /dev/null @@ -1,85 +0,0 @@ - --------------------------------- --- @module MenuItemLabel --- @extend MenuItem --- @parent_module cc - --------------------------------- --- Sets the label that is rendered. --- @function [parent=#MenuItemLabel] setLabel --- @param self --- @param #cc.Node node --- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) - --------------------------------- --- Get the inner string of the inner label. --- @function [parent=#MenuItemLabel] getString --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Gets the color that will be used when the item is disabled. --- @function [parent=#MenuItemLabel] getDisabledColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Sets a new string to the inner label. --- @function [parent=#MenuItemLabel] setString --- @param self --- @param #string label --- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) - --------------------------------- --- Initializes a MenuItemLabel with a Label, target and selector. --- @function [parent=#MenuItemLabel] initWithLabel --- @param self --- @param #cc.Node label --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the color that will be used when the item is disabled. --- @function [parent=#MenuItemLabel] setDisabledColor --- @param self --- @param #color3b_table color --- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) - --------------------------------- --- Gets the label that is rendered. --- @function [parent=#MenuItemLabel] getLabel --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#MenuItemLabel] setEnabled --- @param self --- @param #bool enabled --- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) - --------------------------------- --- --- @function [parent=#MenuItemLabel] activate --- @param self --- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) - --------------------------------- --- --- @function [parent=#MenuItemLabel] unselected --- @param self --- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) - --------------------------------- --- --- @function [parent=#MenuItemLabel] selected --- @param self --- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) - --------------------------------- --- js ctor --- @function [parent=#MenuItemLabel] MenuItemLabel --- @param self --- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MenuItemSprite.lua b/cocos/scripting/lua-bindings/auto/api/MenuItemSprite.lua deleted file mode 100644 index 0a6a6c888d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MenuItemSprite.lua +++ /dev/null @@ -1,82 +0,0 @@ - --------------------------------- --- @module MenuItemSprite --- @extend MenuItem --- @parent_module cc - --------------------------------- --- Enables or disables the item. --- @function [parent=#MenuItemSprite] setEnabled --- @param self --- @param #bool bEnabled --- @return MenuItemSprite#MenuItemSprite self (return value: cc.MenuItemSprite) - --------------------------------- --- The item was selected (not activated), similar to "mouse-over".
--- since v0.99.5 --- @function [parent=#MenuItemSprite] selected --- @param self --- @return MenuItemSprite#MenuItemSprite self (return value: cc.MenuItemSprite) - --------------------------------- --- Sets the image used when the item is not selected. --- @function [parent=#MenuItemSprite] setNormalImage --- @param self --- @param #cc.Node image --- @return MenuItemSprite#MenuItemSprite self (return value: cc.MenuItemSprite) - --------------------------------- --- Sets the image used when the item is disabled. --- @function [parent=#MenuItemSprite] setDisabledImage --- @param self --- @param #cc.Node image --- @return MenuItemSprite#MenuItemSprite self (return value: cc.MenuItemSprite) - --------------------------------- --- Initializes a menu item with a normal, selected and disabled image with a callable object. --- @function [parent=#MenuItemSprite] initWithNormalSprite --- @param self --- @param #cc.Node normalSprite --- @param #cc.Node selectedSprite --- @param #cc.Node disabledSprite --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the image used when the item is selected. --- @function [parent=#MenuItemSprite] setSelectedImage --- @param self --- @param #cc.Node image --- @return MenuItemSprite#MenuItemSprite self (return value: cc.MenuItemSprite) - --------------------------------- --- Gets the image used when the item is disabled. --- @function [parent=#MenuItemSprite] getDisabledImage --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Gets the image used when the item is selected. --- @function [parent=#MenuItemSprite] getSelectedImage --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Gets the image used when the item is not selected. --- @function [parent=#MenuItemSprite] getNormalImage --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- The item was unselected. --- @function [parent=#MenuItemSprite] unselected --- @param self --- @return MenuItemSprite#MenuItemSprite self (return value: cc.MenuItemSprite) - --------------------------------- --- --- @function [parent=#MenuItemSprite] MenuItemSprite --- @param self --- @return MenuItemSprite#MenuItemSprite self (return value: cc.MenuItemSprite) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MenuItemToggle.lua b/cocos/scripting/lua-bindings/auto/api/MenuItemToggle.lua deleted file mode 100644 index 3fd74aba1f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MenuItemToggle.lua +++ /dev/null @@ -1,84 +0,0 @@ - --------------------------------- --- @module MenuItemToggle --- @extend MenuItem --- @parent_module cc - --------------------------------- --- Sets the array that contains the subitems. --- @function [parent=#MenuItemToggle] setSubItems --- @param self --- @param #array_table items --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - --------------------------------- --- Initializes a menu item with a item. --- @function [parent=#MenuItemToggle] initWithItem --- @param self --- @param #cc.MenuItem item --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the index of the selected item. --- @function [parent=#MenuItemToggle] getSelectedIndex --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Add more menu item. --- @function [parent=#MenuItemToggle] addSubItem --- @param self --- @param #cc.MenuItem item --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - --------------------------------- --- Return the selected item. --- @function [parent=#MenuItemToggle] getSelectedItem --- @param self --- @return MenuItem#MenuItem ret (return value: cc.MenuItem) - --------------------------------- --- Sets the index of the selected item. --- @function [parent=#MenuItemToggle] setSelectedIndex --- @param self --- @param #unsigned int index --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - --------------------------------- --- --- @function [parent=#MenuItemToggle] setEnabled --- @param self --- @param #bool var --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - --------------------------------- --- --- @function [parent=#MenuItemToggle] cleanup --- @param self --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - --------------------------------- --- --- @function [parent=#MenuItemToggle] activate --- @param self --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - --------------------------------- --- --- @function [parent=#MenuItemToggle] unselected --- @param self --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - --------------------------------- --- --- @function [parent=#MenuItemToggle] selected --- @param self --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - --------------------------------- --- js ctor --- @function [parent=#MenuItemToggle] MenuItemToggle --- @param self --- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Mesh.lua b/cocos/scripting/lua-bindings/auto/api/Mesh.lua deleted file mode 100644 index 43ac66354a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Mesh.lua +++ /dev/null @@ -1,133 +0,0 @@ - --------------------------------- --- @module Mesh --- @extend Ref --- @parent_module cc - --------------------------------- --- Returns the Material being used by the Mesh --- @function [parent=#Mesh] getMaterial --- @param self --- @return Material#Material ret (return value: cc.Material) - --------------------------------- --- get per vertex size in bytes --- @function [parent=#Mesh] getVertexSizeInBytes --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets a new Material to the Mesh --- @function [parent=#Mesh] setMaterial --- @param self --- @param #cc.Material material --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- name getter --- @function [parent=#Mesh] getName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- get MeshVertexAttribute by index --- @function [parent=#Mesh] getMeshVertexAttribute --- @param self --- @param #int idx --- @return MeshVertexAttrib#MeshVertexAttrib ret (return value: cc.MeshVertexAttrib) - --------------------------------- --- calculate the AABB of the mesh
--- note the AABB is in the local space, not the world space --- @function [parent=#Mesh] calculateAABB --- @param self --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- --- @function [parent=#Mesh] draw --- @param self --- @param #cc.Renderer renderer --- @param #float globalZ --- @param #mat4_table transform --- @param #unsigned int flags --- @param #unsigned int lightMask --- @param #vec4_table color --- @param #bool forceDepthWrite --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- --- @function [parent=#Mesh] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- name setter --- @function [parent=#Mesh] setName --- @param self --- @param #string name --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- Mesh index data setter --- @function [parent=#Mesh] setMeshIndexData --- @param self --- @param #cc.MeshIndexData indexdata --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- get mesh vertex attribute count --- @function [parent=#Mesh] getMeshVertexAttribCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Mesh] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- force set this Sprite3D to 2D render queue --- @function [parent=#Mesh] setForce2DQueue --- @param self --- @param #bool force2D --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- skin setter --- @function [parent=#Mesh] setSkin --- @param self --- @param #cc.MeshSkin skin --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- --- @function [parent=#Mesh] isVisible --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets a new GLProgramState for the Mesh
--- A new Material will be created for it --- @function [parent=#Mesh] setGLProgramState --- @param self --- @param #cc.GLProgramState glProgramState --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- visible getter and setter --- @function [parent=#Mesh] setVisible --- @param self --- @param #bool visible --- @return Mesh#Mesh self (return value: cc.Mesh) - --------------------------------- --- --- @function [parent=#Mesh] Mesh --- @param self --- @return Mesh#Mesh self (return value: cc.Mesh) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MotionStreak.lua b/cocos/scripting/lua-bindings/auto/api/MotionStreak.lua deleted file mode 100644 index a74f192bda..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MotionStreak.lua +++ /dev/null @@ -1,200 +0,0 @@ - --------------------------------- --- @module MotionStreak --- @extend Node,TextureProtocol --- @parent_module cc - --------------------------------- --- Remove all living segments of the ribbon. --- @function [parent=#MotionStreak] reset --- @param self --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- --- @function [parent=#MotionStreak] setTexture --- @param self --- @param #cc.Texture2D texture --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- --- @function [parent=#MotionStreak] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Color used for the tint.
--- param colors The color used for the tint. --- @function [parent=#MotionStreak] tintWithColor --- @param self --- @param #color3b_table colors --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#MotionStreak] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- Sets the starting position initialized or not.
--- param bStartingPositionInitialized True if initialized the starting position. --- @function [parent=#MotionStreak] setStartingPositionInitialized --- @param self --- @param #bool bStartingPositionInitialized --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#MotionStreak] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- Is the starting position initialized or not.
--- return True if the starting position is initialized. --- @function [parent=#MotionStreak] isStartingPositionInitialized --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- When fast mode is enabled, new points are added faster but with lower precision.
--- return True if fast mode is enabled. --- @function [parent=#MotionStreak] isFastMode --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get stroke.
--- return float stroke. --- @function [parent=#MotionStreak] getStroke --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, float, float, float, color3b_table, cc.Texture2D --- @overload self, float, float, float, color3b_table, string --- @function [parent=#MotionStreak] initWithFade --- @param self --- @param #float fade --- @param #float minSeg --- @param #float stroke --- @param #color3b_table color --- @param #string path --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets fast mode or not.
--- param bFastMode True if enabled fast mode. --- @function [parent=#MotionStreak] setFastMode --- @param self --- @param #bool bFastMode --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- Set stroke.
--- param stroke The width of stroke. --- @function [parent=#MotionStreak] setStroke --- @param self --- @param #float stroke --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- @overload self, float, float, float, color3b_table, cc.Texture2D --- @overload self, float, float, float, color3b_table, string --- @function [parent=#MotionStreak] create --- @param self --- @param #float timeToFade --- @param #float minSeg --- @param #float strokeWidth --- @param #color3b_table strokeColor --- @param #string imagePath --- @return MotionStreak#MotionStreak ret (return value: cc.MotionStreak) - --------------------------------- --- --- @function [parent=#MotionStreak] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#MotionStreak] setOpacity --- @param self --- @param #unsigned char opacity --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- --- @function [parent=#MotionStreak] setPositionY --- @param self --- @param #float y --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- --- @function [parent=#MotionStreak] setPositionX --- @param self --- @param #float x --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- --- @function [parent=#MotionStreak] getPositionY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#MotionStreak] getPositionX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#MotionStreak] getPosition3D --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- --- @function [parent=#MotionStreak] setOpacityModifyRGB --- @param self --- @param #bool value --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- --- @function [parent=#MotionStreak] getOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- @overload self, float, float --- @overload self, vec2_table --- @function [parent=#MotionStreak] setPosition --- @param self --- @param #float x --- @param #float y --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- @overload self, float, float --- @overload self --- @function [parent=#MotionStreak] getPosition --- @param self --- @param #float x --- @param #float y --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - --------------------------------- --- --- @function [parent=#MotionStreak] MotionStreak --- @param self --- @return MotionStreak#MotionStreak self (return value: cc.MotionStreak) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MotionStreak3D.lua b/cocos/scripting/lua-bindings/auto/api/MotionStreak3D.lua deleted file mode 100644 index 74b70ccb57..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MotionStreak3D.lua +++ /dev/null @@ -1,237 +0,0 @@ - --------------------------------- --- @module MotionStreak3D --- @extend Node,TextureProtocol --- @parent_module cc - --------------------------------- --- Remove all living segments of the ribbon. --- @function [parent=#MotionStreak3D] reset --- @param self --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] setTexture --- @param self --- @param #cc.Texture2D texture --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Color used for the tint.
--- param colors The color used for the tint. --- @function [parent=#MotionStreak3D] tintWithColor --- @param self --- @param #color3b_table colors --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- Get the direction of sweeping line segment --- @function [parent=#MotionStreak3D] getSweepAxis --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#MotionStreak3D] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- Sets the starting position initialized or not.
--- param bStartingPositionInitialized True if initialized the starting position. --- @function [parent=#MotionStreak3D] setStartingPositionInitialized --- @param self --- @param #bool bStartingPositionInitialized --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#MotionStreak3D] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- Is the starting position initialized or not.
--- return True if the starting position is initialized. --- @function [parent=#MotionStreak3D] isStartingPositionInitialized --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get stroke.
--- return float stroke. --- @function [parent=#MotionStreak3D] getStroke --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, float, float, float, color3b_table, cc.Texture2D --- @overload self, float, float, float, color3b_table, string --- @function [parent=#MotionStreak3D] initWithFade --- @param self --- @param #float fade --- @param #float minSeg --- @param #float stroke --- @param #color3b_table color --- @param #string path --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set the direction of sweeping line segment.
--- param sweepAxis Direction of sweeping line segment --- @function [parent=#MotionStreak3D] setSweepAxis --- @param self --- @param #vec3_table sweepAxis --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- Set stroke.
--- param stroke The width of stroke. --- @function [parent=#MotionStreak3D] setStroke --- @param self --- @param #float stroke --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- @overload self, float, float, float, color3b_table, cc.Texture2D --- @overload self, float, float, float, color3b_table, string --- @function [parent=#MotionStreak3D] create --- @param self --- @param #float fade --- @param #float minSeg --- @param #float stroke --- @param #color3b_table color --- @param #string path --- @return MotionStreak3D#MotionStreak3D ret (return value: cc.MotionStreak3D) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#MotionStreak3D] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] setOpacityModifyRGB --- @param self --- @param #bool value --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] setPositionY --- @param self --- @param #float y --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] setRotation3D --- @param self --- @param #vec3_table rotation --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] setPositionX --- @param self --- @param #float x --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] setPosition3D --- @param self --- @param #vec3_table position --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] getPositionY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#MotionStreak3D] getPositionX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#MotionStreak3D] getPosition3D --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- --- @function [parent=#MotionStreak3D] setOpacity --- @param self --- @param #unsigned char opacity --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- lua NA --- @function [parent=#MotionStreak3D] update --- @param self --- @param #float delta --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] setRotationQuat --- @param self --- @param #cc.Quaternion quat --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] getOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- @overload self, float, float --- @overload self, vec2_table --- @function [parent=#MotionStreak3D] setPosition --- @param self --- @param #float x --- @param #float y --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- @overload self, float, float --- @overload self --- @function [parent=#MotionStreak3D] getPosition --- @param self --- @param #float x --- @param #float y --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - --------------------------------- --- --- @function [parent=#MotionStreak3D] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#MotionStreak3D] MotionStreak3D --- @param self --- @return MotionStreak3D#MotionStreak3D self (return value: cc.MotionStreak3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MoveBy.lua b/cocos/scripting/lua-bindings/auto/api/MoveBy.lua deleted file mode 100644 index c149748434..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MoveBy.lua +++ /dev/null @@ -1,57 +0,0 @@ - --------------------------------- --- @module MoveBy --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- @overload self, float, vec3_table --- @overload self, float, vec2_table --- @function [parent=#MoveBy] initWithDuration --- @param self --- @param #float duration --- @param #vec2_table deltaPosition --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, vec3_table --- @overload self, float, vec2_table --- @function [parent=#MoveBy] create --- @param self --- @param #float duration --- @param #vec2_table deltaPosition --- @return MoveBy#MoveBy ret (return value: cc.MoveBy) - --------------------------------- --- --- @function [parent=#MoveBy] startWithTarget --- @param self --- @param #cc.Node target --- @return MoveBy#MoveBy self (return value: cc.MoveBy) - --------------------------------- --- --- @function [parent=#MoveBy] clone --- @param self --- @return MoveBy#MoveBy ret (return value: cc.MoveBy) - --------------------------------- --- --- @function [parent=#MoveBy] reverse --- @param self --- @return MoveBy#MoveBy ret (return value: cc.MoveBy) - --------------------------------- --- param time in seconds --- @function [parent=#MoveBy] update --- @param self --- @param #float time --- @return MoveBy#MoveBy self (return value: cc.MoveBy) - --------------------------------- --- --- @function [parent=#MoveBy] MoveBy --- @param self --- @return MoveBy#MoveBy self (return value: cc.MoveBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MoveTo.lua b/cocos/scripting/lua-bindings/auto/api/MoveTo.lua deleted file mode 100644 index da0af04f59..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MoveTo.lua +++ /dev/null @@ -1,50 +0,0 @@ - --------------------------------- --- @module MoveTo --- @extend MoveBy --- @parent_module cc - --------------------------------- --- @overload self, float, vec3_table --- @overload self, float, vec2_table --- @function [parent=#MoveTo] initWithDuration --- @param self --- @param #float duration --- @param #vec2_table position --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, vec3_table --- @overload self, float, vec2_table --- @function [parent=#MoveTo] create --- @param self --- @param #float duration --- @param #vec2_table position --- @return MoveTo#MoveTo ret (return value: cc.MoveTo) - --------------------------------- --- --- @function [parent=#MoveTo] startWithTarget --- @param self --- @param #cc.Node target --- @return MoveTo#MoveTo self (return value: cc.MoveTo) - --------------------------------- --- --- @function [parent=#MoveTo] clone --- @param self --- @return MoveTo#MoveTo ret (return value: cc.MoveTo) - --------------------------------- --- --- @function [parent=#MoveTo] reverse --- @param self --- @return MoveTo#MoveTo ret (return value: cc.MoveTo) - --------------------------------- --- --- @function [parent=#MoveTo] MoveTo --- @param self --- @return MoveTo#MoveTo self (return value: cc.MoveTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MovementBoneData.lua b/cocos/scripting/lua-bindings/auto/api/MovementBoneData.lua deleted file mode 100644 index 78a7777f0c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MovementBoneData.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module MovementBoneData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#MovementBoneData] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#MovementBoneData] getFrameData --- @param self --- @param #int index --- @return FrameData#FrameData ret (return value: ccs.FrameData) - --------------------------------- --- --- @function [parent=#MovementBoneData] addFrameData --- @param self --- @param #ccs.FrameData frameData --- @return MovementBoneData#MovementBoneData self (return value: ccs.MovementBoneData) - --------------------------------- --- --- @function [parent=#MovementBoneData] create --- @param self --- @return MovementBoneData#MovementBoneData ret (return value: ccs.MovementBoneData) - --------------------------------- --- js ctor --- @function [parent=#MovementBoneData] MovementBoneData --- @param self --- @return MovementBoneData#MovementBoneData self (return value: ccs.MovementBoneData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/MovementData.lua b/cocos/scripting/lua-bindings/auto/api/MovementData.lua deleted file mode 100644 index d8c666a49c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/MovementData.lua +++ /dev/null @@ -1,33 +0,0 @@ - --------------------------------- --- @module MovementData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#MovementData] getMovementBoneData --- @param self --- @param #string boneName --- @return MovementBoneData#MovementBoneData ret (return value: ccs.MovementBoneData) - --------------------------------- --- --- @function [parent=#MovementData] addMovementBoneData --- @param self --- @param #ccs.MovementBoneData movBoneData --- @return MovementData#MovementData self (return value: ccs.MovementData) - --------------------------------- --- --- @function [parent=#MovementData] create --- @param self --- @return MovementData#MovementData ret (return value: ccs.MovementData) - --------------------------------- --- js ctor --- @function [parent=#MovementData] MovementData --- @param self --- @return MovementData#MovementData self (return value: ccs.MovementData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/NavMesh.lua b/cocos/scripting/lua-bindings/auto/api/NavMesh.lua deleted file mode 100644 index 3a21c67136..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/NavMesh.lua +++ /dev/null @@ -1,78 +0,0 @@ - --------------------------------- --- @module NavMesh --- @extend Ref --- @parent_module cc - --------------------------------- --- remove a obstacle from navmesh. --- @function [parent=#NavMesh] removeNavMeshObstacle --- @param self --- @param #cc.NavMeshObstacle obstacle --- @return NavMesh#NavMesh self (return value: cc.NavMesh) - --------------------------------- --- remove a agent from navmesh. --- @function [parent=#NavMesh] removeNavMeshAgent --- @param self --- @param #cc.NavMeshAgent agent --- @return NavMesh#NavMesh self (return value: cc.NavMesh) - --------------------------------- --- update navmesh. --- @function [parent=#NavMesh] update --- @param self --- @param #float dt --- @return NavMesh#NavMesh self (return value: cc.NavMesh) - --------------------------------- --- Check enabled debug draw. --- @function [parent=#NavMesh] isDebugDrawEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- add a agent to navmesh. --- @function [parent=#NavMesh] addNavMeshAgent --- @param self --- @param #cc.NavMeshAgent agent --- @return NavMesh#NavMesh self (return value: cc.NavMesh) - --------------------------------- --- add a obstacle to navmesh. --- @function [parent=#NavMesh] addNavMeshObstacle --- @param self --- @param #cc.NavMeshObstacle obstacle --- @return NavMesh#NavMesh self (return value: cc.NavMesh) - --------------------------------- --- Enable debug draw or disable. --- @function [parent=#NavMesh] setDebugDrawEnable --- @param self --- @param #bool enable --- @return NavMesh#NavMesh self (return value: cc.NavMesh) - --------------------------------- --- Internal method, the updater of debug drawing, need called each frame. --- @function [parent=#NavMesh] debugDraw --- @param self --- @param #cc.Renderer renderer --- @return NavMesh#NavMesh self (return value: cc.NavMesh) - --------------------------------- --- Create navmesh
--- param navFilePath The NavMesh File path.
--- param geomFilePath The geometry File Path,include offmesh information,etc. --- @function [parent=#NavMesh] create --- @param self --- @param #string navFilePath --- @param #string geomFilePath --- @return NavMesh#NavMesh ret (return value: cc.NavMesh) - --------------------------------- --- --- @function [parent=#NavMesh] NavMesh --- @param self --- @return NavMesh#NavMesh self (return value: cc.NavMesh) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/NavMeshAgent.lua b/cocos/scripting/lua-bindings/auto/api/NavMeshAgent.lua deleted file mode 100644 index e1083518a6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/NavMeshAgent.lua +++ /dev/null @@ -1,225 +0,0 @@ - --------------------------------- --- @module NavMeshAgent --- @extend Component --- @parent_module cc - --------------------------------- --- set maximal speed of agent --- @function [parent=#NavMeshAgent] setMaxSpeed --- @param self --- @param #float maxSpeed --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- synchronize parameter to node. --- @function [parent=#NavMeshAgent] syncToNode --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- Traverse OffMeshLink manually --- @function [parent=#NavMeshAgent] completeOffMeshLink --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- get separation weight --- @function [parent=#NavMeshAgent] getSeparationWeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set automatic Traverse OffMeshLink --- @function [parent=#NavMeshAgent] setAutoTraverseOffMeshLink --- @param self --- @param #bool isAuto --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- get current velocity --- @function [parent=#NavMeshAgent] getCurrentVelocity --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- synchronize parameter to agent. --- @function [parent=#NavMeshAgent] syncToAgent --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- Check agent arrived OffMeshLink --- @function [parent=#NavMeshAgent] isOnOffMeshLink --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- set separation weight --- @function [parent=#NavMeshAgent] setSeparationWeight --- @param self --- @param #float weight --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- pause movement --- @function [parent=#NavMeshAgent] pause --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- --- @function [parent=#NavMeshAgent] getUserData --- @param self --- @return void#void ret (return value: void) - --------------------------------- --- Set automatic Orientation --- @function [parent=#NavMeshAgent] setAutoOrientation --- @param self --- @param #bool isAuto --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- get agent height --- @function [parent=#NavMeshAgent] getHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get maximal speed of agent --- @function [parent=#NavMeshAgent] getMaxSpeed --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get current OffMeshLink information --- @function [parent=#NavMeshAgent] getCurrentOffMeshLinkData --- @param self --- @return OffMeshLinkData#OffMeshLinkData ret (return value: cc.OffMeshLinkData) - --------------------------------- --- get agent radius --- @function [parent=#NavMeshAgent] getRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- synchronization between node and agent is time consuming, you can skip some synchronization using this function --- @function [parent=#NavMeshAgent] setSyncFlag --- @param self --- @param #int flag --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- --- @function [parent=#NavMeshAgent] getSyncFlag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- resume movement --- @function [parent=#NavMeshAgent] resume --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- stop movement --- @function [parent=#NavMeshAgent] stop --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- set maximal acceleration of agent --- @function [parent=#NavMeshAgent] setMaxAcceleration --- @param self --- @param #float maxAcceleration --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- Set the reference axes of agent's orientation
--- param rotRefAxes The value of reference axes in local coordinate system. --- @function [parent=#NavMeshAgent] setOrientationRefAxes --- @param self --- @param #vec3_table rotRefAxes --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- get maximal acceleration of agent --- @function [parent=#NavMeshAgent] getMaxAcceleration --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- set agent height --- @function [parent=#NavMeshAgent] setHeight --- @param self --- @param #float height --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- --- @function [parent=#NavMeshAgent] setUserData --- @param self --- @param #void data --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- get obstacle avoidance type --- @function [parent=#NavMeshAgent] getObstacleAvoidanceType --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- get current velocity --- @function [parent=#NavMeshAgent] getVelocity --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- set agent radius --- @function [parent=#NavMeshAgent] setRadius --- @param self --- @param #float radius --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- set obstacle avoidance type --- @function [parent=#NavMeshAgent] setObstacleAvoidanceType --- @param self --- @param #unsigned char type --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- --- @function [parent=#NavMeshAgent] getNavMeshAgentComponentName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Create agent
--- param param The parameters of agent. --- @function [parent=#NavMeshAgent] create --- @param self --- @param #cc.NavMeshAgentParam param --- @return NavMeshAgent#NavMeshAgent ret (return value: cc.NavMeshAgent) - --------------------------------- --- --- @function [parent=#NavMeshAgent] onEnter --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- --- @function [parent=#NavMeshAgent] onExit --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - --------------------------------- --- --- @function [parent=#NavMeshAgent] NavMeshAgent --- @param self --- @return NavMeshAgent#NavMeshAgent self (return value: cc.NavMeshAgent) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/NavMeshObstacle.lua b/cocos/scripting/lua-bindings/auto/api/NavMeshObstacle.lua deleted file mode 100644 index 165022604d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/NavMeshObstacle.lua +++ /dev/null @@ -1,86 +0,0 @@ - --------------------------------- --- @module NavMeshObstacle --- @extend Component --- @parent_module cc - --------------------------------- --- --- @function [parent=#NavMeshObstacle] getSyncFlag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#NavMeshObstacle] initWith --- @param self --- @param #float radius --- @param #float height --- @return bool#bool ret (return value: bool) - --------------------------------- --- synchronize parameter to obstacle. --- @function [parent=#NavMeshObstacle] syncToObstacle --- @param self --- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle) - --------------------------------- --- synchronize parameter to node. --- @function [parent=#NavMeshObstacle] syncToNode --- @param self --- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle) - --------------------------------- --- Get height of obstacle --- @function [parent=#NavMeshObstacle] getHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- synchronization between node and obstacle is time consuming, you can skip some synchronization using this function --- @function [parent=#NavMeshObstacle] setSyncFlag --- @param self --- @param #int flag --- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle) - --------------------------------- --- Get radius of obstacle --- @function [parent=#NavMeshObstacle] getRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Create obstacle, shape is cylinder
--- param radius The radius of obstacle.
--- param height The height of obstacle. --- @function [parent=#NavMeshObstacle] create --- @param self --- @param #float radius --- @param #float height --- @return NavMeshObstacle#NavMeshObstacle ret (return value: cc.NavMeshObstacle) - --------------------------------- --- --- @function [parent=#NavMeshObstacle] getNavMeshObstacleComponentName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#NavMeshObstacle] onEnter --- @param self --- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle) - --------------------------------- --- --- @function [parent=#NavMeshObstacle] onExit --- @param self --- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle) - --------------------------------- --- --- @function [parent=#NavMeshObstacle] NavMeshObstacle --- @param self --- @return NavMeshObstacle#NavMeshObstacle self (return value: cc.NavMeshObstacle) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Node.lua b/cocos/scripting/lua-bindings/auto/api/Node.lua deleted file mode 100644 index f5442bbb39..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Node.lua +++ /dev/null @@ -1,1235 +0,0 @@ - --------------------------------- --- @module Node --- @extend Ref --- @parent_module cc - --------------------------------- --- @overload self, cc.Node, int --- @overload self, cc.Node --- @overload self, cc.Node, int, int --- @overload self, cc.Node, int, string --- @function [parent=#Node] addChild --- @param self --- @param #cc.Node child --- @param #int localZOrder --- @param #string name --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- @overload self, cc.Component --- @overload self, string --- @function [parent=#Node] removeComponent --- @param self --- @param #string name --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Node] setPhysicsBody --- @param self --- @param #cc.PhysicsBody physicsBody --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Gets the description string. It makes debugging easier.
--- return A string
--- js NA
--- lua NA --- @function [parent=#Node] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Sets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew.
--- The difference between `setRotationalSkew()` and `setSkew()` is that the first one simulate Flash's skew functionality,
--- while the second one uses the real skew function.
--- 0 is the default rotation angle.
--- Positive values rotate node clockwise, and negative values for anti-clockwise.
--- param rotationY The Y rotation in degrees.
--- warning The physics body doesn't support this.
--- js setRotationY --- @function [parent=#Node] setRotationSkewY --- @param self --- @param #float rotationY --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- If you want the opacity affect the color property, then set to true.
--- param value A boolean value. --- @function [parent=#Node] setOpacityModifyRGB --- @param self --- @param #bool value --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Change node's cascadeOpacity property.
--- param cascadeOpacityEnabled True to enable cascadeOpacity, false otherwise. --- @function [parent=#Node] setCascadeOpacityEnabled --- @param self --- @param #bool cascadeOpacityEnabled --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#Node] getChildren --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Set the callback of event onExit.
--- param callback A std::function callback. --- @function [parent=#Node] setOnExitCallback --- @param self --- @param #function callback --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the ActionManager object that is used by all actions.
--- warning If you set a new ActionManager, then previously created actions will be removed.
--- param actionManager A ActionManager object that is used by all actions. --- @function [parent=#Node] setActionManager --- @param self --- @param #cc.ActionManager actionManager --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Converts a local Vec2 to world space coordinates.The result is in Points.
--- treating the returned/received node point as anchor relative.
--- param nodePoint A given coordinate.
--- return A point in world space coordinates, anchor relative. --- @function [parent=#Node] convertToWorldSpaceAR --- @param self --- @param #vec2_table nodePoint --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Gets whether the anchor point will be (0,0) when you position this node.
--- see `setIgnoreAnchorPointForPosition(bool)`
--- return true if the anchor point will be (0,0) when you position this node. --- @function [parent=#Node] isIgnoreAnchorPointForPosition --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets a child from the container with its name.
--- param name An identifier to find the child node.
--- return a Node object whose name equals to the input parameter.
--- since v3.2 --- @function [parent=#Node] getChildByName --- @param self --- @param #string name --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Update the displayed opacity of node with it's parent opacity;
--- param parentOpacity The opacity of parent node. --- @function [parent=#Node] updateDisplayedOpacity --- @param self --- @param #unsigned char parentOpacity --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Node] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- get & set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true --- @function [parent=#Node] getCameraMask --- @param self --- @return unsigned short#unsigned short ret (return value: unsigned short) - --------------------------------- --- Sets the rotation (angle) of the node in degrees.
--- 0 is the default rotation angle.
--- Positive values rotate node clockwise, and negative values for anti-clockwise.
--- param rotation The rotation of the node in degrees. --- @function [parent=#Node] setRotation --- @param self --- @param #float rotation --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Changes the scale factor on Z axis of this node
--- The Default value is 1.0 if you haven't changed it before.
--- param scaleZ The scale factor on Z axis.
--- warning The physics body doesn't support this. --- @function [parent=#Node] setScaleZ --- @param self --- @param #float scaleZ --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the scale (y) of the node.
--- It is a scaling factor that multiplies the height of the node and its children.
--- param scaleY The scale factor on Y axis.
--- warning The physics body doesn't support this. --- @function [parent=#Node] setScaleY --- @param self --- @param #float scaleY --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the scale (x) of the node.
--- It is a scaling factor that multiplies the width of the node and its children.
--- param scaleX The scale factor on X axis.
--- warning The physics body doesn't support this. --- @function [parent=#Node] setScaleX --- @param self --- @param #float scaleX --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the X rotation (angle) of the node in degrees which performs a horizontal rotational skew.
--- The difference between `setRotationalSkew()` and `setSkew()` is that the first one simulate Flash's skew functionality,
--- while the second one uses the real skew function.
--- 0 is the default rotation angle.
--- Positive values rotate node clockwise, and negative values for anti-clockwise.
--- param rotationX The X rotation in degrees which performs a horizontal rotational skew.
--- warning The physics body doesn't support this.
--- js setRotationX --- @function [parent=#Node] setRotationSkewX --- @param self --- @param #float rotationX --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Set the callback of event EnterTransitionDidFinish.
--- param callback A std::function callback. --- @function [parent=#Node] setonEnterTransitionDidFinishCallback --- @param self --- @param #function callback --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Removes all components --- @function [parent=#Node] removeAllComponents --- @param self --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Node] _setLocalZOrder --- @param self --- @param #int z --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Modify the camera mask for current node.
--- If applyChildren is true, then it will modify the camera mask of its children recursively.
--- param mask A unsigned short bit for mask.
--- param applyChildren A boolean value to determine whether the mask bit should apply to its children or not. --- @function [parent=#Node] setCameraMask --- @param self --- @param #unsigned short mask --- @param #bool applyChildren --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns a tag that is used to identify the node easily.
--- return An integer that identifies the node.
--- Please use `getTag()` instead. --- @function [parent=#Node] getTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- / @{/ @name GLProgram
--- Return the GLProgram (shader) currently used for this node.
--- return The GLProgram (shader) currently used for this node. --- @function [parent=#Node] getGLProgram --- @param self --- @return GLProgram#GLProgram ret (return value: cc.GLProgram) - --------------------------------- --- Returns the world affine transform matrix. The matrix is in Pixels.
--- return transformation matrix, in pixels. --- @function [parent=#Node] getNodeToWorldTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- Returns the position (X,Y,Z) in its parent's coordinate system.
--- return The position (X, Y, and Z) in its parent's coordinate system.
--- js NA --- @function [parent=#Node] getPosition3D --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Removes a child from the container. It will also cleanup all running actions depending on the cleanup parameter.
--- param child The child node which will be removed.
--- param cleanup True if all running actions and callbacks on the child node will be cleanup, false otherwise. --- @function [parent=#Node] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Converts a Vec2 to world space coordinates. The result is in Points.
--- param nodePoint A given coordinate.
--- return A point in world space coordinates. --- @function [parent=#Node] convertToWorldSpace --- @param self --- @param #vec2_table nodePoint --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the Scene that contains the Node.
--- It returns `nullptr` if the node doesn't belong to any Scene.
--- This function recursively calls parent->getScene() until parent is a Scene object. The results are not cached. It is that the user caches the results in case this functions is being used inside a loop.
--- return The Scene that contains the node. --- @function [parent=#Node] getScene --- @param self --- @return Scene#Scene ret (return value: cc.Scene) - --------------------------------- --- Get the event dispatcher of scene.
--- return The event dispatcher of scene. --- @function [parent=#Node] getEventDispatcher --- @param self --- @return EventDispatcher#EventDispatcher ret (return value: cc.EventDispatcher) - --------------------------------- --- Changes the X skew angle of the node in degrees.
--- The difference between `setRotationalSkew()` and `setSkew()` is that the first one simulate Flash's skew functionality
--- while the second one uses the real skew function.
--- This angle describes the shear distortion in the X direction.
--- Thus, it is the angle between the Y coordinate and the left edge of the shape
--- The default skewX angle is 0. Positive values distort the node in a CW direction.
--- param skewX The X skew angle of the node in degrees.
--- warning The physics body doesn't support this. --- @function [parent=#Node] setSkewX --- @param self --- @param #float skewX --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Set the GLProgramState for this node.
--- param glProgramState The GLProgramState for this node. --- @function [parent=#Node] setGLProgramState --- @param self --- @param #cc.GLProgramState glProgramState --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Set the callback of event onEnter.
--- param callback A std::function callback. --- @function [parent=#Node] setOnEnterCallback --- @param self --- @param #function callback --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Removes all actions from the running action list by its flags.
--- param flags A flag field that removes actions based on bitwise AND. --- @function [parent=#Node] stopActionsByFlags --- @param self --- @param #unsigned int flags --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Node] setNormalizedPosition --- @param self --- @param #vec2_table position --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Set the callback of event ExitTransitionDidStart.
--- param callback A std::function callback. --- @function [parent=#Node] setonExitTransitionDidStartCallback --- @param self --- @param #function callback --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- convenience methods which take a Touch instead of Vec2.
--- param touch A given touch.
--- return A point in world space coordinates. --- @function [parent=#Node] convertTouchToNodeSpace --- @param self --- @param #cc.Touch touch --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- @overload self, bool --- @overload self --- @function [parent=#Node] removeAllChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- @overload self, cc.Node --- @overload self --- @function [parent=#Node] getNodeToParentAffineTransform --- @param self --- @param #cc.Node ancestor --- @return AffineTransform#AffineTransform ret (return value: cc.AffineTransform) - --------------------------------- --- Whether cascadeOpacity is enabled or not.
--- return A boolean value. --- @function [parent=#Node] isCascadeOpacityEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the parent node.
--- param parent A pointer to the parent node. --- @function [parent=#Node] setParent --- @param self --- @param #cc.Node parent --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns a string that is used to identify the node.
--- return A string that identifies the node.
--- since v3.2 --- @function [parent=#Node] getName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Resumes all scheduled selectors, actions and event listeners.
--- This method is called internally by onEnter. --- @function [parent=#Node] resume --- @param self --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns the rotation (X,Y,Z) in degrees.
--- return The rotation of the node in 3d.
--- js NA --- @function [parent=#Node] getRotation3D --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- @overload self, cc.Node --- @overload self --- @function [parent=#Node] getNodeToParentTransform --- @param self --- @param #cc.Node ancestor --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- converts a Touch (world coordinates) into a local coordinate. This method is AR (Anchor Relative).
--- param touch A given touch.
--- return A point in world space coordinates, anchor relative. --- @function [parent=#Node] convertTouchToNodeSpaceAR --- @param self --- @param #cc.Touch touch --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Converts a Vec2 to node (local) space coordinates. The result is in Points.
--- param worldPoint A given coordinate.
--- return A point in node (local) space coordinates. --- @function [parent=#Node] convertToNodeSpace --- @param self --- @param #vec2_table worldPoint --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Sets the position (x,y) using values between 0 and 1.
--- The positions in pixels is calculated like the following:
--- code pseudo code
--- void setNormalizedPosition(Vec2 pos) {
--- Size s = getParent()->getContentSize();
--- _position = pos * s;
--- }
--- endcode
--- param position The normalized position (x,y) of the node, using value between 0 and 1. --- @function [parent=#Node] setPositionNormalized --- @param self --- @param #vec2_table position --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Pauses all scheduled selectors, actions and event listeners.
--- This method is called internally by onExit. --- @function [parent=#Node] pause --- @param self --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- If node opacity will modify the RGB color value, then you should override this method and return true.
--- return A boolean value, true indicates that opacity will modify color; false otherwise. --- @function [parent=#Node] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, float --- @overload self, vec2_table --- @function [parent=#Node] setPosition --- @param self --- @param #float x --- @param #float y --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Removes an action from the running action list by its tag.
--- param tag A tag that indicates the action to be removed. --- @function [parent=#Node] stopActionByTag --- @param self --- @param #int tag --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Reorders a child according to a new z value.
--- param child An already added child node. It MUST be already added.
--- param localZOrder Z order for drawing priority. Please refer to setLocalZOrder(int). --- @function [parent=#Node] reorderChild --- @param self --- @param #cc.Node child --- @param #int localZOrder --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Changes the Y skew angle of the node in degrees.
--- The difference between `setRotationalSkew()` and `setSkew()` is that the first one simulate Flash's skew functionality
--- while the second one uses the real skew function.
--- This angle describes the shear distortion in the Y direction.
--- Thus, it is the angle between the X coordinate and the bottom edge of the shape.
--- The default skewY angle is 0. Positive values distort the node in a CCW direction.
--- param skewY The Y skew angle of the node in degrees.
--- warning The physics body doesn't support this. --- @function [parent=#Node] setSkewY --- @param self --- @param #float skewY --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the 'z' coordinate in the position. It is the OpenGL Z vertex value.
--- The OpenGL depth buffer and depth testing are disabled by default. You need to turn them on.
--- In order to use this property correctly.
--- `setPositionZ()` also sets the `setGlobalZValue()` with the positionZ as value.
--- see `setGlobalZValue()`
--- param positionZ OpenGL Z vertex of this node.
--- js setVertexZ --- @function [parent=#Node] setPositionZ --- @param self --- @param #float positionZ --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the rotation (X,Y,Z) in degrees.
--- Useful for 3d rotations.
--- warning The physics body doesn't support this.
--- param rotation The rotation of the node in 3d.
--- js NA --- @function [parent=#Node] setRotation3D --- @param self --- @param #vec3_table rotation --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Gets/Sets x or y coordinate individually for position.
--- These methods are used in Lua and Javascript Bindings
--- Sets the x coordinate of the node in its parent's coordinate system.
--- param x The x coordinate of the node. --- @function [parent=#Node] setPositionX --- @param self --- @param #float x --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the transformation matrix manually.
--- param transform A given transformation matrix. --- @function [parent=#Node] setNodeToParentTransform --- @param self --- @param #mat4_table transform --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns the anchor point in percent.
--- see `setAnchorPoint(const Vec2&)`
--- return The anchor point of node. --- @function [parent=#Node] getAnchorPoint --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the numbers of actions that are running plus the ones that are schedule to run (actions in actionsToAdd and actions arrays).
--- Composable actions are counted as 1 action. Example:
--- If you are running 1 Sequence of 7 actions, it will return 1.
--- If you are running 7 Sequences of 2 actions, it will return 7.
--- return The number of actions that are running plus the ones that are schedule to run. --- @function [parent=#Node] getNumberOfRunningActions --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Calls children's updateTransform() method recursively.
--- This method is moved from Sprite, so it's no longer specific to Sprite.
--- As the result, you apply SpriteBatchNode's optimization on your customed Node.
--- e.g., `batchNode->addChild(myCustomNode)`, while you can only addChild(sprite) before. --- @function [parent=#Node] updateTransform --- @param self --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the shader program for this node
--- Since v2.0, each rendering node must set its shader program.
--- It should be set in initialize phase.
--- code
--- node->setGLProgram(GLProgramCache::getInstance()->getProgram(GLProgram::SHADER_NAME_POSITION_TEXTURE_COLOR));
--- endcode
--- param glprogram The shader program. --- @function [parent=#Node] setGLProgram --- @param self --- @param #cc.GLProgram glprogram --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Determines if the node is visible.
--- see `setVisible(bool)`
--- return true if the node is visible, false if the node is hidden. --- @function [parent=#Node] isVisible --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the amount of children.
--- return The amount of children. --- @function [parent=#Node] getChildrenCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Converts a Vec2 to node (local) space coordinates. The result is in Points.
--- treating the returned/received node point as anchor relative.
--- param worldPoint A given coordinate.
--- return A point in node (local) space coordinates, anchor relative. --- @function [parent=#Node] convertToNodeSpaceAR --- @param self --- @param #vec2_table worldPoint --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Adds a component.
--- param component A given component.
--- return True if added success. --- @function [parent=#Node] addComponent --- @param self --- @param #cc.Component component --- @return bool#bool ret (return value: bool) - --------------------------------- --- Executes an action, and returns the action that is executed.
--- This node becomes the action's target. Refer to Action::getTarget().
--- warning Actions don't retain their target.
--- param action An Action pointer. --- @function [parent=#Node] runAction --- @param self --- @param #cc.Action action --- @return Action#Action ret (return value: cc.Action) - --------------------------------- --- @overload self --- @overload self, cc.Renderer, mat4_table, unsigned int --- @function [parent=#Node] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns the rotation of the node in degrees.
--- see `setRotation(float)`
--- return The rotation of the node in degrees. --- @function [parent=#Node] getRotation --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Node] getPhysicsBody --- @param self --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - --------------------------------- --- Returns the anchorPoint in absolute pixels.
--- warning You can only read it. If you wish to modify it, use anchorPoint instead.
--- see `getAnchorPoint()`
--- return The anchor point in absolute pixels. --- @function [parent=#Node] getAnchorPointInPoints --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Removes a child from the container by tag value. It will also cleanup all running actions depending on the cleanup parameter.
--- param name A string that identifies a child node.
--- param cleanup True if all running actions and callbacks on the child node will be cleanup, false otherwise. --- @function [parent=#Node] removeChildByName --- @param self --- @param #string name --- @param #bool cleanup --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Return the GLProgramState currently used for this node.
--- return The GLProgramState currently used for this node. --- @function [parent=#Node] getGLProgramState --- @param self --- @return GLProgramState#GLProgramState ret (return value: cc.GLProgramState) - --------------------------------- --- Sets a Scheduler object that is used to schedule all "updates" and timers.
--- warning If you set a new Scheduler, then previously created timers/update are going to be removed.
--- param scheduler A Scheduler object that is used to schedule all "update" and timers. --- @function [parent=#Node] setScheduler --- @param self --- @param #cc.Scheduler scheduler --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Stops and removes all actions from the running action list . --- @function [parent=#Node] stopAllActions --- @param self --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns the X skew angle of the node in degrees.
--- see `setSkewX(float)`
--- return The X skew angle of the node in degrees. --- @function [parent=#Node] getSkewX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the Y skew angle of the node in degrees.
--- see `setSkewY(float)`
--- return The Y skew angle of the node in degrees. --- @function [parent=#Node] getSkewY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Query node's displayed color.
--- return A Color3B color value. --- @function [parent=#Node] getDisplayedColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Gets an action from the running action list by its tag.
--- see `setTag(int)`, `getTag()`.
--- return The action object with the given tag. --- @function [parent=#Node] getActionByTag --- @param self --- @param #int tag --- @return Action#Action ret (return value: cc.Action) - --------------------------------- --- Changes the name that is used to identify the node easily.
--- param name A string that identifies the node.
--- since v3.2 --- @function [parent=#Node] setName --- @param self --- @param #string name --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Update method will be called automatically every frame if "scheduleUpdate" is called, and the node is "live".
--- param delta In seconds. --- @function [parent=#Node] update --- @param self --- @param #float delta --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Return the node's display opacity.
--- The difference between opacity and displayedOpacity is:
--- The displayedOpacity is what's the final rendering opacity of node.
--- return A GLubyte value. --- @function [parent=#Node] getDisplayedOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- Gets the local Z order of this node.
--- see `setLocalZOrder(int)`
--- return The local (relative to its siblings) Z order. --- @function [parent=#Node] getLocalZOrder --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#Node] getScheduler --- @param self --- @return Scheduler#Scheduler ret (return value: cc.Scheduler) - --------------------------------- --- --- @function [parent=#Node] getParentToNodeAffineTransform --- @param self --- @return AffineTransform#AffineTransform ret (return value: cc.AffineTransform) - --------------------------------- --- Returns the normalized position.
--- return The normalized position. --- @function [parent=#Node] getPositionNormalized --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Change the color of node.
--- param color A Color3B color value. --- @function [parent=#Node] setColor --- @param self --- @param #color3b_table color --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns whether or not the node is "running".
--- If the node is running it will accept event callbacks like onEnter(), onExit(), update().
--- return Whether or not the node is running. --- @function [parent=#Node] isRunning --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#Node] getParent --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Gets position Z coordinate of this node.
--- see setPositionZ(float)
--- return The position Z coordinate of this node.
--- js getVertexZ --- @function [parent=#Node] getPositionZ --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the y coordinate of the node in its parent's coordinate system.
--- return The y coordinate of the node. --- @function [parent=#Node] getPositionY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the x coordinate of the node in its parent's coordinate system.
--- return The x coordinate of the node. --- @function [parent=#Node] getPositionX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Removes a child from the container by tag value. It will also cleanup all running actions depending on the cleanup parameter.
--- param tag An integer number that identifies a child node.
--- param cleanup True if all running actions and callbacks on the child node will be cleanup, false otherwise.
--- Please use `removeChildByName` instead. --- @function [parent=#Node] removeChildByTag --- @param self --- @param #int tag --- @param #bool cleanup --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the y coordinate of the node in its parent's coordinate system.
--- param y The y coordinate of the node. --- @function [parent=#Node] setPositionY --- @param self --- @param #float y --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Node] getNodeToWorldAffineTransform --- @param self --- @return AffineTransform#AffineTransform ret (return value: cc.AffineTransform) - --------------------------------- --- Update node's displayed color with its parent color.
--- param parentColor A Color3B color value. --- @function [parent=#Node] updateDisplayedColor --- @param self --- @param #color3b_table parentColor --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets whether the node is visible.
--- The default value is true, a node is default to visible.
--- param visible true if the node is visible, false if the node is hidden. --- @function [parent=#Node] setVisible --- @param self --- @param #bool visible --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns the matrix that transform parent's space coordinates to the node's (local) space coordinates.
--- The matrix is in Pixels.
--- return The transformation matrix. --- @function [parent=#Node] getParentToNodeTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- Checks whether a lambda function is scheduled.
--- param key key of the callback
--- return Whether the lambda function selector is scheduled.
--- js NA
--- lua NA --- @function [parent=#Node] isScheduled --- @param self --- @param #string key --- @return bool#bool ret (return value: bool) - --------------------------------- --- Defines the order in which the nodes are renderer.
--- Nodes that have a Global Z Order lower, are renderer first.
--- In case two or more nodes have the same Global Z Order, the order is not guaranteed.
--- The only exception if the Nodes have a Global Z Order == 0. In that case, the Scene Graph order is used.
--- By default, all nodes have a Global Z Order = 0. That means that by default, the Scene Graph order is used to render the nodes.
--- Global Z Order is useful when you need to render nodes in an order different than the Scene Graph order.
--- Limitations: Global Z Order can't be used by Nodes that have SpriteBatchNode as one of their ancestors.
--- And if ClippingNode is one of the ancestors, then "global Z order" will be relative to the ClippingNode.
--- see `setLocalZOrder()`
--- see `setVertexZ()`
--- since v3.0
--- param globalZOrder The global Z order value. --- @function [parent=#Node] setGlobalZOrder --- @param self --- @param #float globalZOrder --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- @overload self, float, float --- @overload self, float --- @function [parent=#Node] setScale --- @param self --- @param #float scaleX --- @param #float scaleY --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Gets a child from the container with its tag.
--- param tag An identifier to find the child node.
--- return a Node object whose tag equals to the input parameter.
--- Please use `getChildByName()` instead. --- @function [parent=#Node] getChildByTag --- @param self --- @param #int tag --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Returns the scale factor on Z axis of this node
--- see `setScaleZ(float)`
--- return The scale factor on Z axis. --- @function [parent=#Node] getScaleZ --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the scale factor on Y axis of this node
--- see `setScaleY(float)`
--- return The scale factor on Y axis. --- @function [parent=#Node] getScaleY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the scale factor on X axis of this node
--- see setScaleX(float)
--- return The scale factor on X axis. --- @function [parent=#Node] getScaleX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- LocalZOrder is the 'key' used to sort the node relative to its siblings.
--- The Node's parent will sort all its children based on the LocalZOrder value.
--- If two nodes have the same LocalZOrder, then the node that was added first to the children's array will be in front of the other node in the array.
--- Also, the Scene Graph is traversed using the "In-Order" tree traversal algorithm ( http:en.wikipedia.org/wiki/Tree_traversal#In-order )
--- And Nodes that have LocalZOrder values < 0 are the "left" subtree
--- While Nodes with LocalZOrder >=0 are the "right" subtree.
--- see `setGlobalZOrder`
--- see `setVertexZ`
--- param localZOrder The local Z order value. --- @function [parent=#Node] setLocalZOrder --- @param self --- @param #int localZOrder --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Node] getWorldToNodeAffineTransform --- @param self --- @return AffineTransform#AffineTransform ret (return value: cc.AffineTransform) - --------------------------------- --- If you want node's color affect the children node's color, then set it to true.
--- Otherwise, set it to false.
--- param cascadeColorEnabled A boolean value. --- @function [parent=#Node] setCascadeColorEnabled --- @param self --- @param #bool cascadeColorEnabled --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Change node opacity.
--- param opacity A GLubyte opacity value. --- @function [parent=#Node] setOpacity --- @param self --- @param #unsigned char opacity --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Stops all running actions and schedulers --- @function [parent=#Node] cleanup --- @param self --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- / @{/ @name component functions
--- Gets a component by its name.
--- param name A given name of component.
--- return The Component by name. --- @function [parent=#Node] getComponent --- @param self --- @param #string name --- @return Component#Component ret (return value: cc.Component) - --------------------------------- --- Returns the untransformed size of the node.
--- see `setContentSize(const Size&)`
--- return The untransformed size of the node. --- @function [parent=#Node] getContentSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Removes all actions from the running action list by its tag.
--- param tag A tag that indicates the action to be removed. --- @function [parent=#Node] stopAllActionsByTag --- @param self --- @param #int tag --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Query node's color value.
--- return A Color3B color value. --- @function [parent=#Node] getColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Returns an AABB (axis-aligned bounding-box) in its parent's coordinate system.
--- return An AABB (axis-aligned bounding-box) in its parent's coordinate system --- @function [parent=#Node] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Sets whether the anchor point will be (0,0) when you position this node.
--- This is an internal method, only used by Layer and Scene. Don't call it outside framework.
--- The default value is false, while in Layer and Scene are true.
--- param ignore true if anchor point will be (0,0) when you position this node. --- @function [parent=#Node] setIgnoreAnchorPointForPosition --- @param self --- @param #bool ignore --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Set event dispatcher for scene.
--- param dispatcher The event dispatcher of scene. --- @function [parent=#Node] setEventDispatcher --- @param self --- @param #cc.EventDispatcher dispatcher --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns the Node's Global Z Order.
--- see `setGlobalZOrder(int)`
--- return The node's global Z order --- @function [parent=#Node] getGlobalZOrder --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self --- @overload self, cc.Renderer, mat4_table, unsigned int --- @function [parent=#Node] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns a user assigned Object.
--- Similar to UserData, but instead of holding a void* it holds an object.
--- The UserObject will be retained once in this method,
--- and the previous UserObject (if existed) will be released.
--- The UserObject will be released in Node's destructor.
--- param userObject A user assigned Object. --- @function [parent=#Node] setUserObject --- @param self --- @param #cc.Ref userObject --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- @overload self, bool --- @overload self --- @function [parent=#Node] removeFromParentAndCleanup --- @param self --- @param #bool cleanup --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Sets the position (X, Y, and Z) in its parent's coordinate system.
--- param position The position (X, Y, and Z) in its parent's coordinate system.
--- js NA --- @function [parent=#Node] setPosition3D --- @param self --- @param #vec3_table position --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns the numbers of actions that are running plus the ones that are
--- schedule to run (actions in actionsToAdd and actions arrays) with a
--- specific tag.
--- Composable actions are counted as 1 action. Example:
--- If you are running 1 Sequence of 7 actions, it will return 1.
--- If you are running 7 Sequences of 2 actions, it will return 7.
--- param tag The tag that will be searched.
--- return The number of actions that are running plus the
--- ones that are schedule to run with specific tag. --- @function [parent=#Node] getNumberOfRunningActionsByTag --- @param self --- @param #int tag --- @return int#int ret (return value: int) - --------------------------------- --- Sorts the children array once before drawing, instead of every time when a child is added or reordered.
--- This approach can improve the performance massively.
--- note Don't call this manually unless a child added needs to be removed in the same frame. --- @function [parent=#Node] sortAllChildren --- @param self --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Returns the inverse world affine transform matrix. The matrix is in Pixels.
--- return The transformation matrix. --- @function [parent=#Node] getWorldToNodeTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- Gets the scale factor of the node, when X and Y have the same scale factor.
--- warning Assert when `_scaleX != _scaleY`
--- see setScale(float)
--- return The scale factor of the node. --- @function [parent=#Node] getScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Return the node's opacity.
--- return A GLubyte value. --- @function [parent=#Node] getOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- !!! ONLY FOR INTERNAL USE
--- Sets the arrival order when this node has a same ZOrder with other children.
--- A node which called addChild subsequently will take a larger arrival order,
--- If two children have the same Z order, the child with larger arrival order will be drawn later.
--- warning This method is used internally for localZOrder sorting, don't change this manually
--- param orderOfArrival The arrival order. --- @function [parent=#Node] updateOrderOfArrival --- @param self --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Node] getNormalizedPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Gets the X rotation (angle) of the node in degrees which performs a horizontal rotation skew.
--- see `setRotationSkewX(float)`
--- return The X rotation in degrees.
--- js getRotationX --- @function [parent=#Node] getRotationSkewX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew.
--- see `setRotationSkewY(float)`
--- return The Y rotation in degrees.
--- js getRotationY --- @function [parent=#Node] getRotationSkewY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Changes the tag that is used to identify the node easily.
--- Please refer to getTag for the sample code.
--- param tag A integer that identifies the node.
--- Please use `setName()` instead. --- @function [parent=#Node] setTag --- @param self --- @param #int tag --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- Query whether cascadeColor is enabled or not.
--- return Whether cascadeColor is enabled or not. --- @function [parent=#Node] isCascadeColorEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Stops and removes an action from the running action list.
--- param action The action object to be removed. --- @function [parent=#Node] stopAction --- @param self --- @param #cc.Action action --- @return Node#Node self (return value: cc.Node) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#Node] getActionManager --- @param self --- @return ActionManager#ActionManager ret (return value: cc.ActionManager) - --------------------------------- --- Allocates and initializes a node.
--- return A initialized node which is marked as "autorelease". --- @function [parent=#Node] create --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Gets count of nodes those are attached to scene graph. --- @function [parent=#Node] getAttachedNodeCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Node] Node --- @param self --- @return Node#Node self (return value: cc.Node) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/NodeGrid.lua b/cocos/scripting/lua-bindings/auto/api/NodeGrid.lua deleted file mode 100644 index 9cd7856a18..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/NodeGrid.lua +++ /dev/null @@ -1,68 +0,0 @@ - --------------------------------- --- @module NodeGrid --- @extend Node --- @parent_module cc - --------------------------------- --- brief Set the effect grid rect.
--- param gridRect The effect grid rect. --- @function [parent=#NodeGrid] setGridRect --- @param self --- @param #rect_table gridRect --- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid) - --------------------------------- --- Set the Grid Target.
--- param target A Node is used to set the Grid Target. --- @function [parent=#NodeGrid] setTarget --- @param self --- @param #cc.Node target --- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid) - --------------------------------- --- Changes a grid object that is used when applying effects.
--- param grid A Grid object that is used when applying effects. --- @function [parent=#NodeGrid] setGrid --- @param self --- @param #cc.GridBase grid --- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#NodeGrid] getGrid --- @param self --- @return GridBase#GridBase ret (return value: cc.GridBase) - --------------------------------- --- brief Get the effect grid rect.
--- return Return the effect grid rect. --- @function [parent=#NodeGrid] getGridRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- @overload self, rect_table --- @overload self --- @function [parent=#NodeGrid] create --- @param self --- @param #rect_table rect --- @return NodeGrid#NodeGrid ret (return value: cc.NodeGrid) - --------------------------------- --- --- @function [parent=#NodeGrid] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid) - --------------------------------- --- --- @function [parent=#NodeGrid] NodeGrid --- @param self --- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/OrbitCamera.lua b/cocos/scripting/lua-bindings/auto/api/OrbitCamera.lua deleted file mode 100644 index 3552ff8ddc..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/OrbitCamera.lua +++ /dev/null @@ -1,67 +0,0 @@ - --------------------------------- --- @module OrbitCamera --- @extend ActionCamera --- @parent_module cc - --------------------------------- --- Initializes a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. --- @function [parent=#OrbitCamera] initWithDuration --- @param self --- @param #float t --- @param #float radius --- @param #float deltaRadius --- @param #float angleZ --- @param #float deltaAngleZ --- @param #float angleX --- @param #float deltaAngleX --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX.
--- param t Duration in seconds.
--- param radius The start radius.
--- param deltaRadius The delta radius.
--- param angleZ The start angle in Z.
--- param deltaAngleZ The delta angle in Z.
--- param angleX The start angle in X.
--- param deltaAngleX The delta angle in X.
--- return An OrbitCamera. --- @function [parent=#OrbitCamera] create --- @param self --- @param #float t --- @param #float radius --- @param #float deltaRadius --- @param #float angleZ --- @param #float deltaAngleZ --- @param #float angleX --- @param #float deltaAngleX --- @return OrbitCamera#OrbitCamera ret (return value: cc.OrbitCamera) - --------------------------------- --- --- @function [parent=#OrbitCamera] startWithTarget --- @param self --- @param #cc.Node target --- @return OrbitCamera#OrbitCamera self (return value: cc.OrbitCamera) - --------------------------------- --- --- @function [parent=#OrbitCamera] clone --- @param self --- @return OrbitCamera#OrbitCamera ret (return value: cc.OrbitCamera) - --------------------------------- --- --- @function [parent=#OrbitCamera] update --- @param self --- @param #float time --- @return OrbitCamera#OrbitCamera self (return value: cc.OrbitCamera) - --------------------------------- --- js ctor --- @function [parent=#OrbitCamera] OrbitCamera --- @param self --- @return OrbitCamera#OrbitCamera self (return value: cc.OrbitCamera) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PUParticleSystem3D.lua b/cocos/scripting/lua-bindings/auto/api/PUParticleSystem3D.lua deleted file mode 100644 index 41583859bd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PUParticleSystem3D.lua +++ /dev/null @@ -1,346 +0,0 @@ - --------------------------------- --- @module PUParticleSystem3D --- @extend ParticleSystem3D --- @parent_module cc - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] initWithFilePath --- @param self --- @param #string filePath --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the velocity scale, defined in the particle system, but passed to the technique for convenience. --- @function [parent=#PUParticleSystem3D] getParticleSystemScaleVelocity --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] setEmittedSystemQuota --- @param self --- @param #unsigned int quota --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- default particle depth --- @function [parent=#PUParticleSystem3D] getDefaultDepth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] getEmittedSystemQuota --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] initWithFilePathAndMaterialPath --- @param self --- @param #string filePath --- @param #string materialPath --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] clearAllParticles --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] getMaterialName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] calulateRotationOffset --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- Return the maximum velocity a particle can have, even if the velocity of the particle has been set higher (either by initialisation of the particle or by means of an affector). --- @function [parent=#PUParticleSystem3D] getMaxVelocity --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] forceUpdate --- @param self --- @param #float delta --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] getTimeElapsedSinceStart --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] removeAllBehaviourTemplate --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] getEmittedEmitterQuota --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Forces emission of particles.
--- remarks The number of requested particles are the exact number that are emitted. No down-scaling is applied. --- @function [parent=#PUParticleSystem3D] forceEmission --- @param self --- @param #cc.PUEmitter emitter --- @param #unsigned int requested --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] addListener --- @param self --- @param #cc.PUListener listener --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] isMarkedForEmission --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- default particle width --- @function [parent=#PUParticleSystem3D] getDefaultWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] setEmittedEmitterQuota --- @param self --- @param #unsigned int quota --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] setMarkedForEmission --- @param self --- @param #bool isMarked --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] clone --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D ret (return value: cc.PUParticleSystem3D) - --------------------------------- --- add particle affector --- @function [parent=#PUParticleSystem3D] addEmitter --- @param self --- @param #cc.PUEmitter emitter --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] addBehaviourTemplate --- @param self --- @param #cc.PUBehaviour behaviour --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] setDefaultWidth --- @param self --- @param #float width --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] copyAttributesTo --- @param self --- @param #cc.PUParticleSystem3D system --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] setMaterialName --- @param self --- @param #string name --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] getParentParticleSystem --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D ret (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] removeListener --- @param self --- @param #cc.PUListener listener --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- Set the maximum velocity a particle can have. --- @function [parent=#PUParticleSystem3D] setMaxVelocity --- @param self --- @param #float maxVelocity --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- default particle height --- @function [parent=#PUParticleSystem3D] getDefaultHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] getDerivedPosition --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- If the orientation of the particle system has been changed since the last update, the passed vector is rotated accordingly. --- @function [parent=#PUParticleSystem3D] rotationOffset --- @param self --- @param #vec3_table pos --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] removeAllEmitter --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] setParticleSystemScaleVelocity --- @param self --- @param #float scaleVelocity --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] getDerivedScale --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] setDefaultHeight --- @param self --- @param #float height --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] removeAllListener --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] initSystem --- @param self --- @param #string filePath --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] makeParticleLocal --- @param self --- @param #cc.PUParticle3D particle --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] removerAllObserver --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] setDefaultDepth --- @param self --- @param #float depth --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] addObserver --- @param self --- @param #cc.PUObserver observer --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- @overload self, string --- @overload self --- @overload self, string, string --- @function [parent=#PUParticleSystem3D] create --- @param self --- @param #string filePath --- @param #string materialPath --- @return PUParticleSystem3D#PUParticleSystem3D ret (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- particle system play control --- @function [parent=#PUParticleSystem3D] startParticleSystem --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- stop particle --- @function [parent=#PUParticleSystem3D] stopParticleSystem --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] update --- @param self --- @param #float delta --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- pause particle --- @function [parent=#PUParticleSystem3D] pauseParticleSystem --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- resume particle --- @function [parent=#PUParticleSystem3D] resumeParticleSystem --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] getAliveParticleCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#PUParticleSystem3D] PUParticleSystem3D --- @param self --- @return PUParticleSystem3D#PUParticleSystem3D self (return value: cc.PUParticleSystem3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PageTurn3D.lua b/cocos/scripting/lua-bindings/auto/api/PageTurn3D.lua deleted file mode 100644 index ee31eb29f6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PageTurn3D.lua +++ /dev/null @@ -1,37 +0,0 @@ - --------------------------------- --- @module PageTurn3D --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Create an action with duration, grid size.
--- param duration Specify the duration of the PageTurn3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- return If the creation success, return a pointer of PageTurn3D action; otherwise, return nil. --- @function [parent=#PageTurn3D] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @return PageTurn3D#PageTurn3D ret (return value: cc.PageTurn3D) - --------------------------------- --- --- @function [parent=#PageTurn3D] clone --- @param self --- @return PageTurn3D#PageTurn3D ret (return value: cc.PageTurn3D) - --------------------------------- --- js NA --- @function [parent=#PageTurn3D] getGrid --- @param self --- @return GridBase#GridBase ret (return value: cc.GridBase) - --------------------------------- --- --- @function [parent=#PageTurn3D] update --- @param self --- @param #float time --- @return PageTurn3D#PageTurn3D self (return value: cc.PageTurn3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PageView.lua b/cocos/scripting/lua-bindings/auto/api/PageView.lua deleted file mode 100644 index b0dd3cd013..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PageView.lua +++ /dev/null @@ -1,289 +0,0 @@ - --------------------------------- --- @module PageView --- @extend ListView --- @parent_module ccui - --------------------------------- --- brief Set space between page indicator's index nodes.
--- param spaceBetweenIndexNodes Space between nodes in pixel. --- @function [parent=#PageView] setIndicatorSpaceBetweenIndexNodes --- @param self --- @param #float spaceBetweenIndexNodes --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- Insert a page into PageView at a given index.
--- param page Page to be inserted.
--- param idx A given index. --- @function [parent=#PageView] insertPage --- @param self --- @param #ccui.Widget page --- @param #int idx --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Set opacity of page indicator's index nodes.
--- param opacity New indicator node opacity. --- @function [parent=#PageView] setIndicatorIndexNodesOpacity --- @param self --- @param #unsigned char opacity --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Set opacity of page indicator's selected index.
--- param color New opacity for selected (current) index. --- @function [parent=#PageView] setIndicatorSelectedIndexOpacity --- @param self --- @param #unsigned char opacity --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Remove all pages of the PageView. --- @function [parent=#PageView] removeAllPages --- @param self --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- --- @function [parent=#PageView] setAutoScrollStopEpsilon --- @param self --- @param #float epsilon --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Set scale of page indicator's index nodes.
--- param indexNodesScale Scale of index nodes. --- @function [parent=#PageView] setIndicatorIndexNodesScale --- @param self --- @param #float indexNodesScale --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Toggle page indicator enabled.
--- param enabled True if enable page indicator, false otherwise. --- @function [parent=#PageView] setIndicatorEnabled --- @param self --- @param #bool enabled --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Set color of page indicator's selected index.
--- param color New color for selected (current) index. --- @function [parent=#PageView] setIndicatorSelectedIndexColor --- @param self --- @param #color3b_table color --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Add a page turn callback to PageView, then when one page is turning, the callback will be called.
--- param callback A page turning callback. --- @function [parent=#PageView] addEventListener --- @param self --- @param #function callback --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Get the page indicator's position.
--- return positionAsAnchorPoint --- @function [parent=#PageView] getIndicatorPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Jump to a page with a given index without scrolling.
--- This is the different between scrollToPage.
--- param index A given index in PageView. Index start from 0 to pageCount -1. --- @function [parent=#PageView] setCurrentPageIndex --- @param self --- @param #int index --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Get the color of page indicator's index nodes.
--- return color --- @function [parent=#PageView] getIndicatorIndexNodesColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- brief Get the color of page indicator's selected index.
--- return color --- @function [parent=#PageView] getIndicatorSelectedIndexColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- brief Get scale of page indicator's index nodes.
--- return indexNodesScale --- @function [parent=#PageView] getIndicatorIndexNodesScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the page indicator's position in page view.
--- param position The position in page view --- @function [parent=#PageView] setIndicatorPosition --- @param self --- @param #vec2_table position --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Get the opacity of page indicator's selected index.
--- return opacity --- @function [parent=#PageView] getIndicatorSelectedIndexOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- @overload self, int, float --- @overload self, int --- @function [parent=#PageView] scrollToPage --- @param self --- @param #int idx --- @param #float time --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Set the page indicator's position using anchor point.
--- param positionAsAnchorPoint The position as anchor point. --- @function [parent=#PageView] setIndicatorPositionAsAnchorPoint --- @param self --- @param #vec2_table positionAsAnchorPoint --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- @overload self, int, float --- @overload self, int --- @function [parent=#PageView] scrollToItem --- @param self --- @param #int idx --- @param #float time --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Set color of page indicator's index nodes.
--- param color New indicator node color. --- @function [parent=#PageView] setIndicatorIndexNodesColor --- @param self --- @param #color3b_table color --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Get the opacity of page indicator's index nodes.
--- return opacity --- @function [parent=#PageView] getIndicatorIndexNodesOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- brief Get the page indicator's position as anchor point.
--- return positionAsAnchorPoint --- @function [parent=#PageView] getIndicatorPositionAsAnchorPoint --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Gets current displayed page index.
--- return current page index. --- @function [parent=#PageView] getCurrentPageIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Remove a page of PageView.
--- param page Page to be removed. --- @function [parent=#PageView] removePage --- @param self --- @param #ccui.Widget page --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- sets texture for index nodes.
--- param fileName File name of texture.
--- param resType @see TextureResType . --- @function [parent=#PageView] setIndicatorIndexNodesTexture --- @param self --- @param #string texName --- @param #int texType --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Query page indicator state.
--- return True if page indicator is enabled, false otherwise. --- @function [parent=#PageView] getIndicatorEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Remove a page at a given index of PageView.
--- param index A given index. --- @function [parent=#PageView] removePageAtIndex --- @param self --- @param #int index --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- brief Get the space between page indicator's index nodes.
--- return spaceBetweenIndexNodes --- @function [parent=#PageView] getIndicatorSpaceBetweenIndexNodes --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Insert a page into the end of PageView.
--- param page Page to be inserted. --- @function [parent=#PageView] addPage --- @param self --- @param #ccui.Widget page --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- Create an empty PageView.
--- return A PageView instance. --- @function [parent=#PageView] create --- @param self --- @return PageView#PageView ret (return value: ccui.PageView) - --------------------------------- --- --- @function [parent=#PageView] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#PageView] doLayout --- @param self --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- --- @function [parent=#PageView] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#PageView] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Changes direction
--- Direction Direction::VERTICAL means vertical scroll, Direction::HORIZONTAL means horizontal scroll.
--- param direction Set the page view's scroll direction. --- @function [parent=#PageView] setDirection --- @param self --- @param #int direction --- @return PageView#PageView self (return value: ccui.PageView) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#PageView] PageView --- @param self --- @return PageView#PageView self (return value: ccui.PageView) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParallaxNode.lua b/cocos/scripting/lua-bindings/auto/api/ParallaxNode.lua deleted file mode 100644 index e9e7a3efe3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParallaxNode.lua +++ /dev/null @@ -1,71 +0,0 @@ - --------------------------------- --- @module ParallaxNode --- @extend Node --- @parent_module cc - --------------------------------- --- Adds a child to the container with a local z-order, parallax ratio and position offset.
--- param child A child node.
--- param z Z order for drawing priority.
--- param parallaxRatio A given parallax ratio.
--- param positionOffset A given position offset. --- @function [parent=#ParallaxNode] addChild --- @param self --- @param #cc.Node child --- @param #int z --- @param #vec2_table parallaxRatio --- @param #vec2_table positionOffset --- @return ParallaxNode#ParallaxNode self (return value: cc.ParallaxNode) - --------------------------------- --- --- @function [parent=#ParallaxNode] removeAllChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return ParallaxNode#ParallaxNode self (return value: cc.ParallaxNode) - --------------------------------- --- Create a Parallax node.
--- return An autoreleased ParallaxNode object. --- @function [parent=#ParallaxNode] create --- @param self --- @return ParallaxNode#ParallaxNode ret (return value: cc.ParallaxNode) - --------------------------------- --- @overload self, cc.Node, int, string --- @overload self, cc.Node, int, int --- @function [parent=#ParallaxNode] addChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @param #int tag --- @return ParallaxNode#ParallaxNode self (return value: cc.ParallaxNode) - --------------------------------- --- --- @function [parent=#ParallaxNode] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return ParallaxNode#ParallaxNode self (return value: cc.ParallaxNode) - --------------------------------- --- --- @function [parent=#ParallaxNode] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return ParallaxNode#ParallaxNode self (return value: cc.ParallaxNode) - --------------------------------- --- Adds a child to the container with a z-order, a parallax ratio and a position offset
--- It returns self, so you can chain several addChilds.
--- since v0.8
--- js ctor --- @function [parent=#ParallaxNode] ParallaxNode --- @param self --- @return ParallaxNode#ParallaxNode self (return value: cc.ParallaxNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleBatchNode.lua b/cocos/scripting/lua-bindings/auto/api/ParticleBatchNode.lua deleted file mode 100644 index 4f90eacd17..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleBatchNode.lua +++ /dev/null @@ -1,177 +0,0 @@ - --------------------------------- --- @module ParticleBatchNode --- @extend Node,TextureProtocol --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleBatchNode] setTexture --- @param self --- @param #cc.Texture2D texture --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- initializes the particle system with Texture2D, a capacity of particles --- @function [parent=#ParticleBatchNode] initWithTexture --- @param self --- @param #cc.Texture2D tex --- @param #int capacity --- @return bool#bool ret (return value: bool) - --------------------------------- --- Disables a particle by inserting a 0'd quad into the texture atlas.
--- param particleIndex The index of the particle. --- @function [parent=#ParticleBatchNode] disableParticle --- @param self --- @param #int particleIndex --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- --- @function [parent=#ParticleBatchNode] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Sets the texture atlas used for drawing the quads.
--- param atlas The texture atlas used for drawing the quads. --- @function [parent=#ParticleBatchNode] setTextureAtlas --- @param self --- @param #cc.TextureAtlas atlas --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- initializes the particle system with the name of a file on disk (for a list of supported formats look at the Texture2D class), a capacity of particles --- @function [parent=#ParticleBatchNode] initWithFile --- @param self --- @param #string fileImage --- @param #int capacity --- @return bool#bool ret (return value: bool) - --------------------------------- --- code
--- When this function bound into js or lua,the parameter will be changed
--- In js: var setBlendFunc(var src, var dst)
--- endcode
--- lua NA --- @function [parent=#ParticleBatchNode] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- --- @function [parent=#ParticleBatchNode] removeAllChildrenWithCleanup --- @param self --- @param #bool doCleanup --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- Gets the texture atlas used for drawing the quads.
--- return The texture atlas used for drawing the quads. --- @function [parent=#ParticleBatchNode] getTextureAtlas --- @param self --- @return TextureAtlas#TextureAtlas ret (return value: cc.TextureAtlas) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ParticleBatchNode] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- Inserts a child into the ParticleBatchNode.
--- param system A given particle system.
--- param index The insert index. --- @function [parent=#ParticleBatchNode] insertChild --- @param self --- @param #cc.ParticleSystem system --- @param #int index --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- Remove a child of the ParticleBatchNode.
--- param index The index of the child.
--- param doCleanup True if all actions and callbacks on this node should be removed, false otherwise. --- @function [parent=#ParticleBatchNode] removeChildAtIndex --- @param self --- @param #int index --- @param #bool doCleanup --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- Create the particle system with the name of a file on disk (for a list of supported formats look at the Texture2D class), a capacity of particles.
--- param fileImage A given file name.
--- param capacity A capacity of particles.
--- return An autoreleased ParticleBatchNode object. --- @function [parent=#ParticleBatchNode] create --- @param self --- @param #string fileImage --- @param #int capacity --- @return ParticleBatchNode#ParticleBatchNode ret (return value: cc.ParticleBatchNode) - --------------------------------- --- Create the particle system with Texture2D, a capacity of particles, which particle system to use.
--- param tex A given texture.
--- param capacity A capacity of particles.
--- return An autoreleased ParticleBatchNode object.
--- js NA --- @function [parent=#ParticleBatchNode] createWithTexture --- @param self --- @param #cc.Texture2D tex --- @param #int capacity --- @return ParticleBatchNode#ParticleBatchNode ret (return value: cc.ParticleBatchNode) - --------------------------------- --- @overload self, cc.Node, int, string --- @overload self, cc.Node, int, int --- @function [parent=#ParticleBatchNode] addChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @param #int tag --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- --- @function [parent=#ParticleBatchNode] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- --- @function [parent=#ParticleBatchNode] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- --- @function [parent=#ParticleBatchNode] reorderChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- --- @function [parent=#ParticleBatchNode] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - --------------------------------- --- js ctor --- @function [parent=#ParticleBatchNode] ParticleBatchNode --- @param self --- @return ParticleBatchNode#ParticleBatchNode self (return value: cc.ParticleBatchNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleData.lua b/cocos/scripting/lua-bindings/auto/api/ParticleData.lua deleted file mode 100644 index 05ae7cb2b2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleData.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module ParticleData --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleData] release --- @param self --- @return ParticleData#ParticleData self (return value: cc.ParticleData) - --------------------------------- --- --- @function [parent=#ParticleData] getMaxCount --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- --- @function [parent=#ParticleData] init --- @param self --- @param #int count --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleData] copyParticle --- @param self --- @param #int p1 --- @param #int p2 --- @return ParticleData#ParticleData self (return value: cc.ParticleData) - --------------------------------- --- --- @function [parent=#ParticleData] ParticleData --- @param self --- @return ParticleData#ParticleData self (return value: cc.ParticleData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleDisplayData.lua b/cocos/scripting/lua-bindings/auto/api/ParticleDisplayData.lua deleted file mode 100644 index 203de396c2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleDisplayData.lua +++ /dev/null @@ -1,19 +0,0 @@ - --------------------------------- --- @module ParticleDisplayData --- @extend DisplayData --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ParticleDisplayData] create --- @param self --- @return ParticleDisplayData#ParticleDisplayData ret (return value: ccs.ParticleDisplayData) - --------------------------------- --- js ctor --- @function [parent=#ParticleDisplayData] ParticleDisplayData --- @param self --- @return ParticleDisplayData#ParticleDisplayData self (return value: ccs.ParticleDisplayData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleExplosion.lua b/cocos/scripting/lua-bindings/auto/api/ParticleExplosion.lua deleted file mode 100644 index 54dccffb9e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleExplosion.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleExplosion --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleExplosion] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleExplosion] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a explosion particle system.
--- return An autoreleased ParticleExplosion object. --- @function [parent=#ParticleExplosion] create --- @param self --- @return ParticleExplosion#ParticleExplosion ret (return value: cc.ParticleExplosion) - --------------------------------- --- Create a explosion particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleExplosion object.
--- js NA --- @function [parent=#ParticleExplosion] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleExplosion#ParticleExplosion ret (return value: cc.ParticleExplosion) - --------------------------------- --- js ctor --- @function [parent=#ParticleExplosion] ParticleExplosion --- @param self --- @return ParticleExplosion#ParticleExplosion self (return value: cc.ParticleExplosion) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleFire.lua b/cocos/scripting/lua-bindings/auto/api/ParticleFire.lua deleted file mode 100644 index 367b18cc58..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleFire.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleFire --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- Create a fire particle system.
--- return An autoreleased ParticleFire object. --- @function [parent=#ParticleFire] create --- @param self --- @return ParticleFire#ParticleFire ret (return value: cc.ParticleFire) - --------------------------------- --- Create a fire particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleFire object.
--- js NA --- @function [parent=#ParticleFire] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleFire#ParticleFire ret (return value: cc.ParticleFire) - --------------------------------- --- --- @function [parent=#ParticleFire] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleFire] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor --- @function [parent=#ParticleFire] ParticleFire --- @param self --- @return ParticleFire#ParticleFire self (return value: cc.ParticleFire) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleFireworks.lua b/cocos/scripting/lua-bindings/auto/api/ParticleFireworks.lua deleted file mode 100644 index bb1b91e0b2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleFireworks.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleFireworks --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleFireworks] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleFireworks] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a fireworks particle system.
--- return An autoreleased ParticleFireworks object. --- @function [parent=#ParticleFireworks] create --- @param self --- @return ParticleFireworks#ParticleFireworks ret (return value: cc.ParticleFireworks) - --------------------------------- --- Create a fireworks particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleFireworks object.
--- js NA --- @function [parent=#ParticleFireworks] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleFireworks#ParticleFireworks ret (return value: cc.ParticleFireworks) - --------------------------------- --- js ctor --- @function [parent=#ParticleFireworks] ParticleFireworks --- @param self --- @return ParticleFireworks#ParticleFireworks self (return value: cc.ParticleFireworks) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleFlower.lua b/cocos/scripting/lua-bindings/auto/api/ParticleFlower.lua deleted file mode 100644 index f4200521e4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleFlower.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleFlower --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleFlower] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleFlower] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a flower particle system.
--- return An autoreleased ParticleFlower object. --- @function [parent=#ParticleFlower] create --- @param self --- @return ParticleFlower#ParticleFlower ret (return value: cc.ParticleFlower) - --------------------------------- --- Create a flower particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleFlower object.
--- js NA --- @function [parent=#ParticleFlower] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleFlower#ParticleFlower ret (return value: cc.ParticleFlower) - --------------------------------- --- js ctor --- @function [parent=#ParticleFlower] ParticleFlower --- @param self --- @return ParticleFlower#ParticleFlower self (return value: cc.ParticleFlower) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleGalaxy.lua b/cocos/scripting/lua-bindings/auto/api/ParticleGalaxy.lua deleted file mode 100644 index 1458c70a94..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleGalaxy.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleGalaxy --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleGalaxy] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleGalaxy] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a galaxy particle system.
--- return An autoreleased ParticleGalaxy object. --- @function [parent=#ParticleGalaxy] create --- @param self --- @return ParticleGalaxy#ParticleGalaxy ret (return value: cc.ParticleGalaxy) - --------------------------------- --- Create a galaxy particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleGalaxy object.
--- js NA --- @function [parent=#ParticleGalaxy] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleGalaxy#ParticleGalaxy ret (return value: cc.ParticleGalaxy) - --------------------------------- --- js ctor --- @function [parent=#ParticleGalaxy] ParticleGalaxy --- @param self --- @return ParticleGalaxy#ParticleGalaxy self (return value: cc.ParticleGalaxy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleMeteor.lua b/cocos/scripting/lua-bindings/auto/api/ParticleMeteor.lua deleted file mode 100644 index 00c2fc17aa..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleMeteor.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleMeteor --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleMeteor] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleMeteor] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a meteor particle system.
--- return An autoreleased ParticleMeteor object. --- @function [parent=#ParticleMeteor] create --- @param self --- @return ParticleMeteor#ParticleMeteor ret (return value: cc.ParticleMeteor) - --------------------------------- --- Create a meteor particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleMeteor object.
--- js NA --- @function [parent=#ParticleMeteor] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleMeteor#ParticleMeteor ret (return value: cc.ParticleMeteor) - --------------------------------- --- js ctor --- @function [parent=#ParticleMeteor] ParticleMeteor --- @param self --- @return ParticleMeteor#ParticleMeteor self (return value: cc.ParticleMeteor) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleRain.lua b/cocos/scripting/lua-bindings/auto/api/ParticleRain.lua deleted file mode 100644 index 2ffad718e4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleRain.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleRain --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleRain] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleRain] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a rain particle system.
--- return An autoreleased ParticleRain object. --- @function [parent=#ParticleRain] create --- @param self --- @return ParticleRain#ParticleRain ret (return value: cc.ParticleRain) - --------------------------------- --- Create a rain particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleRain object.
--- js NA --- @function [parent=#ParticleRain] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleRain#ParticleRain ret (return value: cc.ParticleRain) - --------------------------------- --- js ctor --- @function [parent=#ParticleRain] ParticleRain --- @param self --- @return ParticleRain#ParticleRain self (return value: cc.ParticleRain) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSmoke.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSmoke.lua deleted file mode 100644 index f8b6e07bbc..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSmoke.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleSmoke --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleSmoke] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleSmoke] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a smoke particle system.
--- return An autoreleased ParticleSmoke object. --- @function [parent=#ParticleSmoke] create --- @param self --- @return ParticleSmoke#ParticleSmoke ret (return value: cc.ParticleSmoke) - --------------------------------- --- Create a smoke particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleSmoke object.
--- js NA --- @function [parent=#ParticleSmoke] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleSmoke#ParticleSmoke ret (return value: cc.ParticleSmoke) - --------------------------------- --- js ctor --- @function [parent=#ParticleSmoke] ParticleSmoke --- @param self --- @return ParticleSmoke#ParticleSmoke self (return value: cc.ParticleSmoke) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSnow.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSnow.lua deleted file mode 100644 index fa37b27cf4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSnow.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleSnow --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleSnow] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleSnow] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a snow particle system.
--- return An autoreleased ParticleSnow object. --- @function [parent=#ParticleSnow] create --- @param self --- @return ParticleSnow#ParticleSnow ret (return value: cc.ParticleSnow) - --------------------------------- --- Create a snow particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleSnow object.
--- js NA --- @function [parent=#ParticleSnow] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleSnow#ParticleSnow ret (return value: cc.ParticleSnow) - --------------------------------- --- js ctor --- @function [parent=#ParticleSnow] ParticleSnow --- @param self --- @return ParticleSnow#ParticleSnow self (return value: cc.ParticleSnow) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSpiral.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSpiral.lua deleted file mode 100644 index fe58276e8f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSpiral.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleSpiral --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleSpiral] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleSpiral] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a spiral particle system.
--- return An autoreleased ParticleSpiral object. --- @function [parent=#ParticleSpiral] create --- @param self --- @return ParticleSpiral#ParticleSpiral ret (return value: cc.ParticleSpiral) - --------------------------------- --- Create a spiral particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleSpiral object.
--- js NA --- @function [parent=#ParticleSpiral] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleSpiral#ParticleSpiral ret (return value: cc.ParticleSpiral) - --------------------------------- --- js ctor --- @function [parent=#ParticleSpiral] ParticleSpiral --- @param self --- @return ParticleSpiral#ParticleSpiral self (return value: cc.ParticleSpiral) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSun.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSun.lua deleted file mode 100644 index 500221f140..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSun.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module ParticleSun --- @extend ParticleSystemQuad --- @parent_module cc - --------------------------------- --- --- @function [parent=#ParticleSun] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleSun] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a sun particle system.
--- return An autoreleased ParticleSun object. --- @function [parent=#ParticleSun] create --- @param self --- @return ParticleSun#ParticleSun ret (return value: cc.ParticleSun) - --------------------------------- --- Create a sun particle system withe a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleSun object.
--- js NA --- @function [parent=#ParticleSun] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleSun#ParticleSun ret (return value: cc.ParticleSun) - --------------------------------- --- js ctor --- @function [parent=#ParticleSun] ParticleSun --- @param self --- @return ParticleSun#ParticleSun self (return value: cc.ParticleSun) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSystem.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSystem.lua deleted file mode 100644 index fc69627350..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSystem.lua +++ /dev/null @@ -1,881 +0,0 @@ - --------------------------------- --- @module ParticleSystem --- @extend Node,TextureProtocol,PlayableProtocol --- @parent_module cc - --------------------------------- --- Gets the start size variance in pixels of each particle.
--- return The start size variance in pixels of each particle. --- @function [parent=#ParticleSystem] getStartSizeVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ParticleSystem] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Whether or not the system is full.
--- return True if the system is full. --- @function [parent=#ParticleSystem] isFull --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the batch node.
--- return The batch node. --- @function [parent=#ParticleSystem] getBatchNode --- @param self --- @return ParticleBatchNode#ParticleBatchNode ret (return value: cc.ParticleBatchNode) - --------------------------------- --- Gets the start color of each particle.
--- return The start color of each particle. --- @function [parent=#ParticleSystem] getStartColor --- @param self --- @return color4f_table#color4f_table ret (return value: color4f_table) - --------------------------------- --- Gets the particles movement type: Free or Grouped.
--- since v0.8
--- return The particles movement type. --- @function [parent=#ParticleSystem] getPositionType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets the position variance of the emitter.
--- param pos The position variance of the emitter. --- @function [parent=#ParticleSystem] setPosVar --- @param self --- @param #vec2_table pos --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the end spin of each particle.
--- return The end spin of each particle. --- @function [parent=#ParticleSystem] getEndSpin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the rotate per second variance.
--- param degrees The rotate per second variance. --- @function [parent=#ParticleSystem] setRotatePerSecondVar --- @param self --- @param #float degrees --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- / @} end of PlayableProtocol --- @function [parent=#ParticleSystem] setSourcePositionCompatible --- @param self --- @param #bool sourcePositionCompatible --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the start spin variance of each particle.
--- return The start spin variance of each particle. --- @function [parent=#ParticleSystem] getStartSpinVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the radial acceleration variance.
--- return The radial acceleration variance. --- @function [parent=#ParticleSystem] getRadialAccelVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the end size variance in pixels of each particle.
--- return The end size variance in pixels of each particle. --- @function [parent=#ParticleSystem] getEndSizeVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the tangential acceleration.
--- param t The tangential acceleration. --- @function [parent=#ParticleSystem] setTangentialAccel --- @param self --- @param #float t --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the radial acceleration.
--- return The radial acceleration. --- @function [parent=#ParticleSystem] getRadialAccel --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the start radius.
--- param startRadius The start radius. --- @function [parent=#ParticleSystem] setStartRadius --- @param self --- @param #float startRadius --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the number of degrees to rotate a particle around the source pos per second.
--- param degrees The number of degrees to rotate a particle around the source pos per second. --- @function [parent=#ParticleSystem] setRotatePerSecond --- @param self --- @param #float degrees --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the end size in pixels of each particle.
--- param endSize The end size in pixels of each particle. --- @function [parent=#ParticleSystem] setEndSize --- @param self --- @param #float endSize --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the gravity.
--- return The gravity. --- @function [parent=#ParticleSystem] getGravity --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#ParticleSystem] resumeEmissions --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the tangential acceleration.
--- return The tangential acceleration. --- @function [parent=#ParticleSystem] getTangentialAccel --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the end radius.
--- param endRadius The end radius. --- @function [parent=#ParticleSystem] setEndRadius --- @param self --- @param #float endRadius --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the speed.
--- return The speed. --- @function [parent=#ParticleSystem] getSpeed --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ParticleSystem] pauseEmissions --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the angle of each particle.
--- return The angle of each particle. --- @function [parent=#ParticleSystem] getAngle --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the end color and end color variation of each particle.
--- param color The end color and end color variation of each particle. --- @function [parent=#ParticleSystem] setEndColor --- @param self --- @param #color4f_table color --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the start spin of each particle.
--- param spin The start spin of each particle. --- @function [parent=#ParticleSystem] setStartSpin --- @param self --- @param #float spin --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets how many seconds the emitter will run. -1 means 'forever'.
--- param duration The seconds that the emitter will run. -1 means 'forever'. --- @function [parent=#ParticleSystem] setDuration --- @param self --- @param #float duration --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Initializes a system with a fixed number of particles --- @function [parent=#ParticleSystem] initWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleSystem] addParticles --- @param self --- @param #int count --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- --- @function [parent=#ParticleSystem] setTexture --- @param self --- @param #cc.Texture2D texture --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the position variance of the emitter.
--- return The position variance of the emitter. --- @function [parent=#ParticleSystem] getPosVar --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Call the update method with no time.. --- @function [parent=#ParticleSystem] updateWithNoTime --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Whether or not the particle system is blend additive.
--- return True if the particle system is blend additive. --- @function [parent=#ParticleSystem] isBlendAdditive --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the speed variance.
--- return The speed variance. --- @function [parent=#ParticleSystem] getSpeedVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the particles movement type: Free or Grouped.
--- since v0.8
--- param type The particles movement type. --- @function [parent=#ParticleSystem] setPositionType --- @param self --- @param #int type --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- --- @function [parent=#ParticleSystem] stopSystem --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the source position of the emitter.
--- return The source position of the emitter. --- @function [parent=#ParticleSystem] getSourcePosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Sets the life variance of each particle.
--- param lifeVar The life variance of each particle. --- @function [parent=#ParticleSystem] setLifeVar --- @param self --- @param #float lifeVar --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the maximum particles of the system.
--- param totalParticles The maximum particles of the system. --- @function [parent=#ParticleSystem] setTotalParticles --- @param self --- @param #int totalParticles --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the end color variance of each particle.
--- param color The end color variance of each particle. --- @function [parent=#ParticleSystem] setEndColorVar --- @param self --- @param #color4f_table color --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the index of system in batch node array.
--- return The index of system in batch node array. --- @function [parent=#ParticleSystem] getAtlasIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets the start size in pixels of each particle.
--- return The start size in pixels of each particle. --- @function [parent=#ParticleSystem] getStartSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the start spin variance of each particle.
--- param pinVar The start spin variance of each particle. --- @function [parent=#ParticleSystem] setStartSpinVar --- @param self --- @param #float pinVar --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Kill all living particles. --- @function [parent=#ParticleSystem] resetSystem --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the index of system in batch node array.
--- param index The index of system in batch node array. --- @function [parent=#ParticleSystem] setAtlasIndex --- @param self --- @param #int index --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the tangential acceleration variance.
--- param t The tangential acceleration variance. --- @function [parent=#ParticleSystem] setTangentialAccelVar --- @param self --- @param #float t --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the end radius variance.
--- param endRadiusVar The end radius variance. --- @function [parent=#ParticleSystem] setEndRadiusVar --- @param self --- @param #float endRadiusVar --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the end radius.
--- return The end radius. --- @function [parent=#ParticleSystem] getEndRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Whether or not the particle system is active.
--- return True if the particle system is active. --- @function [parent=#ParticleSystem] isActive --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the radial acceleration variance.
--- param t The radial acceleration variance. --- @function [parent=#ParticleSystem] setRadialAccelVar --- @param self --- @param #float t --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the start size in pixels of each particle.
--- param startSize The start size in pixels of each particle. --- @function [parent=#ParticleSystem] setStartSize --- @param self --- @param #float startSize --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the speed.
--- param speed The speed. --- @function [parent=#ParticleSystem] setSpeed --- @param self --- @param #float speed --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the start spin of each particle.
--- return The start spin of each particle. --- @function [parent=#ParticleSystem] getStartSpin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ParticleSystem] getResourceFile --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Gets the number of degrees to rotate a particle around the source pos per second.
--- return The number of degrees to rotate a particle around the source pos per second. --- @function [parent=#ParticleSystem] getRotatePerSecond --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the mode of the emitter.
--- param mode The mode of the emitter. --- @function [parent=#ParticleSystem] setEmitterMode --- @param self --- @param #int mode --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets how many seconds the emitter will run. -1 means 'forever'.
--- return The seconds that the emitter will run. -1 means 'forever'. --- @function [parent=#ParticleSystem] getDuration --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the source position of the emitter.
--- param pos The source position of the emitter. --- @function [parent=#ParticleSystem] setSourcePosition --- @param self --- @param #vec2_table pos --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- --- @function [parent=#ParticleSystem] stop --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Update the verts position data of particle,
--- should be overridden by subclasses. --- @function [parent=#ParticleSystem] updateParticleQuads --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the end spin variance of each particle.
--- return The end spin variance of each particle. --- @function [parent=#ParticleSystem] getEndSpinVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the particle system blend additive.
--- param value True if the particle system is blend additive. --- @function [parent=#ParticleSystem] setBlendAdditive --- @param self --- @param #bool value --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the life of each particle.
--- param life The life of each particle. --- @function [parent=#ParticleSystem] setLife --- @param self --- @param #float life --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the angle variance of each particle.
--- param angleVar The angle variance of each particle. --- @function [parent=#ParticleSystem] setAngleVar --- @param self --- @param #float angleVar --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the rotation of each particle to its direction.
--- param t True if the rotation is the direction. --- @function [parent=#ParticleSystem] setRotationIsDir --- @param self --- @param #bool t --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- / @{/ @name implement Playable Protocol --- @function [parent=#ParticleSystem] start --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the end size variance in pixels of each particle.
--- param sizeVar The end size variance in pixels of each particle. --- @function [parent=#ParticleSystem] setEndSizeVar --- @param self --- @param #float sizeVar --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the angle of each particle.
--- param angle The angle of each particle. --- @function [parent=#ParticleSystem] setAngle --- @param self --- @param #float angle --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the batch node.
--- param batchNode The batch node. --- @function [parent=#ParticleSystem] setBatchNode --- @param self --- @param #cc.ParticleBatchNode batchNode --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the tangential acceleration variance.
--- return The tangential acceleration variance. --- @function [parent=#ParticleSystem] getTangentialAccelVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Switch between different kind of emitter modes:
--- - kParticleModeGravity: uses gravity, speed, radial and tangential acceleration.
--- - kParticleModeRadius: uses radius movement + rotation.
--- return The mode of the emitter. --- @function [parent=#ParticleSystem] getEmitterMode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets the end spin variance of each particle.
--- param endSpinVar The end spin variance of each particle. --- @function [parent=#ParticleSystem] setEndSpinVar --- @param self --- @param #float endSpinVar --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- initializes a ParticleSystem from a plist file.
--- This plist files can be created manually or with Particle Designer:
--- http:particledesigner.71squared.com/
--- since v0.99.3 --- @function [parent=#ParticleSystem] initWithFile --- @param self --- @param #string plistFile --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the angle variance of each particle.
--- return The angle variance of each particle. --- @function [parent=#ParticleSystem] getAngleVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the start color of each particle.
--- param color The start color of each particle. --- @function [parent=#ParticleSystem] setStartColor --- @param self --- @param #color4f_table color --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the rotate per second variance.
--- return The rotate per second variance. --- @function [parent=#ParticleSystem] getRotatePerSecondVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the end size in pixels of each particle.
--- return The end size in pixels of each particle. --- @function [parent=#ParticleSystem] getEndSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the life of each particle.
--- return The life of each particle. --- @function [parent=#ParticleSystem] getLife --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Are the emissions paused
--- return True if the emissions are paused, else false --- @function [parent=#ParticleSystem] isPaused --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the speed variance.
--- param speed The speed variance. --- @function [parent=#ParticleSystem] setSpeedVar --- @param self --- @param #float speed --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Set the particle system auto removed it self on finish.
--- param var True if the particle system removed self on finish. --- @function [parent=#ParticleSystem] setAutoRemoveOnFinish --- @param self --- @param #bool var --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the gravity.
--- param g The gravity. --- @function [parent=#ParticleSystem] setGravity --- @param self --- @param #vec2_table g --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Update the VBO verts buffer which does not use batch node,
--- should be overridden by subclasses. --- @function [parent=#ParticleSystem] postStep --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the emission rate of the particles.
--- param rate The emission rate of the particles. --- @function [parent=#ParticleSystem] setEmissionRate --- @param self --- @param #float rate --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the end color variance of each particle.
--- return The end color variance of each particle. --- @function [parent=#ParticleSystem] getEndColorVar --- @param self --- @return color4f_table#color4f_table ret (return value: color4f_table) - --------------------------------- --- Whether or not the rotation of each particle to its direction.
--- return True if the rotation is the direction. --- @function [parent=#ParticleSystem] getRotationIsDir --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the emission rate of the particles.
--- return The emission rate of the particles. --- @function [parent=#ParticleSystem] getEmissionRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the end color and end color variation of each particle.
--- return The end color and end color variation of each particle. --- @function [parent=#ParticleSystem] getEndColor --- @param self --- @return color4f_table#color4f_table ret (return value: color4f_table) - --------------------------------- --- Gets the life variance of each particle.
--- return The life variance of each particle. --- @function [parent=#ParticleSystem] getLifeVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the start size variance in pixels of each particle.
--- param sizeVar The start size variance in pixels of each particle. --- @function [parent=#ParticleSystem] setStartSizeVar --- @param self --- @param #float sizeVar --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the start radius.
--- return The start radius. --- @function [parent=#ParticleSystem] getStartRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the Quantity of particles that are being simulated at the moment.
--- return The Quantity of particles that are being simulated at the moment. --- @function [parent=#ParticleSystem] getParticleCount --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Gets the start radius variance.
--- return The start radius variance. --- @function [parent=#ParticleSystem] getStartRadiusVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ParticleSystem] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- Sets the start color variance of each particle.
--- param color The start color variance of each particle. --- @function [parent=#ParticleSystem] setStartColorVar --- @param self --- @param #color4f_table color --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the end spin of each particle.
--- param endSpin The end spin of each particle. --- @function [parent=#ParticleSystem] setEndSpin --- @param self --- @param #float endSpin --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Sets the radial acceleration.
--- param t The radial acceleration. --- @function [parent=#ParticleSystem] setRadialAccel --- @param self --- @param #float t --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- @overload self, map_table, string --- @overload self, map_table --- @function [parent=#ParticleSystem] initWithDictionary --- @param self --- @param #map_table dictionary --- @param #string dirname --- @return bool#bool ret (return value: bool) - --------------------------------- --- Whether or not the particle system removed self on finish.
--- return True if the particle system removed self on finish. --- @function [parent=#ParticleSystem] isAutoRemoveOnFinish --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleSystem] isSourcePositionCompatible --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the maximum particles of the system.
--- return The maximum particles of the system. --- @function [parent=#ParticleSystem] getTotalParticles --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets the start radius variance.
--- param startRadiusVar The start radius variance. --- @function [parent=#ParticleSystem] setStartRadiusVar --- @param self --- @param #float startRadiusVar --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- code
--- When this function bound into js or lua,the parameter will be changed
--- In js: var setBlendFunc(var src, var dst)
--- In lua: local setBlendFunc(local src, local dst)
--- endcode --- @function [parent=#ParticleSystem] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- Gets the end radius variance.
--- return The end radius variance. --- @function [parent=#ParticleSystem] getEndRadiusVar --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the start color variance of each particle.
--- return The start color variance of each particle. --- @function [parent=#ParticleSystem] getStartColorVar --- @param self --- @return color4f_table#color4f_table ret (return value: color4f_table) - --------------------------------- --- Creates an initializes a ParticleSystem from a plist file.
--- This plist files can be created manually or with Particle Designer:
--- http:particledesigner.71squared.com/
--- since v2.0
--- param plistFile Particle plist file name.
--- return An autoreleased ParticleSystem object. --- @function [parent=#ParticleSystem] create --- @param self --- @param #string plistFile --- @return ParticleSystem#ParticleSystem ret (return value: cc.ParticleSystem) - --------------------------------- --- Create a system with a fixed number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleSystemQuad object.
--- js NA --- @function [parent=#ParticleSystem] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleSystem#ParticleSystem ret (return value: cc.ParticleSystem) - --------------------------------- --- Gets all ParticleSystem references --- @function [parent=#ParticleSystem] getAllParticleSystems --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#ParticleSystem] setScaleY --- @param self --- @param #float newScaleY --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- --- @function [parent=#ParticleSystem] setScaleX --- @param self --- @param #float newScaleX --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- --- @function [parent=#ParticleSystem] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- does the alpha value modify color --- @function [parent=#ParticleSystem] setOpacityModifyRGB --- @param self --- @param #bool opacityModifyRGB --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- --- @function [parent=#ParticleSystem] setScale --- @param self --- @param #float s --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- --- @function [parent=#ParticleSystem] update --- @param self --- @param #float dt --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- initializes a ParticleSystem --- @function [parent=#ParticleSystem] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ParticleSystem] setRotation --- @param self --- @param #float newRotation --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - --------------------------------- --- js ctor --- @function [parent=#ParticleSystem] ParticleSystem --- @param self --- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSystem3D.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSystem3D.lua deleted file mode 100644 index 89ee632088..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSystem3D.lua +++ /dev/null @@ -1,157 +0,0 @@ - --------------------------------- --- @module ParticleSystem3D --- @extend Node,BlendProtocol --- @parent_module cc - --------------------------------- --- remove affector by index --- @function [parent=#ParticleSystem3D] removeAffector --- @param self --- @param #int index --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- resume particle --- @function [parent=#ParticleSystem3D] resumeParticleSystem --- @param self --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- remove all particle affector --- @function [parent=#ParticleSystem3D] removeAllAffector --- @param self --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- add particle affector --- @function [parent=#ParticleSystem3D] addAffector --- @param self --- @param #cc.Particle3DAffector affector --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- particle system play control --- @function [parent=#ParticleSystem3D] startParticleSystem --- @param self --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- is enabled --- @function [parent=#ParticleSystem3D] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- return particle render --- @function [parent=#ParticleSystem3D] getRender --- @param self --- @return Particle3DRender#Particle3DRender ret (return value: cc.Particle3DRender) - --------------------------------- --- set emitter for particle system, can set your own particle emitter --- @function [parent=#ParticleSystem3D] setEmitter --- @param self --- @param #cc.Particle3DEmitter emitter --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- --- @function [parent=#ParticleSystem3D] isKeepLocal --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Enables or disables the system. --- @function [parent=#ParticleSystem3D] setEnabled --- @param self --- @param #bool enabled --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- get particle quota --- @function [parent=#ParticleSystem3D] getParticleQuota --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- override function --- @function [parent=#ParticleSystem3D] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- pause particle --- @function [parent=#ParticleSystem3D] pauseParticleSystem --- @param self --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- get particle playing state --- @function [parent=#ParticleSystem3D] getState --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- get alive particles count --- @function [parent=#ParticleSystem3D] getAliveParticleCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- set particle quota --- @function [parent=#ParticleSystem3D] setParticleQuota --- @param self --- @param #unsigned int quota --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- override function --- @function [parent=#ParticleSystem3D] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- set particle render, can set your own particle render --- @function [parent=#ParticleSystem3D] setRender --- @param self --- @param #cc.Particle3DRender render --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- stop particle --- @function [parent=#ParticleSystem3D] stopParticleSystem --- @param self --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- --- @function [parent=#ParticleSystem3D] setKeepLocal --- @param self --- @param #bool keepLocal --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- override function --- @function [parent=#ParticleSystem3D] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- override function --- @function [parent=#ParticleSystem3D] update --- @param self --- @param #float delta --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - --------------------------------- --- --- @function [parent=#ParticleSystem3D] ParticleSystem3D --- @param self --- @return ParticleSystem3D#ParticleSystem3D self (return value: cc.ParticleSystem3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua deleted file mode 100644 index c049ac46ef..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua +++ /dev/null @@ -1,77 +0,0 @@ - --------------------------------- --- @module ParticleSystemQuad --- @extend ParticleSystem --- @parent_module cc - --------------------------------- --- Sets a new SpriteFrame as particle.
--- WARNING: this method is experimental. Use setTextureWithRect instead.
--- param spriteFrame A given sprite frame as particle texture.
--- since v0.99.4 --- @function [parent=#ParticleSystemQuad] setDisplayFrame --- @param self --- @param #cc.SpriteFrame spriteFrame --- @return ParticleSystemQuad#ParticleSystemQuad self (return value: cc.ParticleSystemQuad) - --------------------------------- --- Sets a new texture with a rect. The rect is in Points.
--- since v0.99.4
--- js NA
--- lua NA
--- param texture A given texture.
--- 8 @param rect A given rect, in points. --- @function [parent=#ParticleSystemQuad] setTextureWithRect --- @param self --- @param #cc.Texture2D texture --- @param #rect_table rect --- @return ParticleSystemQuad#ParticleSystemQuad self (return value: cc.ParticleSystemQuad) - --------------------------------- --- Listen the event that renderer was recreated on Android/WP8.
--- js NA
--- lua NA
--- param event the event that renderer was recreated on Android/WP8. --- @function [parent=#ParticleSystemQuad] listenRendererRecreated --- @param self --- @param #cc.EventCustom event --- @return ParticleSystemQuad#ParticleSystemQuad self (return value: cc.ParticleSystemQuad) - --------------------------------- --- @overload self, string --- @overload self --- @overload self, map_table --- @function [parent=#ParticleSystemQuad] create --- @param self --- @param #map_table dictionary --- @return ParticleSystemQuad#ParticleSystemQuad ret (return value: cc.ParticleSystemQuad) - --------------------------------- --- Creates a Particle Emitter with a number of particles.
--- param numberOfParticles A given number of particles.
--- return An autoreleased ParticleSystemQuad object. --- @function [parent=#ParticleSystemQuad] createWithTotalParticles --- @param self --- @param #int numberOfParticles --- @return ParticleSystemQuad#ParticleSystemQuad ret (return value: cc.ParticleSystemQuad) - --------------------------------- --- --- @function [parent=#ParticleSystemQuad] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#ParticleSystemQuad] updateParticleQuads --- @param self --- @return ParticleSystemQuad#ParticleSystemQuad self (return value: cc.ParticleSystemQuad) - --------------------------------- --- js ctor --- @function [parent=#ParticleSystemQuad] ParticleSystemQuad --- @param self --- @return ParticleSystemQuad#ParticleSystemQuad self (return value: cc.ParticleSystemQuad) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Pass.lua b/cocos/scripting/lua-bindings/auto/api/Pass.lua deleted file mode 100644 index b48b00b106..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Pass.lua +++ /dev/null @@ -1,73 +0,0 @@ - --------------------------------- --- @module Pass --- @extend RenderState --- @parent_module cc - --------------------------------- --- Unbinds the Pass.
--- This method must be called AFTER calling the actual draw call --- @function [parent=#Pass] unbind --- @param self --- @return Pass#Pass self (return value: cc.Pass) - --------------------------------- --- @overload self, mat4_table, bool --- @overload self, mat4_table --- @function [parent=#Pass] bind --- @param self --- @param #mat4_table modelView --- @param #bool bindAttributes --- @return Pass#Pass self (return value: cc.Pass) - --------------------------------- --- Returns a clone (deep-copy) of this instance --- @function [parent=#Pass] clone --- @param self --- @return Pass#Pass ret (return value: cc.Pass) - --------------------------------- --- Returns the GLProgramState --- @function [parent=#Pass] getGLProgramState --- @param self --- @return GLProgramState#GLProgramState ret (return value: cc.GLProgramState) - --------------------------------- --- Returns the vertex attribute binding for this pass.
--- return The vertex attribute binding for this pass. --- @function [parent=#Pass] getVertexAttributeBinding --- @param self --- @return VertexAttribBinding#VertexAttribBinding ret (return value: cc.VertexAttribBinding) - --------------------------------- --- --- @function [parent=#Pass] getHash --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Sets a vertex attribute binding for this pass.
--- When a mesh binding is set, the VertexAttribBinding will be automatically
--- bound when the bind() method is called for the pass.
--- param binding The VertexAttribBinding to set (or NULL to remove an existing binding). --- @function [parent=#Pass] setVertexAttribBinding --- @param self --- @param #cc.VertexAttribBinding binding --- @return Pass#Pass self (return value: cc.Pass) - --------------------------------- --- --- @function [parent=#Pass] create --- @param self --- @param #cc.Technique parent --- @return Pass#Pass ret (return value: cc.Pass) - --------------------------------- --- Creates a Pass with a GLProgramState. --- @function [parent=#Pass] createWithGLProgramState --- @param self --- @param #cc.Technique parent --- @param #cc.GLProgramState programState --- @return Pass#Pass ret (return value: cc.Pass) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3D6DofConstraint.lua b/cocos/scripting/lua-bindings/auto/api/Physics3D6DofConstraint.lua deleted file mode 100644 index b40a0306d3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3D6DofConstraint.lua +++ /dev/null @@ -1,98 +0,0 @@ - --------------------------------- --- @module Physics3D6DofConstraint --- @extend Physics3DConstraint --- @parent_module cc - --------------------------------- --- set linear lower limit --- @function [parent=#Physics3D6DofConstraint] setLinearLowerLimit --- @param self --- @param #vec3_table linearLower --- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint) - --------------------------------- --- get linear lower limit --- @function [parent=#Physics3D6DofConstraint] getLinearLowerLimit --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- get angular upper limit --- @function [parent=#Physics3D6DofConstraint] getAngularUpperLimit --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- access for UseFrameOffset --- @function [parent=#Physics3D6DofConstraint] getUseFrameOffset --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- get linear upper limit --- @function [parent=#Physics3D6DofConstraint] getLinearUpperLimit --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- set angular lower limit --- @function [parent=#Physics3D6DofConstraint] setAngularLowerLimit --- @param self --- @param #vec3_table angularLower --- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint) - --------------------------------- --- is limited?
--- param limitIndex first 3 are linear, next 3 are angular --- @function [parent=#Physics3D6DofConstraint] isLimited --- @param self --- @param #int limitIndex --- @return bool#bool ret (return value: bool) - --------------------------------- --- set use frame offset --- @function [parent=#Physics3D6DofConstraint] setUseFrameOffset --- @param self --- @param #bool frameOffsetOnOff --- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint) - --------------------------------- --- set linear upper limit --- @function [parent=#Physics3D6DofConstraint] setLinearUpperLimit --- @param self --- @param #vec3_table linearUpper --- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint) - --------------------------------- --- get angular lower limit --- @function [parent=#Physics3D6DofConstraint] getAngularLowerLimit --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- set angular upper limit --- @function [parent=#Physics3D6DofConstraint] setAngularUpperLimit --- @param self --- @param #vec3_table angularUpper --- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint) - --------------------------------- --- @overload self, cc.Physics3DRigidBody, mat4_table, bool --- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, mat4_table, mat4_table, bool --- @function [parent=#Physics3D6DofConstraint] create --- @param self --- @param #cc.Physics3DRigidBody rbA --- @param #cc.Physics3DRigidBody rbB --- @param #mat4_table frameInA --- @param #mat4_table frameInB --- @param #bool useLinearReferenceFrameA --- @return Physics3D6DofConstraint#Physics3D6DofConstraint ret (return value: cc.Physics3D6DofConstraint) - --------------------------------- --- --- @function [parent=#Physics3D6DofConstraint] Physics3D6DofConstraint --- @param self --- @return Physics3D6DofConstraint#Physics3D6DofConstraint self (return value: cc.Physics3D6DofConstraint) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DComponent.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DComponent.lua deleted file mode 100644 index b1317a9c1e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DComponent.lua +++ /dev/null @@ -1,83 +0,0 @@ - --------------------------------- --- @module Physics3DComponent --- @extend Component --- @parent_module cc - --------------------------------- --- synchronize node transformation to physics --- @function [parent=#Physics3DComponent] syncNodeToPhysics --- @param self --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - --------------------------------- --- add this component to physics world, called by scene --- @function [parent=#Physics3DComponent] addToPhysicsWorld --- @param self --- @param #cc.Physics3DWorld world --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - --------------------------------- --- synchronize physics transformation to node --- @function [parent=#Physics3DComponent] syncPhysicsToNode --- @param self --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - --------------------------------- --- get physics object --- @function [parent=#Physics3DComponent] getPhysics3DObject --- @param self --- @return Physics3DObject#Physics3DObject ret (return value: cc.Physics3DObject) - --------------------------------- --- set Physics object to the component --- @function [parent=#Physics3DComponent] setPhysics3DObject --- @param self --- @param #cc.Physics3DObject physicsObj --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - --------------------------------- --- synchronization between node and physics is time consuming, you can skip some synchronization using this function --- @function [parent=#Physics3DComponent] setSyncFlag --- @param self --- @param #int syncFlag --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - --------------------------------- --- get the component name, it is used to find whether it is Physics3DComponent --- @function [parent=#Physics3DComponent] getPhysics3DComponentName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- set it enable or not --- @function [parent=#Physics3DComponent] setEnabled --- @param self --- @param #bool b --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - --------------------------------- --- --- @function [parent=#Physics3DComponent] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Physics3DComponent] onEnter --- @param self --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - --------------------------------- --- --- @function [parent=#Physics3DComponent] onExit --- @param self --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - --------------------------------- --- --- @function [parent=#Physics3DComponent] Physics3DComponent --- @param self --- @return Physics3DComponent#Physics3DComponent self (return value: cc.Physics3DComponent) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DConeTwistConstraint.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DConeTwistConstraint.lua deleted file mode 100644 index 709581c5a2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DConeTwistConstraint.lua +++ /dev/null @@ -1,147 +0,0 @@ - --------------------------------- --- @module Physics3DConeTwistConstraint --- @extend Physics3DConstraint --- @parent_module cc - --------------------------------- --- get B's frame --- @function [parent=#Physics3DConeTwistConstraint] getBFrame --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- set fix thresh --- @function [parent=#Physics3DConeTwistConstraint] setFixThresh --- @param self --- @param #float fixThresh --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint) - --------------------------------- --- get B's frame offset --- @function [parent=#Physics3DConeTwistConstraint] getFrameOffsetB --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- get A's frame offset --- @function [parent=#Physics3DConeTwistConstraint] getFrameOffsetA --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- get fix thresh --- @function [parent=#Physics3DConeTwistConstraint] getFixThresh --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get swing span2 --- @function [parent=#Physics3DConeTwistConstraint] getSwingSpan2 --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get swing span1 --- @function [parent=#Physics3DConeTwistConstraint] getSwingSpan1 --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- set max motor impulse --- @function [parent=#Physics3DConeTwistConstraint] setMaxMotorImpulse --- @param self --- @param #float maxMotorImpulse --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint) - --------------------------------- --- set A and B's frame --- @function [parent=#Physics3DConeTwistConstraint] setFrames --- @param self --- @param #mat4_table frameA --- @param #mat4_table frameB --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint) - --------------------------------- --- get twist angle --- @function [parent=#Physics3DConeTwistConstraint] getTwistAngle --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get point for angle --- @function [parent=#Physics3DConeTwistConstraint] GetPointForAngle --- @param self --- @param #float fAngleInRadians --- @param #float fLength --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- set max motor impulse normalize --- @function [parent=#Physics3DConeTwistConstraint] setMaxMotorImpulseNormalized --- @param self --- @param #float maxMotorImpulse --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint) - --------------------------------- --- get twist span --- @function [parent=#Physics3DConeTwistConstraint] getTwistSpan --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- set damping --- @function [parent=#Physics3DConeTwistConstraint] setDamping --- @param self --- @param #float damping --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint) - --------------------------------- --- set limits
--- param swingSpan1 swing span1
--- param swingSpan2 swing span2
--- param twistSpan twist span
--- param softness 0->1, recommend ~0.8->1. Describes % of limits where movement is free. Beyond this softness %, the limit is gradually enforced until the "hard" (1.0) limit is reached.
--- param biasFactor 0->1?, recommend 0.3 +/-0.3 or so. Strength with which constraint resists zeroth order (angular, not angular velocity) limit violation.
--- param relaxationFactor 0->1, recommend to stay near 1. the lower the value, the less the constraint will fight velocities which violate the angular limits. --- @function [parent=#Physics3DConeTwistConstraint] setLimit --- @param self --- @param #float swingSpan1 --- @param #float swingSpan2 --- @param #float twistSpan --- @param #float softness --- @param #float biasFactor --- @param #float relaxationFactor --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint) - --------------------------------- --- get A's frame --- @function [parent=#Physics3DConeTwistConstraint] getAFrame --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- enable motor --- @function [parent=#Physics3DConeTwistConstraint] enableMotor --- @param self --- @param #bool b --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint) - --------------------------------- --- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, mat4_table, mat4_table --- @overload self, cc.Physics3DRigidBody, mat4_table --- @function [parent=#Physics3DConeTwistConstraint] create --- @param self --- @param #cc.Physics3DRigidBody rbA --- @param #cc.Physics3DRigidBody rbB --- @param #mat4_table frameA --- @param #mat4_table frameB --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint ret (return value: cc.Physics3DConeTwistConstraint) - --------------------------------- --- --- @function [parent=#Physics3DConeTwistConstraint] Physics3DConeTwistConstraint --- @param self --- @return Physics3DConeTwistConstraint#Physics3DConeTwistConstraint self (return value: cc.Physics3DConeTwistConstraint) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DConstraint.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DConstraint.lua deleted file mode 100644 index 379d08b92a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DConstraint.lua +++ /dev/null @@ -1,83 +0,0 @@ - --------------------------------- --- @module Physics3DConstraint --- @extend Ref --- @parent_module cc - --------------------------------- --- set enable or not --- @function [parent=#Physics3DConstraint] setEnabled --- @param self --- @param #bool enabled --- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint) - --------------------------------- --- set the impulse that break the constraint --- @function [parent=#Physics3DConstraint] setBreakingImpulse --- @param self --- @param #float impulse --- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint) - --------------------------------- --- get user data --- @function [parent=#Physics3DConstraint] getUserData --- @param self --- @return void#void ret (return value: void) - --------------------------------- --- get the impulse that break the constraint --- @function [parent=#Physics3DConstraint] getBreakingImpulse --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get rigid body a --- @function [parent=#Physics3DConstraint] getBodyA --- @param self --- @return Physics3DRigidBody#Physics3DRigidBody ret (return value: cc.Physics3DRigidBody) - --------------------------------- --- is it enabled --- @function [parent=#Physics3DConstraint] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- get override number of solver iterations --- @function [parent=#Physics3DConstraint] getOverrideNumSolverIterations --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- get rigid body b --- @function [parent=#Physics3DConstraint] getBodyB --- @param self --- @return Physics3DRigidBody#Physics3DRigidBody ret (return value: cc.Physics3DRigidBody) - --------------------------------- --- override the number of constraint solver iterations used to solve this constraint, -1 will use the default number of iterations, as specified in SolverInfo.m_numIterations --- @function [parent=#Physics3DConstraint] setOverrideNumSolverIterations --- @param self --- @param #int overrideNumIterations --- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint) - --------------------------------- --- get constraint type --- @function [parent=#Physics3DConstraint] getConstraintType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- get user data --- @function [parent=#Physics3DConstraint] setUserData --- @param self --- @param #void userData --- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint) - --------------------------------- --- --- @function [parent=#Physics3DConstraint] getbtContraint --- @param self --- @return btTypedConstraint#btTypedConstraint ret (return value: btTypedConstraint) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DHingeConstraint.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DHingeConstraint.lua deleted file mode 100644 index ea0221fc77..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DHingeConstraint.lua +++ /dev/null @@ -1,167 +0,0 @@ - --------------------------------- --- @module Physics3DHingeConstraint --- @extend Physics3DConstraint --- @parent_module cc - --------------------------------- --- @overload self, mat4_table, mat4_table --- @overload self --- @function [parent=#Physics3DHingeConstraint] getHingeAngle --- @param self --- @param #mat4_table transA --- @param #mat4_table transB --- @return float#float ret (return value: float) - --------------------------------- --- get motor target velocity --- @function [parent=#Physics3DHingeConstraint] getMotorTargetVelosity --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get rigid body A's frame offset --- @function [parent=#Physics3DHingeConstraint] getFrameOffsetA --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- get rigid body B's frame offset --- @function [parent=#Physics3DHingeConstraint] getFrameOffsetB --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- set max motor impulse --- @function [parent=#Physics3DHingeConstraint] setMaxMotorImpulse --- @param self --- @param #float maxMotorImpulse --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- enable angular motor --- @function [parent=#Physics3DHingeConstraint] enableAngularMotor --- @param self --- @param #bool enableMotor --- @param #float targetVelocity --- @param #float maxMotorImpulse --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- get upper limit --- @function [parent=#Physics3DHingeConstraint] getUpperLimit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get max motor impulse --- @function [parent=#Physics3DHingeConstraint] getMaxMotorImpulse --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get lower limit --- @function [parent=#Physics3DHingeConstraint] getLowerLimit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- set use frame offset --- @function [parent=#Physics3DHingeConstraint] setUseFrameOffset --- @param self --- @param #bool frameOffsetOnOff --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- get enable angular motor --- @function [parent=#Physics3DHingeConstraint] getEnableAngularMotor --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Physics3DHingeConstraint] enableMotor --- @param self --- @param #bool enableMotor --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- get B's frame --- @function [parent=#Physics3DHingeConstraint] getBFrame --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- set frames for rigid body A and B --- @function [parent=#Physics3DHingeConstraint] setFrames --- @param self --- @param #mat4_table frameA --- @param #mat4_table frameB --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- access for UseFrameOffset --- @function [parent=#Physics3DHingeConstraint] getUseFrameOffset --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- set angular only --- @function [parent=#Physics3DHingeConstraint] setAngularOnly --- @param self --- @param #bool angularOnly --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- set limit --- @function [parent=#Physics3DHingeConstraint] setLimit --- @param self --- @param #float low --- @param #float high --- @param #float _softness --- @param #float _biasFactor --- @param #float _relaxationFactor --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- get angular only --- @function [parent=#Physics3DHingeConstraint] getAngularOnly --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- set axis --- @function [parent=#Physics3DHingeConstraint] setAxis --- @param self --- @param #vec3_table axisInA --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- get A's frame --- @function [parent=#Physics3DHingeConstraint] getAFrame --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- @overload self, cc.Physics3DRigidBody, vec3_table, vec3_table, bool --- @overload self, cc.Physics3DRigidBody, mat4_table, bool --- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, vec3_table, vec3_table, vec3_table, vec3_table, bool --- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, mat4_table, mat4_table, bool --- @function [parent=#Physics3DHingeConstraint] create --- @param self --- @param #cc.Physics3DRigidBody rbA --- @param #cc.Physics3DRigidBody rbB --- @param #vec3_table pivotInA --- @param #vec3_table pivotInB --- @param #vec3_table axisInA --- @param #vec3_table axisInB --- @param #bool useReferenceFrameA --- @return Physics3DHingeConstraint#Physics3DHingeConstraint ret (return value: cc.Physics3DHingeConstraint) - --------------------------------- --- --- @function [parent=#Physics3DHingeConstraint] Physics3DHingeConstraint --- @param self --- @return Physics3DHingeConstraint#Physics3DHingeConstraint self (return value: cc.Physics3DHingeConstraint) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DObject.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DObject.lua deleted file mode 100644 index 3345873ca5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DObject.lua +++ /dev/null @@ -1,70 +0,0 @@ - --------------------------------- --- @module Physics3DObject --- @extend Ref --- @parent_module cc - --------------------------------- --- Set the user data. --- @function [parent=#Physics3DObject] setUserData --- @param self --- @param #void userData --- @return Physics3DObject#Physics3DObject self (return value: cc.Physics3DObject) - --------------------------------- --- Get the user data. --- @function [parent=#Physics3DObject] getUserData --- @param self --- @return void#void ret (return value: void) - --------------------------------- --- Get the Physics3DObject Type. --- @function [parent=#Physics3DObject] getObjType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Internal method. Set the pointer of Physics3DWorld. --- @function [parent=#Physics3DObject] setPhysicsWorld --- @param self --- @param #cc.Physics3DWorld world --- @return Physics3DObject#Physics3DObject self (return value: cc.Physics3DObject) - --------------------------------- --- Get the world matrix of Physics3DObject. --- @function [parent=#Physics3DObject] getWorldTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- Get the pointer of Physics3DWorld. --- @function [parent=#Physics3DObject] getPhysicsWorld --- @param self --- @return Physics3DWorld#Physics3DWorld ret (return value: cc.Physics3DWorld) - --------------------------------- --- Set the mask of Physics3DObject. --- @function [parent=#Physics3DObject] setMask --- @param self --- @param #unsigned int mask --- @return Physics3DObject#Physics3DObject self (return value: cc.Physics3DObject) - --------------------------------- --- Get the collision callback function. --- @function [parent=#Physics3DObject] getCollisionCallback --- @param self --- @return function#function ret (return value: function) - --------------------------------- --- Get the mask of Physics3DObject. --- @function [parent=#Physics3DObject] getMask --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Check has collision callback function. --- @function [parent=#Physics3DObject] needCollisionCallback --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DPointToPointConstraint.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DPointToPointConstraint.lua deleted file mode 100644 index a4934eb925..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DPointToPointConstraint.lua +++ /dev/null @@ -1,61 +0,0 @@ - --------------------------------- --- @module Physics3DPointToPointConstraint --- @extend Physics3DConstraint --- @parent_module cc - --------------------------------- --- get pivot point in A's local space --- @function [parent=#Physics3DPointToPointConstraint] getPivotPointInA --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- get pivot point in B's local space --- @function [parent=#Physics3DPointToPointConstraint] getPivotPointInB --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, vec3_table, vec3_table --- @overload self, cc.Physics3DRigidBody, vec3_table --- @function [parent=#Physics3DPointToPointConstraint] init --- @param self --- @param #cc.Physics3DRigidBody rbA --- @param #cc.Physics3DRigidBody rbB --- @param #vec3_table pivotPointInA --- @param #vec3_table pivotPointInB --- @return bool#bool ret (return value: bool) - --------------------------------- --- set pivot point in A's local space --- @function [parent=#Physics3DPointToPointConstraint] setPivotPointInA --- @param self --- @param #vec3_table pivotA --- @return Physics3DPointToPointConstraint#Physics3DPointToPointConstraint self (return value: cc.Physics3DPointToPointConstraint) - --------------------------------- --- set pivot point in B's local space --- @function [parent=#Physics3DPointToPointConstraint] setPivotPointInB --- @param self --- @param #vec3_table pivotB --- @return Physics3DPointToPointConstraint#Physics3DPointToPointConstraint self (return value: cc.Physics3DPointToPointConstraint) - --------------------------------- --- @overload self, cc.Physics3DRigidBody, cc.Physics3DRigidBody, vec3_table, vec3_table --- @overload self, cc.Physics3DRigidBody, vec3_table --- @function [parent=#Physics3DPointToPointConstraint] create --- @param self --- @param #cc.Physics3DRigidBody rbA --- @param #cc.Physics3DRigidBody rbB --- @param #vec3_table pivotPointInA --- @param #vec3_table pivotPointInB --- @return Physics3DPointToPointConstraint#Physics3DPointToPointConstraint ret (return value: cc.Physics3DPointToPointConstraint) - --------------------------------- --- --- @function [parent=#Physics3DPointToPointConstraint] Physics3DPointToPointConstraint --- @param self --- @return Physics3DPointToPointConstraint#Physics3DPointToPointConstraint self (return value: cc.Physics3DPointToPointConstraint) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DRigidBody.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DRigidBody.lua deleted file mode 100644 index 6968c27bd5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DRigidBody.lua +++ /dev/null @@ -1,355 +0,0 @@ - --------------------------------- --- @module Physics3DRigidBody --- @extend Physics3DObject --- @parent_module cc - --------------------------------- --- Set the acceleration. --- @function [parent=#Physics3DRigidBody] setGravity --- @param self --- @param #vec3_table acceleration --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Get friction. --- @function [parent=#Physics3DRigidBody] getFriction --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, float --- @overload self, vec3_table --- @function [parent=#Physics3DRigidBody] setAngularFactor --- @param self --- @param #vec3_table angFac --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- --- @function [parent=#Physics3DRigidBody] addConstraint --- @param self --- @param #cc.Physics3DConstraint constraint --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Get the pointer of btRigidBody. --- @function [parent=#Physics3DRigidBody] getRigidBody --- @param self --- @return btRigidBody#btRigidBody ret (return value: btRigidBody) - --------------------------------- --- Get total force. --- @function [parent=#Physics3DRigidBody] getTotalForce --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Get the total number of constraints. --- @function [parent=#Physics3DRigidBody] getConstraintCount --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Apply a central force.
--- param force the value of the force --- @function [parent=#Physics3DRigidBody] applyCentralForce --- @param self --- @param #vec3_table force --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set mass and inertia. --- @function [parent=#Physics3DRigidBody] setMassProps --- @param self --- @param #float mass --- @param #vec3_table inertia --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set friction. --- @function [parent=#Physics3DRigidBody] setFriction --- @param self --- @param #float frict --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set kinematic object. --- @function [parent=#Physics3DRigidBody] setKinematic --- @param self --- @param #bool kinematic --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set linear damping and angular damping. --- @function [parent=#Physics3DRigidBody] setDamping --- @param self --- @param #float lin_damping --- @param #float ang_damping --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Apply a impulse.
--- param impulse the value of the impulse
--- param rel_pos the position of the impulse --- @function [parent=#Physics3DRigidBody] applyImpulse --- @param self --- @param #vec3_table impulse --- @param #vec3_table rel_pos --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Check rigid body is kinematic object. --- @function [parent=#Physics3DRigidBody] isKinematic --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Apply a torque.
--- param torque the value of the torque --- @function [parent=#Physics3DRigidBody] applyTorque --- @param self --- @param #vec3_table torque --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set motion threshold, don't do continuous collision detection if the motion (in one step) is less then ccdMotionThreshold --- @function [parent=#Physics3DRigidBody] setCcdMotionThreshold --- @param self --- @param #float ccdMotionThreshold --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set rolling friction. --- @function [parent=#Physics3DRigidBody] setRollingFriction --- @param self --- @param #float frict --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Get motion threshold. --- @function [parent=#Physics3DRigidBody] getCcdMotionThreshold --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the linear factor. --- @function [parent=#Physics3DRigidBody] getLinearFactor --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Damps the velocity, using the given linearDamping and angularDamping. --- @function [parent=#Physics3DRigidBody] applyDamping --- @param self --- @param #float timeStep --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Get the angular velocity. --- @function [parent=#Physics3DRigidBody] getAngularVelocity --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- --- @function [parent=#Physics3DRigidBody] init --- @param self --- @param #cc.Physics3DRigidBodyDes info --- @return bool#bool ret (return value: bool) - --------------------------------- --- Apply a torque impulse.
--- param torque the value of the torque --- @function [parent=#Physics3DRigidBody] applyTorqueImpulse --- @param self --- @param #vec3_table torque --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Active or inactive. --- @function [parent=#Physics3DRigidBody] setActive --- @param self --- @param #bool active --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set the linear factor. --- @function [parent=#Physics3DRigidBody] setLinearFactor --- @param self --- @param #vec3_table linearFactor --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set the linear velocity. --- @function [parent=#Physics3DRigidBody] setLinearVelocity --- @param self --- @param #vec3_table lin_vel --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Get the linear velocity. --- @function [parent=#Physics3DRigidBody] getLinearVelocity --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Set swept sphere radius. --- @function [parent=#Physics3DRigidBody] setCcdSweptSphereRadius --- @param self --- @param #float radius --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Apply a force.
--- param force the value of the force
--- param rel_pos the position of the force --- @function [parent=#Physics3DRigidBody] applyForce --- @param self --- @param #vec3_table force --- @param #vec3_table rel_pos --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set the angular velocity. --- @function [parent=#Physics3DRigidBody] setAngularVelocity --- @param self --- @param #vec3_table ang_vel --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Apply a central impulse.
--- param impulse the value of the impulse --- @function [parent=#Physics3DRigidBody] applyCentralImpulse --- @param self --- @param #vec3_table impulse --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Get the acceleration. --- @function [parent=#Physics3DRigidBody] getGravity --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Get rolling friction. --- @function [parent=#Physics3DRigidBody] getRollingFriction --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the center of mass. --- @function [parent=#Physics3DRigidBody] setCenterOfMassTransform --- @param self --- @param #mat4_table xform --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set the inverse of local inertia. --- @function [parent=#Physics3DRigidBody] setInvInertiaDiagLocal --- @param self --- @param #vec3_table diagInvInertia --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- @overload self, unsigned int --- @overload self, cc.Physics3DConstraint --- @function [parent=#Physics3DRigidBody] removeConstraint --- @param self --- @param #cc.Physics3DConstraint constraint --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Get total torque. --- @function [parent=#Physics3DRigidBody] getTotalTorque --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Get inverse of mass. --- @function [parent=#Physics3DRigidBody] getInvMass --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get constraint by index. --- @function [parent=#Physics3DRigidBody] getConstraint --- @param self --- @param #unsigned int idx --- @return Physics3DConstraint#Physics3DConstraint ret (return value: cc.Physics3DConstraint) - --------------------------------- --- Get restitution. --- @function [parent=#Physics3DRigidBody] getRestitution --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get swept sphere radius. --- @function [parent=#Physics3DRigidBody] getCcdSweptSphereRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get hit friction. --- @function [parent=#Physics3DRigidBody] getHitFraction --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get angular damping. --- @function [parent=#Physics3DRigidBody] getAngularDamping --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the inverse of local inertia. --- @function [parent=#Physics3DRigidBody] getInvInertiaDiagLocal --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Get the center of mass. --- @function [parent=#Physics3DRigidBody] getCenterOfMassTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- Get the angular factor. --- @function [parent=#Physics3DRigidBody] getAngularFactor --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Set restitution. --- @function [parent=#Physics3DRigidBody] setRestitution --- @param self --- @param #float rest --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Set hit friction. --- @function [parent=#Physics3DRigidBody] setHitFraction --- @param self --- @param #float hitFraction --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - --------------------------------- --- Get linear damping. --- @function [parent=#Physics3DRigidBody] getLinearDamping --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- override. --- @function [parent=#Physics3DRigidBody] getWorldTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#Physics3DRigidBody] Physics3DRigidBody --- @param self --- @return Physics3DRigidBody#Physics3DRigidBody self (return value: cc.Physics3DRigidBody) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DShape.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DShape.lua deleted file mode 100644 index 6f0ed7a3de..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DShape.lua +++ /dev/null @@ -1,101 +0,0 @@ - --------------------------------- --- @module Physics3DShape --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#Physics3DShape] getbtShape --- @param self --- @return btCollisionShape#btCollisionShape ret (return value: btCollisionShape) - --------------------------------- --- --- @function [parent=#Physics3DShape] initSphere --- @param self --- @param #float radius --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Physics3DShape] initBox --- @param self --- @param #vec3_table ext --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Physics3DShape] initCapsule --- @param self --- @param #float radius --- @param #float height --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Physics3DShape] initCylinder --- @param self --- @param #float radius --- @param #float height --- @return bool#bool ret (return value: bool) - --------------------------------- --- get shape type --- @function [parent=#Physics3DShape] getShapeType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- create box shape
--- param extent The extent of sphere. --- @function [parent=#Physics3DShape] createBox --- @param self --- @param #vec3_table extent --- @return Physics3DShape#Physics3DShape ret (return value: cc.Physics3DShape) - --------------------------------- --- create cylinder shape
--- param radius The radius of cylinder.
--- param height The height. --- @function [parent=#Physics3DShape] createCylinder --- @param self --- @param #float radius --- @param #float height --- @return Physics3DShape#Physics3DShape ret (return value: cc.Physics3DShape) - --------------------------------- --- create convex hull
--- param points The vertices of convex hull
--- param numPoints The number of vertices. --- @function [parent=#Physics3DShape] createConvexHull --- @param self --- @param #vec3_table points --- @param #int numPoints --- @return Physics3DShape#Physics3DShape ret (return value: cc.Physics3DShape) - --------------------------------- --- create capsule shape
--- param radius The radius of capsule.
--- param height The height (cylinder part). --- @function [parent=#Physics3DShape] createCapsule --- @param self --- @param #float radius --- @param #float height --- @return Physics3DShape#Physics3DShape ret (return value: cc.Physics3DShape) - --------------------------------- --- create sphere shape
--- param radius The radius of sphere. --- @function [parent=#Physics3DShape] createSphere --- @param self --- @param #float radius --- @return Physics3DShape#Physics3DShape ret (return value: cc.Physics3DShape) - --------------------------------- --- --- @function [parent=#Physics3DShape] Physics3DShape --- @param self --- @return Physics3DShape#Physics3DShape self (return value: cc.Physics3DShape) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DSliderConstraint.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DSliderConstraint.lua deleted file mode 100644 index 2990b30171..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DSliderConstraint.lua +++ /dev/null @@ -1,444 +0,0 @@ - --------------------------------- --- @module Physics3DSliderConstraint --- @extend Physics3DConstraint --- @parent_module cc - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setPoweredAngMotor --- @param self --- @param #bool onOff --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getDampingLimAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setRestitutionOrthoLin --- @param self --- @param #float restitutionOrthoLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setRestitutionDirLin --- @param self --- @param #float restitutionDirLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getLinearPos --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get A's frame offset --- @function [parent=#Physics3DSliderConstraint] getFrameOffsetA --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- get B's frame offset --- @function [parent=#Physics3DSliderConstraint] getFrameOffsetB --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setPoweredLinMotor --- @param self --- @param #bool onOff --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getDampingDirAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getRestitutionLimLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getSoftnessOrthoAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setSoftnessOrthoLin --- @param self --- @param #float softnessOrthoLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setSoftnessLimLin --- @param self --- @param #float softnessLimLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getAngularPos --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setRestitutionLimAng --- @param self --- @param #float restitutionLimAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- set upper linear limit --- @function [parent=#Physics3DSliderConstraint] setUpperLinLimit --- @param self --- @param #float upperLimit --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setDampingDirLin --- @param self --- @param #float dampingDirLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- get upper angular limit --- @function [parent=#Physics3DSliderConstraint] getUpperAngLimit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getDampingDirLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getSoftnessDirAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getPoweredAngMotor --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- set lower angular limit --- @function [parent=#Physics3DSliderConstraint] setLowerAngLimit --- @param self --- @param #float lowerLimit --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- set upper angular limit --- @function [parent=#Physics3DSliderConstraint] setUpperAngLimit --- @param self --- @param #float upperLimit --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setTargetLinMotorVelocity --- @param self --- @param #float targetLinMotorVelocity --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setDampingLimAng --- @param self --- @param #float dampingLimAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getRestitutionLimAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- access for UseFrameOffset --- @function [parent=#Physics3DSliderConstraint] getUseFrameOffset --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getSoftnessOrthoLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getDampingOrthoAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- set use frame offset --- @function [parent=#Physics3DSliderConstraint] setUseFrameOffset --- @param self --- @param #bool frameOffsetOnOff --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- set lower linear limit --- @function [parent=#Physics3DSliderConstraint] setLowerLinLimit --- @param self --- @param #float lowerLimit --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getRestitutionDirLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getTargetLinMotorVelocity --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get lower linear limit --- @function [parent=#Physics3DSliderConstraint] getLowerLinLimit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getSoftnessLimLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setDampingOrthoAng --- @param self --- @param #float dampingOrthoAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setSoftnessDirAng --- @param self --- @param #float softnessDirAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getPoweredLinMotor --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setRestitutionOrthoAng --- @param self --- @param #float restitutionOrthoAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setDampingDirAng --- @param self --- @param #float dampingDirAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- set frames for rigid body A and B --- @function [parent=#Physics3DSliderConstraint] setFrames --- @param self --- @param #mat4_table frameA --- @param #mat4_table frameB --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getRestitutionOrthoAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getMaxAngMotorForce --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getDampingOrthoLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get upper linear limit --- @function [parent=#Physics3DSliderConstraint] getUpperLinLimit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setMaxLinMotorForce --- @param self --- @param #float maxLinMotorForce --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getRestitutionOrthoLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setTargetAngMotorVelocity --- @param self --- @param #float targetAngMotorVelocity --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getSoftnessLimAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setRestitutionDirAng --- @param self --- @param #float restitutionDirAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getDampingLimLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get lower angular limit --- @function [parent=#Physics3DSliderConstraint] getLowerAngLimit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getRestitutionDirAng --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getTargetAngMotorVelocity --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setRestitutionLimLin --- @param self --- @param #float restitutionLimLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getMaxLinMotorForce --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setDampingOrthoLin --- @param self --- @param #float dampingOrthoLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setSoftnessOrthoAng --- @param self --- @param #float softnessOrthoAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setDampingLimLin --- @param self --- @param #float dampingLimLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setSoftnessDirLin --- @param self --- @param #float softnessDirLin --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setMaxAngMotorForce --- @param self --- @param #float maxAngMotorForce --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] getSoftnessDirLin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] setSoftnessLimAng --- @param self --- @param #float softnessLimAng --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- use A's frame as linear reference --- @function [parent=#Physics3DSliderConstraint] getUseLinearReferenceFrameA --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- create slider constraint
--- param rbA rigid body A
--- param rbB rigid body B
--- param frameInA frame in A's local space
--- param frameInB frame in B's local space
--- param useLinearReferenceFrameA use fixed frame A for linear limits --- @function [parent=#Physics3DSliderConstraint] create --- @param self --- @param #cc.Physics3DRigidBody rbA --- @param #cc.Physics3DRigidBody rbB --- @param #mat4_table frameInA --- @param #mat4_table frameInB --- @param #bool useLinearReferenceFrameA --- @return Physics3DSliderConstraint#Physics3DSliderConstraint ret (return value: cc.Physics3DSliderConstraint) - --------------------------------- --- --- @function [parent=#Physics3DSliderConstraint] Physics3DSliderConstraint --- @param self --- @return Physics3DSliderConstraint#Physics3DSliderConstraint self (return value: cc.Physics3DSliderConstraint) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Physics3DWorld.lua b/cocos/scripting/lua-bindings/auto/api/Physics3DWorld.lua deleted file mode 100644 index 409fb695cc..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Physics3DWorld.lua +++ /dev/null @@ -1,112 +0,0 @@ - --------------------------------- --- @module Physics3DWorld --- @extend Ref --- @parent_module cc - --------------------------------- --- set gravity for the physics world --- @function [parent=#Physics3DWorld] setGravity --- @param self --- @param #vec3_table gravity --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- Simulate one frame. --- @function [parent=#Physics3DWorld] stepSimulate --- @param self --- @param #float dt --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- --- @function [parent=#Physics3DWorld] needCollisionChecking --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Physics3DWorld] collisionChecking --- @param self --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- --- @function [parent=#Physics3DWorld] setGhostPairCallback --- @param self --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- Remove all Physics3DObjects. --- @function [parent=#Physics3DWorld] removeAllPhysics3DObjects --- @param self --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- Check debug drawing is enabled. --- @function [parent=#Physics3DWorld] isDebugDrawEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Remove all Physics3DConstraint. --- @function [parent=#Physics3DWorld] removeAllPhysics3DConstraints --- @param self --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- get current gravity --- @function [parent=#Physics3DWorld] getGravity --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Remove a Physics3DConstraint. --- @function [parent=#Physics3DWorld] removePhysics3DConstraint --- @param self --- @param #cc.Physics3DConstraint constraint --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- Add a Physics3DObject. --- @function [parent=#Physics3DWorld] addPhysics3DObject --- @param self --- @param #cc.Physics3DObject physicsObj --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- Enable or disable debug drawing. --- @function [parent=#Physics3DWorld] setDebugDrawEnable --- @param self --- @param #bool enableDebugDraw --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- Remove a Physics3DObject. --- @function [parent=#Physics3DWorld] removePhysics3DObject --- @param self --- @param #cc.Physics3DObject physicsObj --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- Add a Physics3DConstraint. --- @function [parent=#Physics3DWorld] addPhysics3DConstraint --- @param self --- @param #cc.Physics3DConstraint constraint --- @param #bool disableCollisionsBetweenLinkedObjs --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- Internal method, the updater of debug drawing, need called each frame. --- @function [parent=#Physics3DWorld] debugDraw --- @param self --- @param #cc.Renderer renderer --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - --------------------------------- --- --- @function [parent=#Physics3DWorld] Physics3DWorld --- @param self --- @return Physics3DWorld#Physics3DWorld self (return value: cc.Physics3DWorld) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua deleted file mode 100644 index f1660e2fa6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua +++ /dev/null @@ -1,546 +0,0 @@ - --------------------------------- --- @module PhysicsBody --- @extend Component --- @parent_module cc - --------------------------------- --- Whether this physics body is affected by the physics world's gravitational force. --- @function [parent=#PhysicsBody] isGravityEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- reset all the force applied to body. --- @function [parent=#PhysicsBody] resetForces --- @param self --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- get the max of velocity --- @function [parent=#PhysicsBody] getVelocityLimit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the group of body.
--- Collision groups let you specify an integral group index. You can have all fixtures with the same group index always collide (positive index) or never collide (negative index).
--- It have high priority than bit masks. --- @function [parent=#PhysicsBody] setGroup --- @param self --- @param #int group --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Get the body mass. --- @function [parent=#PhysicsBody] getMass --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Return bitmask of first shape.
--- return If there is no shape in body, return default value.(0xFFFFFFFF) --- @function [parent=#PhysicsBody] getCollisionBitmask --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- set the body rotation offset --- @function [parent=#PhysicsBody] getRotationOffset --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get the body rotation. --- @function [parent=#PhysicsBody] getRotation --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the body moment of inertia. --- @function [parent=#PhysicsBody] getMoment --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Applies a immediate force to body.
--- param impulse The impulse is applies to this body.
--- param offset A Vec2 object, it is the offset from the body's center of gravity in world coordinates. --- @function [parent=#PhysicsBody] applyImpulse --- @param self --- @param #vec2_table impulse --- @param #vec2_table offset --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- set body rotation offset, it's the rotation witch relative to node --- @function [parent=#PhysicsBody] setRotationOffset --- @param self --- @param #float rotation --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Applies a continuous force to body.
--- param force The force is applies to this body.
--- param offset A Vec2 object, it is the offset from the body's center of gravity in world coordinates. --- @function [parent=#PhysicsBody] applyForce --- @param self --- @param #vec2_table force --- @param #vec2_table offset --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- brief Add a shape to body.
--- param shape The shape to be added.
--- param addMassAndMoment If this is true, the shape's mass and moment will be added to body. The default is true.
--- return This shape's pointer if added success or nullptr if failed. --- @function [parent=#PhysicsBody] addShape --- @param self --- @param #cc.PhysicsShape shape --- @param #bool addMassAndMoment --- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape) - --------------------------------- --- Applies a torque force to body.
--- param torque The torque is applies to this body. --- @function [parent=#PhysicsBody] applyTorque --- @param self --- @param #float torque --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- get the max of angular velocity --- @function [parent=#PhysicsBody] getAngularVelocityLimit --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- set the max of angular velocity --- @function [parent=#PhysicsBody] setAngularVelocityLimit --- @param self --- @param #float limit --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Get the velocity of a body. --- @function [parent=#PhysicsBody] getVelocity --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- get linear damping. --- @function [parent=#PhysicsBody] getLinearDamping --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Remove all shapes.
--- param reduceMassAndMoment If this is true, the body mass and moment will be reduced by shape. The default is true. --- @function [parent=#PhysicsBody] removeAllShapes --- @param self --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Set angular damping.
--- It is used to simulate fluid or air friction forces on the body.
--- param damping The value is 0.0f to 1.0f. --- @function [parent=#PhysicsBody] setAngularDamping --- @param self --- @param #float damping --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- set the max of velocity --- @function [parent=#PhysicsBody] setVelocityLimit --- @param self --- @param #float limit --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- set body to rest --- @function [parent=#PhysicsBody] setResting --- @param self --- @param #bool rest --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- get body position offset. --- @function [parent=#PhysicsBody] getPositionOffset --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- A mask that defines which categories this physics body belongs to.
--- Every physics body in a scene can be assigned to up to 32 different categories, each corresponding to a bit in the bit mask. You define the mask values used in your game. In conjunction with the collisionBitMask and contactTestBitMask properties, you define which physics bodies interact with each other and when your game is notified of these interactions.
--- param bitmask An integer number, the default value is 0xFFFFFFFF (all bits set). --- @function [parent=#PhysicsBody] setCategoryBitmask --- @param self --- @param #int bitmask --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- get the world body added to. --- @function [parent=#PhysicsBody] getWorld --- @param self --- @return PhysicsWorld#PhysicsWorld ret (return value: cc.PhysicsWorld) - --------------------------------- --- get the angular velocity of a body --- @function [parent=#PhysicsBody] getAngularVelocity --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get the body position. --- @function [parent=#PhysicsBody] getPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set the body is affected by the physics world's gravitational force or not. --- @function [parent=#PhysicsBody] setGravityEnable --- @param self --- @param #bool enable --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Return group of first shape.
--- return If there is no shape in body, return default value.(0) --- @function [parent=#PhysicsBody] getGroup --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Set the body moment of inertia.
--- note If you need add/subtract moment to body, don't use setMoment(getMoment() +/- moment), because the moment of body may be equal to PHYSICS_INFINITY, it will cause some unexpected result, please use addMoment() instead. --- @function [parent=#PhysicsBody] setMoment --- @param self --- @param #float moment --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Get the body's tag. --- @function [parent=#PhysicsBody] getTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Convert the local point to world. --- @function [parent=#PhysicsBody] local2World --- @param self --- @param #vec2_table point --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Return bitmask of first shape.
--- return If there is no shape in body, return default value.(0xFFFFFFFF) --- @function [parent=#PhysicsBody] getCategoryBitmask --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Set dynamic to body.
--- A dynamic body will effect with gravity. --- @function [parent=#PhysicsBody] setDynamic --- @param self --- @param #bool dynamic --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Get the first shape of the body shapes.
--- return The first shape in this body. --- @function [parent=#PhysicsBody] getFirstShape --- @param self --- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape) - --------------------------------- --- Get the body shapes.
--- return A Vector object contains PhysicsShape pointer. --- @function [parent=#PhysicsBody] getShapes --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Return bitmask of first shape.
--- return If there is no shape in body, return default value.(0x00000000) --- @function [parent=#PhysicsBody] getContactTestBitmask --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set the angular velocity of a body.
--- param velocity The angular velocity is set to this body. --- @function [parent=#PhysicsBody] setAngularVelocity --- @param self --- @param #float velocity --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Convert the world point to local. --- @function [parent=#PhysicsBody] world2Local --- @param self --- @param #vec2_table point --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- @overload self, int, bool --- @overload self, cc.PhysicsShape, bool --- @function [parent=#PhysicsBody] removeShape --- @param self --- @param #cc.PhysicsShape shape --- @param #bool reduceMassAndMoment --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- brief Set the body mass.
--- attention If you need add/subtract mass to body, don't use setMass(getMass() +/- mass), because the mass of body may be equal to PHYSICS_INFINITY, it will cause some unexpected result, please use addMass() instead. --- @function [parent=#PhysicsBody] setMass --- @param self --- @param #float mass --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- brief Add moment of inertia to body.
--- param moment If _moment(moment of the body) == PHYSICS_INFINITY, it remains.
--- if moment == PHYSICS_INFINITY, _moment will be PHYSICS_INFINITY.
--- if moment == -PHYSICS_INFINITY, _moment will not change.
--- if moment + _moment <= 0, _moment will equal to MASS_DEFAULT(1.0)
--- other wise, moment = moment + _moment; --- @function [parent=#PhysicsBody] addMoment --- @param self --- @param #float moment --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Set the velocity of a body.
--- param velocity The velocity is set to this body. --- @function [parent=#PhysicsBody] setVelocity --- @param self --- @param #vec2_table velocity --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Set linear damping.
--- it is used to simulate fluid or air friction forces on the body.
--- param damping The value is 0.0f to 1.0f. --- @function [parent=#PhysicsBody] setLinearDamping --- @param self --- @param #float damping --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- A mask that defines which categories of physics bodies can collide with this physics body.
--- When two physics bodies contact each other, a collision may occur. This body's collision mask is compared to the other body's category mask by performing a logical AND operation. If the result is a non-zero value, then this body is affected by the collision. Each body independently chooses whether it wants to be affected by the other body. For example, you might use this to avoid collision calculations that would make negligible changes to a body's velocity.
--- param bitmask An integer number, the default value is 0xFFFFFFFF (all bits set). --- @function [parent=#PhysicsBody] setCollisionBitmask --- @param self --- @param #int bitmask --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- set body position offset, it's the position witch relative to node --- @function [parent=#PhysicsBody] setPositionOffset --- @param self --- @param #vec2_table position --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Set the body is allow rotation or not --- @function [parent=#PhysicsBody] setRotationEnable --- @param self --- @param #bool enable --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- Whether the body can rotation. --- @function [parent=#PhysicsBody] isRotationEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the rigid body of chipmunk. --- @function [parent=#PhysicsBody] getCPBody --- @param self --- @return cpBody#cpBody ret (return value: cpBody) - --------------------------------- --- Get angular damping. --- @function [parent=#PhysicsBody] getAngularDamping --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the angular velocity of a body at a local point. --- @function [parent=#PhysicsBody] getVelocityAtLocalPoint --- @param self --- @param #vec2_table point --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Whether the body is at rest. --- @function [parent=#PhysicsBody] isResting --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Add mass to body.
--- param mass If _mass(mass of the body) == PHYSICS_INFINITY, it remains.
--- if mass == PHYSICS_INFINITY, _mass will be PHYSICS_INFINITY.
--- if mass == -PHYSICS_INFINITY, _mass will not change.
--- if mass + _mass <= 0, _mass will equal to MASS_DEFAULT(1.0)
--- other wise, mass = mass + _mass; --- @function [parent=#PhysicsBody] addMass --- @param self --- @param #float mass --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- get the shape of the body.
--- param tag An integer number that identifies a PhysicsShape object.
--- return A PhysicsShape object pointer or nullptr if no shapes were found. --- @function [parent=#PhysicsBody] getShape --- @param self --- @param #int tag --- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape) - --------------------------------- --- set the body's tag. --- @function [parent=#PhysicsBody] setTag --- @param self --- @param #int tag --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- get the angular velocity of a body at a world point --- @function [parent=#PhysicsBody] getVelocityAtWorldPoint --- @param self --- @param #vec2_table point --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- A mask that defines which categories of bodies cause intersection notifications with this physics body.
--- When two bodies share the same space, each body's category mask is tested against the other body's contact mask by performing a logical AND operation. If either comparison results in a non-zero value, an PhysicsContact object is created and passed to the physics world’s delegate. For best performance, only set bits in the contacts mask for interactions you are interested in.
--- param bitmask An integer number, the default value is 0x00000000 (all bits cleared). --- @function [parent=#PhysicsBody] setContactTestBitmask --- @param self --- @param #int bitmask --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- remove the body from the world it added to --- @function [parent=#PhysicsBody] removeFromWorld --- @param self --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- brief Test the body is dynamic or not.
--- A dynamic body will effect with gravity. --- @function [parent=#PhysicsBody] isDynamic --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- get the node the body set to. --- @function [parent=#PhysicsBody] getNode --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Create a body contains a box shape.
--- param size Size contains this box's width and height.
--- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
--- param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.
--- return An autoreleased PhysicsBody object pointer. --- @function [parent=#PhysicsBody] createBox --- @param self --- @param #size_table size --- @param #cc.PhysicsMaterial material --- @param #vec2_table offset --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - --------------------------------- --- Create a body contains a EdgeSegment shape.
--- param a It's the edge's begin position.
--- param b It's the edge's end position.
--- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
--- param border It's a edge's border width.
--- return An autoreleased PhysicsBody object pointer. --- @function [parent=#PhysicsBody] createEdgeSegment --- @param self --- @param #vec2_table a --- @param #vec2_table b --- @param #cc.PhysicsMaterial material --- @param #float border --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - --------------------------------- --- @overload self, float --- @overload self --- @overload self, float, float --- @function [parent=#PhysicsBody] create --- @param self --- @param #float mass --- @param #float moment --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - --------------------------------- --- Create a body contains a EdgeBox shape.
--- param size Size contains this box's width and height.
--- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
--- param border It's a edge's border width.
--- param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.
--- return An autoreleased PhysicsBody object pointer. --- @function [parent=#PhysicsBody] createEdgeBox --- @param self --- @param #size_table size --- @param #cc.PhysicsMaterial material --- @param #float border --- @param #vec2_table offset --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - --------------------------------- --- Create a body contains a circle.
--- param radius A float number, it is the circle's radius.
--- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
--- param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.
--- return An autoreleased PhysicsBody object pointer. --- @function [parent=#PhysicsBody] createCircle --- @param self --- @param #float radius --- @param #cc.PhysicsMaterial material --- @param #vec2_table offset --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - --------------------------------- --- Set the enable value.
--- If the body it isn't enabled, it will not has simulation by world. --- @function [parent=#PhysicsBody] setEnabled --- @param self --- @param #bool enable --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- --- @function [parent=#PhysicsBody] onRemove --- @param self --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- --- @function [parent=#PhysicsBody] onEnter --- @param self --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- --- @function [parent=#PhysicsBody] onExit --- @param self --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - --------------------------------- --- --- @function [parent=#PhysicsBody] onAdd --- @param self --- @return PhysicsBody#PhysicsBody self (return value: cc.PhysicsBody) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsContact.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsContact.lua deleted file mode 100644 index 82734ec1e4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsContact.lua +++ /dev/null @@ -1,37 +0,0 @@ - --------------------------------- --- @module PhysicsContact --- @extend EventCustom --- @parent_module cc - --------------------------------- --- Get contact data. --- @function [parent=#PhysicsContact] getContactData --- @param self --- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData) - --------------------------------- --- Get the event code --- @function [parent=#PhysicsContact] getEventCode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get previous contact data --- @function [parent=#PhysicsContact] getPreContactData --- @param self --- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData) - --------------------------------- --- Get contact shape A. --- @function [parent=#PhysicsContact] getShapeA --- @param self --- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape) - --------------------------------- --- Get contact shape B. --- @function [parent=#PhysicsContact] getShapeB --- @param self --- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsContactPostSolve.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsContactPostSolve.lua deleted file mode 100644 index e04959b41a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsContactPostSolve.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module PhysicsContactPostSolve --- @parent_module cc - --------------------------------- --- Get friction between two bodies. --- @function [parent=#PhysicsContactPostSolve] getFriction --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get surface velocity between two bodies. --- @function [parent=#PhysicsContactPostSolve] getSurfaceVelocity --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get restitution between two bodies. --- @function [parent=#PhysicsContactPostSolve] getRestitution --- @param self --- @return float#float ret (return value: float) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsContactPreSolve.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsContactPreSolve.lua deleted file mode 100644 index 35e872add7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsContactPreSolve.lua +++ /dev/null @@ -1,51 +0,0 @@ - --------------------------------- --- @module PhysicsContactPreSolve --- @parent_module cc - --------------------------------- --- Get friction between two bodies. --- @function [parent=#PhysicsContactPreSolve] getFriction --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get restitution between two bodies. --- @function [parent=#PhysicsContactPreSolve] getRestitution --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the friction. --- @function [parent=#PhysicsContactPreSolve] setFriction --- @param self --- @param #float friction --- @return PhysicsContactPreSolve#PhysicsContactPreSolve self (return value: cc.PhysicsContactPreSolve) - --------------------------------- --- Ignore the rest of the contact presolve and postsolve callbacks. --- @function [parent=#PhysicsContactPreSolve] ignore --- @param self --- @return PhysicsContactPreSolve#PhysicsContactPreSolve self (return value: cc.PhysicsContactPreSolve) - --------------------------------- --- Get surface velocity between two bodies. --- @function [parent=#PhysicsContactPreSolve] getSurfaceVelocity --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set the surface velocity. --- @function [parent=#PhysicsContactPreSolve] setSurfaceVelocity --- @param self --- @param #vec2_table velocity --- @return PhysicsContactPreSolve#PhysicsContactPreSolve self (return value: cc.PhysicsContactPreSolve) - --------------------------------- --- Set the restitution. --- @function [parent=#PhysicsContactPreSolve] setRestitution --- @param self --- @param #float restitution --- @return PhysicsContactPreSolve#PhysicsContactPreSolve self (return value: cc.PhysicsContactPreSolve) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJoint.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJoint.lua deleted file mode 100644 index 82b19b581e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJoint.lua +++ /dev/null @@ -1,84 +0,0 @@ - --------------------------------- --- @module PhysicsJoint --- @parent_module cc - --------------------------------- --- Get physics body a connected to this joint. --- @function [parent=#PhysicsJoint] getBodyA --- @param self --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - --------------------------------- --- Get physics body b connected to this joint. --- @function [parent=#PhysicsJoint] getBodyB --- @param self --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - --------------------------------- --- Get the max force setting. --- @function [parent=#PhysicsJoint] getMaxForce --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the max force between two bodies. --- @function [parent=#PhysicsJoint] setMaxForce --- @param self --- @param #float force --- @return PhysicsJoint#PhysicsJoint self (return value: cc.PhysicsJoint) - --------------------------------- --- Determines if the joint is enable. --- @function [parent=#PhysicsJoint] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Enable/Disable the joint. --- @function [parent=#PhysicsJoint] setEnable --- @param self --- @param #bool enable --- @return PhysicsJoint#PhysicsJoint self (return value: cc.PhysicsJoint) - --------------------------------- --- Enable/disable the collision between two bodies. --- @function [parent=#PhysicsJoint] setCollisionEnable --- @param self --- @param #bool enable --- @return PhysicsJoint#PhysicsJoint self (return value: cc.PhysicsJoint) - --------------------------------- --- Get the physics world. --- @function [parent=#PhysicsJoint] getWorld --- @param self --- @return PhysicsWorld#PhysicsWorld ret (return value: cc.PhysicsWorld) - --------------------------------- --- Set this joint's tag.
--- param tag An integer number that identifies a PhysicsJoint. --- @function [parent=#PhysicsJoint] setTag --- @param self --- @param #int tag --- @return PhysicsJoint#PhysicsJoint self (return value: cc.PhysicsJoint) - --------------------------------- --- Remove the joint from the world. --- @function [parent=#PhysicsJoint] removeFormWorld --- @param self --- @return PhysicsJoint#PhysicsJoint self (return value: cc.PhysicsJoint) - --------------------------------- --- Determines if the collision is enable. --- @function [parent=#PhysicsJoint] isCollisionEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get this joint's tag.
--- return An integer number. --- @function [parent=#PhysicsJoint] getTag --- @param self --- @return int#int ret (return value: int) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointDistance.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointDistance.lua deleted file mode 100644 index aedea2cfcd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointDistance.lua +++ /dev/null @@ -1,41 +0,0 @@ - --------------------------------- --- @module PhysicsJointDistance --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- --- @function [parent=#PhysicsJointDistance] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set the distance of the anchor points. --- @function [parent=#PhysicsJointDistance] setDistance --- @param self --- @param #float distance --- @return PhysicsJointDistance#PhysicsJointDistance self (return value: cc.PhysicsJointDistance) - --------------------------------- --- Get the distance of the anchor points. --- @function [parent=#PhysicsJointDistance] getDistance --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Create a fixed distance joint.
--- param a A is the body to connect.
--- param b B is the body to connect.
--- param anchr1 Anchr1 is the anchor point on body a.
--- param anchr2 Anchr2 is the anchor point on body b.
--- return A object pointer. --- @function [parent=#PhysicsJointDistance] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #vec2_table anchr1 --- @param #vec2_table anchr2 --- @return PhysicsJointDistance#PhysicsJointDistance ret (return value: cc.PhysicsJointDistance) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointFixed.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointFixed.lua deleted file mode 100644 index 2548c59ba5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointFixed.lua +++ /dev/null @@ -1,26 +0,0 @@ - --------------------------------- --- @module PhysicsJointFixed --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- --- @function [parent=#PhysicsJointFixed] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a fixed joint.
--- param a A is the body to connect.
--- param b B is the body to connect.
--- param anchr It's the pivot position.
--- return A object pointer. --- @function [parent=#PhysicsJointFixed] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #vec2_table anchr --- @return PhysicsJointFixed#PhysicsJointFixed ret (return value: cc.PhysicsJointFixed) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointGear.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointGear.lua deleted file mode 100644 index c522547828..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointGear.lua +++ /dev/null @@ -1,54 +0,0 @@ - --------------------------------- --- @module PhysicsJointGear --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- Set the ratio. --- @function [parent=#PhysicsJointGear] setRatio --- @param self --- @param #float ratchet --- @return PhysicsJointGear#PhysicsJointGear self (return value: cc.PhysicsJointGear) - --------------------------------- --- Get the angular offset of the two bodies. --- @function [parent=#PhysicsJointGear] getPhase --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the angular offset of the two bodies. --- @function [parent=#PhysicsJointGear] setPhase --- @param self --- @param #float phase --- @return PhysicsJointGear#PhysicsJointGear self (return value: cc.PhysicsJointGear) - --------------------------------- --- --- @function [parent=#PhysicsJointGear] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the ratio. --- @function [parent=#PhysicsJointGear] getRatio --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Create a gear joint.
--- param a A is the body to connect.
--- param b B is the body to connect.
--- param phase Phase is the initial angular offset of the two bodies.
--- param ratio Ratio is always measured in absolute terms.
--- return A object pointer. --- @function [parent=#PhysicsJointGear] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #float phase --- @param #float ratio --- @return PhysicsJointGear#PhysicsJointGear ret (return value: cc.PhysicsJointGear) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointGroove.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointGroove.lua deleted file mode 100644 index 1dd43de1c7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointGroove.lua +++ /dev/null @@ -1,69 +0,0 @@ - --------------------------------- --- @module PhysicsJointGroove --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- Set the anchor point on body b. --- @function [parent=#PhysicsJointGroove] setAnchr2 --- @param self --- @param #vec2_table anchr2 --- @return PhysicsJointGroove#PhysicsJointGroove self (return value: cc.PhysicsJointGroove) - --------------------------------- --- Set the line begin position --- @function [parent=#PhysicsJointGroove] setGrooveA --- @param self --- @param #vec2_table grooveA --- @return PhysicsJointGroove#PhysicsJointGroove self (return value: cc.PhysicsJointGroove) - --------------------------------- --- Set the line end position --- @function [parent=#PhysicsJointGroove] setGrooveB --- @param self --- @param #vec2_table grooveB --- @return PhysicsJointGroove#PhysicsJointGroove self (return value: cc.PhysicsJointGroove) - --------------------------------- --- Get the line begin position --- @function [parent=#PhysicsJointGroove] getGrooveA --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get the line end position --- @function [parent=#PhysicsJointGroove] getGrooveB --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get the anchor point on body b. --- @function [parent=#PhysicsJointGroove] getAnchr2 --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#PhysicsJointGroove] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a groove joint.
--- param a A is the body to connect.
--- param b B is the body to connect.
--- param grooveA The line begin position.
--- param grooveB The line end position.
--- param anchr2 Anchr2 is the anchor point on body b.
--- return A object pointer. --- @function [parent=#PhysicsJointGroove] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #vec2_table grooveA --- @param #vec2_table grooveB --- @param #vec2_table anchr2 --- @return PhysicsJointGroove#PhysicsJointGroove ret (return value: cc.PhysicsJointGroove) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointLimit.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointLimit.lua deleted file mode 100644 index fc05eb8c98..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointLimit.lua +++ /dev/null @@ -1,78 +0,0 @@ - --------------------------------- --- @module PhysicsJointLimit --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- Set the anchor point on body b. --- @function [parent=#PhysicsJointLimit] setAnchr2 --- @param self --- @param #vec2_table anchr2 --- @return PhysicsJointLimit#PhysicsJointLimit self (return value: cc.PhysicsJointLimit) - --------------------------------- --- Set the anchor point on body a. --- @function [parent=#PhysicsJointLimit] setAnchr1 --- @param self --- @param #vec2_table anchr1 --- @return PhysicsJointLimit#PhysicsJointLimit self (return value: cc.PhysicsJointLimit) - --------------------------------- --- Set the max distance of the anchor points. --- @function [parent=#PhysicsJointLimit] setMax --- @param self --- @param #float max --- @return PhysicsJointLimit#PhysicsJointLimit self (return value: cc.PhysicsJointLimit) - --------------------------------- --- Get the anchor point on body b. --- @function [parent=#PhysicsJointLimit] getAnchr2 --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get the anchor point on body a. --- @function [parent=#PhysicsJointLimit] getAnchr1 --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#PhysicsJointLimit] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the allowed min distance of the anchor points. --- @function [parent=#PhysicsJointLimit] getMin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the allowed max distance of the anchor points. --- @function [parent=#PhysicsJointLimit] getMax --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the min distance of the anchor points. --- @function [parent=#PhysicsJointLimit] setMin --- @param self --- @param #float min --- @return PhysicsJointLimit#PhysicsJointLimit self (return value: cc.PhysicsJointLimit) - --------------------------------- --- @overload self, cc.PhysicsBody, cc.PhysicsBody, vec2_table, vec2_table, float, float --- @overload self, cc.PhysicsBody, cc.PhysicsBody, vec2_table, vec2_table --- @function [parent=#PhysicsJointLimit] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #vec2_table anchr1 --- @param #vec2_table anchr2 --- @param #float min --- @param #float max --- @return PhysicsJointLimit#PhysicsJointLimit ret (return value: cc.PhysicsJointLimit) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointMotor.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointMotor.lua deleted file mode 100644 index d7407f31e9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointMotor.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module PhysicsJointMotor --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- Set the relative angular velocity. --- @function [parent=#PhysicsJointMotor] setRate --- @param self --- @param #float rate --- @return PhysicsJointMotor#PhysicsJointMotor self (return value: cc.PhysicsJointMotor) - --------------------------------- --- Get the relative angular velocity. --- @function [parent=#PhysicsJointMotor] getRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PhysicsJointMotor] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create a motor joint.
--- param a A is the body to connect.
--- param b B is the body to connect.
--- param rate Rate is the desired relative angular velocity.
--- return A object pointer. --- @function [parent=#PhysicsJointMotor] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #float rate --- @return PhysicsJointMotor#PhysicsJointMotor ret (return value: cc.PhysicsJointMotor) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointPin.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointPin.lua deleted file mode 100644 index b3d9884941..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointPin.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module PhysicsJointPin --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- --- @function [parent=#PhysicsJointPin] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, cc.PhysicsBody, cc.PhysicsBody, vec2_table, vec2_table --- @overload self, cc.PhysicsBody, cc.PhysicsBody, vec2_table --- @function [parent=#PhysicsJointPin] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #vec2_table anchr1 --- @param #vec2_table anchr2 --- @return PhysicsJointPin#PhysicsJointPin ret (return value: cc.PhysicsJointPin) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointRatchet.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointRatchet.lua deleted file mode 100644 index 66a9fbce7b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointRatchet.lua +++ /dev/null @@ -1,67 +0,0 @@ - --------------------------------- --- @module PhysicsJointRatchet --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- Get the ratchet angle. --- @function [parent=#PhysicsJointRatchet] getAngle --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the ratchet angle. --- @function [parent=#PhysicsJointRatchet] setAngle --- @param self --- @param #float angle --- @return PhysicsJointRatchet#PhysicsJointRatchet self (return value: cc.PhysicsJointRatchet) - --------------------------------- --- --- @function [parent=#PhysicsJointRatchet] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set the initial offset. --- @function [parent=#PhysicsJointRatchet] setPhase --- @param self --- @param #float phase --- @return PhysicsJointRatchet#PhysicsJointRatchet self (return value: cc.PhysicsJointRatchet) - --------------------------------- --- Get the initial offset. --- @function [parent=#PhysicsJointRatchet] getPhase --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the distance between "clicks". --- @function [parent=#PhysicsJointRatchet] setRatchet --- @param self --- @param #float ratchet --- @return PhysicsJointRatchet#PhysicsJointRatchet self (return value: cc.PhysicsJointRatchet) - --------------------------------- --- Get the distance between "clicks". --- @function [parent=#PhysicsJointRatchet] getRatchet --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Create a ratchet joint.
--- param a A is the body to connect.
--- param b B is the body to connect.
--- param phase Phase is the initial offset to use when deciding where the ratchet angles are.
--- param ratchet Ratchet is the distance between "clicks".
--- return A object pointer. --- @function [parent=#PhysicsJointRatchet] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #float phase --- @param #float ratchet --- @return PhysicsJointRatchet#PhysicsJointRatchet ret (return value: cc.PhysicsJointRatchet) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua deleted file mode 100644 index 64cdcd844c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua +++ /dev/null @@ -1,50 +0,0 @@ - --------------------------------- --- @module PhysicsJointRotaryLimit --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- Get the max rotation limit. --- @function [parent=#PhysicsJointRotaryLimit] getMax --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PhysicsJointRotaryLimit] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set the min rotation limit. --- @function [parent=#PhysicsJointRotaryLimit] setMin --- @param self --- @param #float min --- @return PhysicsJointRotaryLimit#PhysicsJointRotaryLimit self (return value: cc.PhysicsJointRotaryLimit) - --------------------------------- --- Set the max rotation limit. --- @function [parent=#PhysicsJointRotaryLimit] setMax --- @param self --- @param #float max --- @return PhysicsJointRotaryLimit#PhysicsJointRotaryLimit self (return value: cc.PhysicsJointRotaryLimit) - --------------------------------- --- Get the min rotation limit. --- @function [parent=#PhysicsJointRotaryLimit] getMin --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, cc.PhysicsBody, cc.PhysicsBody --- @overload self, cc.PhysicsBody, cc.PhysicsBody, float, float --- @function [parent=#PhysicsJointRotaryLimit] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #float min --- @param #float max --- @return PhysicsJointRotaryLimit#PhysicsJointRotaryLimit ret (return value: cc.PhysicsJointRotaryLimit) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotarySpring.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotarySpring.lua deleted file mode 100644 index 5e49acdebb..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotarySpring.lua +++ /dev/null @@ -1,67 +0,0 @@ - --------------------------------- --- @module PhysicsJointRotarySpring --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- Get the spring soft constant. --- @function [parent=#PhysicsJointRotarySpring] getDamping --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the relative angle in radians from the body a to b. --- @function [parent=#PhysicsJointRotarySpring] setRestAngle --- @param self --- @param #float restAngle --- @return PhysicsJointRotarySpring#PhysicsJointRotarySpring self (return value: cc.PhysicsJointRotarySpring) - --------------------------------- --- Get the spring constant. --- @function [parent=#PhysicsJointRotarySpring] getStiffness --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PhysicsJointRotarySpring] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set the spring constant. --- @function [parent=#PhysicsJointRotarySpring] setStiffness --- @param self --- @param #float stiffness --- @return PhysicsJointRotarySpring#PhysicsJointRotarySpring self (return value: cc.PhysicsJointRotarySpring) - --------------------------------- --- Set the spring soft constant. --- @function [parent=#PhysicsJointRotarySpring] setDamping --- @param self --- @param #float damping --- @return PhysicsJointRotarySpring#PhysicsJointRotarySpring self (return value: cc.PhysicsJointRotarySpring) - --------------------------------- --- Get the relative angle in radians from the body a to b. --- @function [parent=#PhysicsJointRotarySpring] getRestAngle --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Create a damped rotary spring joint.
--- param a A is the body to connect.
--- param b B is the body to connect.
--- param stiffness It's the spring constant.
--- param damping It's how soft to make the damping of the spring.
--- return A object pointer. --- @function [parent=#PhysicsJointRotarySpring] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #float stiffness --- @param #float damping --- @return PhysicsJointRotarySpring#PhysicsJointRotarySpring ret (return value: cc.PhysicsJointRotarySpring) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointSpring.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointSpring.lua deleted file mode 100644 index 32f7fc7ed0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointSpring.lua +++ /dev/null @@ -1,97 +0,0 @@ - --------------------------------- --- @module PhysicsJointSpring --- @extend PhysicsJoint --- @parent_module cc - --------------------------------- --- Set the anchor point on body b. --- @function [parent=#PhysicsJointSpring] setAnchr2 --- @param self --- @param #vec2_table anchr2 --- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) - --------------------------------- --- Set the anchor point on body a. --- @function [parent=#PhysicsJointSpring] setAnchr1 --- @param self --- @param #vec2_table anchr1 --- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) - --------------------------------- --- Get the spring soft constant. --- @function [parent=#PhysicsJointSpring] getDamping --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the spring constant. --- @function [parent=#PhysicsJointSpring] setStiffness --- @param self --- @param #float stiffness --- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) - --------------------------------- --- Get the distance of the anchor points. --- @function [parent=#PhysicsJointSpring] getRestLength --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the anchor point on body b. --- @function [parent=#PhysicsJointSpring] getAnchr2 --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get the anchor point on body a. --- @function [parent=#PhysicsJointSpring] getAnchr1 --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get the spring constant. --- @function [parent=#PhysicsJointSpring] getStiffness --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PhysicsJointSpring] createConstraints --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set the distance of the anchor points. --- @function [parent=#PhysicsJointSpring] setRestLength --- @param self --- @param #float restLength --- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) - --------------------------------- --- Set the spring soft constant. --- @function [parent=#PhysicsJointSpring] setDamping --- @param self --- @param #float damping --- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) - --------------------------------- --- Create a fixed distance joint.
--- param a A is the body to connect.
--- param b B is the body to connect.
--- param anchr1 Anchr1 is the anchor point on body a.
--- param anchr2 Anchr2 is the anchor point on body b.
--- param stiffness It's the spring constant.
--- param damping It's how soft to make the damping of the spring.
--- return A object pointer. --- @function [parent=#PhysicsJointSpring] construct --- @param self --- @param #cc.PhysicsBody a --- @param #cc.PhysicsBody b --- @param #vec2_table anchr1 --- @param #vec2_table anchr2 --- @param #float stiffness --- @param #float damping --- @return PhysicsJointSpring#PhysicsJointSpring ret (return value: cc.PhysicsJointSpring) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsShape.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsShape.lua deleted file mode 100644 index ca34f0c044..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsShape.lua +++ /dev/null @@ -1,249 +0,0 @@ - --------------------------------- --- @module PhysicsShape --- @extend Ref --- @parent_module cc - --------------------------------- --- Get this shape's friction.
--- return A float number. --- @function [parent=#PhysicsShape] getFriction --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the group of body.
--- Collision groups let you specify an integral group index. You can have all fixtures with the same group index always collide (positive index) or never collide (negative index).
--- param group An integer number, it have high priority than bit masks. --- @function [parent=#PhysicsShape] setGroup --- @param self --- @param #int group --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Set this shape's density.
--- It will change the body's mass this shape attaches.
--- param density A float number. --- @function [parent=#PhysicsShape] setDensity --- @param self --- @param #float density --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Get the mass of this shape.
--- return A float number. --- @function [parent=#PhysicsShape] getMass --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get this shape's PhysicsMaterial object.
--- return A PhysicsMaterial object reference. --- @function [parent=#PhysicsShape] getMaterial --- @param self --- @return PhysicsMaterial#PhysicsMaterial ret (return value: cc.PhysicsMaterial) - --------------------------------- --- --- @function [parent=#PhysicsShape] setSensor --- @param self --- @param #bool sensor --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Get a mask that defines which categories of physics bodies can collide with this physics body.
--- return An integer number. --- @function [parent=#PhysicsShape] getCollisionBitmask --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Return this shape's area.
--- return A float number. --- @function [parent=#PhysicsShape] getArea --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set a mask that defines which categories this physics body belongs to.
--- Every physics body in a scene can be assigned to up to 32 different categories, each corresponding to a bit in the bit mask. You define the mask values used in your game. In conjunction with the collisionBitMask and contactTestBitMask properties, you define which physics bodies interact with each other and when your game is notified of these interactions.
--- param bitmask An integer number, the default value is 0xFFFFFFFF (all bits set). --- @function [parent=#PhysicsShape] setCategoryBitmask --- @param self --- @param #int bitmask --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Get the group of body.
--- return An integer number. --- @function [parent=#PhysicsShape] getGroup --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set this shape's moment.
--- It will change the body's moment this shape attaches.
--- param moment A float number. --- @function [parent=#PhysicsShape] setMoment --- @param self --- @param #float moment --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Test point is inside this shape or not.
--- param point A Vec2 object.
--- return A bool object. --- @function [parent=#PhysicsShape] containsPoint --- @param self --- @param #vec2_table point --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get a mask that defines which categories this physics body belongs to.
--- return An integer number. --- @function [parent=#PhysicsShape] getCategoryBitmask --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#PhysicsShape] isSensor --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Return this shape's type.
--- return A Type object. --- @function [parent=#PhysicsShape] getType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get a mask that defines which categories of bodies cause intersection notifications with this physics body.
--- return An integer number. --- @function [parent=#PhysicsShape] getContactTestBitmask --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get this shape's center position.
--- This function should be overridden in inherit classes.
--- return A Vec2 object. --- @function [parent=#PhysicsShape] getCenter --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get this shape's density.
--- return A float number. --- @function [parent=#PhysicsShape] getDensity --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set this shape's mass.
--- It will change the body's mass this shape attaches.
--- param mass A float number. --- @function [parent=#PhysicsShape] setMass --- @param self --- @param #float mass --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Get this shape's tag.
--- return An integer number. --- @function [parent=#PhysicsShape] getTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Calculate the default moment value.
--- This function should be overridden in inherit classes.
--- return A float number, equals 0.0. --- @function [parent=#PhysicsShape] calculateDefaultMoment --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- A mask that defines which categories of physics bodies can collide with this physics body.
--- When two physics bodies contact each other, a collision may occur. This body's collision mask is compared to the other body's category mask by performing a logical AND operation. If the result is a non-zero value, then this body is affected by the collision. Each body independently chooses whether it wants to be affected by the other body. For example, you might use this to avoid collision calculations that would make negligible changes to a body's velocity.
--- param bitmask An integer number, the default value is 0xFFFFFFFF (all bits set). --- @function [parent=#PhysicsShape] setCollisionBitmask --- @param self --- @param #int bitmask --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Get this shape's moment.
--- return A float number. --- @function [parent=#PhysicsShape] getMoment --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get this shape's position offset.
--- This function should be overridden in inherit classes.
--- return A Vec2 object. --- @function [parent=#PhysicsShape] getOffset --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get this shape's restitution.
--- return A float number. --- @function [parent=#PhysicsShape] getRestitution --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set this shape's friction.
--- It will change the shape's friction.
--- param friction A float number. --- @function [parent=#PhysicsShape] setFriction --- @param self --- @param #float friction --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Set this shape's material.
--- It will change the shape's mass, elasticity and friction.
--- param material A PhysicsMaterial object. --- @function [parent=#PhysicsShape] setMaterial --- @param self --- @param #cc.PhysicsMaterial material --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Set this shape's tag.
--- param tag An integer number that identifies a shape object. --- @function [parent=#PhysicsShape] setTag --- @param self --- @param #int tag --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- A mask that defines which categories of bodies cause intersection notifications with this physics body.
--- When two bodies share the same space, each body's category mask is tested against the other body's contact mask by performing a logical AND operation. If either comparison results in a non-zero value, an PhysicsContact object is created and passed to the physics world’s delegate. For best performance, only set bits in the contacts mask for interactions you are interested in.
--- param bitmask An integer number, the default value is 0x00000000 (all bits cleared). --- @function [parent=#PhysicsShape] setContactTestBitmask --- @param self --- @param #int bitmask --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Set this shape's restitution.
--- It will change the shape's elasticity.
--- param restitution A float number. --- @function [parent=#PhysicsShape] setRestitution --- @param self --- @param #float restitution --- @return PhysicsShape#PhysicsShape self (return value: cc.PhysicsShape) - --------------------------------- --- Get the body that this shape attaches.
--- return A PhysicsBody object pointer. --- @function [parent=#PhysicsShape] getBody --- @param self --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeBox.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsShapeBox.lua deleted file mode 100644 index 8e20763166..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeBox.lua +++ /dev/null @@ -1,35 +0,0 @@ - --------------------------------- --- @module PhysicsShapeBox --- @extend PhysicsShapePolygon --- @parent_module cc - --------------------------------- --- Get this box's width and height.
--- return An Size object. --- @function [parent=#PhysicsShapeBox] getSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Creates a PhysicsShapeBox with specified value.
--- param size Size contains this box's width and height.
--- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
--- param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.
--- return An autoreleased PhysicsShapeBox object pointer. --- @function [parent=#PhysicsShapeBox] create --- @param self --- @param #size_table size --- @param #cc.PhysicsMaterial material --- @param #vec2_table offset --- @param #float radius --- @return PhysicsShapeBox#PhysicsShapeBox ret (return value: cc.PhysicsShapeBox) - --------------------------------- --- Get this box's position offset.
--- return A Vec2 object. --- @function [parent=#PhysicsShapeBox] getOffset --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeCircle.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsShapeCircle.lua deleted file mode 100644 index 0583454f34..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeCircle.lua +++ /dev/null @@ -1,63 +0,0 @@ - --------------------------------- --- @module PhysicsShapeCircle --- @extend PhysicsShape --- @parent_module cc - --------------------------------- --- Get the circle's radius.
--- return A float number. --- @function [parent=#PhysicsShapeCircle] getRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Creates a PhysicsShapeCircle with specified value.
--- param radius A float number, it is the circle's radius.
--- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
--- param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.
--- return An autoreleased PhysicsShapeCircle object pointer. --- @function [parent=#PhysicsShapeCircle] create --- @param self --- @param #float radius --- @param #cc.PhysicsMaterial material --- @param #vec2_table offset --- @return PhysicsShapeCircle#PhysicsShapeCircle ret (return value: cc.PhysicsShapeCircle) - --------------------------------- --- Calculate the area of a circle with specified radius.
--- param radius A float number
--- return A float number --- @function [parent=#PhysicsShapeCircle] calculateArea --- @param self --- @param #float radius --- @return float#float ret (return value: float) - --------------------------------- --- Calculate the moment of a circle with specified value.
--- param mass A float number
--- param radius A float number
--- param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.
--- return A float number --- @function [parent=#PhysicsShapeCircle] calculateMoment --- @param self --- @param #float mass --- @param #float radius --- @param #vec2_table offset --- @return float#float ret (return value: float) - --------------------------------- --- Get this circle's position offset.
--- return A Vec2 object. --- @function [parent=#PhysicsShapeCircle] getOffset --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Calculate the moment for a circle.
--- return A float number. --- @function [parent=#PhysicsShapeCircle] calculateDefaultMoment --- @param self --- @return float#float ret (return value: float) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeBox.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeBox.lua deleted file mode 100644 index e472c25cb3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeBox.lua +++ /dev/null @@ -1,29 +0,0 @@ - --------------------------------- --- @module PhysicsShapeEdgeBox --- @extend PhysicsShapeEdgePolygon --- @parent_module cc - --------------------------------- --- Creates a PhysicsShapeEdgeBox with specified value.
--- param size Size contains this box's width and height.
--- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
--- param border It's a edge's border width.
--- param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.
--- return An autoreleased PhysicsShapeEdgeBox object pointer. --- @function [parent=#PhysicsShapeEdgeBox] create --- @param self --- @param #size_table size --- @param #cc.PhysicsMaterial material --- @param #float border --- @param #vec2_table offset --- @return PhysicsShapeEdgeBox#PhysicsShapeEdgeBox ret (return value: cc.PhysicsShapeEdgeBox) - --------------------------------- --- Get this box's position offset.
--- return A Vec2 object. --- @function [parent=#PhysicsShapeEdgeBox] getOffset --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeChain.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeChain.lua deleted file mode 100644 index 099457cfb3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeChain.lua +++ /dev/null @@ -1,21 +0,0 @@ - --------------------------------- --- @module PhysicsShapeEdgeChain --- @extend PhysicsShape --- @parent_module cc - --------------------------------- --- Get this chain's points array count.
--- return An integer number. --- @function [parent=#PhysicsShapeEdgeChain] getPointsCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get this chain's center position.
--- return A Vec2 object. --- @function [parent=#PhysicsShapeEdgeChain] getCenter --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgePolygon.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgePolygon.lua deleted file mode 100644 index b87e90397a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgePolygon.lua +++ /dev/null @@ -1,21 +0,0 @@ - --------------------------------- --- @module PhysicsShapeEdgePolygon --- @extend PhysicsShape --- @parent_module cc - --------------------------------- --- Get this polygon's points array count.
--- return An integer number. --- @function [parent=#PhysicsShapeEdgePolygon] getPointsCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get this polygon's center position.
--- return A Vec2 object. --- @function [parent=#PhysicsShapeEdgePolygon] getCenter --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeSegment.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeSegment.lua deleted file mode 100644 index d01b4b4af3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeSegment.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module PhysicsShapeEdgeSegment --- @extend PhysicsShape --- @parent_module cc - --------------------------------- --- Get this edge's end position.
--- return A Vec2 object. --- @function [parent=#PhysicsShapeEdgeSegment] getPointB --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get this edge's begin position.
--- return A Vec2 object. --- @function [parent=#PhysicsShapeEdgeSegment] getPointA --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Creates a PhysicsShapeEdgeSegment with specified value.
--- param a It's the edge's begin position.
--- param b It's the edge's end position.
--- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
--- param border It's a edge's border width.
--- return An autoreleased PhysicsShapeEdgeSegment object pointer. --- @function [parent=#PhysicsShapeEdgeSegment] create --- @param self --- @param #vec2_table a --- @param #vec2_table b --- @param #cc.PhysicsMaterial material --- @param #float border --- @return PhysicsShapeEdgeSegment#PhysicsShapeEdgeSegment ret (return value: cc.PhysicsShapeEdgeSegment) - --------------------------------- --- Get this edge's center position.
--- return A Vec2 object. --- @function [parent=#PhysicsShapeEdgeSegment] getCenter --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsShapePolygon.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsShapePolygon.lua deleted file mode 100644 index 2ddc47873c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsShapePolygon.lua +++ /dev/null @@ -1,37 +0,0 @@ - --------------------------------- --- @module PhysicsShapePolygon --- @extend PhysicsShape --- @parent_module cc - --------------------------------- --- Get this polygon's points array count.
--- return An integer number. --- @function [parent=#PhysicsShapePolygon] getPointsCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get a point of this polygon's points array.
--- param i A index of this polygon's points array.
--- return A point value. --- @function [parent=#PhysicsShapePolygon] getPoint --- @param self --- @param #int i --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Calculate the moment for a polygon.
--- return A float number. --- @function [parent=#PhysicsShapePolygon] calculateDefaultMoment --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get this polygon's center position.
--- return A Vec2 object. --- @function [parent=#PhysicsShapePolygon] getCenter --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsSprite3D.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsSprite3D.lua deleted file mode 100644 index 7c049e512c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsSprite3D.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module PhysicsSprite3D --- @extend Sprite3D --- @parent_module cc - --------------------------------- --- synchronize node transformation to physics. --- @function [parent=#PhysicsSprite3D] syncNodeToPhysics --- @param self --- @return PhysicsSprite3D#PhysicsSprite3D self (return value: cc.PhysicsSprite3D) - --------------------------------- --- synchronize physics transformation to node. --- @function [parent=#PhysicsSprite3D] syncPhysicsToNode --- @param self --- @return PhysicsSprite3D#PhysicsSprite3D self (return value: cc.PhysicsSprite3D) - --------------------------------- --- Get the Physics3DObject. --- @function [parent=#PhysicsSprite3D] getPhysicsObj --- @param self --- @return Physics3DObject#Physics3DObject ret (return value: cc.Physics3DObject) - --------------------------------- --- Set synchronization flag, see Physics3DComponent. --- @function [parent=#PhysicsSprite3D] setSyncFlag --- @param self --- @param #int syncFlag --- @return PhysicsSprite3D#PhysicsSprite3D self (return value: cc.PhysicsSprite3D) - --------------------------------- --- --- @function [parent=#PhysicsSprite3D] PhysicsSprite3D --- @param self --- @return PhysicsSprite3D#PhysicsSprite3D self (return value: cc.PhysicsSprite3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua deleted file mode 100644 index e9a38ee7d1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua +++ /dev/null @@ -1,225 +0,0 @@ - --------------------------------- --- @module PhysicsWorld --- @parent_module cc - --------------------------------- --- set the gravity value of this physics world.
--- param gravity A gravity value of this physics world. --- @function [parent=#PhysicsWorld] setGravity --- @param self --- @param #vec2_table gravity --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Get all the bodies that in this physics world.
--- return A Vector& object contains all bodies in this physics world. --- @function [parent=#PhysicsWorld] getAllBodies --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- set the number of update of the physics world in a second.
--- 0 - disable fixed step system
--- default value is 0 --- @function [parent=#PhysicsWorld] setFixedUpdateRate --- @param self --- @param #int updatesPerSecond --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- set the number of substeps in an update of the physics world.
--- One physics update will be divided into several substeps to increase its accuracy.
--- param steps An integer number, default value is 1. --- @function [parent=#PhysicsWorld] setSubsteps --- @param self --- @param #int steps --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- To control the step of physics.
--- If you want control it by yourself( fixed-timestep for example ), you can set this to false and call step by yourself.
--- attention If you set auto step to false, setSpeed setSubsteps and setUpdateRate won't work, you need to control the time step by yourself.
--- param autoStep A bool object, default value is true. --- @function [parent=#PhysicsWorld] setAutoStep --- @param self --- @param #bool autoStep --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Adds a joint to this physics world.
--- This joint will be added to this physics world at next frame.
--- attention If this joint is already added to another physics world, it will be removed from that world first and then add to this world.
--- param joint A pointer to an existing PhysicsJoint object. --- @function [parent=#PhysicsWorld] addJoint --- @param self --- @param #cc.PhysicsJoint joint --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Remove all joints from this physics world.
--- attention This function is invoked in the destructor of this physics world, you do not use this api in common.
--- param destroy true all joints will be destroyed after remove from this world, false otherwise. --- @function [parent=#PhysicsWorld] removeAllJoints --- @param self --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Get the debug draw mask.
--- return An integer number. --- @function [parent=#PhysicsWorld] getDebugDrawMask --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- set the callback which invoked before update of each object in physics world. --- @function [parent=#PhysicsWorld] setPreUpdateCallback --- @param self --- @param #function callback --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Get the auto step of this physics world.
--- return A bool object. --- @function [parent=#PhysicsWorld] isAutoStep --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- set the callback which invoked after update of each object in physics world. --- @function [parent=#PhysicsWorld] setPostUpdateCallback --- @param self --- @param #function callback --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- @overload self, int --- @overload self, cc.PhysicsBody --- @function [parent=#PhysicsWorld] removeBody --- @param self --- @param #cc.PhysicsBody body --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Remove a joint from this physics world.
--- If this world is not locked, the joint is removed immediately, otherwise at next frame.
--- If this joint is connected with a body, it will be removed from the body also.
--- param joint A pointer to an existing PhysicsJoint object.
--- param destroy true this joint will be destroyed after remove from this world, false otherwise. --- @function [parent=#PhysicsWorld] removeJoint --- @param self --- @param #cc.PhysicsJoint joint --- @param #bool destroy --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Get physics shapes that contains the point.
--- All shapes contains the point will be pushed in a Vector object.
--- attention The point must lie inside a shape.
--- param point A Vec2 object contains the position of the point.
--- return A Vector object contains all found PhysicsShape pointer. --- @function [parent=#PhysicsWorld] getShapes --- @param self --- @param #vec2_table point --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- The step for physics world.
--- The times passing for simulate the physics.
--- attention You need to setAutoStep(false) first before it can work.
--- param delta A float number. --- @function [parent=#PhysicsWorld] step --- @param self --- @param #float delta --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Set the debug draw mask of this physics world.
--- This physics world will draw shapes and joints by DrawNode according to mask.
--- param mask Mask has four value:DEBUGDRAW_NONE, DEBUGDRAW_SHAPE, DEBUGDRAW_JOINT, DEBUGDRAW_CONTACT and DEBUGDRAW_ALL, default is DEBUGDRAW_NONE --- @function [parent=#PhysicsWorld] setDebugDrawMask --- @param self --- @param #int mask --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Get the gravity value of this physics world.
--- return A Vec2 object. --- @function [parent=#PhysicsWorld] getGravity --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set the update rate of this physics world
--- Update rate is the value of EngineUpdateTimes/PhysicsWorldUpdateTimes.
--- Set it higher can improve performance, set it lower can improve accuracy of physics world simulation.
--- attention if you setAutoStep(false), this won't work.
--- param rate An integer number, default value is 1.0. --- @function [parent=#PhysicsWorld] setUpdateRate --- @param self --- @param #int rate --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- get the number of substeps --- @function [parent=#PhysicsWorld] getFixedUpdateRate --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get the number of substeps of this physics world.
--- return An integer number. --- @function [parent=#PhysicsWorld] getSubsteps --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get the speed of this physics world.
--- return A float number. --- @function [parent=#PhysicsWorld] getSpeed --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Get the update rate of this physics world.
--- return An integer number. --- @function [parent=#PhysicsWorld] getUpdateRate --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Remove all bodies from physics world.
--- If this world is not locked, those body are removed immediately, otherwise at next frame. --- @function [parent=#PhysicsWorld] removeAllBodies --- @param self --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Set the speed of this physics world.
--- attention if you setAutoStep(false), this won't work.
--- param speed A float number. Speed is the rate at which the simulation executes. default value is 1.0. --- @function [parent=#PhysicsWorld] setSpeed --- @param self --- @param #float speed --- @return PhysicsWorld#PhysicsWorld self (return value: cc.PhysicsWorld) - --------------------------------- --- Get the nearest physics shape that contains the point.
--- Query this physics world at point and return the closest shape.
--- param point A Vec2 object contains the position of the point.
--- return A PhysicsShape object pointer or nullptr if no shapes were found --- @function [parent=#PhysicsWorld] getShape --- @param self --- @param #vec2_table point --- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape) - --------------------------------- --- Get a body by tag.
--- param tag An integer number that identifies a PhysicsBody object.
--- return A PhysicsBody object pointer or nullptr if no shapes were found. --- @function [parent=#PhysicsWorld] getBody --- @param self --- @param #int tag --- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Place.lua b/cocos/scripting/lua-bindings/auto/api/Place.lua deleted file mode 100644 index 3fe8375a62..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Place.lua +++ /dev/null @@ -1,48 +0,0 @@ - --------------------------------- --- @module Place --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- Initializes a Place action with a position --- @function [parent=#Place] initWithPosition --- @param self --- @param #vec2_table pos --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates a Place action with a position.
--- param pos A certain position.
--- return An autoreleased Place object. --- @function [parent=#Place] create --- @param self --- @param #vec2_table pos --- @return Place#Place ret (return value: cc.Place) - --------------------------------- --- --- @function [parent=#Place] clone --- @param self --- @return Place#Place ret (return value: cc.Place) - --------------------------------- --- param time In seconds. --- @function [parent=#Place] update --- @param self --- @param #float time --- @return Place#Place self (return value: cc.Place) - --------------------------------- --- --- @function [parent=#Place] reverse --- @param self --- @return Place#Place ret (return value: cc.Place) - --------------------------------- --- --- @function [parent=#Place] Place --- @param self --- @return Place#Place self (return value: cc.Place) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PlayableFrame.lua b/cocos/scripting/lua-bindings/auto/api/PlayableFrame.lua deleted file mode 100644 index b41de1d22a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PlayableFrame.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module PlayableFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#PlayableFrame] setPlayableAct --- @param self --- @param #string playact --- @return PlayableFrame#PlayableFrame self (return value: ccs.PlayableFrame) - --------------------------------- --- --- @function [parent=#PlayableFrame] getPlayableAct --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#PlayableFrame] create --- @param self --- @return PlayableFrame#PlayableFrame ret (return value: ccs.PlayableFrame) - --------------------------------- --- --- @function [parent=#PlayableFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#PlayableFrame] PlayableFrame --- @param self --- @return PlayableFrame#PlayableFrame self (return value: ccs.PlayableFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PointLight.lua b/cocos/scripting/lua-bindings/auto/api/PointLight.lua deleted file mode 100644 index ce2c715234..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PointLight.lua +++ /dev/null @@ -1,45 +0,0 @@ - --------------------------------- --- @module PointLight --- @extend BaseLight --- @parent_module cc - --------------------------------- --- get or set range --- @function [parent=#PointLight] getRange --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PointLight] setRange --- @param self --- @param #float range --- @return point_table#point_table self (return value: point_table) - --------------------------------- --- Creates a point light.
--- param position The light's position
--- param color The light's color.
--- param range The light's range.
--- return The new point light. --- @function [parent=#PointLight] create --- @param self --- @param #vec3_table position --- @param #color3b_table color --- @param #float range --- @return point_table#point_table ret (return value: point_table) - --------------------------------- --- --- @function [parent=#PointLight] getLightType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#PointLight] PointLight --- @param self --- @return point_table#point_table self (return value: point_table) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PolygonInfo.lua b/cocos/scripting/lua-bindings/auto/api/PolygonInfo.lua deleted file mode 100644 index a459d92dd4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PolygonInfo.lua +++ /dev/null @@ -1,93 +0,0 @@ - --------------------------------- --- @module PolygonInfo --- @parent_module cc - --------------------------------- --- --- @function [parent=#PolygonInfo] getFilename --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- get sum of all triangle area size
--- return sum of all triangle area size --- @function [parent=#PolygonInfo] getArea --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PolygonInfo] getRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#PolygonInfo] setFilename --- @param self --- @param #string filename --- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) - --------------------------------- --- set the data to be a pointer to a number of Quads
--- the member verts will not be released when this PolygonInfo destructs
--- as the verts memory are managed by other objects
--- param quad a pointer to the V3F_C4B_T2F_Quad quads --- @function [parent=#PolygonInfo] setQuads --- @param self --- @param #cc.V3F_C4B_T2F_Quad quads --- @param #int numberOfQuads --- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) - --------------------------------- --- get vertex count
--- return number of vertices --- @function [parent=#PolygonInfo] getVertCount --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- get triangles count
--- return number of triangles --- @function [parent=#PolygonInfo] getTrianglesCount --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- set the data to be a pointer to a quad
--- the member verts will not be released when this PolygonInfo destructs
--- as the verts memory are managed by other objects
--- param quad a pointer to the V3F_C4B_T2F_Quad object --- @function [parent=#PolygonInfo] setQuad --- @param self --- @param #cc.V3F_C4B_T2F_Quad quad --- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) - --------------------------------- --- set the data to be a pointer to a triangles
--- the member verts will not be released when this PolygonInfo destructs
--- as the verts memory are managed by other objects
--- param triangles a pointer to the TrianglesCommand::Triangles object --- @function [parent=#PolygonInfo] setTriangles --- @param self --- @param #cc.TrianglesCommand::Triangles triangles --- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) - --------------------------------- --- --- @function [parent=#PolygonInfo] setRect --- @param self --- @param #rect_table rect --- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) - --------------------------------- --- / @name Creators/ @{
--- Creates an empty Polygon info
--- memberof PolygonInfo
--- return PolygonInfo object --- @function [parent=#PolygonInfo] PolygonInfo --- @param self --- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PositionFrame.lua b/cocos/scripting/lua-bindings/auto/api/PositionFrame.lua deleted file mode 100644 index 99a421cb74..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/PositionFrame.lua +++ /dev/null @@ -1,64 +0,0 @@ - --------------------------------- --- @module PositionFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#PositionFrame] getX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PositionFrame] getY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#PositionFrame] setPosition --- @param self --- @param #vec2_table position --- @return PositionFrame#PositionFrame self (return value: ccs.PositionFrame) - --------------------------------- --- --- @function [parent=#PositionFrame] setX --- @param self --- @param #float x --- @return PositionFrame#PositionFrame self (return value: ccs.PositionFrame) - --------------------------------- --- --- @function [parent=#PositionFrame] setY --- @param self --- @param #float y --- @return PositionFrame#PositionFrame self (return value: ccs.PositionFrame) - --------------------------------- --- --- @function [parent=#PositionFrame] getPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- --- @function [parent=#PositionFrame] create --- @param self --- @return PositionFrame#PositionFrame ret (return value: ccs.PositionFrame) - --------------------------------- --- --- @function [parent=#PositionFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#PositionFrame] PositionFrame --- @param self --- @return PositionFrame#PositionFrame self (return value: ccs.PositionFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ProgressFromTo.lua b/cocos/scripting/lua-bindings/auto/api/ProgressFromTo.lua deleted file mode 100644 index c0c2e7ea76..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ProgressFromTo.lua +++ /dev/null @@ -1,65 +0,0 @@ - --------------------------------- --- @module ProgressFromTo --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- brief Initializes the action with a duration, a "from" percentage and a "to" percentage.
--- param duration Specify the duration of the ProgressFromTo action. It's a value in seconds.
--- param fromPercentage Specify the source percentage.
--- param toPercentage Specify the destination percentage.
--- return If the creation success, return true; otherwise, return false. --- @function [parent=#ProgressFromTo] initWithDuration --- @param self --- @param #float duration --- @param #float fromPercentage --- @param #float toPercentage --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create and initializes the action with a duration, a "from" percentage and a "to" percentage.
--- param duration Specify the duration of the ProgressFromTo action. It's a value in seconds.
--- param fromPercentage Specify the source percentage.
--- param toPercentage Specify the destination percentage.
--- return If the creation success, return a pointer of ProgressFromTo action; otherwise, return nil. --- @function [parent=#ProgressFromTo] create --- @param self --- @param #float duration --- @param #float fromPercentage --- @param #float toPercentage --- @return ProgressFromTo#ProgressFromTo ret (return value: cc.ProgressFromTo) - --------------------------------- --- --- @function [parent=#ProgressFromTo] startWithTarget --- @param self --- @param #cc.Node target --- @return ProgressFromTo#ProgressFromTo self (return value: cc.ProgressFromTo) - --------------------------------- --- --- @function [parent=#ProgressFromTo] clone --- @param self --- @return ProgressFromTo#ProgressFromTo ret (return value: cc.ProgressFromTo) - --------------------------------- --- --- @function [parent=#ProgressFromTo] reverse --- @param self --- @return ProgressFromTo#ProgressFromTo ret (return value: cc.ProgressFromTo) - --------------------------------- --- --- @function [parent=#ProgressFromTo] update --- @param self --- @param #float time --- @return ProgressFromTo#ProgressFromTo self (return value: cc.ProgressFromTo) - --------------------------------- --- --- @function [parent=#ProgressFromTo] ProgressFromTo --- @param self --- @return ProgressFromTo#ProgressFromTo self (return value: cc.ProgressFromTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ProgressTimer.lua b/cocos/scripting/lua-bindings/auto/api/ProgressTimer.lua deleted file mode 100644 index da3d9b52dc..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ProgressTimer.lua +++ /dev/null @@ -1,171 +0,0 @@ - --------------------------------- --- @module ProgressTimer --- @extend Node --- @parent_module cc - --------------------------------- --- Initializes a progress timer with the sprite as the shape the timer goes through --- @function [parent=#ProgressTimer] initWithSprite --- @param self --- @param #cc.Sprite sp --- @return bool#bool ret (return value: bool) - --------------------------------- --- Return the Reverse direction.
--- return If the direction is Anti-clockwise,it will return true. --- @function [parent=#ProgressTimer] isReverseDirection --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- This allows the bar type to move the component at a specific rate.
--- Set the component to 0 to make sure it stays at 100%.
--- For example you want a left to right bar but not have the height stay 100%.
--- Set the rate to be Vec2(0,1); and set the midpoint to = Vec2(0,.5f).
--- param barChangeRate A Vec2. --- @function [parent=#ProgressTimer] setBarChangeRate --- @param self --- @param #vec2_table barChangeRate --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- Percentages are from 0 to 100.
--- return Percentages. --- @function [parent=#ProgressTimer] getPercentage --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Set the sprite as the shape.
--- param sprite The sprite as the shape. --- @function [parent=#ProgressTimer] setSprite --- @param self --- @param #cc.Sprite sprite --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- Change the percentage to change progress.
--- return A Type --- @function [parent=#ProgressTimer] getType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- The image to show the progress percentage, retain.
--- return A sprite. --- @function [parent=#ProgressTimer] getSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Midpoint is used to modify the progress start position.
--- If you're using radials type then the midpoint changes the center point.
--- If you're using bar type then the midpoint changes the bar growth.
--- it expands from the center but clamps to the sprites edge so:
--- you want a left to right then set the midpoint all the way to Vec2(0,y).
--- you want a right to left then set the midpoint all the way to Vec2(1,y).
--- you want a bottom to top then set the midpoint all the way to Vec2(x,0).
--- you want a top to bottom then set the midpoint all the way to Vec2(x,1).
--- param point A Vec2 point. --- @function [parent=#ProgressTimer] setMidpoint --- @param self --- @param #vec2_table point --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- Returns the BarChangeRate.
--- return A barChangeRate. --- @function [parent=#ProgressTimer] getBarChangeRate --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set the Reverse direction.
--- param value If value is false it will clockwise,if is true it will Anti-clockwise. --- @function [parent=#ProgressTimer] setReverseDirection --- @param self --- @param #bool value --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- Returns the Midpoint.
--- return A Vec2. --- @function [parent=#ProgressTimer] getMidpoint --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set the initial percentage values.
--- param percentage The initial percentage values. --- @function [parent=#ProgressTimer] setPercentage --- @param self --- @param #float percentage --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- Set the ProgressTimer type.
--- param type Is an Type. --- @function [parent=#ProgressTimer] setType --- @param self --- @param #int type --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- Creates a progress timer with the sprite as the shape the timer goes through.
--- param sp The sprite as the shape the timer goes through.
--- return A ProgressTimer. --- @function [parent=#ProgressTimer] create --- @param self --- @param #cc.Sprite sp --- @return ProgressTimer#ProgressTimer ret (return value: cc.ProgressTimer) - --------------------------------- --- --- @function [parent=#ProgressTimer] setAnchorPoint --- @param self --- @param #vec2_table anchorPoint --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- --- @function [parent=#ProgressTimer] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- --- @function [parent=#ProgressTimer] setColor --- @param self --- @param #color3b_table color --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- --- @function [parent=#ProgressTimer] getColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#ProgressTimer] setOpacity --- @param self --- @param #unsigned char opacity --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - --------------------------------- --- --- @function [parent=#ProgressTimer] getOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- js ctor --- @function [parent=#ProgressTimer] ProgressTimer --- @param self --- @return ProgressTimer#ProgressTimer self (return value: cc.ProgressTimer) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ProgressTo.lua b/cocos/scripting/lua-bindings/auto/api/ProgressTo.lua deleted file mode 100644 index 7d51239373..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ProgressTo.lua +++ /dev/null @@ -1,61 +0,0 @@ - --------------------------------- --- @module ProgressTo --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- brief Initializes with a duration and destination percentage.
--- param duration Specify the duration of the ProgressTo action. It's a value in seconds.
--- param percent Specify the destination percentage.
--- return If the creation success, return true; otherwise, return false. --- @function [parent=#ProgressTo] initWithDuration --- @param self --- @param #float duration --- @param #float percent --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create and initializes with a duration and a destination percentage.
--- param duration Specify the duration of the ProgressTo action. It's a value in seconds.
--- param percent Specify the destination percentage.
--- return If the creation success, return a pointer of ProgressTo action; otherwise, return nil. --- @function [parent=#ProgressTo] create --- @param self --- @param #float duration --- @param #float percent --- @return ProgressTo#ProgressTo ret (return value: cc.ProgressTo) - --------------------------------- --- --- @function [parent=#ProgressTo] startWithTarget --- @param self --- @param #cc.Node target --- @return ProgressTo#ProgressTo self (return value: cc.ProgressTo) - --------------------------------- --- --- @function [parent=#ProgressTo] clone --- @param self --- @return ProgressTo#ProgressTo ret (return value: cc.ProgressTo) - --------------------------------- --- --- @function [parent=#ProgressTo] reverse --- @param self --- @return ProgressTo#ProgressTo ret (return value: cc.ProgressTo) - --------------------------------- --- --- @function [parent=#ProgressTo] update --- @param self --- @param #float time --- @return ProgressTo#ProgressTo self (return value: cc.ProgressTo) - --------------------------------- --- --- @function [parent=#ProgressTo] ProgressTo --- @param self --- @return ProgressTo#ProgressTo self (return value: cc.ProgressTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Properties.lua b/cocos/scripting/lua-bindings/auto/api/Properties.lua deleted file mode 100644 index 1c6716b60d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Properties.lua +++ /dev/null @@ -1,307 +0,0 @@ - --------------------------------- --- @module Properties --- @parent_module cc - --------------------------------- --- Returns the value of a variable that is set in this Properties object.
--- Variables take on the format ${name} and are inherited from parent Property objects.
--- param name Name of the variable to get.
--- param defaultValue Value to return if the variable is not found.
--- return The value of the specified variable, or defaultValue if not found. --- @function [parent=#Properties] getVariable --- @param self --- @param #char name --- @param #char defaultValue --- @return char#char ret (return value: char) - --------------------------------- --- Get the value of the given property as a string. This can always be retrieved,
--- whatever the intended type of the property.
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- param defaultValue The default value to return if the specified property does not exist.
--- return The value of the given property as a string, or the empty string if no property with that name exists. --- @function [parent=#Properties] getString --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- Interpret the value of the given property as a long integer.
--- If the property does not exist, zero will be returned.
--- If the property exists but could not be scanned, an error will be logged and zero will be returned.
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- return The value of the given property interpreted as a long.
--- Zero if the property does not exist or could not be scanned. --- @function [parent=#Properties] getLong --- @param self --- @return long#long ret (return value: long) - --------------------------------- --- @overload self --- @overload self, char, bool, bool --- @function [parent=#Properties] getNamespace --- @param self --- @param #char id --- @param #bool searchNames --- @param #bool recurse --- @return Properties#Properties ret (return value: cc.Properties) - --------------------------------- --- Gets the file path for the given property if the file exists.
--- This method will first search for the file relative to the working directory.
--- If the file is not found then it will search relative to the directory the bundle file is in.
--- param name The name of the property.
--- param path The string to copy the path to if the file exists.
--- return True if the property exists and the file exists, false otherwise.
--- script{ignore} --- @function [parent=#Properties] getPath --- @param self --- @param #char name --- @param #string path --- @return bool#bool ret (return value: bool) - --------------------------------- --- Interpret the value of the given property as a Matrix.
--- If the property does not exist, out will be set to the identity matrix.
--- If the property exists but could not be scanned, an error will be logged and out will be set
--- to the identity matrix.
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- param out The matrix to set to this property's interpreted value.
--- return True on success, false if the property does not exist or could not be scanned. --- @function [parent=#Properties] getMat4 --- @param self --- @param #char name --- @param #mat4_table out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Check if a property with the given name is specified in this Properties object.
--- param name The name of the property to query.
--- return True if the property exists, false otherwise. --- @function [parent=#Properties] exists --- @param self --- @param #char name --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the value of the property with the specified name.
--- If there is no property in this namespace with the current name,
--- one is added. Otherwise, the value of the first property with the
--- specified name is updated.
--- If name is NULL, the value current property (see getNextProperty) is
--- set, unless there is no current property, in which case false
--- is returned.
--- param name The name of the property to set.
--- param value The property value.
--- return True if the property was set, false otherwise. --- @function [parent=#Properties] setString --- @param self --- @param #char name --- @param #char value --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the ID of this Property's namespace. The ID should be a unique identifier,
--- but its uniqueness is not enforced.
--- return The ID of this Property's namespace. --- @function [parent=#Properties] getId --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- Rewind the getNextProperty() and getNextNamespace() iterators
--- to the beginning of the file. --- @function [parent=#Properties] rewind --- @param self --- @return Properties#Properties self (return value: cc.Properties) - --------------------------------- --- Sets the value of the specified variable.
--- param name Name of the variable to set.
--- param value The value to set. --- @function [parent=#Properties] setVariable --- @param self --- @param #char name --- @param #char value --- @return Properties#Properties self (return value: cc.Properties) - --------------------------------- --- Interpret the value of the given property as a boolean.
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- param defaultValue the default value to return if the specified property does not exist within the properties file.
--- return true if the property exists and its value is "true", otherwise false. --- @function [parent=#Properties] getBool --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, char, vec4_table --- @overload self, char, vec3_table --- @function [parent=#Properties] getColor --- @param self --- @param #char name --- @param #vec3_table out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the type of a property.
--- param name The name of the property to interpret, or NULL to return the current property's type.
--- return The type of the property. --- @function [parent=#Properties] getType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Get the next namespace. --- @function [parent=#Properties] getNextNamespace --- @param self --- @return Properties#Properties ret (return value: cc.Properties) - --------------------------------- --- Interpret the value of the given property as an integer.
--- If the property does not exist, zero will be returned.
--- If the property exists but could not be scanned, an error will be logged and zero will be returned.
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- return The value of the given property interpreted as an integer.
--- Zero if the property does not exist or could not be scanned. --- @function [parent=#Properties] getInt --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Interpret the value of the given property as a Vector3.
--- If the property does not exist, out will be set to Vector3(0.0f, 0.0f, 0.0f).
--- If the property exists but could not be scanned, an error will be logged and out will be set
--- to Vector3(0.0f, 0.0f, 0.0f).
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- param out The vector to set to this property's interpreted value.
--- return True on success, false if the property does not exist or could not be scanned. --- @function [parent=#Properties] getVec3 --- @param self --- @param #char name --- @param #vec3_table out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Interpret the value of the given property as a Vector2.
--- If the property does not exist, out will be set to Vector2(0.0f, 0.0f).
--- If the property exists but could not be scanned, an error will be logged and out will be set
--- to Vector2(0.0f, 0.0f).
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- param out The vector to set to this property's interpreted value.
--- return True on success, false if the property does not exist or could not be scanned. --- @function [parent=#Properties] getVec2 --- @param self --- @param #char name --- @param #vec2_table out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Interpret the value of the given property as a Vector4.
--- If the property does not exist, out will be set to Vector4(0.0f, 0.0f, 0.0f, 0.0f).
--- If the property exists but could not be scanned, an error will be logged and out will be set
--- to Vector4(0.0f, 0.0f, 0.0f, 0.0f).
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- param out The vector to set to this property's interpreted value.
--- return True on success, false if the property does not exist or could not be scanned. --- @function [parent=#Properties] getVec4 --- @param self --- @param #char name --- @param #vec4_table out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the name of the next property.
--- If a valid next property is returned, the value of the property can be
--- retrieved using any of the get methods in this class, passing NULL for the property name.
--- return The name of the next property, or NULL if there are no properties remaining. --- @function [parent=#Properties] getNextProperty --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- Interpret the value of the given property as a floating-point number.
--- If the property does not exist, zero will be returned.
--- If the property exists but could not be scanned, an error will be logged and zero will be returned.
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- return The value of the given property interpreted as a float.
--- Zero if the property does not exist or could not be scanned. --- @function [parent=#Properties] getFloat --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Interpret the value of the given property as a Quaternion specified as an axis angle.
--- If the property does not exist, out will be set to Quaternion().
--- If the property exists but could not be scanned, an error will be logged and out will be set
--- to Quaternion().
--- param name The name of the property to interpret, or NULL to return the current property's value.
--- param out The quaternion to set to this property's interpreted value.
--- return True on success, false if the property does not exist or could not be scanned. --- @function [parent=#Properties] getQuaternionFromAxisAngle --- @param self --- @param #char name --- @param #cc.Quaternion out --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, char, vec4_table --- @overload self, char, vec3_table --- @function [parent=#Properties] parseColor --- @param self --- @param #char str --- @param #vec3_table out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Attempts to parse the specified string as a Vector3 value.
--- On error, false is returned and the output is set to all zero values.
--- param str The string to parse.
--- param out The value to populate if successful.
--- return True if a valid Vector3 was parsed, false otherwise. --- @function [parent=#Properties] parseVec3 --- @param self --- @param #char str --- @param #vec3_table out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Attempts to parse the specified string as an axis-angle value.
--- The specified string is expected to contain four comma-separated
--- values, where the first three values represents the axis and the
--- fourth value represents the angle, in degrees.
--- On error, false is returned and the output is set to all zero values.
--- param str The string to parse.
--- param out A Quaternion populated with the orientation of the axis-angle, if successful.
--- return True if a valid axis-angle was parsed, false otherwise. --- @function [parent=#Properties] parseAxisAngle --- @param self --- @param #char str --- @param #cc.Quaternion out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Attempts to parse the specified string as a Vector2 value.
--- On error, false is returned and the output is set to all zero values.
--- param str The string to parse.
--- param out The value to populate if successful.
--- return True if a valid Vector2 was parsed, false otherwise. --- @function [parent=#Properties] parseVec2 --- @param self --- @param #char str --- @param #vec2_table out --- @return bool#bool ret (return value: bool) - --------------------------------- --- Attempts to parse the specified string as a Vector4 value.
--- On error, false is returned and the output is set to all zero values.
--- param str The string to parse.
--- param out The value to populate if successful.
--- return True if a valid Vector4 was parsed, false otherwise. --- @function [parent=#Properties] parseVec4 --- @param self --- @param #char str --- @param #vec4_table out --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ProtectedNode.lua b/cocos/scripting/lua-bindings/auto/api/ProtectedNode.lua deleted file mode 100644 index 2322c0ba6e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ProtectedNode.lua +++ /dev/null @@ -1,151 +0,0 @@ - --------------------------------- --- @module ProtectedNode --- @extend Node --- @parent_module cc - --------------------------------- --- @overload self, cc.Node, int --- @overload self, cc.Node --- @overload self, cc.Node, int, int --- @function [parent=#ProtectedNode] addProtectedChild --- @param self --- @param #cc.Node child --- @param #int localZOrder --- @param #int tag --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- --- @function [parent=#ProtectedNode] disableCascadeColor --- @param self --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- Removes a child from the container by tag value. It will also cleanup all running actions depending on the cleanup parameter.
--- param tag An integer number that identifies a child node.
--- param cleanup true if all running actions and callbacks on the child node will be cleanup, false otherwise. --- @function [parent=#ProtectedNode] removeProtectedChildByTag --- @param self --- @param #int tag --- @param #bool cleanup --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- Reorders a child according to a new z value.
--- param child An already added child node. It MUST be already added.
--- param localZOrder Z order for drawing priority. Please refer to setLocalZOrder(int) --- @function [parent=#ProtectedNode] reorderProtectedChild --- @param self --- @param #cc.Node child --- @param #int localZOrder --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter.
--- param cleanup true if all running actions on all children nodes should be cleanup, false otherwise.
--- js removeAllChildren
--- lua removeAllChildren --- @function [parent=#ProtectedNode] removeAllProtectedChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- --- @function [parent=#ProtectedNode] disableCascadeOpacity --- @param self --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- Sorts the children array once before drawing, instead of every time when a child is added or reordered.
--- This approach can improves the performance massively.
--- note Don't call this manually unless a child added needs to be removed in the same frame --- @function [parent=#ProtectedNode] sortAllProtectedChildren --- @param self --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- Gets a child from the container with its tag.
--- param tag An identifier to find the child node.
--- return a Node object whose tag equals to the input parameter. --- @function [parent=#ProtectedNode] getProtectedChildByTag --- @param self --- @param #int tag --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Removes a child from the container. It will also cleanup all running actions depending on the cleanup parameter.
--- param child The child node which will be removed.
--- param cleanup true if all running actions and callbacks on the child node will be cleanup, false otherwise. --- @function [parent=#ProtectedNode] removeProtectedChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- Removes all children from the container with a cleanup.
--- see `removeAllChildrenWithCleanup(bool)`. --- @function [parent=#ProtectedNode] removeAllProtectedChildren --- @param self --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- Creates a ProtectedNode with no argument.
--- return A instance of ProtectedNode. --- @function [parent=#ProtectedNode] create --- @param self --- @return ProtectedNode#ProtectedNode ret (return value: cc.ProtectedNode) - --------------------------------- --- --- @function [parent=#ProtectedNode] setCameraMask --- @param self --- @param #unsigned short mask --- @param #bool applyChildren --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- --- @function [parent=#ProtectedNode] setGlobalZOrder --- @param self --- @param #float globalZOrder --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- js NA --- @function [parent=#ProtectedNode] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- --- @function [parent=#ProtectedNode] updateDisplayedOpacity --- @param self --- @param #unsigned char parentOpacity --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- --- @function [parent=#ProtectedNode] updateDisplayedColor --- @param self --- @param #color3b_table parentColor --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- --- @function [parent=#ProtectedNode] cleanup --- @param self --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - --------------------------------- --- --- @function [parent=#ProtectedNode] ProtectedNode --- @param self --- @return ProtectedNode#ProtectedNode self (return value: cc.ProtectedNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RadioButton.lua b/cocos/scripting/lua-bindings/auto/api/RadioButton.lua deleted file mode 100644 index 64b28dd36a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RadioButton.lua +++ /dev/null @@ -1,48 +0,0 @@ - --------------------------------- --- @module RadioButton --- @extend AbstractCheckButton --- @parent_module ccui - --------------------------------- --- Add a callback function which would be called when radio button is selected or unselected.
--- param callback A std::function with type @see `ccRadioButtonCallback` --- @function [parent=#RadioButton] addEventListener --- @param self --- @param #function callback --- @return RadioButton#RadioButton self (return value: ccui.RadioButton) - --------------------------------- --- @overload self, string, string, string, string, string, int --- @overload self --- @overload self, string, string, int --- @function [parent=#RadioButton] create --- @param self --- @param #string backGround --- @param #string backGroundSelected --- @param #string cross --- @param #string backGroundDisabled --- @param #string frontCrossDisabled --- @param #int texType --- @return RadioButton#RadioButton ret (return value: ccui.RadioButton) - --------------------------------- --- --- @function [parent=#RadioButton] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#RadioButton] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Default constructor.
--- lua new --- @function [parent=#RadioButton] RadioButton --- @param self --- @return RadioButton#RadioButton self (return value: ccui.RadioButton) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RadioButtonGroup.lua b/cocos/scripting/lua-bindings/auto/api/RadioButtonGroup.lua deleted file mode 100644 index 128671a970..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RadioButtonGroup.lua +++ /dev/null @@ -1,113 +0,0 @@ - --------------------------------- --- @module RadioButtonGroup --- @extend Widget --- @parent_module ccui - --------------------------------- --- Remove a radio button from this group.
--- param radio button instance --- @function [parent=#RadioButtonGroup] removeRadioButton --- @param self --- @param #ccui.RadioButton radioButton --- @return RadioButtonGroup#RadioButtonGroup self (return value: ccui.RadioButtonGroup) - --------------------------------- --- Query whether no-selection is allowed or not.
--- param true means no-selection is allowed, false means no-selection is not allowed. --- @function [parent=#RadioButtonGroup] isAllowedNoSelection --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the index of selected radio button.
--- return the selected button's index. Returns -1 if no button is selected. --- @function [parent=#RadioButtonGroup] getSelectedButtonIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set a flag for allowing no-selection feature.
--- If it is allowed, no radio button can be selected.
--- If it is not allowed, one radio button must be selected all time except it is empty.
--- Default is not allowed.
--- param true means allowing no-selection, false means disallowing no-selection. --- @function [parent=#RadioButtonGroup] setAllowedNoSelection --- @param self --- @param #bool allowedNoSelection --- @return RadioButtonGroup#RadioButtonGroup self (return value: ccui.RadioButtonGroup) - --------------------------------- --- @overload self, ccui.RadioButton --- @overload self, int --- @function [parent=#RadioButtonGroup] setSelectedButtonWithoutEvent --- @param self --- @param #int index --- @return RadioButtonGroup#RadioButtonGroup self (return value: ccui.RadioButtonGroup) - --------------------------------- --- Add a callback function which would be called when radio button is selected or unselected.
--- param callback A std::function with type @see `ccRadioButtonGroupCallback` --- @function [parent=#RadioButtonGroup] addEventListener --- @param self --- @param #function callback --- @return RadioButtonGroup#RadioButtonGroup self (return value: ccui.RadioButtonGroup) - --------------------------------- --- Remove all radio button from this group. --- @function [parent=#RadioButtonGroup] removeAllRadioButtons --- @param self --- @return RadioButtonGroup#RadioButtonGroup self (return value: ccui.RadioButtonGroup) - --------------------------------- --- Get a radio button in this group by index.
--- param index of the radio button
--- return radio button instance. Returns nullptr if out of index. --- @function [parent=#RadioButtonGroup] getRadioButtonByIndex --- @param self --- @param #int index --- @return RadioButton#RadioButton ret (return value: ccui.RadioButton) - --------------------------------- --- Get the number of radio buttons in this group.
--- return the number of radio buttons in this group --- @function [parent=#RadioButtonGroup] getNumberOfRadioButtons --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Add a radio button into this group.
--- param radio button instance --- @function [parent=#RadioButtonGroup] addRadioButton --- @param self --- @param #ccui.RadioButton radioButton --- @return RadioButtonGroup#RadioButtonGroup self (return value: ccui.RadioButtonGroup) - --------------------------------- --- @overload self, ccui.RadioButton --- @overload self, int --- @function [parent=#RadioButtonGroup] setSelectedButton --- @param self --- @param #int index --- @return RadioButtonGroup#RadioButtonGroup self (return value: ccui.RadioButtonGroup) - --------------------------------- --- Create and return a empty RadioButtonGroup instance pointer. --- @function [parent=#RadioButtonGroup] create --- @param self --- @return RadioButtonGroup#RadioButtonGroup ret (return value: ccui.RadioButtonGroup) - --------------------------------- --- --- @function [parent=#RadioButtonGroup] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Default constructor.
--- lua new --- @function [parent=#RadioButtonGroup] RadioButtonGroup --- @param self --- @return RadioButtonGroup#RadioButtonGroup self (return value: ccui.RadioButtonGroup) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Ref.lua b/cocos/scripting/lua-bindings/auto/api/Ref.lua deleted file mode 100644 index f5aa548620..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Ref.lua +++ /dev/null @@ -1,34 +0,0 @@ - --------------------------------- --- @module Ref --- @parent_module cc - --------------------------------- --- Releases the ownership immediately.
--- This decrements the Ref's reference count.
--- If the reference count reaches 0 after the decrement, this Ref is
--- destructed.
--- see retain, autorelease
--- js NA --- @function [parent=#Ref] release --- @param self --- @return Ref#Ref self (return value: cc.Ref) - --------------------------------- --- Retains the ownership.
--- This increases the Ref's reference count.
--- see release, autorelease
--- js NA --- @function [parent=#Ref] retain --- @param self --- @return Ref#Ref self (return value: cc.Ref) - --------------------------------- --- Returns the Ref's current reference count.
--- returns The Ref's reference count.
--- js NA --- @function [parent=#Ref] getReferenceCount --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RelativeBox.lua b/cocos/scripting/lua-bindings/auto/api/RelativeBox.lua deleted file mode 100644 index c0eb5d90f0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RelativeBox.lua +++ /dev/null @@ -1,36 +0,0 @@ - --------------------------------- --- @module RelativeBox --- @extend Layout --- @parent_module ccui - --------------------------------- --- --- @function [parent=#RelativeBox] initWithSize --- @param self --- @param #size_table size --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, size_table --- @overload self --- @function [parent=#RelativeBox] create --- @param self --- @param #size_table size --- @return RelativeBox#RelativeBox ret (return value: ccui.RelativeBox) - --------------------------------- --- --- @function [parent=#RelativeBox] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Default constructor.
--- js ctor
--- lua new --- @function [parent=#RelativeBox] RelativeBox --- @param self --- @return RelativeBox#RelativeBox self (return value: ccui.RelativeBox) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RelativeLayoutParameter.lua b/cocos/scripting/lua-bindings/auto/api/RelativeLayoutParameter.lua deleted file mode 100644 index ba4c7e2fb1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RelativeLayoutParameter.lua +++ /dev/null @@ -1,81 +0,0 @@ - --------------------------------- --- @module RelativeLayoutParameter --- @extend LayoutParameter --- @parent_module ccui - --------------------------------- --- Sets RelativeAlign parameter for LayoutParameter.
--- see RelativeAlign
--- param align Relative align in `RelativeAlign`. --- @function [parent=#RelativeLayoutParameter] setAlign --- @param self --- @param #int align --- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) - --------------------------------- --- Set widget name your widget want to relative to.
--- param name Relative widget name. --- @function [parent=#RelativeLayoutParameter] setRelativeToWidgetName --- @param self --- @param #string name --- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) - --------------------------------- --- Get a name of LayoutParameter in Relative Layout.
--- return name Relative name in string. --- @function [parent=#RelativeLayoutParameter] getRelativeName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Get the relative widget name.
--- return name A relative widget name in string. --- @function [parent=#RelativeLayoutParameter] getRelativeToWidgetName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Set a name for LayoutParameter in Relative Layout.
--- param name A string name. --- @function [parent=#RelativeLayoutParameter] setRelativeName --- @param self --- @param #string name --- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) - --------------------------------- --- Get RelativeAlign parameter for LayoutParameter.
--- see RelativeAlign
--- return A RelativeAlign variable. --- @function [parent=#RelativeLayoutParameter] getAlign --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Create a RelativeLayoutParameter instance.
--- return A initialized LayoutParameter which is marked as "autorelease". --- @function [parent=#RelativeLayoutParameter] create --- @param self --- @return RelativeLayoutParameter#RelativeLayoutParameter ret (return value: ccui.RelativeLayoutParameter) - --------------------------------- --- --- @function [parent=#RelativeLayoutParameter] createCloneInstance --- @param self --- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter) - --------------------------------- --- --- @function [parent=#RelativeLayoutParameter] copyProperties --- @param self --- @param #ccui.LayoutParameter model --- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) - --------------------------------- --- Default constructor
--- lua new --- @function [parent=#RelativeLayoutParameter] RelativeLayoutParameter --- @param self --- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RemoveSelf.lua b/cocos/scripting/lua-bindings/auto/api/RemoveSelf.lua deleted file mode 100644 index 08ac551e64..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RemoveSelf.lua +++ /dev/null @@ -1,47 +0,0 @@ - --------------------------------- --- @module RemoveSelf --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- init the action --- @function [parent=#RemoveSelf] init --- @param self --- @param #bool isNeedCleanUp --- @return bool#bool ret (return value: bool) - --------------------------------- --- Create the action.
--- param isNeedCleanUp Is need to clean up, the default value is true.
--- return An autoreleased RemoveSelf object. --- @function [parent=#RemoveSelf] create --- @param self --- @return RemoveSelf#RemoveSelf ret (return value: cc.RemoveSelf) - --------------------------------- --- --- @function [parent=#RemoveSelf] clone --- @param self --- @return RemoveSelf#RemoveSelf ret (return value: cc.RemoveSelf) - --------------------------------- --- param time In seconds. --- @function [parent=#RemoveSelf] update --- @param self --- @param #float time --- @return RemoveSelf#RemoveSelf self (return value: cc.RemoveSelf) - --------------------------------- --- --- @function [parent=#RemoveSelf] reverse --- @param self --- @return RemoveSelf#RemoveSelf ret (return value: cc.RemoveSelf) - --------------------------------- --- --- @function [parent=#RemoveSelf] RemoveSelf --- @param self --- @return RemoveSelf#RemoveSelf self (return value: cc.RemoveSelf) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RenderState.lua b/cocos/scripting/lua-bindings/auto/api/RenderState.lua deleted file mode 100644 index f57e4644b2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RenderState.lua +++ /dev/null @@ -1,62 +0,0 @@ - --------------------------------- --- @module RenderState --- @extend Ref --- @parent_module cc - --------------------------------- --- Texture that will use in the CC_Texture0 uniform.
--- Added to be backwards compatible. Use Samplers from .material instead. --- @function [parent=#RenderState] setTexture --- @param self --- @param #cc.Texture2D texture --- @return RenderState#RenderState self (return value: cc.RenderState) - --------------------------------- --- Returns the topmost RenderState in the hierarchy below the given RenderState. --- @function [parent=#RenderState] getTopmost --- @param self --- @param #cc.RenderState below --- @return RenderState#RenderState ret (return value: cc.RenderState) - --------------------------------- --- Returns the texture that is going to be used for CC_Texture0.
--- Added to be backwards compatible. --- @function [parent=#RenderState] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Binds the render state for this RenderState and any of its parents, top-down,
--- for the given pass. --- @function [parent=#RenderState] bind --- @param self --- @param #cc.Pass pass --- @return RenderState#RenderState self (return value: cc.RenderState) - --------------------------------- --- --- @function [parent=#RenderState] getName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#RenderState] getStateBlock --- @param self --- @return RenderState::StateBlock#RenderState::StateBlock ret (return value: cc.RenderState::StateBlock) - --------------------------------- --- --- @function [parent=#RenderState] setParent --- @param self --- @param #cc.RenderState parent --- @return RenderState#RenderState self (return value: cc.RenderState) - --------------------------------- --- Static initializer that is called during game startup. --- @function [parent=#RenderState] initialize --- @param self --- @return RenderState#RenderState self (return value: cc.RenderState) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua b/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua deleted file mode 100644 index 23a85a50b6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua +++ /dev/null @@ -1,243 +0,0 @@ - --------------------------------- --- @module RenderTexture --- @extend Node --- @parent_module cc - --------------------------------- --- Used for grab part of screen to a texture.
--- param rtBegin The position of renderTexture on the fullRect.
--- param fullRect The total size of screen.
--- param fullViewport The total viewportSize. --- @function [parent=#RenderTexture] setVirtualViewport --- @param self --- @param #vec2_table rtBegin --- @param #rect_table fullRect --- @param #rect_table fullViewport --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Clears the texture with a specified stencil value.
--- param stencilValue A specified stencil value. --- @function [parent=#RenderTexture] clearStencil --- @param self --- @param #int stencilValue --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Value for clearDepth. Valid only when "autoDraw" is true.
--- return Value for clearDepth. --- @function [parent=#RenderTexture] getClearDepth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Value for clear Stencil. Valid only when "autoDraw" is true.
--- return Value for clear Stencil. --- @function [parent=#RenderTexture] getClearStencil --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set Value for clear Stencil.
--- param clearStencil Value for clear Stencil. --- @function [parent=#RenderTexture] setClearStencil --- @param self --- @param #int clearStencil --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Sets the Sprite being used.
--- param sprite A Sprite. --- @function [parent=#RenderTexture] setSprite --- @param self --- @param #cc.Sprite sprite --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Gets the Sprite being used.
--- return A Sprite. --- @function [parent=#RenderTexture] getSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- When enabled, it will render its children into the texture automatically. Disabled by default for compatibility reasons.
--- Will be enabled in the future.
--- return Return the autoDraw value. --- @function [parent=#RenderTexture] isAutoDraw --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Flag: Use stack matrix computed from scene hierarchy or generate new modelView and projection matrix.
--- param keepMatrix Whether or not use stack matrix computed from scene hierarchy or generate new modelView and projection matrix.
--- js NA --- @function [parent=#RenderTexture] setKeepMatrix --- @param self --- @param #bool keepMatrix --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Set flags.
--- param clearFlags Valid flags: GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_STENCIL_BUFFER_BIT. --- @function [parent=#RenderTexture] setClearFlags --- @param self --- @param #unsigned int clearFlags --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Starts grabbing. --- @function [parent=#RenderTexture] begin --- @param self --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- @overload self, string, int, bool, function --- @overload self, string, bool, function --- @function [parent=#RenderTexture] saveToFile --- @param self --- @param #string filename --- @param #int format --- @param #bool isRGBA --- @param #function callback --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set a valve to control whether or not render its children into the texture automatically.
--- param isAutoDraw Whether or not render its children into the texture automatically. --- @function [parent=#RenderTexture] setAutoDraw --- @param self --- @param #bool isAutoDraw --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Set color value.
--- param clearColor Color value. --- @function [parent=#RenderTexture] setClearColor --- @param self --- @param #color4f_table clearColor --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Ends grabbing.
--- lua endToLua --- @function [parent=#RenderTexture] end --- @param self --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- @overload self, float, float, float, float, float --- @overload self, float, float, float, float --- @overload self, float, float, float, float, float, int --- @function [parent=#RenderTexture] beginWithClear --- @param self --- @param #float r --- @param #float g --- @param #float b --- @param #float a --- @param #float depthValue --- @param #int stencilValue --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Clears the texture with a specified depth value.
--- param depthValue A specified depth value. --- @function [parent=#RenderTexture] clearDepth --- @param self --- @param #float depthValue --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Clear color value. Valid only when "autoDraw" is true.
--- return Color value. --- @function [parent=#RenderTexture] getClearColor --- @param self --- @return color4f_table#color4f_table ret (return value: color4f_table) - --------------------------------- --- Clears the texture with a color.
--- param r Red.
--- param g Green.
--- param b Blue.
--- param a Alpha. --- @function [parent=#RenderTexture] clear --- @param self --- @param #float r --- @param #float g --- @param #float b --- @param #float a --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- Valid flags: GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_STENCIL_BUFFER_BIT. They can be OR'ed. Valid when "autoDraw" is true.
--- return Clear flags. --- @function [parent=#RenderTexture] getClearFlags --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- --- @function [parent=#RenderTexture] newImage --- @param self --- @return Image#Image ret (return value: cc.Image) - --------------------------------- --- Set Value for clearDepth.
--- param clearDepth Value for clearDepth. --- @function [parent=#RenderTexture] setClearDepth --- @param self --- @param #float clearDepth --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- @overload self, int, int, int, unsigned int --- @overload self, int, int, int --- @function [parent=#RenderTexture] initWithWidthAndHeight --- @param self --- @param #int w --- @param #int h --- @param #int format --- @param #unsigned int depthStencilFormat --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, int, int, int --- @overload self, int, int, int, unsigned int --- @overload self, int, int --- @function [parent=#RenderTexture] create --- @param self --- @param #int w --- @param #int h --- @param #int format --- @param #unsigned int depthStencilFormat --- @return RenderTexture#RenderTexture ret (return value: cc.RenderTexture) - --------------------------------- --- --- @function [parent=#RenderTexture] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- --- @function [parent=#RenderTexture] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - --------------------------------- --- FIXME: should be protected.
--- but due to a bug in PowerVR + Android,
--- the constructor is public again.
--- js ctor --- @function [parent=#RenderTexture] RenderTexture --- @param self --- @return RenderTexture#RenderTexture self (return value: cc.RenderTexture) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Repeat.lua b/cocos/scripting/lua-bindings/auto/api/Repeat.lua deleted file mode 100644 index b8e142ee4a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Repeat.lua +++ /dev/null @@ -1,85 +0,0 @@ - --------------------------------- --- @module Repeat --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- Sets the inner action.
--- param action The inner action. --- @function [parent=#Repeat] setInnerAction --- @param self --- @param #cc.FiniteTimeAction action --- @return Repeat#Repeat self (return value: cc.Repeat) - --------------------------------- --- initializes a Repeat action. Times is an unsigned integer between 1 and pow(2,30) --- @function [parent=#Repeat] initWithAction --- @param self --- @param #cc.FiniteTimeAction pAction --- @param #unsigned int times --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the inner action.
--- return The inner action. --- @function [parent=#Repeat] getInnerAction --- @param self --- @return FiniteTimeAction#FiniteTimeAction ret (return value: cc.FiniteTimeAction) - --------------------------------- --- Creates a Repeat action. Times is an unsigned integer between 1 and pow(2,30).
--- param action The action needs to repeat.
--- param times The repeat times.
--- return An autoreleased Repeat object. --- @function [parent=#Repeat] create --- @param self --- @param #cc.FiniteTimeAction action --- @param #unsigned int times --- @return Repeat#Repeat ret (return value: cc.Repeat) - --------------------------------- --- --- @function [parent=#Repeat] startWithTarget --- @param self --- @param #cc.Node target --- @return Repeat#Repeat self (return value: cc.Repeat) - --------------------------------- --- --- @function [parent=#Repeat] reverse --- @param self --- @return Repeat#Repeat ret (return value: cc.Repeat) - --------------------------------- --- --- @function [parent=#Repeat] clone --- @param self --- @return Repeat#Repeat ret (return value: cc.Repeat) - --------------------------------- --- --- @function [parent=#Repeat] stop --- @param self --- @return Repeat#Repeat self (return value: cc.Repeat) - --------------------------------- --- param dt In seconds. --- @function [parent=#Repeat] update --- @param self --- @param #float dt --- @return Repeat#Repeat self (return value: cc.Repeat) - --------------------------------- --- --- @function [parent=#Repeat] isDone --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Repeat] Repeat --- @param self --- @return Repeat#Repeat self (return value: cc.Repeat) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RepeatForever.lua b/cocos/scripting/lua-bindings/auto/api/RepeatForever.lua deleted file mode 100644 index 4895459891..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RepeatForever.lua +++ /dev/null @@ -1,76 +0,0 @@ - --------------------------------- --- @module RepeatForever --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- Sets the inner action.
--- param action The inner action. --- @function [parent=#RepeatForever] setInnerAction --- @param self --- @param #cc.ActionInterval action --- @return RepeatForever#RepeatForever self (return value: cc.RepeatForever) - --------------------------------- --- initializes the action --- @function [parent=#RepeatForever] initWithAction --- @param self --- @param #cc.ActionInterval action --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the inner action.
--- return The inner action. --- @function [parent=#RepeatForever] getInnerAction --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Creates the action.
--- param action The action need to repeat forever.
--- return An autoreleased RepeatForever object. --- @function [parent=#RepeatForever] create --- @param self --- @param #cc.ActionInterval action --- @return RepeatForever#RepeatForever ret (return value: cc.RepeatForever) - --------------------------------- --- --- @function [parent=#RepeatForever] startWithTarget --- @param self --- @param #cc.Node target --- @return RepeatForever#RepeatForever self (return value: cc.RepeatForever) - --------------------------------- --- --- @function [parent=#RepeatForever] clone --- @param self --- @return RepeatForever#RepeatForever ret (return value: cc.RepeatForever) - --------------------------------- --- --- @function [parent=#RepeatForever] isDone --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RepeatForever] reverse --- @param self --- @return RepeatForever#RepeatForever ret (return value: cc.RepeatForever) - --------------------------------- --- param dt In seconds. --- @function [parent=#RepeatForever] step --- @param self --- @param #float dt --- @return RepeatForever#RepeatForever self (return value: cc.RepeatForever) - --------------------------------- --- --- @function [parent=#RepeatForever] RepeatForever --- @param self --- @return RepeatForever#RepeatForever self (return value: cc.RepeatForever) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ReuseGrid.lua b/cocos/scripting/lua-bindings/auto/api/ReuseGrid.lua deleted file mode 100644 index 6d992f2eeb..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ReuseGrid.lua +++ /dev/null @@ -1,50 +0,0 @@ - --------------------------------- --- @module ReuseGrid --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- brief Initializes an action with the number of times that the current grid will be reused.
--- param times Specify times the grid will be reused.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#ReuseGrid] initWithTimes --- @param self --- @param #int times --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create an action with the number of times that the current grid will be reused.
--- param times Specify times the grid will be reused.
--- return Return a pointer of ReuseGrid. When the creation failed, return nil. --- @function [parent=#ReuseGrid] create --- @param self --- @param #int times --- @return ReuseGrid#ReuseGrid ret (return value: cc.ReuseGrid) - --------------------------------- --- --- @function [parent=#ReuseGrid] startWithTarget --- @param self --- @param #cc.Node target --- @return ReuseGrid#ReuseGrid self (return value: cc.ReuseGrid) - --------------------------------- --- --- @function [parent=#ReuseGrid] clone --- @param self --- @return ReuseGrid#ReuseGrid ret (return value: cc.ReuseGrid) - --------------------------------- --- --- @function [parent=#ReuseGrid] reverse --- @param self --- @return ReuseGrid#ReuseGrid ret (return value: cc.ReuseGrid) - --------------------------------- --- --- @function [parent=#ReuseGrid] ReuseGrid --- @param self --- @return ReuseGrid#ReuseGrid self (return value: cc.ReuseGrid) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RichElement.lua b/cocos/scripting/lua-bindings/auto/api/RichElement.lua deleted file mode 100644 index 15bf3a3708..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RichElement.lua +++ /dev/null @@ -1,42 +0,0 @@ - --------------------------------- --- @module RichElement --- @extend Ref --- @parent_module ccui - --------------------------------- --- --- @function [parent=#RichElement] equalType --- @param self --- @param #int type --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Initialize a rich element with different arguments.
--- param tag A integer tag value.
--- param color A color in @see `Color3B`.
--- param opacity A opacity value in `GLubyte`.
--- return True if initialize success, false otherwise. --- @function [parent=#RichElement] init --- @param self --- @param #int tag --- @param #color3b_table color --- @param #unsigned char opacity --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichElement] setColor --- @param self --- @param #color3b_table color --- @return RichElement#RichElement self (return value: ccui.RichElement) - --------------------------------- --- brief Default constructor.
--- js ctor
--- lua new --- @function [parent=#RichElement] RichElement --- @param self --- @return RichElement#RichElement self (return value: ccui.RichElement) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RichElementCustomNode.lua b/cocos/scripting/lua-bindings/auto/api/RichElementCustomNode.lua deleted file mode 100644 index 88b45423c5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RichElementCustomNode.lua +++ /dev/null @@ -1,45 +0,0 @@ - --------------------------------- --- @module RichElementCustomNode --- @extend RichElement --- @parent_module ccui - --------------------------------- --- brief Initialize a RichElementCustomNode with various arguments.
--- param tag A integer tag value.
--- param color A color in Color3B.
--- param opacity A opacity in GLubyte.
--- param customNode A custom node pointer.
--- return True if initialize success, false otherwise. --- @function [parent=#RichElementCustomNode] init --- @param self --- @param #int tag --- @param #color3b_table color --- @param #unsigned char opacity --- @param #cc.Node customNode --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create a RichElementCustomNode with various arguments.
--- param tag A integer tag value.
--- param color A color in Color3B.
--- param opacity A opacity in GLubyte.
--- param customNode A custom node pointer.
--- return A RichElementCustomNode instance. --- @function [parent=#RichElementCustomNode] create --- @param self --- @param #int tag --- @param #color3b_table color --- @param #unsigned char opacity --- @param #cc.Node customNode --- @return RichElementCustomNode#RichElementCustomNode ret (return value: ccui.RichElementCustomNode) - --------------------------------- --- brief Default constructor.
--- js ctor
--- lua new --- @function [parent=#RichElementCustomNode] RichElementCustomNode --- @param self --- @return RichElementCustomNode#RichElementCustomNode self (return value: ccui.RichElementCustomNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RichElementImage.lua b/cocos/scripting/lua-bindings/auto/api/RichElementImage.lua deleted file mode 100644 index 7bd4501324..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RichElementImage.lua +++ /dev/null @@ -1,74 +0,0 @@ - --------------------------------- --- @module RichElementImage --- @extend RichElement --- @parent_module ccui - --------------------------------- --- --- @function [parent=#RichElementImage] setHeight --- @param self --- @param #int height --- @return RichElementImage#RichElementImage self (return value: ccui.RichElementImage) - --------------------------------- --- brief Initialize a RichElementImage with various arguments.
--- param tag A integer tag value.
--- param color A color in Color3B.
--- param opacity A opacity in GLubyte.
--- param filePath A image file name.
--- param url uniform resource locator
--- param texType texture type, may be a valid file path, or a sprite frame name
--- return True if initialize success, false otherwise. --- @function [parent=#RichElementImage] init --- @param self --- @param #int tag --- @param #color3b_table color --- @param #unsigned char opacity --- @param #string filePath --- @param #string url --- @param #int texType --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichElementImage] setWidth --- @param self --- @param #int width --- @return RichElementImage#RichElementImage self (return value: ccui.RichElementImage) - --------------------------------- --- --- @function [parent=#RichElementImage] setUrl --- @param self --- @param #string url --- @return RichElementImage#RichElementImage self (return value: ccui.RichElementImage) - --------------------------------- --- brief Create a RichElementImage with various arguments.
--- param tag A integer tag value.
--- param color A color in Color3B.
--- param opacity A opacity in GLubyte.
--- param filePath A image file name.
--- param url uniform resource locator
--- param texType texture type, may be a valid file path, or a sprite frame name
--- return A RichElementImage instance. --- @function [parent=#RichElementImage] create --- @param self --- @param #int tag --- @param #color3b_table color --- @param #unsigned char opacity --- @param #string filePath --- @param #string url --- @param #int texType --- @return RichElementImage#RichElementImage ret (return value: ccui.RichElementImage) - --------------------------------- --- brief Default constructor.
--- js ctor
--- lua new --- @function [parent=#RichElementImage] RichElementImage --- @param self --- @return RichElementImage#RichElementImage self (return value: ccui.RichElementImage) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RichElementNewLine.lua b/cocos/scripting/lua-bindings/auto/api/RichElementNewLine.lua deleted file mode 100644 index 2d8483454f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RichElementNewLine.lua +++ /dev/null @@ -1,28 +0,0 @@ - --------------------------------- --- @module RichElementNewLine --- @extend RichElement --- @parent_module ccui - --------------------------------- --- brief Create a RichElementNewLine with various arguments.
--- param tag A integer tag value.
--- param color A color in Color3B.
--- param opacity A opacity in GLubyte.
--- return A RichElementNewLine instance. --- @function [parent=#RichElementNewLine] create --- @param self --- @param #int tag --- @param #color3b_table color --- @param #unsigned char opacity --- @return RichElementNewLine#RichElementNewLine ret (return value: ccui.RichElementNewLine) - --------------------------------- --- brief Default constructor.
--- js ctor
--- lua new --- @function [parent=#RichElementNewLine] RichElementNewLine --- @param self --- @return RichElementNewLine#RichElementNewLine self (return value: ccui.RichElementNewLine) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RichElementText.lua b/cocos/scripting/lua-bindings/auto/api/RichElementText.lua deleted file mode 100644 index 0a9954cebb..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RichElementText.lua +++ /dev/null @@ -1,85 +0,0 @@ - --------------------------------- --- @module RichElementText --- @extend RichElement --- @parent_module ccui - --------------------------------- --- brief Initialize a RichElementText with various arguments.
--- param tag A integer tag value.
--- param color A color in Color3B.
--- param opacity A opacity in GLubyte.
--- param text Content string.
--- param fontName Content font name.
--- param fontSize Content font size.
--- param flags italics, bold, underline, strikethrough, url, outline, shadow or glow
--- param url uniform resource locator
--- param outlineColor the color of the outline
--- param outlineSize the outline effect size value
--- param shadowColor the shadow effect color value
--- param shadowOffset shadow effect offset value
--- param shadowBlurRadius the shadow effect blur radius
--- param glowColor glow color
--- return True if initialize success, false otherwise. --- @function [parent=#RichElementText] init --- @param self --- @param #int tag --- @param #color3b_table color --- @param #unsigned char opacity --- @param #string text --- @param #string fontName --- @param #float fontSize --- @param #unsigned int flags --- @param #string url --- @param #color3b_table outlineColor --- @param #int outlineSize --- @param #color3b_table shadowColor --- @param #size_table shadowOffset --- @param #int shadowBlurRadius --- @param #color3b_table glowColor --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create a RichElementText with various arguments.
--- param tag A integer tag value.
--- param color A color in Color3B.
--- param opacity A opacity in GLubyte.
--- param text Content string.
--- param fontName Content font name.
--- param fontSize Content font size.
--- param flags italics, bold, underline, strikethrough, url, outline, shadow or glow
--- param url uniform resource locator
--- param outlineColor the color of the outline
--- param outlineSize the outline effect size value
--- param shadowColor the shadow effect color value
--- param shadowOffset shadow effect offset value
--- param shadowBlurRadius the shadow effect blur radius
--- param glowColor glow color
--- return RichElementText instance. --- @function [parent=#RichElementText] create --- @param self --- @param #int tag --- @param #color3b_table color --- @param #unsigned char opacity --- @param #string text --- @param #string fontName --- @param #float fontSize --- @param #unsigned int flags --- @param #string url --- @param #color3b_table outlineColor --- @param #int outlineSize --- @param #color3b_table shadowColor --- @param #size_table shadowOffset --- @param #int shadowBlurRadius --- @param #color3b_table glowColor --- @return RichElementText#RichElementText ret (return value: ccui.RichElementText) - --------------------------------- --- brief Default constructor.
--- js ctor
--- lua new --- @function [parent=#RichElementText] RichElementText --- @param self --- @return RichElementText#RichElementText self (return value: ccui.RichElementText) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RichText.lua b/cocos/scripting/lua-bindings/auto/api/RichText.lua deleted file mode 100644 index a231ff7dd2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RichText.lua +++ /dev/null @@ -1,365 +0,0 @@ - --------------------------------- --- @module RichText --- @extend Widget --- @parent_module ccui - --------------------------------- --- brief Insert a RichElement at a given index.
--- param element A RichElement type.
--- param index A given index. --- @function [parent=#RichText] insertElement --- @param self --- @param #ccui.RichElement element --- @param #int index --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- @brief enable the outline of a-tag --- @function [parent=#RichText] setAnchorTextOutline --- @param self --- @param #bool enable --- @param #color3b_table outlineColor --- @param #int outlineSize --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] getFontSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Add a RichElement at the end of RichText.
--- param element A RichElement instance. --- @function [parent=#RichText] pushBackElement --- @param self --- @param #ccui.RichElement element --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] setAnchorTextBold --- @param self --- @param #bool enable --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] getAnchorFontColor --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#RichText] getAnchorTextShadowBlurRadius --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @brief enable the shadow of a-tag --- @function [parent=#RichText] setAnchorTextShadow --- @param self --- @param #bool enable --- @param #color3b_table shadowColor --- @param #size_table offset --- @param #int blurRadius --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] isAnchorTextItalicEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] setAnchorFontColor --- @param self --- @param #string color --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] setFontFace --- @param self --- @param #string face --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] setAnchorTextGlow --- @param self --- @param #bool enable --- @param #color3b_table glowColor --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] getHorizontalAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#RichText] setHorizontalAlignment --- @param self --- @param #int a --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] setAnchorTextDel --- @param self --- @param #bool enable --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] getAnchorTextOutlineColor3B --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#RichText] stringWithColor4B --- @param self --- @param #color4b_table color4b --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#RichText] initWithXML --- @param self --- @param #string xml --- @param #map_table defaults --- @param #function handleOpenUrl --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] getAnchorFontColor3B --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- brief Rearrange all RichElement in the RichText.
--- It's usually called internally. --- @function [parent=#RichText] formatText --- @param self --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] getAnchorTextGlowColor3B --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#RichText] openUrl --- @param self --- @param #string url --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] getFontFace --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#RichText] setFontColor --- @param self --- @param #string color --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] isAnchorTextGlowEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] getDefaults --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- --- @function [parent=#RichText] isAnchorTextUnderlineEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] getFontColor --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#RichText] isAnchorTextShadowEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] getAnchorTextOutlineSize --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Set vertical space between each RichElement.
--- param space Point in float. --- @function [parent=#RichText] setVerticalSpace --- @param self --- @param #float space --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] isAnchorTextDelEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] setDefaults --- @param self --- @param #map_table defaults --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] setWrapMode --- @param self --- @param #int wrapMode --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] setFontSize --- @param self --- @param #float size --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- @overload self, ccui.RichElement --- @overload self, int --- @function [parent=#RichText] removeElement --- @param self --- @param #int index --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] setAnchorTextItalic --- @param self --- @param #bool enable --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] getAnchorTextShadowOffset --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#RichText] isAnchorTextBoldEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] getAnchorTextShadowColor3B --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#RichText] stringWithColor3B --- @param self --- @param #color3b_table color3b --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#RichText] isAnchorTextOutlineEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] getFontColor3B --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- --- @function [parent=#RichText] getWrapMode --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#RichText] setAnchorTextUnderline --- @param self --- @param #bool enable --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] color3BWithString --- @param self --- @param #string color --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- brief Create a empty RichText.
--- return RichText instance. --- @function [parent=#RichText] create --- @param self --- @return RichText#RichText ret (return value: ccui.RichText) - --------------------------------- --- brief Create a RichText from an XML
--- return RichText instance. --- @function [parent=#RichText] createWithXML --- @param self --- @param #string xml --- @param #map_table defaults --- @param #function handleOpenUrl --- @return RichText#RichText ret (return value: ccui.RichText) - --------------------------------- --- --- @function [parent=#RichText] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#RichText] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#RichText] ignoreContentAdaptWithSize --- @param self --- @param #bool ignore --- @return RichText#RichText self (return value: ccui.RichText) - --------------------------------- --- brief Default constructor.
--- js ctor
--- lua new --- @function [parent=#RichText] RichText --- @param self --- @return RichText#RichText self (return value: ccui.RichText) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Ripple3D.lua b/cocos/scripting/lua-bindings/auto/api/Ripple3D.lua deleted file mode 100644 index 0c26af1268..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Ripple3D.lua +++ /dev/null @@ -1,109 +0,0 @@ - --------------------------------- --- @module Ripple3D --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Set the amplitude rate of ripple effect.
--- param fAmplitudeRate The amplitude rate of ripple effect. --- @function [parent=#Ripple3D] setAmplitudeRate --- @param self --- @param #float fAmplitudeRate --- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) - --------------------------------- --- brief Initializes the action with center position, radius, number of waves, amplitude, a grid size and duration.
--- param duration Specify the duration of the Ripple3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param position Specify the center position of the ripple effect.
--- param radius Specify the radius of the ripple effect.
--- param waves Specify the waves count of the ripple effect.
--- param amplitude Specify the amplitude of the ripple effect.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#Ripple3D] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #vec2_table position --- @param #float radius --- @param #unsigned int waves --- @param #float amplitude --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the amplitude rate of ripple effect.
--- return The amplitude rate of ripple effect. --- @function [parent=#Ripple3D] getAmplitudeRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the amplitude of ripple effect.
--- param fAmplitude The amplitude of ripple effect. --- @function [parent=#Ripple3D] setAmplitude --- @param self --- @param #float fAmplitude --- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) - --------------------------------- --- brief Get the amplitude of ripple effect.
--- return The amplitude of ripple effect. --- @function [parent=#Ripple3D] getAmplitude --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the center position of ripple effect.
--- param position The center position of ripple effect will be set. --- @function [parent=#Ripple3D] setPosition --- @param self --- @param #vec2_table position --- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) - --------------------------------- --- brief Get the center position of ripple effect.
--- return The center position of ripple effect. --- @function [parent=#Ripple3D] getPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- brief Create the action with center position, radius, number of waves, amplitude, a grid size and duration.
--- param duration Specify the duration of the Ripple3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param position Specify the center position of the ripple effect.
--- param radius Specify the radius of the ripple effect.
--- param waves Specify the waves count of the ripple effect.
--- param amplitude Specify the amplitude of the ripple effect.
--- return If the creation success, return a pointer of Ripple3D action; otherwise, return nil. --- @function [parent=#Ripple3D] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #vec2_table position --- @param #float radius --- @param #unsigned int waves --- @param #float amplitude --- @return Ripple3D#Ripple3D ret (return value: cc.Ripple3D) - --------------------------------- --- --- @function [parent=#Ripple3D] clone --- @param self --- @return Ripple3D#Ripple3D ret (return value: cc.Ripple3D) - --------------------------------- --- --- @function [parent=#Ripple3D] update --- @param self --- @param #float time --- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) - --------------------------------- --- --- @function [parent=#Ripple3D] Ripple3D --- @param self --- @return Ripple3D#Ripple3D self (return value: cc.Ripple3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RotateBy.lua b/cocos/scripting/lua-bindings/auto/api/RotateBy.lua deleted file mode 100644 index d2c8553f27..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RotateBy.lua +++ /dev/null @@ -1,61 +0,0 @@ - --------------------------------- --- @module RotateBy --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- @overload self, float, float, float --- @overload self, float, float --- @overload self, float, vec3_table --- @function [parent=#RotateBy] initWithDuration --- @param self --- @param #float duration --- @param #float deltaAngleZ_X --- @param #float deltaAngleZ_Y --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, float, float --- @overload self, float, float --- @overload self, float, vec3_table --- @function [parent=#RotateBy] create --- @param self --- @param #float duration --- @param #float deltaAngleZ_X --- @param #float deltaAngleZ_Y --- @return RotateBy#RotateBy ret (return value: cc.RotateBy) - --------------------------------- --- --- @function [parent=#RotateBy] startWithTarget --- @param self --- @param #cc.Node target --- @return RotateBy#RotateBy self (return value: cc.RotateBy) - --------------------------------- --- --- @function [parent=#RotateBy] clone --- @param self --- @return RotateBy#RotateBy ret (return value: cc.RotateBy) - --------------------------------- --- --- @function [parent=#RotateBy] reverse --- @param self --- @return RotateBy#RotateBy ret (return value: cc.RotateBy) - --------------------------------- --- param time In seconds. --- @function [parent=#RotateBy] update --- @param self --- @param #float time --- @return RotateBy#RotateBy self (return value: cc.RotateBy) - --------------------------------- --- --- @function [parent=#RotateBy] RotateBy --- @param self --- @return RotateBy#RotateBy self (return value: cc.RotateBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RotateTo.lua b/cocos/scripting/lua-bindings/auto/api/RotateTo.lua deleted file mode 100644 index 2c15c2438d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RotateTo.lua +++ /dev/null @@ -1,60 +0,0 @@ - --------------------------------- --- @module RotateTo --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- @overload self, float, vec3_table --- @overload self, float, float, float --- @function [parent=#RotateTo] initWithDuration --- @param self --- @param #float duration --- @param #float dstAngleX --- @param #float dstAngleY --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, float --- @overload self, float, float, float --- @overload self, float, vec3_table --- @function [parent=#RotateTo] create --- @param self --- @param #float duration --- @param #float dstAngleX --- @param #float dstAngleY --- @return RotateTo#RotateTo ret (return value: cc.RotateTo) - --------------------------------- --- --- @function [parent=#RotateTo] startWithTarget --- @param self --- @param #cc.Node target --- @return RotateTo#RotateTo self (return value: cc.RotateTo) - --------------------------------- --- --- @function [parent=#RotateTo] clone --- @param self --- @return RotateTo#RotateTo ret (return value: cc.RotateTo) - --------------------------------- --- --- @function [parent=#RotateTo] reverse --- @param self --- @return RotateTo#RotateTo ret (return value: cc.RotateTo) - --------------------------------- --- param time In seconds. --- @function [parent=#RotateTo] update --- @param self --- @param #float time --- @return RotateTo#RotateTo self (return value: cc.RotateTo) - --------------------------------- --- --- @function [parent=#RotateTo] RotateTo --- @param self --- @return RotateTo#RotateTo self (return value: cc.RotateTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RotationFrame.lua b/cocos/scripting/lua-bindings/auto/api/RotationFrame.lua deleted file mode 100644 index 05038a739f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RotationFrame.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module RotationFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#RotationFrame] setRotation --- @param self --- @param #float rotation --- @return RotationFrame#RotationFrame self (return value: ccs.RotationFrame) - --------------------------------- --- --- @function [parent=#RotationFrame] getRotation --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#RotationFrame] create --- @param self --- @return RotationFrame#RotationFrame ret (return value: ccs.RotationFrame) - --------------------------------- --- --- @function [parent=#RotationFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#RotationFrame] RotationFrame --- @param self --- @return RotationFrame#RotationFrame self (return value: ccs.RotationFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RotationSkewFrame.lua b/cocos/scripting/lua-bindings/auto/api/RotationSkewFrame.lua deleted file mode 100644 index 48894f85d1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/RotationSkewFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ - --------------------------------- --- @module RotationSkewFrame --- @extend SkewFrame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#RotationSkewFrame] create --- @param self --- @return RotationSkewFrame#RotationSkewFrame ret (return value: ccs.RotationSkewFrame) - --------------------------------- --- --- @function [parent=#RotationSkewFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#RotationSkewFrame] RotationSkewFrame --- @param self --- @return RotationSkewFrame#RotationSkewFrame self (return value: ccs.RotationSkewFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua b/cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua deleted file mode 100644 index 15197a46af..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua +++ /dev/null @@ -1,331 +0,0 @@ - --------------------------------- --- @module Scale9Sprite --- @extend Sprite --- @parent_module ccui - --------------------------------- --- @overload self, cc.Sprite, rect_table, bool, vec2_table, size_table, rect_table --- @overload self, cc.Sprite, rect_table, bool, rect_table --- @function [parent=#Scale9Sprite] updateWithSprite --- @param self --- @param #cc.Sprite sprite --- @param #rect_table rect --- @param #bool rotated --- @param #vec2_table offset --- @param #size_table originalSize --- @param #rect_table capInsets --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates and returns a new sprite object with the specified cap insets.
--- You use this method to add cap insets to a sprite or to change the existing
--- cap insets of a sprite. In both cases, you get back a new image and the
--- original sprite remains untouched.
--- param capInsets The values to use for the cap insets.
--- return A Scale9Sprite instance. --- @function [parent=#Scale9Sprite] resizableSpriteWithCapInsets --- @param self --- @param #rect_table capInsets --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- Returns the Cap Insets --- @function [parent=#Scale9Sprite] getCapInsets --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Change the state of 9-slice sprite.
--- see `State`
--- param state A enum value in State.
--- since v3.4 --- @function [parent=#Scale9Sprite] setState --- @param self --- @param #int state --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- brief Change the bottom sprite's cap inset.
--- param bottomInset The values to use for the cap inset. --- @function [parent=#Scale9Sprite] setInsetBottom --- @param self --- @param #float bottomInset --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- Initializes a 9-slice sprite with an sprite frame name and with the specified
--- cap insets.
--- Once the sprite is created, you can then call its "setContentSize:" method
--- to resize the sprite will all it's 9-slice goodness interact.
--- It respects the anchorPoint too.
--- param spriteFrameName The sprite frame name.
--- param capInsets The values to use for the cap insets.
--- return True if initializes success, false otherwise. --- @function [parent=#Scale9Sprite] initWithSpriteFrameName --- @param self --- @param #string spriteFrameName --- @param #rect_table capInsets --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the original no 9-sliced sprite
--- return A sprite instance. --- @function [parent=#Scale9Sprite] getSprite --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- brief Change the top sprite's cap inset.
--- param topInset The values to use for the cap inset. --- @function [parent=#Scale9Sprite] setInsetTop --- @param self --- @param #float topInset --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- Set the slice sprite rendering type.
--- When setting to SIMPLE, only 4 vertexes is used to rendering.
--- otherwise 16 vertexes will be used to rendering.
--- see RenderingType --- @function [parent=#Scale9Sprite] setRenderingType --- @param self --- @param #int type --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- @overload self, cc.Sprite, rect_table, rect_table --- @overload self, cc.Sprite, rect_table, bool, rect_table --- @overload self, cc.Sprite, rect_table, bool, vec2_table, size_table, rect_table --- @function [parent=#Scale9Sprite] init --- @param self --- @param #cc.Sprite sprite --- @param #rect_table rect --- @param #bool rotated --- @param #vec2_table offset --- @param #size_table originalSize --- @param #rect_table capInsets --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Change the preferred size of Scale9Sprite.
--- param size A delimitation zone. --- @function [parent=#Scale9Sprite] setPreferredSize --- @param self --- @param #size_table size --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- brief copies self to copy --- @function [parent=#Scale9Sprite] copyTo --- @param self --- @param #ccui.Scale9Sprite copy --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- brief Change inner sprite's sprite frame.
--- param spriteFrame A sprite frame pointer.
--- param capInsets The values to use for the cap insets. --- @function [parent=#Scale9Sprite] setSpriteFrame --- @param self --- @param #cc.SpriteFrame spriteFrame --- @param #rect_table capInsets --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- Query the current bright state.
--- return @see `State`
--- since v3.7 --- @function [parent=#Scale9Sprite] getState --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Query the bottom sprite's cap inset.
--- return The bottom sprite's cap inset. --- @function [parent=#Scale9Sprite] getInsetBottom --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Toggle 9-slice feature.
--- If Scale9Sprite is 9-slice disabled, the Scale9Sprite will rendered as a normal sprite.
--- warning: Don't use setScale9Enabled(false), use setRenderingType(RenderingType::SIMPLE) instead.
--- The setScale9Enabled(false) is kept only for back back compatibility.
--- param enabled True to enable 9-slice, false otherwise.
--- js NA --- @function [parent=#Scale9Sprite] setScale9Enabled --- @param self --- @param #bool enabled --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- brief Query whether the Scale9Sprite is enable 9-slice or not.
--- return True if 9-slice is enabled, false otherwise.
--- js NA --- @function [parent=#Scale9Sprite] isScale9Enabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Scale9Sprite] resetRender --- @param self --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- Return the slice sprite rendering type. --- @function [parent=#Scale9Sprite] getRenderingType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Query the right sprite's cap inset.
--- return The right sprite's cap inset. --- @function [parent=#Scale9Sprite] getInsetRight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Query the sprite's original size.
--- return Sprite size. --- @function [parent=#Scale9Sprite] getOriginalSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- @overload self, rect_table, string --- @overload self, string, rect_table, rect_table --- @function [parent=#Scale9Sprite] initWithFile --- @param self --- @param #string file --- @param #rect_table rect --- @param #rect_table capInsets --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Query the top sprite's cap inset.
--- return The top sprite's cap inset. --- @function [parent=#Scale9Sprite] getInsetTop --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Change the left sprite's cap inset.
--- param leftInset The values to use for the cap inset. --- @function [parent=#Scale9Sprite] setInsetLeft --- @param self --- @param #float leftInset --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- Initializes a 9-slice sprite with an sprite frame and with the specified
--- cap insets.
--- Once the sprite is created, you can then call its "setContentSize:" method
--- to resize the sprite will all it's 9-slice goodness interact.
--- It respects the anchorPoint too.
--- param spriteFrame The sprite frame object.
--- param capInsets The values to use for the cap insets.
--- return True if initializes success, false otherwise. --- @function [parent=#Scale9Sprite] initWithSpriteFrame --- @param self --- @param #cc.SpriteFrame spriteFrame --- @param #rect_table capInsets --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Query the Scale9Sprite's preferred size.
--- return Scale9Sprite's preferred size. --- @function [parent=#Scale9Sprite] getPreferredSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Set the Cap Insets in Points using the untrimmed size as reference --- @function [parent=#Scale9Sprite] setCapInsets --- @param self --- @param #rect_table insets --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- brief Query the left sprite's cap inset.
--- return The left sprite's cap inset. --- @function [parent=#Scale9Sprite] getInsetLeft --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Change the right sprite's cap inset.
--- param rightInset The values to use for the cap inset. --- @function [parent=#Scale9Sprite] setInsetRight --- @param self --- @param #float rightInset --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - --------------------------------- --- @overload self, string, rect_table, rect_table --- @overload self --- @overload self, rect_table, string --- @overload self, string, rect_table --- @overload self, string --- @function [parent=#Scale9Sprite] create --- @param self --- @param #string file --- @param #rect_table rect --- @param #rect_table capInsets --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- @overload self, string, rect_table --- @overload self, string --- @function [parent=#Scale9Sprite] createWithSpriteFrameName --- @param self --- @param #string spriteFrameName --- @param #rect_table capInsets --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- @overload self, cc.SpriteFrame, rect_table --- @overload self, cc.SpriteFrame --- @function [parent=#Scale9Sprite] createWithSpriteFrame --- @param self --- @param #cc.SpriteFrame spriteFrame --- @param #rect_table capInsets --- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) - --------------------------------- --- Initializes a 9-slice sprite with an sprite frame name.
--- Once the sprite is created, you can then call its "setContentSize:" method
--- to resize the sprite will all it's 9-slice goodness interact.
--- It respects the anchorPoint too.
--- param spriteFrameName The sprite frame name.
--- return True if initializes success, false otherwise. --- @function [parent=#Scale9Sprite] initWithSpriteFrameName --- @param self --- @param #string spriteFrameName --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, string --- @overload self, string, rect_table --- @function [parent=#Scale9Sprite] initWithFile --- @param self --- @param #string file --- @param #rect_table rect --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Scale9Sprite] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Default constructor.
--- js ctor
--- lua new --- @function [parent=#Scale9Sprite] Scale9Sprite --- @param self --- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ScaleBy.lua b/cocos/scripting/lua-bindings/auto/api/ScaleBy.lua deleted file mode 100644 index 32f4ef0216..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ScaleBy.lua +++ /dev/null @@ -1,44 +0,0 @@ - --------------------------------- --- @module ScaleBy --- @extend ScaleTo --- @parent_module cc - --------------------------------- --- @overload self, float, float, float --- @overload self, float, float --- @overload self, float, float, float, float --- @function [parent=#ScaleBy] create --- @param self --- @param #float duration --- @param #float sx --- @param #float sy --- @param #float sz --- @return ScaleBy#ScaleBy ret (return value: cc.ScaleBy) - --------------------------------- --- --- @function [parent=#ScaleBy] startWithTarget --- @param self --- @param #cc.Node target --- @return ScaleBy#ScaleBy self (return value: cc.ScaleBy) - --------------------------------- --- --- @function [parent=#ScaleBy] clone --- @param self --- @return ScaleBy#ScaleBy ret (return value: cc.ScaleBy) - --------------------------------- --- --- @function [parent=#ScaleBy] reverse --- @param self --- @return ScaleBy#ScaleBy ret (return value: cc.ScaleBy) - --------------------------------- --- --- @function [parent=#ScaleBy] ScaleBy --- @param self --- @return ScaleBy#ScaleBy self (return value: cc.ScaleBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ScaleFrame.lua b/cocos/scripting/lua-bindings/auto/api/ScaleFrame.lua deleted file mode 100644 index ecfaee581f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ScaleFrame.lua +++ /dev/null @@ -1,58 +0,0 @@ - --------------------------------- --- @module ScaleFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ScaleFrame] setScaleY --- @param self --- @param #float scaleY --- @return ScaleFrame#ScaleFrame self (return value: ccs.ScaleFrame) - --------------------------------- --- --- @function [parent=#ScaleFrame] setScaleX --- @param self --- @param #float scaleX --- @return ScaleFrame#ScaleFrame self (return value: ccs.ScaleFrame) - --------------------------------- --- --- @function [parent=#ScaleFrame] getScaleY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ScaleFrame] getScaleX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#ScaleFrame] setScale --- @param self --- @param #float scale --- @return ScaleFrame#ScaleFrame self (return value: ccs.ScaleFrame) - --------------------------------- --- --- @function [parent=#ScaleFrame] create --- @param self --- @return ScaleFrame#ScaleFrame ret (return value: ccs.ScaleFrame) - --------------------------------- --- --- @function [parent=#ScaleFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#ScaleFrame] ScaleFrame --- @param self --- @return ScaleFrame#ScaleFrame self (return value: ccs.ScaleFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ScaleTo.lua b/cocos/scripting/lua-bindings/auto/api/ScaleTo.lua deleted file mode 100644 index 7c83ec5ad8..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ScaleTo.lua +++ /dev/null @@ -1,63 +0,0 @@ - --------------------------------- --- @module ScaleTo --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- @overload self, float, float, float --- @overload self, float, float --- @overload self, float, float, float, float --- @function [parent=#ScaleTo] initWithDuration --- @param self --- @param #float duration --- @param #float sx --- @param #float sy --- @param #float sz --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, float, float --- @overload self, float, float --- @overload self, float, float, float, float --- @function [parent=#ScaleTo] create --- @param self --- @param #float duration --- @param #float sx --- @param #float sy --- @param #float sz --- @return ScaleTo#ScaleTo ret (return value: cc.ScaleTo) - --------------------------------- --- --- @function [parent=#ScaleTo] startWithTarget --- @param self --- @param #cc.Node target --- @return ScaleTo#ScaleTo self (return value: cc.ScaleTo) - --------------------------------- --- --- @function [parent=#ScaleTo] clone --- @param self --- @return ScaleTo#ScaleTo ret (return value: cc.ScaleTo) - --------------------------------- --- --- @function [parent=#ScaleTo] reverse --- @param self --- @return ScaleTo#ScaleTo ret (return value: cc.ScaleTo) - --------------------------------- --- param time In seconds. --- @function [parent=#ScaleTo] update --- @param self --- @param #float time --- @return ScaleTo#ScaleTo self (return value: cc.ScaleTo) - --------------------------------- --- --- @function [parent=#ScaleTo] ScaleTo --- @param self --- @return ScaleTo#ScaleTo self (return value: cc.ScaleTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Scene.lua b/cocos/scripting/lua-bindings/auto/api/Scene.lua deleted file mode 100644 index 731795d2cd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Scene.lua +++ /dev/null @@ -1,116 +0,0 @@ - --------------------------------- --- @module Scene --- @extend Node --- @parent_module cc - --------------------------------- --- --- @function [parent=#Scene] initWithPhysics --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Scene] setCameraOrderDirty --- @param self --- @return Scene#Scene self (return value: cc.Scene) - --------------------------------- --- @overload self, cc.Renderer, mat4_table, mat4_table, unsigned int --- @overload self, cc.Renderer, mat4_table, mat4_table --- @function [parent=#Scene] render --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table eyeTransforms --- @param #mat4_table eyeProjections --- @param #unsigned int multiViewCount --- @return Scene#Scene self (return value: cc.Scene) - --------------------------------- --- --- @function [parent=#Scene] stepPhysicsAndNavigation --- @param self --- @param #float deltaTime --- @return Scene#Scene self (return value: cc.Scene) - --------------------------------- --- --- @function [parent=#Scene] onProjectionChanged --- @param self --- @param #cc.EventCustom event --- @return Scene#Scene self (return value: cc.Scene) - --------------------------------- --- Get the physics world of the scene.
--- return The physics world of the scene.
--- js NA --- @function [parent=#Scene] getPhysicsWorld --- @param self --- @return PhysicsWorld#PhysicsWorld ret (return value: cc.PhysicsWorld) - --------------------------------- --- --- @function [parent=#Scene] initWithSize --- @param self --- @param #size_table size --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the default camera.
--- js NA
--- return The default camera of scene. --- @function [parent=#Scene] getDefaultCamera --- @param self --- @return Camera#Camera ret (return value: cc.Camera) - --------------------------------- --- Creates a new Scene object with a predefined Size.
--- param size The predefined size of scene.
--- return An autoreleased Scene object.
--- js NA --- @function [parent=#Scene] createWithSize --- @param self --- @param #size_table size --- @return Scene#Scene ret (return value: cc.Scene) - --------------------------------- --- Creates a new Scene object.
--- return An autoreleased Scene object. --- @function [parent=#Scene] create --- @param self --- @return Scene#Scene ret (return value: cc.Scene) - --------------------------------- --- Create a scene with physics.
--- return An autoreleased Scene object with physics.
--- js NA --- @function [parent=#Scene] createWithPhysics --- @param self --- @return Scene#Scene ret (return value: cc.Scene) - --------------------------------- --- --- @function [parent=#Scene] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Scene] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- override function --- @function [parent=#Scene] removeAllChildren --- @param self --- @return Scene#Scene self (return value: cc.Scene) - --------------------------------- --- --- @function [parent=#Scene] Scene --- @param self --- @return Scene#Scene self (return value: cc.Scene) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SceneReader.lua b/cocos/scripting/lua-bindings/auto/api/SceneReader.lua deleted file mode 100644 index e69cb39df3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SceneReader.lua +++ /dev/null @@ -1,53 +0,0 @@ - --------------------------------- --- @module SceneReader --- @parent_module ccs - --------------------------------- --- --- @function [parent=#SceneReader] setTarget --- @param self --- @param #function selector --- @return SceneReader#SceneReader self (return value: ccs.SceneReader) - --------------------------------- --- --- @function [parent=#SceneReader] createNodeWithSceneFile --- @param self --- @param #string fileName --- @param #int attachComponent --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#SceneReader] getAttachComponentType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#SceneReader] getNodeByTag --- @param self --- @param #int nTag --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- js purge
--- lua destroySceneReader --- @function [parent=#SceneReader] destroyInstance --- @param self --- @return SceneReader#SceneReader self (return value: ccs.SceneReader) - --------------------------------- --- --- @function [parent=#SceneReader] sceneReaderVersion --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- --- @function [parent=#SceneReader] getInstance --- @param self --- @return SceneReader#SceneReader ret (return value: ccs.SceneReader) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Scheduler.lua b/cocos/scripting/lua-bindings/auto/api/Scheduler.lua deleted file mode 100644 index 748748f81f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Scheduler.lua +++ /dev/null @@ -1,43 +0,0 @@ - --------------------------------- --- @module Scheduler --- @extend Ref --- @parent_module cc - --------------------------------- --- Modifies the time of all scheduled callbacks.
--- You can use this property to create a 'slow motion' or 'fast forward' effect.
--- Default is 1.0. To create a 'slow motion' effect, use values below 1.0.
--- To create a 'fast forward' effect, use values higher than 1.0.
--- since v0.8
--- warning It will affect EVERY scheduled selector / action. --- @function [parent=#Scheduler] setTimeScale --- @param self --- @param #float timeScale --- @return Scheduler#Scheduler self (return value: cc.Scheduler) - --------------------------------- --- Remove all pending functions queued to be performed with Scheduler::performFunctionInCocosThread
--- Functions unscheduled in this manner will not be executed
--- This function is thread safe
--- since v3.14
--- js NA --- @function [parent=#Scheduler] removeAllFunctionsToBePerformedInCocosThread --- @param self --- @return Scheduler#Scheduler self (return value: cc.Scheduler) - --------------------------------- --- Gets the time scale of schedule callbacks.
--- see Scheduler::setTimeScale() --- @function [parent=#Scheduler] getTimeScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Constructor
--- js ctor --- @function [parent=#Scheduler] Scheduler --- @param self --- @return Scheduler#Scheduler self (return value: cc.Scheduler) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ScrollView.lua b/cocos/scripting/lua-bindings/auto/api/ScrollView.lua deleted file mode 100644 index 411c439b26..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ScrollView.lua +++ /dev/null @@ -1,610 +0,0 @@ - --------------------------------- --- @module ScrollView --- @extend Layout --- @parent_module ccui - --------------------------------- --- Scroll inner container to top boundary of scrollview.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToTop --- @param self --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Scroll inner container to horizontal percent position of scrollview.
--- param percent A value between 0 and 100.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToPercentHorizontal --- @param self --- @param #float percent --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Set the scroll bar's opacity
--- param the scroll bar's opacity --- @function [parent=#ScrollView] setScrollBarOpacity --- @param self --- @param #unsigned char opacity --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Toggle scroll bar enabled.
--- param enabled True if enable scroll bar, false otherwise. --- @function [parent=#ScrollView] setScrollBarEnabled --- @param self --- @param #bool enabled --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Query inertia scroll state.
--- return True if inertia is enabled, false otherwise. --- @function [parent=#ScrollView] isInertiaScrollEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Scroll inner container to bottom boundary of scrollview.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToBottom --- @param self --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- return How far the scroll view is scrolled in both axes, combined as a Vec2 --- @function [parent=#ScrollView] getScrolledPercentBothDirection --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Query scroll direction of scrollview.
--- see `Direction` Direction::VERTICAL means vertical scroll, Direction::HORIZONTAL means horizontal scroll
--- return Scrollview scroll direction. --- @function [parent=#ScrollView] getDirection --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Set the scroll bar's color
--- param the scroll bar's color --- @function [parent=#ScrollView] setScrollBarColor --- @param self --- @param #color3b_table color --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Scroll inner container to bottom and left boundary of scrollview.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToBottomLeft --- @param self --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Get inner container of scrollview.
--- Inner container is a child of scrollview.
--- return Inner container pointer. --- @function [parent=#ScrollView] getInnerContainer --- @param self --- @return Layout#Layout ret (return value: ccui.Layout) - --------------------------------- --- Move inner container to bottom boundary of scrollview. --- @function [parent=#ScrollView] jumpToBottom --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Set inner container position
--- param pos Inner container position. --- @function [parent=#ScrollView] setInnerContainerPosition --- @param self --- @param #vec2_table pos --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Changes scroll direction of scrollview.
--- see `Direction`
--- param dir Scroll direction enum. --- @function [parent=#ScrollView] setDirection --- @param self --- @param #int dir --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Scroll inner container to top and left boundary of scrollview.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToTopLeft --- @param self --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Move inner container to top and right boundary of scrollview. --- @function [parent=#ScrollView] jumpToTopRight --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Scroll inner container to both direction percent position of scrollview.
--- param percent A value between 0 and 100.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToPercentBothDirection --- @param self --- @param #vec2_table percent --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Change inner container size of scrollview.
--- Inner container size must be larger than or equal scrollview's size.
--- param size Inner container size. --- @function [parent=#ScrollView] setInnerContainerSize --- @param self --- @param #size_table size --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Get inner container position
--- return The inner container position. --- @function [parent=#ScrollView] getInnerContainerPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Move inner container to top boundary of scrollview. --- @function [parent=#ScrollView] jumpToTop --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- return How far the scroll view is scrolled in the vertical axis --- @function [parent=#ScrollView] getScrolledPercentVertical --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Query bounce state.
--- return True if bounce is enabled, false otherwise. --- @function [parent=#ScrollView] isBounceEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Move inner container to vertical percent position of scrollview.
--- param percent A value between 0 and 100. --- @function [parent=#ScrollView] jumpToPercentVertical --- @param self --- @param #float percent --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Add callback function which will be called when scrollview event triggered.
--- param callback A callback function with type of `ccScrollViewCallback`. --- @function [parent=#ScrollView] addEventListener --- @param self --- @param #function callback --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Set scroll bar auto hide time
--- param scroll bar auto hide time --- @function [parent=#ScrollView] setScrollBarAutoHideTime --- @param self --- @param #float autoHideTime --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Immediately stops inner container scroll (auto scrolling is not affected). --- @function [parent=#ScrollView] stopScroll --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Set the horizontal scroll bar position from left-bottom corner.
--- param positionFromCorner The position from left-bottom corner --- @function [parent=#ScrollView] setScrollBarPositionFromCornerForHorizontal --- @param self --- @param #vec2_table positionFromCorner --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Toggle whether enable scroll inertia while scrolling.
--- param enabled True if enable inertia, false otherwise. --- @function [parent=#ScrollView] setInertiaScrollEnabled --- @param self --- @param #bool enabled --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Set scroll bar auto hide state
--- param scroll bar auto hide state --- @function [parent=#ScrollView] setScrollBarAutoHideEnabled --- @param self --- @param #bool autoHideEnabled --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Get the scroll bar's color
--- return the scroll bar's color --- @function [parent=#ScrollView] getScrollBarColor --- @param self --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- Move inner container to top and left boundary of scrollview. --- @function [parent=#ScrollView] jumpToTopLeft --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Query scroll bar state.
--- return True if scroll bar is enabled, false otherwise. --- @function [parent=#ScrollView] isScrollBarEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- return Whether the ScrollView is currently scrolling because of a bounceback or inertia slowdown. --- @function [parent=#ScrollView] isAutoScrolling --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Move inner container to bottom and right boundary of scrollview. --- @function [parent=#ScrollView] jumpToBottomRight --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Set the touch total time threshold
--- param the touch total time threshold --- @function [parent=#ScrollView] setTouchTotalTimeThreshold --- @param self --- @param #float touchTotalTimeThreshold --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Get the touch total time threshold
--- return the touch total time threshold --- @function [parent=#ScrollView] getTouchTotalTimeThreshold --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Get the horizontal scroll bar's position from right-top corner.
--- return positionFromCorner --- @function [parent=#ScrollView] getScrollBarPositionFromCornerForHorizontal --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- return How far the scroll view is scrolled in the horizontal axis --- @function [parent=#ScrollView] getScrolledPercentHorizontal --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Toggle bounce enabled when scroll to the edge.
--- param enabled True if enable bounce, false otherwise. --- @function [parent=#ScrollView] setBounceEnabled --- @param self --- @param #bool enabled --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Immediately stops inner container scroll initiated by any of the "scrollTo*" member functions --- @function [parent=#ScrollView] stopAutoScroll --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Scroll inner container to top and right boundary of scrollview.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToTopRight --- @param self --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- return Whether the user is currently dragging the ScrollView to scroll it --- @function [parent=#ScrollView] isScrolling --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Scroll inner container to left boundary of scrollview.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToLeft --- @param self --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Move inner container to both direction percent position of scrollview.
--- param percent A value between 0 and 100. --- @function [parent=#ScrollView] jumpToPercentBothDirection --- @param self --- @param #vec2_table percent --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Immediately stops inner container scroll if any. --- @function [parent=#ScrollView] stopOverallScroll --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Scroll inner container to vertical percent position of scrollview.
--- param percent A value between 0 and 100.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToPercentVertical --- @param self --- @param #float percent --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Set the scroll bar's width
--- param width The scroll bar's width --- @function [parent=#ScrollView] setScrollBarWidth --- @param self --- @param #float width --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Get the scroll bar's opacity
--- return the scroll bar's opacity --- @function [parent=#ScrollView] getScrollBarOpacity --- @param self --- @return unsigned char#unsigned char ret (return value: unsigned char) - --------------------------------- --- Scroll inner container to bottom and right boundary of scrollview.
--- param timeInSec Time in seconds
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToBottomRight --- @param self --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Set the scroll bar positions from the left-bottom corner (horizontal) and right-top corner (vertical).
--- param positionFromCorner The position from the left-bottom corner (horizontal) and right-top corner (vertical). --- @function [parent=#ScrollView] setScrollBarPositionFromCorner --- @param self --- @param #vec2_table positionFromCorner --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Set the vertical scroll bar position from right-top corner.
--- param positionFromCorner The position from right-top corner --- @function [parent=#ScrollView] setScrollBarPositionFromCornerForVertical --- @param self --- @param #vec2_table positionFromCorner --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Get the scroll bar's auto hide time
--- return the scroll bar's auto hide time --- @function [parent=#ScrollView] getScrollBarAutoHideTime --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Move inner container to left boundary of scrollview. --- @function [parent=#ScrollView] jumpToLeft --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Scroll inner container to right boundary of scrollview.
--- param timeInSec Time in seconds.
--- param attenuated Whether scroll speed attenuate or not. --- @function [parent=#ScrollView] scrollToRight --- @param self --- @param #float timeInSec --- @param #bool attenuated --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- brief Get the vertical scroll bar's position from right-top corner.
--- return positionFromCorner --- @function [parent=#ScrollView] getScrollBarPositionFromCornerForVertical --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- brief Get the scroll bar's width
--- return the scroll bar's width --- @function [parent=#ScrollView] getScrollBarWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Query scroll bar auto hide state
--- return True if scroll bar auto hide is enabled, false otherwise. --- @function [parent=#ScrollView] isScrollBarAutoHideEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Move inner container to bottom and left boundary of scrollview. --- @function [parent=#ScrollView] jumpToBottomLeft --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Move inner container to right boundary of scrollview. --- @function [parent=#ScrollView] jumpToRight --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Get inner container size of scrollview.
--- Inner container size must be larger than or equal scrollview's size.
--- return The inner container size. --- @function [parent=#ScrollView] getInnerContainerSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Move inner container to horizontal percent position of scrollview.
--- param percent A value between 0 and 100. --- @function [parent=#ScrollView] jumpToPercentHorizontal --- @param self --- @param #float percent --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Create an empty ScrollView.
--- return A ScrollView instance. --- @function [parent=#ScrollView] create --- @param self --- @return ScrollView#ScrollView ret (return value: ccui.ScrollView) - --------------------------------- --- --- @function [parent=#ScrollView] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- @overload self, cc.Node, int --- @overload self, cc.Node --- @overload self, cc.Node, int, int --- @overload self, cc.Node, int, string --- @function [parent=#ScrollView] addChild --- @param self --- @param #cc.Node child --- @param #int localZOrder --- @param #string name --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- --- @function [parent=#ScrollView] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ScrollView] getChildByName --- @param self --- @param #string name --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Return the "class name" of widget. --- @function [parent=#ScrollView] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#ScrollView] update --- @param self --- @param #float dt --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Get the layout type for scrollview.
--- see `Layout::Type`
--- return LayoutType --- @function [parent=#ScrollView] getLayoutType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#ScrollView] removeAllChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- --- @function [parent=#ScrollView] removeAllChildren --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- When a widget is in a layout, you could call this method to get the next focused widget within a specified direction.
--- If the widget is not in a layout, it will return itself
--- param direction the direction to look for the next focused widget in a layout
--- param current the current focused widget
--- return the next focused widget in a layout --- @function [parent=#ScrollView] findNextFocusedWidget --- @param self --- @param #int direction --- @param #ccui.Widget current --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#ScrollView] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#ScrollView] getChildren --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#ScrollView] getChildByTag --- @param self --- @param #int tag --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#ScrollView] getChildrenCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set layout type for scrollview.
--- see `Layout::Type`
--- param type Layout type enum. --- @function [parent=#ScrollView] setLayoutType --- @param self --- @param #int type --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#ScrollView] ScrollView --- @param self --- @return ScrollView#ScrollView self (return value: ccui.ScrollView) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Sequence.lua b/cocos/scripting/lua-bindings/auto/api/Sequence.lua deleted file mode 100644 index 7adc4c3759..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Sequence.lua +++ /dev/null @@ -1,66 +0,0 @@ - --------------------------------- --- @module Sequence --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- --- @function [parent=#Sequence] init --- @param self --- @param #array_table arrayOfActions --- @return bool#bool ret (return value: bool) - --------------------------------- --- initializes the action --- @function [parent=#Sequence] initWithTwoActions --- @param self --- @param #cc.FiniteTimeAction pActionOne --- @param #cc.FiniteTimeAction pActionTwo --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Sequence] startWithTarget --- @param self --- @param #cc.Node target --- @return Sequence#Sequence self (return value: cc.Sequence) - --------------------------------- --- --- @function [parent=#Sequence] reverse --- @param self --- @return Sequence#Sequence ret (return value: cc.Sequence) - --------------------------------- --- --- @function [parent=#Sequence] clone --- @param self --- @return Sequence#Sequence ret (return value: cc.Sequence) - --------------------------------- --- --- @function [parent=#Sequence] stop --- @param self --- @return Sequence#Sequence self (return value: cc.Sequence) - --------------------------------- --- param t In seconds. --- @function [parent=#Sequence] update --- @param self --- @param #float t --- @return Sequence#Sequence self (return value: cc.Sequence) - --------------------------------- --- --- @function [parent=#Sequence] isDone --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Sequence] Sequence --- @param self --- @return Sequence#Sequence self (return value: cc.Sequence) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Shaky3D.lua b/cocos/scripting/lua-bindings/auto/api/Shaky3D.lua deleted file mode 100644 index 2db669cdd5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Shaky3D.lua +++ /dev/null @@ -1,56 +0,0 @@ - --------------------------------- --- @module Shaky3D --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Initializes the action with a range, shake Z vertices, grid size and duration.
--- param duration Specify the duration of the Shaky3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param range Specify the range of the shaky effect.
--- param shakeZ Specify whether shake on the z axis.
--- return If the Initialization success, return true; otherwise, return false. --- @function [parent=#Shaky3D] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #int range --- @param #bool shakeZ --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create the action with a range, shake Z vertices, a grid and duration.
--- param initWithDuration Specify the duration of the Shaky3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param range Specify the range of the shaky effect.
--- param shakeZ Specify whether shake on the z axis.
--- return If the creation success, return a pointer of Shaky3D action; otherwise, return nil. --- @function [parent=#Shaky3D] create --- @param self --- @param #float initWithDuration --- @param #size_table gridSize --- @param #int range --- @param #bool shakeZ --- @return Shaky3D#Shaky3D ret (return value: cc.Shaky3D) - --------------------------------- --- --- @function [parent=#Shaky3D] clone --- @param self --- @return Shaky3D#Shaky3D ret (return value: cc.Shaky3D) - --------------------------------- --- --- @function [parent=#Shaky3D] update --- @param self --- @param #float time --- @return Shaky3D#Shaky3D self (return value: cc.Shaky3D) - --------------------------------- --- --- @function [parent=#Shaky3D] Shaky3D --- @param self --- @return Shaky3D#Shaky3D self (return value: cc.Shaky3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ShakyTiles3D.lua b/cocos/scripting/lua-bindings/auto/api/ShakyTiles3D.lua deleted file mode 100644 index 42c1ca34a2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ShakyTiles3D.lua +++ /dev/null @@ -1,56 +0,0 @@ - --------------------------------- --- @module ShakyTiles3D --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Initializes the action with a range, shake Z vertices, grid size and duration.
--- param duration Specify the duration of the ShakyTiles3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param range Specify the range of the shaky effect.
--- param shakeZ Specify whether shake on the z axis.
--- return If the Initialization success, return true; otherwise, return false. --- @function [parent=#ShakyTiles3D] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #int range --- @param #bool shakeZ --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create the action with a range, shake Z vertices, a grid and duration.
--- param duration Specify the duration of the ShakyTiles3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param range Specify the range of the shaky effect.
--- param shakeZ Specify whether shake on the z axis.
--- return If the creation success, return a pointer of ShakyTiles3D action; otherwise, return nil. --- @function [parent=#ShakyTiles3D] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #int range --- @param #bool shakeZ --- @return ShakyTiles3D#ShakyTiles3D ret (return value: cc.ShakyTiles3D) - --------------------------------- --- --- @function [parent=#ShakyTiles3D] clone --- @param self --- @return ShakyTiles3D#ShakyTiles3D ret (return value: cc.ShakyTiles3D) - --------------------------------- --- --- @function [parent=#ShakyTiles3D] update --- @param self --- @param #float time --- @return ShakyTiles3D#ShakyTiles3D self (return value: cc.ShakyTiles3D) - --------------------------------- --- --- @function [parent=#ShakyTiles3D] ShakyTiles3D --- @param self --- @return ShakyTiles3D#ShakyTiles3D self (return value: cc.ShakyTiles3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ShatteredTiles3D.lua b/cocos/scripting/lua-bindings/auto/api/ShatteredTiles3D.lua deleted file mode 100644 index 7f4c7aadd6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ShatteredTiles3D.lua +++ /dev/null @@ -1,56 +0,0 @@ - --------------------------------- --- @module ShatteredTiles3D --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Initializes the action with a range, shatter Z vertices, grid size and duration.
--- param duration Specify the duration of the ShatteredTiles3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param range Specify the range of the shatter effect.
--- param shatterZ Specify whether shake on the z axis.
--- return If the Initialization success, return true; otherwise, return false. --- @function [parent=#ShatteredTiles3D] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #int range --- @param #bool shatterZ --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create the action with a range, whether of not to shatter Z vertices, grid size and duration.
--- param duration Specify the duration of the ShatteredTiles3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param range Specify the range of the shatter effect.
--- param shatterZ Specify whether shatter on the z axis.
--- return If the creation success, return a pointer of ShatteredTiles3D action; otherwise, return nil. --- @function [parent=#ShatteredTiles3D] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #int range --- @param #bool shatterZ --- @return ShatteredTiles3D#ShatteredTiles3D ret (return value: cc.ShatteredTiles3D) - --------------------------------- --- --- @function [parent=#ShatteredTiles3D] clone --- @param self --- @return ShatteredTiles3D#ShatteredTiles3D ret (return value: cc.ShatteredTiles3D) - --------------------------------- --- --- @function [parent=#ShatteredTiles3D] update --- @param self --- @param #float time --- @return ShatteredTiles3D#ShatteredTiles3D self (return value: cc.ShatteredTiles3D) - --------------------------------- --- --- @function [parent=#ShatteredTiles3D] ShatteredTiles3D --- @param self --- @return ShatteredTiles3D#ShatteredTiles3D self (return value: cc.ShatteredTiles3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Show.lua b/cocos/scripting/lua-bindings/auto/api/Show.lua deleted file mode 100644 index bb382ddd5e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Show.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module Show --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- Allocates and initializes the action.
--- return An autoreleased Show object. --- @function [parent=#Show] create --- @param self --- @return Show#Show ret (return value: cc.Show) - --------------------------------- --- --- @function [parent=#Show] clone --- @param self --- @return Show#Show ret (return value: cc.Show) - --------------------------------- --- param time In seconds. --- @function [parent=#Show] update --- @param self --- @param #float time --- @return Show#Show self (return value: cc.Show) - --------------------------------- --- --- @function [parent=#Show] reverse --- @param self --- @return ActionInstant#ActionInstant ret (return value: cc.ActionInstant) - --------------------------------- --- --- @function [parent=#Show] Show --- @param self --- @return Show#Show self (return value: cc.Show) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ShuffleTiles.lua b/cocos/scripting/lua-bindings/auto/api/ShuffleTiles.lua deleted file mode 100644 index 25748a2cb1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ShuffleTiles.lua +++ /dev/null @@ -1,66 +0,0 @@ - --------------------------------- --- @module ShuffleTiles --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Initializes the action with grid size, random seed and duration.
--- param duration Specify the duration of the ShuffleTiles action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param seed Specify the random seed.
--- return If the Initialization success, return true; otherwise, return false. --- @function [parent=#ShuffleTiles] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int seed --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#ShuffleTiles] getDelta --- @param self --- @param #size_table pos --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- brief Create the action with grid size, random seed and duration.
--- param duration Specify the duration of the ShuffleTiles action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param seed Specify the random seed.
--- return If the creation success, return a pointer of ShuffleTiles action; otherwise, return nil. --- @function [parent=#ShuffleTiles] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int seed --- @return ShuffleTiles#ShuffleTiles ret (return value: cc.ShuffleTiles) - --------------------------------- --- --- @function [parent=#ShuffleTiles] startWithTarget --- @param self --- @param #cc.Node target --- @return ShuffleTiles#ShuffleTiles self (return value: cc.ShuffleTiles) - --------------------------------- --- --- @function [parent=#ShuffleTiles] clone --- @param self --- @return ShuffleTiles#ShuffleTiles ret (return value: cc.ShuffleTiles) - --------------------------------- --- --- @function [parent=#ShuffleTiles] update --- @param self --- @param #float time --- @return ShuffleTiles#ShuffleTiles self (return value: cc.ShuffleTiles) - --------------------------------- --- --- @function [parent=#ShuffleTiles] ShuffleTiles --- @param self --- @return ShuffleTiles#ShuffleTiles self (return value: cc.ShuffleTiles) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SimpleAudioEngine.lua b/cocos/scripting/lua-bindings/auto/api/SimpleAudioEngine.lua deleted file mode 100644 index 7c7876b54d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SimpleAudioEngine.lua +++ /dev/null @@ -1,206 +0,0 @@ - --------------------------------- --- @module SimpleAudioEngine --- @parent_module cc - --------------------------------- --- Preload background music.
--- param filePath The path of the background music file.
--- js NA
--- lua preloadMusic --- @function [parent=#SimpleAudioEngine] preloadBackgroundMusic --- @param self --- @param #char filePath --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Stop playing background music.
--- param releaseData If release the background music data or not.As default value is false.
--- js stopMusic
--- lua stopMusic --- @function [parent=#SimpleAudioEngine] stopBackgroundMusic --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Stop all playing sound effects. --- @function [parent=#SimpleAudioEngine] stopAllEffects --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- The volume of the background music within the range of 0.0 as the minimum and 1.0 as the maximum.
--- js getMusicVolume
--- lua getMusicVolume --- @function [parent=#SimpleAudioEngine] getBackgroundMusicVolume --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Resume playing background music.
--- js resumeMusic
--- lua resumeMusic --- @function [parent=#SimpleAudioEngine] resumeBackgroundMusic --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Set the volume of background music.
--- param volume must be within the range of 0.0 as the minimum and 1.0 as the maximum.
--- js setMusicVolume
--- lua setMusicVolume --- @function [parent=#SimpleAudioEngine] setBackgroundMusicVolume --- @param self --- @param #float volume --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Preload a compressed audio file.
--- The compressed audio will be decoded to wave, then written into an internal buffer in SimpleAudioEngine.
--- param filePath The path of the effect file.
--- js NA --- @function [parent=#SimpleAudioEngine] preloadEffect --- @param self --- @param #char filePath --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Indicates whether the background music is playing.
--- return true if the background music is playing, otherwise false.
--- js isMusicPlaying
--- lua isMusicPlaying --- @function [parent=#SimpleAudioEngine] isBackgroundMusicPlaying --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- The volume of the effects within the range of 0.0 as the minimum and 1.0 as the maximum. --- @function [parent=#SimpleAudioEngine] getEffectsVolume --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Indicates whether any background music can be played or not.
--- return true if background music can be played, otherwise false.
--- js willPlayMusic
--- lua willPlayMusic --- @function [parent=#SimpleAudioEngine] willPlayBackgroundMusic --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Pause playing sound effect.
--- param soundId The return value of function playEffect. --- @function [parent=#SimpleAudioEngine] pauseEffect --- @param self --- @param #unsigned int soundId --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Play sound effect with a file path, pitch, pan and gain.
--- param filePath The path of the effect file.
--- param loop Determines whether to loop the effect playing or not. The default value is false.
--- param pitch Frequency, normal value is 1.0. Will also change effect play time.
--- param pan Stereo effect, in the range of [-1..1] where -1 enables only left channel.
--- param gain Volume, in the range of [0..1]. The normal value is 1.
--- return The sound id.
--- note Full support is under development, now there are limitations:
--- - no pitch effect on Samsung Galaxy S2 with OpenSL backend enabled;
--- - no pitch/pan/gain on win32. --- @function [parent=#SimpleAudioEngine] playEffect --- @param self --- @param #char filePath --- @param #bool loop --- @param #float pitch --- @param #float pan --- @param #float gain --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Rewind playing background music.
--- js rewindMusic
--- lua rewindMusic --- @function [parent=#SimpleAudioEngine] rewindBackgroundMusic --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Play background music.
--- param filePath The path of the background music file,or the FileName of T_SoundResInfo.
--- param loop Whether the background music loop or not.
--- js playMusic
--- lua playMusic --- @function [parent=#SimpleAudioEngine] playBackgroundMusic --- @param self --- @param #char filePath --- @param #bool loop --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Resume all playing sound effect. --- @function [parent=#SimpleAudioEngine] resumeAllEffects --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Set the volume of sound effects.
--- param volume must be within the range of 0.0 as the minimum and 1.0 as the maximum. --- @function [parent=#SimpleAudioEngine] setEffectsVolume --- @param self --- @param #float volume --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Stop playing sound effect.
--- param soundId The return value of function playEffect. --- @function [parent=#SimpleAudioEngine] stopEffect --- @param self --- @param #unsigned int soundId --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Pause playing background music.
--- js pauseMusic
--- lua pauseMusic --- @function [parent=#SimpleAudioEngine] pauseBackgroundMusic --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Pause all playing sound effect. --- @function [parent=#SimpleAudioEngine] pauseAllEffects --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Unload the preloaded effect from internal buffer.
--- param filePath The path of the effect file. --- @function [parent=#SimpleAudioEngine] unloadEffect --- @param self --- @param #char filePath --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Resume playing sound effect.
--- param soundId The return value of function playEffect. --- @function [parent=#SimpleAudioEngine] resumeEffect --- @param self --- @param #unsigned int soundId --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Release the shared Engine object.
--- warning It must be called before the application exit, or it will lead to memory leaks.
--- lua destroyInstance --- @function [parent=#SimpleAudioEngine] end --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine self (return value: cc.SimpleAudioEngine) - --------------------------------- --- Returns a shared instance of the SimpleAudioEngine.
--- js NA --- @function [parent=#SimpleAudioEngine] getInstance --- @param self --- @return SimpleAudioEngine#SimpleAudioEngine ret (return value: cc.SimpleAudioEngine) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Skeleton3D.lua b/cocos/scripting/lua-bindings/auto/api/Skeleton3D.lua deleted file mode 100644 index de59e1cdcf..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Skeleton3D.lua +++ /dev/null @@ -1,72 +0,0 @@ - --------------------------------- --- @module Skeleton3D --- @extend Ref --- @parent_module cc - --------------------------------- --- remove all bones --- @function [parent=#Skeleton3D] removeAllBones --- @param self --- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D) - --------------------------------- --- add bone --- @function [parent=#Skeleton3D] addBone --- @param self --- @param #cc.Bone3D bone --- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D) - --------------------------------- --- --- @function [parent=#Skeleton3D] getBoneByName --- @param self --- @param #string id --- @return Bone3D#Bone3D ret (return value: cc.Bone3D) - --------------------------------- --- --- @function [parent=#Skeleton3D] getRootBone --- @param self --- @param #int index --- @return Bone3D#Bone3D ret (return value: cc.Bone3D) - --------------------------------- --- refresh bone world matrix --- @function [parent=#Skeleton3D] updateBoneMatrix --- @param self --- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D) - --------------------------------- --- get bone --- @function [parent=#Skeleton3D] getBoneByIndex --- @param self --- @param #unsigned int index --- @return Bone3D#Bone3D ret (return value: cc.Bone3D) - --------------------------------- --- get & set root bone --- @function [parent=#Skeleton3D] getRootCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- get bone index --- @function [parent=#Skeleton3D] getBoneIndex --- @param self --- @param #cc.Bone3D bone --- @return int#int ret (return value: int) - --------------------------------- --- get total bone count --- @function [parent=#Skeleton3D] getBoneCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Skeleton3D] Skeleton3D --- @param self --- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua b/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua deleted file mode 100644 index 2831e47303..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua +++ /dev/null @@ -1,181 +0,0 @@ - --------------------------------- --- @module SkeletonAnimation --- @extend SkeletonRenderer --- @parent_module sp - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setTrackCompleteListener --- @param self --- @param #spTrackEntry entry --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] findAnimation --- @param self --- @param #string name --- @return spAnimation#spAnimation ret (return value: spAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setCompleteListener --- @param self --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setMix --- @param self --- @param #string fromAnimation --- @param #string toAnimation --- @param #float duration --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setTrackStartListener --- @param self --- @param #spTrackEntry entry --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] addEmptyAnimation --- @param self --- @param #int trackIndex --- @param #float mixDuration --- @param #float delay --- @return spTrackEntry#spTrackEntry ret (return value: spTrackEntry) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setDisposeListener --- @param self --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setTrackInterruptListener --- @param self --- @param #spTrackEntry entry --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setEndListener --- @param self --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setTrackDisposeListener --- @param self --- @param #spTrackEntry entry --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setEventListener --- @param self --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setEmptyAnimation --- @param self --- @param #int trackIndex --- @param #float mixDuration --- @return spTrackEntry#spTrackEntry ret (return value: spTrackEntry) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setTrackEventListener --- @param self --- @param #spTrackEntry entry --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] clearTrack --- @param self --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setInterruptListener --- @param self --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setEmptyAnimations --- @param self --- @param #float mixDuration --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] clearTracks --- @param self --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setTrackEndListener --- @param self --- @param #spTrackEntry entry --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] setStartListener --- @param self --- @param #function listener --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - --------------------------------- --- @overload self, string, string, float --- @overload self, string, spAtlas, float --- @function [parent=#SkeletonAnimation] createWithBinaryFile --- @param self --- @param #string skeletonBinaryFile --- @param #spAtlas atlas --- @param #float scale --- @return SkeletonAnimation#SkeletonAnimation ret (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] create --- @param self --- @return SkeletonAnimation#SkeletonAnimation ret (return value: sp.SkeletonAnimation) - --------------------------------- --- @overload self, string, string, float --- @overload self, string, spAtlas, float --- @function [parent=#SkeletonAnimation] createWithJsonFile --- @param self --- @param #string skeletonJsonFile --- @param #spAtlas atlas --- @param #float scale --- @return SkeletonAnimation#SkeletonAnimation ret (return value: sp.SkeletonAnimation) - --------------------------------- --- --- @function [parent=#SkeletonAnimation] initialize --- @param self --- @return SkeletonAnimation#SkeletonAnimation self (return value: sp.SkeletonAnimation) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SkeletonNode.lua b/cocos/scripting/lua-bindings/auto/api/SkeletonNode.lua deleted file mode 100644 index f2059d3ac0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SkeletonNode.lua +++ /dev/null @@ -1,62 +0,0 @@ - --------------------------------- --- @module SkeletonNode --- @extend BoneNode --- @parent_module ccs - --------------------------------- --- get bonenode in skeleton node by bone name --- @function [parent=#SkeletonNode] getBoneNode --- @param self --- @param #string boneName --- @return BoneNode#BoneNode ret (return value: ccs.BoneNode) - --------------------------------- --- @overload self, string --- @overload self, map_table --- @function [parent=#SkeletonNode] changeSkins --- @param self --- @param #map_table boneSkinNameMap --- @return SkeletonNode#SkeletonNode self (return value: ccs.SkeletonNode) - --------------------------------- --- brief: add a boneSkinNameMap as a SkinGroup named groupName
--- param: groupName, key
--- param: boneSkinNameMap, map --- @function [parent=#SkeletonNode] addSkinGroup --- @param self --- @param #string groupName --- @param #map_table boneSkinNameMap --- @return SkeletonNode#SkeletonNode self (return value: ccs.SkeletonNode) - --------------------------------- --- get All bones in this skeleton, --- @function [parent=#SkeletonNode] getAllSubBonesMap --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- --- @function [parent=#SkeletonNode] create --- @param self --- @return SkeletonNode#SkeletonNode ret (return value: ccs.SkeletonNode) - --------------------------------- --- --- @function [parent=#SkeletonNode] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#SkeletonNode] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#SkeletonNode] SkeletonNode --- @param self --- @return SkeletonNode#SkeletonNode self (return value: ccs.SkeletonNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua b/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua deleted file mode 100644 index ec8a93b7e6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua +++ /dev/null @@ -1,217 +0,0 @@ - --------------------------------- --- @module SkeletonRenderer --- @extend Node,BlendProtocol --- @parent_module sp - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setTimeScale --- @param self --- @param #float scale --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] getDebugSlotsEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setBonesToSetupPose --- @param self --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] initWithData --- @param self --- @param #spSkeletonData skeletonData --- @param #bool ownsSkeletonData --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setDebugSlotsEnabled --- @param self --- @param #bool enabled --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- @overload self, string, string, float --- @overload self, string, spAtlas, float --- @function [parent=#SkeletonRenderer] initWithJsonFile --- @param self --- @param #string skeletonDataFile --- @param #spAtlas atlas --- @param #float scale --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setSlotsToSetupPose --- @param self --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- @overload self, string, string, float --- @overload self, string, spAtlas, float --- @function [parent=#SkeletonRenderer] initWithBinaryFile --- @param self --- @param #string skeletonDataFile --- @param #spAtlas atlas --- @param #float scale --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setToSetupPose --- @param self --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setDebugMeshesEnabled --- @param self --- @param #bool enabled --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] isTwoColorTint --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] initialize --- @param self --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setDebugBonesEnabled --- @param self --- @param #bool enabled --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] getDebugBonesEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] getTimeScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setTwoColorTint --- @param self --- @param #bool enabled --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] getDebugMeshesEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setVertexEffect --- @param self --- @param #spVertexEffect effect --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- @overload self, char --- @overload self, string --- @function [parent=#SkeletonRenderer] setSkin --- @param self --- @param #string skinName --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] getSkeleton --- @param self --- @return spSkeleton#spSkeleton ret (return value: spSkeleton) - --------------------------------- --- @overload self, string, string, float --- @overload self, string, spAtlas, float --- @function [parent=#SkeletonRenderer] createWithFile --- @param self --- @param #string skeletonDataFile --- @param #spAtlas atlas --- @param #float scale --- @return SkeletonRenderer#SkeletonRenderer ret (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] create --- @param self --- @return SkeletonRenderer#SkeletonRenderer ret (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] onEnter --- @param self --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] onExit --- @param self --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] setOpacityModifyRGB --- @param self --- @param #bool value --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#SkeletonRenderer] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, spSkeletonData, bool --- @overload self --- @overload self, string, spAtlas, float --- @overload self, string, string, float --- @function [parent=#SkeletonRenderer] SkeletonRenderer --- @param self --- @param #string skeletonDataFile --- @param #string atlasFile --- @param #float scale --- @return SkeletonRenderer#SkeletonRenderer self (return value: sp.SkeletonRenderer) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SkewBy.lua b/cocos/scripting/lua-bindings/auto/api/SkewBy.lua deleted file mode 100644 index af94959ab9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SkewBy.lua +++ /dev/null @@ -1,54 +0,0 @@ - --------------------------------- --- @module SkewBy --- @extend SkewTo --- @parent_module cc - --------------------------------- --- param t In seconds. --- @function [parent=#SkewBy] initWithDuration --- @param self --- @param #float t --- @param #float sx --- @param #float sy --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates the action.
--- param t Duration time, in seconds.
--- param deltaSkewX Skew x delta angle.
--- param deltaSkewY Skew y delta angle.
--- return An autoreleased SkewBy object. --- @function [parent=#SkewBy] create --- @param self --- @param #float t --- @param #float deltaSkewX --- @param #float deltaSkewY --- @return SkewBy#SkewBy ret (return value: cc.SkewBy) - --------------------------------- --- --- @function [parent=#SkewBy] startWithTarget --- @param self --- @param #cc.Node target --- @return SkewBy#SkewBy self (return value: cc.SkewBy) - --------------------------------- --- --- @function [parent=#SkewBy] clone --- @param self --- @return SkewBy#SkewBy ret (return value: cc.SkewBy) - --------------------------------- --- --- @function [parent=#SkewBy] reverse --- @param self --- @return SkewBy#SkewBy ret (return value: cc.SkewBy) - --------------------------------- --- --- @function [parent=#SkewBy] SkewBy --- @param self --- @return SkewBy#SkewBy self (return value: cc.SkewBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SkewFrame.lua b/cocos/scripting/lua-bindings/auto/api/SkewFrame.lua deleted file mode 100644 index e170914a94..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SkewFrame.lua +++ /dev/null @@ -1,51 +0,0 @@ - --------------------------------- --- @module SkewFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#SkewFrame] getSkewY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#SkewFrame] setSkewX --- @param self --- @param #float skewx --- @return SkewFrame#SkewFrame self (return value: ccs.SkewFrame) - --------------------------------- --- --- @function [parent=#SkewFrame] setSkewY --- @param self --- @param #float skewy --- @return SkewFrame#SkewFrame self (return value: ccs.SkewFrame) - --------------------------------- --- --- @function [parent=#SkewFrame] getSkewX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#SkewFrame] create --- @param self --- @return SkewFrame#SkewFrame ret (return value: ccs.SkewFrame) - --------------------------------- --- --- @function [parent=#SkewFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#SkewFrame] SkewFrame --- @param self --- @return SkewFrame#SkewFrame self (return value: ccs.SkewFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SkewTo.lua b/cocos/scripting/lua-bindings/auto/api/SkewTo.lua deleted file mode 100644 index 955eeb8eba..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SkewTo.lua +++ /dev/null @@ -1,61 +0,0 @@ - --------------------------------- --- @module SkewTo --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- param t In seconds. --- @function [parent=#SkewTo] initWithDuration --- @param self --- @param #float t --- @param #float sx --- @param #float sy --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates the action.
--- param t Duration time, in seconds.
--- param sx Skew x angle.
--- param sy Skew y angle.
--- return An autoreleased SkewTo object. --- @function [parent=#SkewTo] create --- @param self --- @param #float t --- @param #float sx --- @param #float sy --- @return SkewTo#SkewTo ret (return value: cc.SkewTo) - --------------------------------- --- --- @function [parent=#SkewTo] startWithTarget --- @param self --- @param #cc.Node target --- @return SkewTo#SkewTo self (return value: cc.SkewTo) - --------------------------------- --- --- @function [parent=#SkewTo] clone --- @param self --- @return SkewTo#SkewTo ret (return value: cc.SkewTo) - --------------------------------- --- --- @function [parent=#SkewTo] reverse --- @param self --- @return SkewTo#SkewTo ret (return value: cc.SkewTo) - --------------------------------- --- param time In seconds. --- @function [parent=#SkewTo] update --- @param self --- @param #float time --- @return SkewTo#SkewTo self (return value: cc.SkewTo) - --------------------------------- --- --- @function [parent=#SkewTo] SkewTo --- @param self --- @return SkewTo#SkewTo self (return value: cc.SkewTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Skin.lua b/cocos/scripting/lua-bindings/auto/api/Skin.lua deleted file mode 100644 index ed9e51567b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Skin.lua +++ /dev/null @@ -1,94 +0,0 @@ - --------------------------------- --- @module Skin --- @extend Sprite --- @parent_module ccs - --------------------------------- --- --- @function [parent=#Skin] getBone --- @param self --- @return Bone#Bone ret (return value: ccs.Bone) - --------------------------------- --- --- @function [parent=#Skin] getNodeToWorldTransformAR --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#Skin] getDisplayName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Skin] updateArmatureTransform --- @param self --- @return Skin#Skin self (return value: ccs.Skin) - --------------------------------- --- --- @function [parent=#Skin] setBone --- @param self --- @param #ccs.Bone bone --- @return Skin#Skin self (return value: ccs.Skin) - --------------------------------- --- @overload self, string --- @overload self --- @function [parent=#Skin] create --- @param self --- @param #string pszFileName --- @return Skin#Skin ret (return value: ccs.Skin) - --------------------------------- --- --- @function [parent=#Skin] createWithSpriteFrameName --- @param self --- @param #string pszSpriteFrameName --- @return Skin#Skin ret (return value: ccs.Skin) - --------------------------------- --- --- @function [parent=#Skin] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return Skin#Skin self (return value: ccs.Skin) - --------------------------------- --- --- @function [parent=#Skin] getNodeToWorldTransform --- @param self --- @return mat4_table#mat4_table ret (return value: mat4_table) - --------------------------------- --- --- @function [parent=#Skin] initWithSpriteFrameName --- @param self --- @param #string spriteFrameName --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Skin] initWithFile --- @param self --- @param #string filename --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Skin] updateTransform --- @param self --- @return Skin#Skin self (return value: ccs.Skin) - --------------------------------- --- js ctor --- @function [parent=#Skin] Skin --- @param self --- @return Skin#Skin self (return value: ccs.Skin) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Skybox.lua b/cocos/scripting/lua-bindings/auto/api/Skybox.lua deleted file mode 100644 index 65ee8d8d58..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Skybox.lua +++ /dev/null @@ -1,66 +0,0 @@ - --------------------------------- --- @module Skybox --- @extend Node --- @parent_module cc - --------------------------------- --- reload sky box after GLESContext reconstructed. --- @function [parent=#Skybox] reload --- @param self --- @return Skybox#Skybox self (return value: cc.Skybox) - --------------------------------- --- initialize with texture path --- @function [parent=#Skybox] init --- @param self --- @param #string positive_x --- @param #string negative_x --- @param #string positive_y --- @param #string negative_y --- @param #string positive_z --- @param #string negative_z --- @return bool#bool ret (return value: bool) - --------------------------------- --- texture getter and setter --- @function [parent=#Skybox] setTexture --- @param self --- @param #cc.TextureCube --- @return Skybox#Skybox self (return value: cc.Skybox) - --------------------------------- --- @overload self, string, string, string, string, string, string --- @overload self --- @function [parent=#Skybox] create --- @param self --- @param #string positive_x --- @param #string negative_x --- @param #string positive_y --- @param #string negative_y --- @param #string positive_z --- @param #string negative_z --- @return Skybox#Skybox ret (return value: cc.Skybox) - --------------------------------- --- draw Skybox object --- @function [parent=#Skybox] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return Skybox#Skybox self (return value: cc.Skybox) - --------------------------------- --- init Skybox. --- @function [parent=#Skybox] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Constructor. --- @function [parent=#Skybox] Skybox --- @param self --- @return Skybox#Skybox self (return value: cc.Skybox) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Slider.lua b/cocos/scripting/lua-bindings/auto/api/Slider.lua deleted file mode 100644 index d3b7a4d4a7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Slider.lua +++ /dev/null @@ -1,300 +0,0 @@ - --------------------------------- --- @module Slider --- @extend Widget --- @parent_module ccui - --------------------------------- --- Changes the progress direction of slider.
--- param percent Percent value from 1 to 100. --- @function [parent=#Slider] setPercent --- @param self --- @param #int percent --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- Query the maximum percent of Slider. The default value is 100.
--- since v3.7
--- return The maximum percent of the Slider. --- @function [parent=#Slider] getMaxPercent --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Load normal state texture for slider ball.
--- param normal Normal state texture.
--- param resType @see TextureResType . --- @function [parent=#Slider] loadSlidBallTextureNormal --- @param self --- @param #string normal --- @param #int resType --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- Load dark state texture for slider progress bar.
--- param fileName File path of texture.
--- param resType @see TextureResType . --- @function [parent=#Slider] loadProgressBarTexture --- @param self --- @param #string fileName --- @param #int resType --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- --- @function [parent=#Slider] getBallNormalFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- --- @function [parent=#Slider] getSlidBallDisabledRenderer --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Sets if slider is using scale9 renderer.
--- param able True that using scale9 renderer, false otherwise. --- @function [parent=#Slider] setScale9Enabled --- @param self --- @param #bool able --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- --- @function [parent=#Slider] getBallPressedFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- brief Return a zoom scale
--- since v3.3 --- @function [parent=#Slider] getZoomScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets capinsets for progress bar slider, if slider is using scale9 renderer.
--- param capInsets Capinsets for progress bar slider.
--- js NA --- @function [parent=#Slider] setCapInsetProgressBarRenderer --- @param self --- @param #rect_table capInsets --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- Load textures for slider ball.
--- param normal Normal state texture.
--- param pressed Pressed state texture.
--- param disabled Disabled state texture.
--- param texType @see TextureResType . --- @function [parent=#Slider] loadSlidBallTextures --- @param self --- @param #string normal --- @param #string pressed --- @param #string disabled --- @param #int texType --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- --- @function [parent=#Slider] getSlidBallRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Add call back function called when slider's percent has changed to slider.
--- param callback An given call back function called when slider's percent has changed to slider. --- @function [parent=#Slider] addEventListener --- @param self --- @param #function callback --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- Set a large value could give more control to the precision.
--- since v3.7
--- param percent The max percent of Slider. --- @function [parent=#Slider] setMaxPercent --- @param self --- @param #int percent --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- Load texture for slider bar.
--- param fileName File name of texture.
--- param resType @see TextureResType . --- @function [parent=#Slider] loadBarTexture --- @param self --- @param #string fileName --- @param #int resType --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- --- @function [parent=#Slider] getProgressBarFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Gets capinsets for bar slider, if slider is using scale9 renderer.
--- return capInsets Capinsets for bar slider. --- @function [parent=#Slider] getCapInsetsBarRenderer --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Gets capinsets for progress bar slider, if slider is using scale9 renderer.
--- return Capinsets for progress bar slider.
--- js NA --- @function [parent=#Slider] getCapInsetsProgressBarRenderer --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#Slider] getSlidBallPressedRenderer --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Load pressed state texture for slider ball.
--- param pressed Pressed state texture.
--- param resType @see TextureResType . --- @function [parent=#Slider] loadSlidBallTexturePressed --- @param self --- @param #string pressed --- @param #int resType --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- --- @function [parent=#Slider] getBackFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Gets If slider is using scale9 renderer.
--- return True that using scale9 renderer, false otherwise. --- @function [parent=#Slider] isScale9Enabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Slider] getBallDisabledFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Sets capinsets for bar slider, if slider is using scale9 renderer.
--- param capInsets Capinsets for bar slider. --- @function [parent=#Slider] setCapInsetsBarRenderer --- @param self --- @param #rect_table capInsets --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- Gets the progress direction of slider.
--- return percent Percent value from 1 to 100. --- @function [parent=#Slider] getPercent --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets capinsets for slider, if slider is using scale9 renderer.
--- param capInsets Capinsets for slider. --- @function [parent=#Slider] setCapInsets --- @param self --- @param #rect_table capInsets --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- Load disabled state texture for slider ball.
--- param disabled Disabled state texture.
--- param resType @see TextureResType . --- @function [parent=#Slider] loadSlidBallTextureDisabled --- @param self --- @param #string disabled --- @param #int resType --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- --- @function [parent=#Slider] getSlidBallNormalRenderer --- @param self --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- When user pressed the button, the button will zoom to a scale.
--- The final scale of the button equals (button original scale + _zoomScale)
--- since v3.3 --- @function [parent=#Slider] setZoomScale --- @param self --- @param #float scale --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- @overload self, string, string, int --- @overload self --- @function [parent=#Slider] create --- @param self --- @param #string barTextureName --- @param #string normalBallTextureName --- @param #int resType --- @return Slider#Slider ret (return value: ccui.Slider) - --------------------------------- --- --- @function [parent=#Slider] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#Slider] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Slider] ignoreContentAdaptWithSize --- @param self --- @param #bool ignore --- @return Slider#Slider self (return value: ccui.Slider) - --------------------------------- --- Returns the "class name" of widget. --- @function [parent=#Slider] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Slider] hitTest --- @param self --- @param #vec2_table pt --- @param #cc.Camera camera --- @param #vec3_table p --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Slider] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Slider] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Default constructor.
--- js ctor
--- lua new --- @function [parent=#Slider] Slider --- @param self --- @return Slider#Slider self (return value: ccui.Slider) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Spawn.lua b/cocos/scripting/lua-bindings/auto/api/Spawn.lua deleted file mode 100644 index 5518fc9c0d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Spawn.lua +++ /dev/null @@ -1,60 +0,0 @@ - --------------------------------- --- @module Spawn --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- --- @function [parent=#Spawn] init --- @param self --- @param #array_table arrayOfActions --- @return bool#bool ret (return value: bool) - --------------------------------- --- initializes the Spawn action with the 2 actions to spawn --- @function [parent=#Spawn] initWithTwoActions --- @param self --- @param #cc.FiniteTimeAction action1 --- @param #cc.FiniteTimeAction action2 --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Spawn] startWithTarget --- @param self --- @param #cc.Node target --- @return Spawn#Spawn self (return value: cc.Spawn) - --------------------------------- --- --- @function [parent=#Spawn] clone --- @param self --- @return Spawn#Spawn ret (return value: cc.Spawn) - --------------------------------- --- --- @function [parent=#Spawn] stop --- @param self --- @return Spawn#Spawn self (return value: cc.Spawn) - --------------------------------- --- --- @function [parent=#Spawn] reverse --- @param self --- @return Spawn#Spawn ret (return value: cc.Spawn) - --------------------------------- --- param time In seconds. --- @function [parent=#Spawn] update --- @param self --- @param #float time --- @return Spawn#Spawn self (return value: cc.Spawn) - --------------------------------- --- --- @function [parent=#Spawn] Spawn --- @param self --- @return Spawn#Spawn self (return value: cc.Spawn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Speed.lua b/cocos/scripting/lua-bindings/auto/api/Speed.lua deleted file mode 100644 index 58bb98e2e1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Speed.lua +++ /dev/null @@ -1,100 +0,0 @@ - --------------------------------- --- @module Speed --- @extend Action --- @parent_module cc - --------------------------------- --- Replace the interior action.
--- param action The new action, it will replace the running action. --- @function [parent=#Speed] setInnerAction --- @param self --- @param #cc.ActionInterval action --- @return Speed#Speed self (return value: cc.Speed) - --------------------------------- --- Return the speed.
--- return The action speed. --- @function [parent=#Speed] getSpeed --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Alter the speed of the inner function in runtime.
--- param speed Alter the speed of the inner function in runtime. --- @function [parent=#Speed] setSpeed --- @param self --- @param #float speed --- @return Speed#Speed self (return value: cc.Speed) - --------------------------------- --- Initializes the action. --- @function [parent=#Speed] initWithAction --- @param self --- @param #cc.ActionInterval action --- @param #float speed --- @return bool#bool ret (return value: bool) - --------------------------------- --- Return the interior action.
--- return The interior action. --- @function [parent=#Speed] getInnerAction --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Create the action and set the speed.
--- param action An action.
--- param speed The action speed. --- @function [parent=#Speed] create --- @param self --- @param #cc.ActionInterval action --- @param #float speed --- @return Speed#Speed ret (return value: cc.Speed) - --------------------------------- --- --- @function [parent=#Speed] startWithTarget --- @param self --- @param #cc.Node target --- @return Speed#Speed self (return value: cc.Speed) - --------------------------------- --- --- @function [parent=#Speed] reverse --- @param self --- @return Speed#Speed ret (return value: cc.Speed) - --------------------------------- --- --- @function [parent=#Speed] clone --- @param self --- @return Speed#Speed ret (return value: cc.Speed) - --------------------------------- --- --- @function [parent=#Speed] stop --- @param self --- @return Speed#Speed self (return value: cc.Speed) - --------------------------------- --- param dt in seconds. --- @function [parent=#Speed] step --- @param self --- @param #float dt --- @return Speed#Speed self (return value: cc.Speed) - --------------------------------- --- Return true if the action has finished.
--- return Is true if the action has finished. --- @function [parent=#Speed] isDone --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Speed] Speed --- @param self --- @return Speed#Speed self (return value: cc.Speed) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SplitCols.lua b/cocos/scripting/lua-bindings/auto/api/SplitCols.lua deleted file mode 100644 index 13996e889b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SplitCols.lua +++ /dev/null @@ -1,55 +0,0 @@ - --------------------------------- --- @module SplitCols --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Initializes the action with the number columns and the duration.
--- param duration Specify the duration of the SplitCols action. It's a value in seconds.
--- param cols Specify the columns count should be split.
--- return If the creation success, return true; otherwise, return false. --- @function [parent=#SplitCols] initWithDuration --- @param self --- @param #float duration --- @param #unsigned int cols --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create the action with the number of columns and the duration.
--- param duration Specify the duration of the SplitCols action. It's a value in seconds.
--- param cols Specify the columns count should be split.
--- return If the creation success, return a pointer of SplitCols action; otherwise, return nil. --- @function [parent=#SplitCols] create --- @param self --- @param #float duration --- @param #unsigned int cols --- @return SplitCols#SplitCols ret (return value: cc.SplitCols) - --------------------------------- --- --- @function [parent=#SplitCols] startWithTarget --- @param self --- @param #cc.Node target --- @return SplitCols#SplitCols self (return value: cc.SplitCols) - --------------------------------- --- --- @function [parent=#SplitCols] clone --- @param self --- @return SplitCols#SplitCols ret (return value: cc.SplitCols) - --------------------------------- --- param time in seconds --- @function [parent=#SplitCols] update --- @param self --- @param #float time --- @return SplitCols#SplitCols self (return value: cc.SplitCols) - --------------------------------- --- --- @function [parent=#SplitCols] SplitCols --- @param self --- @return SplitCols#SplitCols self (return value: cc.SplitCols) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SplitRows.lua b/cocos/scripting/lua-bindings/auto/api/SplitRows.lua deleted file mode 100644 index 78a77e91d4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SplitRows.lua +++ /dev/null @@ -1,55 +0,0 @@ - --------------------------------- --- @module SplitRows --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Initializes the action with the number rows and the duration.
--- param duration Specify the duration of the SplitRows action. It's a value in seconds.
--- param rows Specify the rows count should be split.
--- return If the creation success, return true; otherwise, return false. --- @function [parent=#SplitRows] initWithDuration --- @param self --- @param #float duration --- @param #unsigned int rows --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Create the action with the number of rows and the duration.
--- param duration Specify the duration of the SplitRows action. It's a value in seconds.
--- param rows Specify the rows count should be split.
--- return If the creation success, return a pointer of SplitRows action; otherwise, return nil. --- @function [parent=#SplitRows] create --- @param self --- @param #float duration --- @param #unsigned int rows --- @return SplitRows#SplitRows ret (return value: cc.SplitRows) - --------------------------------- --- --- @function [parent=#SplitRows] startWithTarget --- @param self --- @param #cc.Node target --- @return SplitRows#SplitRows self (return value: cc.SplitRows) - --------------------------------- --- --- @function [parent=#SplitRows] clone --- @param self --- @return SplitRows#SplitRows ret (return value: cc.SplitRows) - --------------------------------- --- --- @function [parent=#SplitRows] update --- @param self --- @param #float time --- @return SplitRows#SplitRows self (return value: cc.SplitRows) - --------------------------------- --- --- @function [parent=#SplitRows] SplitRows --- @param self --- @return SplitRows#SplitRows self (return value: cc.SplitRows) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SpotLight.lua b/cocos/scripting/lua-bindings/auto/api/SpotLight.lua deleted file mode 100644 index 83e1f1bc08..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SpotLight.lua +++ /dev/null @@ -1,113 +0,0 @@ - --------------------------------- --- @module SpotLight --- @extend BaseLight --- @parent_module cc - --------------------------------- --- Returns the range of point or spot light.
--- return The range of the point or spot light. --- @function [parent=#SpotLight] getRange --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the Direction in parent.
--- param dir The Direction in parent. --- @function [parent=#SpotLight] setDirection --- @param self --- @param #vec3_table dir --- @return SpotLight#SpotLight self (return value: cc.SpotLight) - --------------------------------- --- get cos innerAngle --- @function [parent=#SpotLight] getCosInnerAngle --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the outer angle of the spot light (in radians). --- @function [parent=#SpotLight] getOuterAngle --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the inner angle the spot light (in radians). --- @function [parent=#SpotLight] getInnerAngle --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the Direction in parent. --- @function [parent=#SpotLight] getDirection --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- get cos outAngle --- @function [parent=#SpotLight] getCosOuterAngle --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets the outer angle of a spot light (in radians).
--- param outerAngle The angle of spot light (in radians). --- @function [parent=#SpotLight] setOuterAngle --- @param self --- @param #float outerAngle --- @return SpotLight#SpotLight self (return value: cc.SpotLight) - --------------------------------- --- Sets the inner angle of a spot light (in radians).
--- param angle The angle of spot light (in radians). --- @function [parent=#SpotLight] setInnerAngle --- @param self --- @param #float angle --- @return SpotLight#SpotLight self (return value: cc.SpotLight) - --------------------------------- --- Returns direction in world. --- @function [parent=#SpotLight] getDirectionInWorld --- @param self --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- Sets the range of point or spot light.
--- param range The range of point or spot light. --- @function [parent=#SpotLight] setRange --- @param self --- @param #float range --- @return SpotLight#SpotLight self (return value: cc.SpotLight) - --------------------------------- --- Creates a spot light.
--- param direction The light's direction
--- param position The light's position
--- param color The light's color.
--- param innerAngle The light's inner angle (in radians).
--- param outerAngle The light's outer angle (in radians).
--- param range The light's range.
--- return The new spot light. --- @function [parent=#SpotLight] create --- @param self --- @param #vec3_table direction --- @param #vec3_table position --- @param #color3b_table color --- @param #float innerAngle --- @param #float outerAngle --- @param #float range --- @return SpotLight#SpotLight ret (return value: cc.SpotLight) - --------------------------------- --- --- @function [parent=#SpotLight] getLightType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#SpotLight] SpotLight --- @param self --- @return SpotLight#SpotLight self (return value: cc.SpotLight) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Sprite.lua b/cocos/scripting/lua-bindings/auto/api/Sprite.lua deleted file mode 100644 index d108c327eb..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Sprite.lua +++ /dev/null @@ -1,518 +0,0 @@ - --------------------------------- --- @module Sprite --- @extend Node,TextureProtocol --- @parent_module cc - --------------------------------- --- @overload self, cc.SpriteFrame --- @overload self, string --- @function [parent=#Sprite] setSpriteFrame --- @param self --- @param #string spriteFrameName --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- @overload self, cc.Texture2D --- @overload self, string --- @function [parent=#Sprite] setTexture --- @param self --- @param #string filename --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Returns the Texture2D object used by the sprite. --- @function [parent=#Sprite] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Sets whether the sprite should be flipped vertically or not.
--- param flippedY true if the sprite should be flipped vertically, false otherwise. --- @function [parent=#Sprite] setFlippedY --- @param self --- @param #bool flippedY --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Sets whether the sprite should be flipped horizontally or not.
--- param flippedX true if the sprite should be flipped horizontally, false otherwise. --- @function [parent=#Sprite] setFlippedX --- @param self --- @param #bool flippedX --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- / @} --- @function [parent=#Sprite] getResourceType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- / @{/ @name Animation methods
--- Changes the display frame with animation name and index.
--- The animation name will be get from the AnimationCache. --- @function [parent=#Sprite] setDisplayFrameWithAnimationName --- @param self --- @param #string animationName --- @param #int frameIndex --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Returns the batch node object if this sprite is rendered by SpriteBatchNode.
--- return The SpriteBatchNode object if this sprite is rendered by SpriteBatchNode,
--- nullptr if the sprite isn't used batch node. --- @function [parent=#Sprite] getBatchNode --- @param self --- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode) - --------------------------------- --- Gets the offset position of the sprite. Calculated automatically by editors like Zwoptex. --- @function [parent=#Sprite] getOffsetPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- brief Returns the Cap Insets rect
--- return Scale9Sprite's cap inset. --- @function [parent=#Sprite] getCenterRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#Sprite] removeAllChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- setCenterRectNormalized
--- Useful to implement "9 sliced" sprites.
--- The default value is (0,0) - (1,1), which means that only one "slice" will be used: From top-left (0,0) to bottom-right (1,1).
--- If the value is different than (0,0), (1,1), then the sprite will be sliced into a 3 x 3 grid. The four corners of this grid are applied without
--- performing any scaling. The upper- and lower-middle parts are scaled horizontally, and the left- and right-middle parts are scaled vertically.
--- The center is scaled in both directions.
--- Important: The scaling is based the Sprite's trimmed size.
--- Limitations: Does not work when the sprite is part of `SpriteBatchNode`. --- @function [parent=#Sprite] setCenterRectNormalized --- @param self --- @param #rect_table rect --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- returns whether or not contentSize stretches the sprite's texture --- @function [parent=#Sprite] isStretchEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, rect_table, bool, size_table --- @overload self, rect_table --- @function [parent=#Sprite] setTextureRect --- @param self --- @param #rect_table rect --- @param #bool rotated --- @param #size_table untrimmedSize --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Initializes a sprite with an sprite frame name.
--- A SpriteFrame will be fetched from the SpriteFrameCache by name.
--- If the SpriteFrame doesn't exist it will raise an exception.
--- param spriteFrameName A key string that can fetched a valid SpriteFrame from SpriteFrameCache.
--- return True if the sprite is initialized properly, false otherwise. --- @function [parent=#Sprite] initWithSpriteFrameName --- @param self --- @param #string spriteFrameName --- @return bool#bool ret (return value: bool) - --------------------------------- --- whether or not contentSize stretches the sprite's texture --- @function [parent=#Sprite] setStretchEnabled --- @param self --- @param #bool enabled --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Returns whether or not a SpriteFrame is being displayed. --- @function [parent=#Sprite] isFrameDisplayed --- @param self --- @param #cc.SpriteFrame frame --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the index used on the TextureAtlas. --- @function [parent=#Sprite] getAtlasIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Sets the batch node to sprite.
--- warning This method is not recommended for game developers. Sample code for using batch node
--- code
--- SpriteBatchNode *batch = SpriteBatchNode::create("Images/grossini_dance_atlas.png", 15);
--- Sprite *sprite = Sprite::createWithTexture(batch->getTexture(), Rect(0, 0, 57, 57));
--- batch->addChild(sprite);
--- layer->addChild(batch);
--- endcode --- @function [parent=#Sprite] setBatchNode --- @param self --- @param #cc.SpriteBatchNode spriteBatchNode --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#Sprite] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- --- @function [parent=#Sprite] setCenterRect --- @param self --- @param #rect_table rect --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Sets the weak reference of the TextureAtlas when the sprite is rendered using via SpriteBatchNode. --- @function [parent=#Sprite] setTextureAtlas --- @param self --- @param #cc.TextureAtlas textureAtlas --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Returns the current displayed frame. --- @function [parent=#Sprite] getSpriteFrame --- @param self --- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame) - --------------------------------- --- --- @function [parent=#Sprite] getResourceName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Whether or not the Sprite needs to be updated in the Atlas.
--- return True if the sprite needs to be updated in the Atlas, false otherwise. --- @function [parent=#Sprite] isDirty --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- getCenterRectNormalized
--- Returns the CenterRect in normalized coordinates --- @function [parent=#Sprite] getCenterRectNormalized --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Sets the index used on the TextureAtlas.
--- warning Don't modify this value unless you know what you are doing. --- @function [parent=#Sprite] setAtlasIndex --- @param self --- @param #int atlasIndex --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- @overload self, cc.Texture2D, rect_table --- @overload self, cc.Texture2D --- @overload self, cc.Texture2D, rect_table, bool --- @function [parent=#Sprite] initWithTexture --- @param self --- @param #cc.Texture2D texture --- @param #rect_table rect --- @param #bool rotated --- @return bool#bool ret (return value: bool) - --------------------------------- --- Makes the Sprite to be updated in the Atlas. --- @function [parent=#Sprite] setDirty --- @param self --- @param #bool dirty --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Returns whether or not the texture rectangle is rotated. --- @function [parent=#Sprite] isTextureRectRotated --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the rect of the Sprite in points. --- @function [parent=#Sprite] getTextureRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- @overload self, string, rect_table --- @overload self, string --- @function [parent=#Sprite] initWithFile --- @param self --- @param #string filename --- @param #rect_table rect --- @return bool#bool ret (return value: bool) - --------------------------------- --- / @{/ @name Functions inherited from TextureProtocol.
--- code
--- When this function bound into js or lua,the parameter will be changed.
--- In js: var setBlendFunc(var src, var dst).
--- In lua: local setBlendFunc(local src, local dst).
--- endcode --- @function [parent=#Sprite] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Gets the weak reference of the TextureAtlas when the sprite is rendered using via SpriteBatchNode. --- @function [parent=#Sprite] getTextureAtlas --- @param self --- @return TextureAtlas#TextureAtlas ret (return value: cc.TextureAtlas) - --------------------------------- --- Initializes a sprite with an SpriteFrame. The texture and rect in SpriteFrame will be applied on this sprite.
--- param spriteFrame A SpriteFrame object. It should includes a valid texture and a rect.
--- return True if the sprite is initialized properly, false otherwise. --- @function [parent=#Sprite] initWithSpriteFrame --- @param self --- @param #cc.SpriteFrame spriteFrame --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the flag which indicates whether the sprite is flipped horizontally or not.
--- It only flips the texture of the sprite, and not the texture of the sprite's children.
--- Also, flipping the texture doesn't alter the anchorPoint.
--- If you want to flip the anchorPoint too, and/or to flip the children too use:
--- sprite->setScaleX(sprite->getScaleX() * -1);
--- return true if the sprite is flipped horizontally, false otherwise. --- @function [parent=#Sprite] isFlippedX --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Return the flag which indicates whether the sprite is flipped vertically or not.
--- It only flips the texture of the sprite, and not the texture of the sprite's children.
--- Also, flipping the texture doesn't alter the anchorPoint.
--- If you want to flip the anchorPoint too, and/or to flip the children too use:
--- sprite->setScaleY(sprite->getScaleY() * -1);
--- return true if the sprite is flipped vertically, false otherwise. --- @function [parent=#Sprite] isFlippedY --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the vertex rect.
--- It will be called internally by setTextureRect.
--- Useful if you want to create 2x images from SD images in Retina Display.
--- Do not call it manually. Use setTextureRect instead. --- @function [parent=#Sprite] setVertexRect --- @param self --- @param #rect_table rect --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- @overload self, cc.Texture2D, rect_table, bool --- @overload self, cc.Texture2D --- @function [parent=#Sprite] createWithTexture --- @param self --- @param #cc.Texture2D texture --- @param #rect_table rect --- @param #bool rotated --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Creates a sprite with an sprite frame name.
--- A SpriteFrame will be fetched from the SpriteFrameCache by spriteFrameName param.
--- If the SpriteFrame doesn't exist it will raise an exception.
--- param spriteFrameName A null terminated string which indicates the sprite frame name.
--- return An autoreleased sprite object. --- @function [parent=#Sprite] createWithSpriteFrameName --- @param self --- @param #string spriteFrameName --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Creates a sprite with an sprite frame.
--- param spriteFrame A sprite frame which involves a texture and a rect.
--- return An autoreleased sprite object. --- @function [parent=#Sprite] createWithSpriteFrame --- @param self --- @param #cc.SpriteFrame spriteFrame --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- @overload self, cc.Node, int, string --- @overload self, cc.Node, int, int --- @function [parent=#Sprite] addChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @param #int tag --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setAnchorPoint --- @param self --- @param #vec2_table anchor --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setRotationSkewX --- @param self --- @param #float rotationX --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setScaleY --- @param self --- @param #float scaleY --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- @overload self, float --- @overload self, float, float --- @function [parent=#Sprite] setScale --- @param self --- @param #float scaleX --- @param #float scaleY --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setContentSize --- @param self --- @param #size_table size --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] isOpacityModifyRGB --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Sprite] setOpacityModifyRGB --- @param self --- @param #bool modify --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Sprite] setRotation --- @param self --- @param #float rotation --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setIgnoreAnchorPointForPosition --- @param self --- @param #bool value --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- / @{/ @name Functions inherited from Node. --- @function [parent=#Sprite] setScaleX --- @param self --- @param #float scaleX --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- js NA --- @function [parent=#Sprite] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Sprite] setRotationSkewY --- @param self --- @param #float rotationY --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] sortAllChildren --- @param self --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] reorderChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setPositionZ --- @param self --- @param #float positionZ --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- Updates the quad according the rotation, position, scale values. --- @function [parent=#Sprite] updateTransform --- @param self --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setSkewX --- @param self --- @param #float sx --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setSkewY --- @param self --- @param #float sy --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- --- @function [parent=#Sprite] setVisible --- @param self --- @param #bool bVisible --- @return Sprite#Sprite self (return value: cc.Sprite) - --------------------------------- --- js ctor --- @function [parent=#Sprite] Sprite --- @param self --- @return Sprite#Sprite self (return value: cc.Sprite) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua b/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua deleted file mode 100644 index e5008bd09d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua +++ /dev/null @@ -1,207 +0,0 @@ - --------------------------------- --- @module Sprite3D --- @extend Node,BlendProtocol --- @parent_module cc - --------------------------------- --- --- @function [parent=#Sprite3D] setCullFaceEnabled --- @param self --- @param #bool enable --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- @overload self, cc.Texture2D --- @overload self, string --- @function [parent=#Sprite3D] setTexture --- @param self --- @param #string texFile --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- --- @function [parent=#Sprite3D] getLightMask --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Adds a new material to a particular mesh of the sprite.
--- meshIndex is the mesh that will be applied to.
--- if meshIndex == -1, then it will be applied to all the meshes that belong to the sprite. --- @function [parent=#Sprite3D] getMaterial --- @param self --- @param #int meshIndex --- @return Material#Material ret (return value: cc.Material) - --------------------------------- --- --- @function [parent=#Sprite3D] setCullFace --- @param self --- @param #unsigned int cullFace --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- Get meshes used in sprite 3d --- @function [parent=#Sprite3D] getMeshes --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- remove all attach nodes --- @function [parent=#Sprite3D] removeAllAttachNode --- @param self --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- @overload self, cc.Material, int --- @overload self, cc.Material --- @function [parent=#Sprite3D] setMaterial --- @param self --- @param #cc.Material material --- @param #int meshIndex --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- get mesh --- @function [parent=#Sprite3D] getMesh --- @param self --- @return Mesh#Mesh ret (return value: cc.Mesh) - --------------------------------- --- get mesh count --- @function [parent=#Sprite3D] getMeshCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- get Mesh by index --- @function [parent=#Sprite3D] getMeshByIndex --- @param self --- @param #int index --- @return Mesh#Mesh ret (return value: cc.Mesh) - --------------------------------- --- --- @function [parent=#Sprite3D] isForceDepthWrite --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Sprite3D] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- light mask getter & setter, light works only when _lightmask & light's flag is true, default value of _lightmask is 0xffff --- @function [parent=#Sprite3D] setLightMask --- @param self --- @param #unsigned int mask --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- get AttachNode by bone name, return nullptr if not exist --- @function [parent=#Sprite3D] getAttachNode --- @param self --- @param #string boneName --- @return AttachNode#AttachNode ret (return value: cc.AttachNode) - --------------------------------- --- --- @function [parent=#Sprite3D] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- force set this Sprite3D to 2D render queue --- @function [parent=#Sprite3D] setForce2DQueue --- @param self --- @param #bool force2D --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- generate default material --- @function [parent=#Sprite3D] genMaterial --- @param self --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- remove attach node --- @function [parent=#Sprite3D] removeAttachNode --- @param self --- @param #string boneName --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- --- @function [parent=#Sprite3D] getSkeleton --- @param self --- @return Skeleton3D#Skeleton3D ret (return value: cc.Skeleton3D) - --------------------------------- --- Force to write to depth buffer, this is useful if you want to achieve effects like fading. --- @function [parent=#Sprite3D] setForceDepthWrite --- @param self --- @param #bool value --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- get Mesh by Name, it returns the first one if there are more than one mesh with the same name --- @function [parent=#Sprite3D] getMeshByName --- @param self --- @param #string name --- @return Mesh#Mesh ret (return value: cc.Mesh) - --------------------------------- --- @overload self, string --- @overload self --- @overload self, string, string --- @function [parent=#Sprite3D] create --- @param self --- @param #string modelPath --- @param #string texturePath --- @return Sprite3D#Sprite3D ret (return value: cc.Sprite3D) - --------------------------------- --- draw --- @function [parent=#Sprite3D] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- Executes an action, and returns the action that is executed. For Sprite3D special logic are needed to take care of Fading.
--- This node becomes the action's target. Refer to Action::getTarget()
--- warning Actions don't retain their target.
--- return An Action pointer --- @function [parent=#Sprite3D] runAction --- @param self --- @param #cc.Action action --- @return Action#Action ret (return value: cc.Action) - --------------------------------- --- just remember bind attributes --- @function [parent=#Sprite3D] setGLProgram --- @param self --- @param #cc.GLProgram glprogram --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - --------------------------------- --- Returns 2d bounding-box
--- Note: the bounding-box is just get from the AABB which as Z=0, so that is not very accurate. --- @function [parent=#Sprite3D] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- set GLProgramState, you should bind attributes by yourself --- @function [parent=#Sprite3D] setGLProgramState --- @param self --- @param #cc.GLProgramState glProgramState --- @return Sprite3D#Sprite3D self (return value: cc.Sprite3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Sprite3DCache.lua b/cocos/scripting/lua-bindings/auto/api/Sprite3DCache.lua deleted file mode 100644 index e8c2d1bbe1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Sprite3DCache.lua +++ /dev/null @@ -1,37 +0,0 @@ - --------------------------------- --- @module Sprite3DCache --- @parent_module cc - --------------------------------- --- remove the SpriteData from Sprite3D by given the specified key --- @function [parent=#Sprite3DCache] removeSprite3DData --- @param self --- @param #string key --- @return Sprite3DCache#Sprite3DCache self (return value: cc.Sprite3DCache) - --------------------------------- --- remove all the SpriteData from Sprite3D --- @function [parent=#Sprite3DCache] removeAllSprite3DData --- @param self --- @return Sprite3DCache#Sprite3DCache self (return value: cc.Sprite3DCache) - --------------------------------- --- --- @function [parent=#Sprite3DCache] destroyInstance --- @param self --- @return Sprite3DCache#Sprite3DCache self (return value: cc.Sprite3DCache) - --------------------------------- --- get & destroy --- @function [parent=#Sprite3DCache] getInstance --- @param self --- @return Sprite3DCache#Sprite3DCache ret (return value: cc.Sprite3DCache) - --------------------------------- --- --- @function [parent=#Sprite3DCache] Sprite3DCache --- @param self --- @return Sprite3DCache#Sprite3DCache self (return value: cc.Sprite3DCache) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Sprite3DMaterial.lua b/cocos/scripting/lua-bindings/auto/api/Sprite3DMaterial.lua deleted file mode 100644 index 3b55432e97..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Sprite3DMaterial.lua +++ /dev/null @@ -1,59 +0,0 @@ - --------------------------------- --- @module Sprite3DMaterial --- @extend Material --- @parent_module cc - --------------------------------- --- Get material type
--- return Material type --- @function [parent=#Sprite3DMaterial] getMaterialType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Create material with file name, it creates material from cache if it is previously loaded
--- param path Path of material file
--- return Created material --- @function [parent=#Sprite3DMaterial] createWithFilename --- @param self --- @param #string path --- @return Sprite3DMaterial#Sprite3DMaterial ret (return value: cc.Sprite3DMaterial) - --------------------------------- --- Release all cached materials --- @function [parent=#Sprite3DMaterial] releaseCachedMaterial --- @param self --- @return Sprite3DMaterial#Sprite3DMaterial self (return value: cc.Sprite3DMaterial) - --------------------------------- --- @overload self --- @overload self, int, bool --- @function [parent=#Sprite3DMaterial] createBuiltInMaterial --- @param self --- @param #int type --- @param #bool skinned --- @return Sprite3DMaterial#Sprite3DMaterial ret (return value: cc.Sprite3DMaterial) - --------------------------------- --- Create material with GLProgramState
--- param programState GLProgramState instance
--- return Created material --- @function [parent=#Sprite3DMaterial] createWithGLStateProgram --- @param self --- @param #cc.GLProgramState programState --- @return Sprite3DMaterial#Sprite3DMaterial ret (return value: cc.Sprite3DMaterial) - --------------------------------- --- Release all built in materials --- @function [parent=#Sprite3DMaterial] releaseBuiltInMaterial --- @param self --- @return Sprite3DMaterial#Sprite3DMaterial self (return value: cc.Sprite3DMaterial) - --------------------------------- --- Clone material --- @function [parent=#Sprite3DMaterial] clone --- @param self --- @return Material#Material ret (return value: cc.Material) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SpriteBatchNode.lua b/cocos/scripting/lua-bindings/auto/api/SpriteBatchNode.lua deleted file mode 100644 index 5dd141d21c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SpriteBatchNode.lua +++ /dev/null @@ -1,281 +0,0 @@ - --------------------------------- --- @module SpriteBatchNode --- @extend Node,TextureProtocol --- @parent_module cc - --------------------------------- --- Append the child.
--- param sprite A Sprite. --- @function [parent=#SpriteBatchNode] appendChild --- @param self --- @param #cc.Sprite sprite --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- --- @function [parent=#SpriteBatchNode] reorderBatch --- @param self --- @param #bool reorder --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- --- @function [parent=#SpriteBatchNode] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- --- @function [parent=#SpriteBatchNode] setTexture --- @param self --- @param #cc.Texture2D texture --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- Removes a child given a certain index. It will also cleanup the running actions depending on the cleanup parameter.
--- param index A certain index.
--- param doCleanup Whether or not to cleanup the running actions.
--- warning Removing a child from a SpriteBatchNode is very slow. --- @function [parent=#SpriteBatchNode] removeChildAtIndex --- @param self --- @param #int index --- @param #bool doCleanup --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- Remove a sprite from Atlas.
--- param sprite A Sprite. --- @function [parent=#SpriteBatchNode] removeSpriteFromAtlas --- @param self --- @param #cc.Sprite sprite --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- --- @function [parent=#SpriteBatchNode] addSpriteWithoutQuad --- @param self --- @param #cc.Sprite child --- @param #int z --- @param #int aTag --- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode) - --------------------------------- --- Get the nearest index from the sprite in z.
--- param sprite The parent sprite.
--- param z Z order for drawing priority.
--- return Index. --- @function [parent=#SpriteBatchNode] atlasIndexForChild --- @param self --- @param #cc.Sprite sprite --- @param #int z --- @return int#int ret (return value: int) - --------------------------------- --- Increase the Atlas Capacity. --- @function [parent=#SpriteBatchNode] increaseAtlasCapacity --- @param self --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- Get the Min image block index,in all child.
--- param sprite The parent sprite.
--- return Index. --- @function [parent=#SpriteBatchNode] lowestAtlasIndexInChild --- @param self --- @param #cc.Sprite sprite --- @return int#int ret (return value: int) - --------------------------------- --- lua NA --- @function [parent=#SpriteBatchNode] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- initializes a SpriteBatchNode with a texture2d and capacity of children.
--- The capacity will be increased in 33% in runtime if it runs out of space. --- @function [parent=#SpriteBatchNode] initWithTexture --- @param self --- @param #cc.Texture2D tex --- @param #int capacity --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the TextureAtlas object.
--- param textureAtlas The TextureAtlas object. --- @function [parent=#SpriteBatchNode] setTextureAtlas --- @param self --- @param #cc.TextureAtlas textureAtlas --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- reserves capacity for the batch node.
--- If the current capacity is bigger, nothing happens.
--- otherwise, a new capacity is allocated --- @function [parent=#SpriteBatchNode] reserveCapacity --- @param self --- @param #int newCapacity --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- js NA --- @function [parent=#SpriteBatchNode] removeAllChildrenWithCleanup --- @param self --- @param #bool cleanup --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- Inserts a quad at a certain index into the texture atlas. The Sprite won't be added into the children array.
--- This method should be called only when you are dealing with very big AtlasSprite and when most of the Sprite won't be updated.
--- For example: a tile map (TMXMap) or a label with lots of characters (LabelBMFont). --- @function [parent=#SpriteBatchNode] insertQuadFromSprite --- @param self --- @param #cc.Sprite sprite --- @param #int index --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- initializes a SpriteBatchNode with a file image (.png, .jpeg, .pvr, etc) and a capacity of children.
--- The capacity will be increased in 33% in runtime if it runs out of space.
--- The file will be loaded using the TextureMgr.
--- js init
--- lua init --- @function [parent=#SpriteBatchNode] initWithFile --- @param self --- @param #string fileImage --- @param #int capacity --- @return bool#bool ret (return value: bool) - --------------------------------- --- code
--- When this function bound into js or lua,the parameter will be changed.
--- In js: var setBlendFunc(var src, var dst).
--- endcode
--- lua NA --- @function [parent=#SpriteBatchNode] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- Rebuild index with a sprite all child.
--- param parent The parent sprite.
--- param index The child index.
--- return Index. --- @function [parent=#SpriteBatchNode] rebuildIndexInOrder --- @param self --- @param #cc.Sprite parent --- @param #int index --- @return int#int ret (return value: int) - --------------------------------- --- Returns the TextureAtlas object.
--- return The TextureAtlas object. --- @function [parent=#SpriteBatchNode] getTextureAtlas --- @param self --- @return TextureAtlas#TextureAtlas ret (return value: cc.TextureAtlas) - --------------------------------- --- Get the Max image block index,in all child.
--- param sprite The parent sprite.
--- return Index. --- @function [parent=#SpriteBatchNode] highestAtlasIndexInChild --- @param self --- @param #cc.Sprite sprite --- @return int#int ret (return value: int) - --------------------------------- --- Creates a SpriteBatchNode with a file image (.png, .jpeg, .pvr, etc) and capacity of children.
--- The capacity will be increased in 33% in runtime if it runs out of space.
--- The file will be loaded using the TextureMgr.
--- param fileImage A file image (.png, .jpeg, .pvr, etc).
--- param capacity The capacity of children.
--- return Return an autorelease object. --- @function [parent=#SpriteBatchNode] create --- @param self --- @param #string fileImage --- @param #int capacity --- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode) - --------------------------------- --- Creates a SpriteBatchNode with a texture2d and capacity of children.
--- The capacity will be increased in 33% in runtime if it runs out of space.
--- param tex A texture2d.
--- param capacity The capacity of children.
--- return Return an autorelease object. --- @function [parent=#SpriteBatchNode] createWithTexture --- @param self --- @param #cc.Texture2D tex --- @param #int capacity --- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode) - --------------------------------- --- @overload self, cc.Node, int, string --- @overload self, cc.Node, int, int --- @function [parent=#SpriteBatchNode] addChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @param #int tag --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- js NA --- @function [parent=#SpriteBatchNode] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- js NA --- @function [parent=#SpriteBatchNode] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- js NA --- @function [parent=#SpriteBatchNode] visit --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table parentTransform --- @param #unsigned int parentFlags --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- --- @function [parent=#SpriteBatchNode] sortAllChildren --- @param self --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- --- @function [parent=#SpriteBatchNode] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- --- @function [parent=#SpriteBatchNode] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#SpriteBatchNode] reorderChild --- @param self --- @param #cc.Node child --- @param #int zOrder --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - --------------------------------- --- js ctor --- @function [parent=#SpriteBatchNode] SpriteBatchNode --- @param self --- @return SpriteBatchNode#SpriteBatchNode self (return value: cc.SpriteBatchNode) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SpriteDisplayData.lua b/cocos/scripting/lua-bindings/auto/api/SpriteDisplayData.lua deleted file mode 100644 index 12610128c3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SpriteDisplayData.lua +++ /dev/null @@ -1,26 +0,0 @@ - --------------------------------- --- @module SpriteDisplayData --- @extend DisplayData --- @parent_module ccs - --------------------------------- --- --- @function [parent=#SpriteDisplayData] copy --- @param self --- @param #ccs.DisplayData displayData --- @return SpriteDisplayData#SpriteDisplayData self (return value: ccs.SpriteDisplayData) - --------------------------------- --- --- @function [parent=#SpriteDisplayData] create --- @param self --- @return SpriteDisplayData#SpriteDisplayData ret (return value: ccs.SpriteDisplayData) - --------------------------------- --- js ctor --- @function [parent=#SpriteDisplayData] SpriteDisplayData --- @param self --- @return SpriteDisplayData#SpriteDisplayData self (return value: ccs.SpriteDisplayData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SpriteFrame.lua b/cocos/scripting/lua-bindings/auto/api/SpriteFrame.lua deleted file mode 100644 index 159ce1699e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SpriteFrame.lua +++ /dev/null @@ -1,238 +0,0 @@ - --------------------------------- --- @module SpriteFrame --- @extend Ref --- @parent_module cc - --------------------------------- --- Set anchor point of the frame.
--- param anchorPoint The anchor point of the sprite frame. --- @function [parent=#SpriteFrame] setAnchorPoint --- @param self --- @param #vec2_table anchorPoint --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- Set texture of the frame, the texture is retained.
--- param pobTexture The texture of the sprite frame. --- @function [parent=#SpriteFrame] setTexture --- @param self --- @param #cc.Texture2D pobTexture --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- Get texture of the frame.
--- return The texture of the sprite frame. --- @function [parent=#SpriteFrame] getTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Set offset of the frame.
--- param offsetInPixels The offset of the sprite frame, in pixels. --- @function [parent=#SpriteFrame] setOffsetInPixels --- @param self --- @param #vec2_table offsetInPixels --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- Get original size of the trimmed image.
--- return The original size of the trimmed image, in pixels. --- @function [parent=#SpriteFrame] getOriginalSizeInPixels --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Set original size of the trimmed image.
--- param sizeInPixels The original size of the trimmed image. --- @function [parent=#SpriteFrame] setOriginalSize --- @param self --- @param #size_table sizeInPixels --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- Get center rect of the frame.
--- Useful to create 9-slice sprites
--- return The center rect of the sprite frame in points --- @function [parent=#SpriteFrame] getCenterRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Set rect of the sprite frame.
--- param rectInPixels The rect of the sprite frame, in pixels. --- @function [parent=#SpriteFrame] setRectInPixels --- @param self --- @param #rect_table rectInPixels --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- Get rect of the frame.
--- return The rect of the sprite frame. --- @function [parent=#SpriteFrame] getRect --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- setCenterRect
--- Useful to implement "9 sliced" sprites.
--- The sprite will be sliced into a 3 x 3 grid. The four corners of this grid are applied without
--- performing any scaling. The upper- and lower-middle parts are scaled horizontally, and the left- and right-middle parts are scaled vertically.
--- The center is scaled in both directions.
--- Important: The scaling is based the Sprite's trimmed size.
--- Limitations: Does not work when the sprite is part of `SpriteBatchNode`.
--- param centerRect the Rect in points --- @function [parent=#SpriteFrame] setCenterRectInPixels --- @param self --- @param #rect_table centerRect --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- Set offset of the frame.
--- param offsets The offset of the sprite frame. --- @function [parent=#SpriteFrame] setOffset --- @param self --- @param #vec2_table offsets --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- @overload self, string, rect_table, bool, vec2_table, size_table --- @overload self, string, rect_table --- @function [parent=#SpriteFrame] initWithTextureFilename --- @param self --- @param #string filename --- @param #rect_table rect --- @param #bool rotated --- @param #vec2_table offset --- @param #size_table originalSize --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set rect of the frame.
--- param rect The rect of the sprite. --- @function [parent=#SpriteFrame] setRect --- @param self --- @param #rect_table rect --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- @overload self, cc.Texture2D, rect_table, bool, vec2_table, size_table --- @overload self, cc.Texture2D, rect_table --- @function [parent=#SpriteFrame] initWithTexture --- @param self --- @param #cc.Texture2D pobTexture --- @param #rect_table rect --- @param #bool rotated --- @param #vec2_table offset --- @param #size_table originalSize --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get original size of the trimmed image.
--- return The original size of the trimmed image. --- @function [parent=#SpriteFrame] getOriginalSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#SpriteFrame] clone --- @param self --- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame) - --------------------------------- --- Get rect of the sprite frame.
--- return The rect of the sprite frame, in pixels. --- @function [parent=#SpriteFrame] getRectInPixels --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- Is the sprite frame rotated or not.
--- return Is rotated if true. --- @function [parent=#SpriteFrame] isRotated --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- hasCenterRect
--- return Whether or not it has a centerRect --- @function [parent=#SpriteFrame] hasCenterRect --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set rotated of the sprite frame.
--- param rotated Rotated the sprite frame if true. --- @function [parent=#SpriteFrame] setRotated --- @param self --- @param #bool rotated --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- Get offset of the frame.
--- return The offset of the sprite frame. --- @function [parent=#SpriteFrame] getOffset --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set original size of the trimmed image.
--- param sizeInPixels The original size of the trimmed image, in pixels. --- @function [parent=#SpriteFrame] setOriginalSizeInPixels --- @param self --- @param #size_table sizeInPixels --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - --------------------------------- --- Get anchor point of the frame.
--- return The anchor point of the sprite frame. --- @function [parent=#SpriteFrame] getAnchorPoint --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Check if anchor point is defined for the frame.
--- return true if anchor point is available. --- @function [parent=#SpriteFrame] hasAnchorPoint --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get offset of the frame.
--- return The offset of the sprite frame, in pixels. --- @function [parent=#SpriteFrame] getOffsetInPixels --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- @overload self, string, rect_table, bool, vec2_table, size_table --- @overload self, string, rect_table --- @function [parent=#SpriteFrame] create --- @param self --- @param #string filename --- @param #rect_table rect --- @param #bool rotated --- @param #vec2_table offset --- @param #size_table originalSize --- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame) - --------------------------------- --- @overload self, cc.Texture2D, rect_table, bool, vec2_table, size_table --- @overload self, cc.Texture2D, rect_table --- @function [parent=#SpriteFrame] createWithTexture --- @param self --- @param #cc.Texture2D pobTexture --- @param #rect_table rect --- @param #bool rotated --- @param #vec2_table offset --- @param #size_table originalSize --- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame) - --------------------------------- --- lua NA --- @function [parent=#SpriteFrame] SpriteFrame --- @param self --- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua b/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua deleted file mode 100644 index 06953737c6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua +++ /dev/null @@ -1,152 +0,0 @@ - --------------------------------- --- @module SpriteFrameCache --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#SpriteFrameCache] reloadTexture --- @param self --- @param #string plist --- @return bool#bool ret (return value: bool) - --------------------------------- --- Adds multiple Sprite Frames from a plist file content. The texture will be associated with the created sprite frames.
--- js NA
--- lua addSpriteFrames
--- param plist_content Plist file content string.
--- param texture Texture pointer. --- @function [parent=#SpriteFrameCache] addSpriteFramesWithFileContent --- @param self --- @param #string plist_content --- @param #cc.Texture2D texture --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Adds an sprite frame with a given name.
--- If the name already exists, then the contents of the old name will be replaced with the new one.
--- param frame A certain sprite frame.
--- param frameName The name of the sprite frame. --- @function [parent=#SpriteFrameCache] addSpriteFrame --- @param self --- @param #cc.SpriteFrame frame --- @param #string frameName --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- @overload self, string, string --- @overload self, string --- @overload self, string, cc.Texture2D --- @function [parent=#SpriteFrameCache] addSpriteFramesWithFile --- @param self --- @param #string plist --- @param #cc.Texture2D texture --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Returns an Sprite Frame that was previously added.
--- If the name is not found it will return nil.
--- You should retain the returned copy if you are going to use it.
--- js getSpriteFrame
--- lua getSpriteFrame
--- param name A certain sprite frame name.
--- return The sprite frame. --- @function [parent=#SpriteFrameCache] getSpriteFrameByName --- @param self --- @param #string name --- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame) - --------------------------------- --- Removes multiple Sprite Frames from a plist file.
--- Sprite Frames stored in this file will be removed.
--- It is convenient to call this method when a specific texture needs to be removed.
--- since v0.99.5
--- param plist The name of the plist that needs to removed. --- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFile --- @param self --- @param #string plist --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Initialize method.
--- return if success return true. --- @function [parent=#SpriteFrameCache] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Purges the dictionary of loaded sprite frames.
--- Call this method if you receive the "Memory Warning".
--- In the short term: it will free some resources preventing your app from being killed.
--- In the medium term: it will allocate more resources.
--- In the long term: it will be the same. --- @function [parent=#SpriteFrameCache] removeSpriteFrames --- @param self --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Removes unused sprite frames.
--- Sprite Frames that have a retain count of 1 will be deleted.
--- It is convenient to call this method after when starting a new Scene.
--- js NA --- @function [parent=#SpriteFrameCache] removeUnusedSpriteFrames --- @param self --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Removes multiple Sprite Frames from a plist file content.
--- Sprite Frames stored in this file will be removed.
--- It is convenient to call this method when a specific texture needs to be removed.
--- param plist_content The string of the plist content that needs to removed.
--- js NA --- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFileContent --- @param self --- @param #string plist_content --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Deletes an sprite frame from the sprite frame cache.
--- param name The name of the sprite frame that needs to removed. --- @function [parent=#SpriteFrameCache] removeSpriteFrameByName --- @param self --- @param #string name --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Check if multiple Sprite Frames from a plist file have been loaded.
--- js NA
--- lua NA
--- param plist Plist file name.
--- return True if the file is loaded. --- @function [parent=#SpriteFrameCache] isSpriteFramesWithFileLoaded --- @param self --- @param #string plist --- @return bool#bool ret (return value: bool) - --------------------------------- --- Removes all Sprite Frames associated with the specified textures.
--- It is convenient to call this method when a specific texture needs to be removed.
--- since v0.995.
--- param texture The texture that needs to removed. --- @function [parent=#SpriteFrameCache] removeSpriteFramesFromTexture --- @param self --- @param #cc.Texture2D texture --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Destroys the cache. It releases all the Sprite Frames and the retained instance.
--- js NA --- @function [parent=#SpriteFrameCache] destroyInstance --- @param self --- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) - --------------------------------- --- Returns the shared instance of the Sprite Frame cache.
--- return The instance of the Sprite Frame Cache.
--- js NA --- @function [parent=#SpriteFrameCache] getInstance --- @param self --- @return SpriteFrameCache#SpriteFrameCache ret (return value: cc.SpriteFrameCache) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/StopGrid.lua b/cocos/scripting/lua-bindings/auto/api/StopGrid.lua deleted file mode 100644 index ea252535f9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/StopGrid.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module StopGrid --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- brief Create a StopGrid Action.
--- return Return a pointer of StopGrid. When the creation failed, return nil. --- @function [parent=#StopGrid] create --- @param self --- @return StopGrid#StopGrid ret (return value: cc.StopGrid) - --------------------------------- --- --- @function [parent=#StopGrid] startWithTarget --- @param self --- @param #cc.Node target --- @return StopGrid#StopGrid self (return value: cc.StopGrid) - --------------------------------- --- --- @function [parent=#StopGrid] clone --- @param self --- @return StopGrid#StopGrid ret (return value: cc.StopGrid) - --------------------------------- --- --- @function [parent=#StopGrid] reverse --- @param self --- @return StopGrid#StopGrid ret (return value: cc.StopGrid) - --------------------------------- --- --- @function [parent=#StopGrid] StopGrid --- @param self --- @return StopGrid#StopGrid self (return value: cc.StopGrid) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TMXLayer.lua b/cocos/scripting/lua-bindings/auto/api/TMXLayer.lua deleted file mode 100644 index 852fda5d8e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TMXLayer.lua +++ /dev/null @@ -1,205 +0,0 @@ - --------------------------------- --- @module TMXLayer --- @extend Node --- @parent_module ccexp - --------------------------------- --- Returns the position in points of a given tile coordinate.
--- param tileCoordinate The tile Coordinate.
--- return The position in points of a given tile coordinate. --- @function [parent=#TMXLayer] getPositionAt --- @param self --- @param #vec2_table tileCoordinate --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set Layer orientation, which is the same as the map orientation.
--- param orientation Layer orientation, which is the same as the map orientation. --- @function [parent=#TMXLayer] setLayerOrientation --- @param self --- @param #int orientation --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- Size of the layer in tiles.
--- return Size of the layer in tiles. --- @function [parent=#TMXLayer] getLayerSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Set the size of the map's tile.
--- param size The new size of the map's tile. --- @function [parent=#TMXLayer] setMapTileSize --- @param self --- @param #size_table size --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- Layer orientation, which is the same as the map orientation.
--- return Layer orientation, which is the same as the map orientation. --- @function [parent=#TMXLayer] getLayerOrientation --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set the properties to the layer.
--- param properties The properties to the layer. --- @function [parent=#TMXLayer] setProperties --- @param self --- @param #map_table properties --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- Set the tile layer name.
--- param layerName The new layer name. --- @function [parent=#TMXLayer] setLayerName --- @param self --- @param #string layerName --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- Removes a tile at given tile coordinate.
--- param tileCoordinate The tile Coordinate. --- @function [parent=#TMXLayer] removeTileAt --- @param self --- @param #vec2_table tileCoordinate --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TMXLayer] getProperties --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- Creates the tiles. --- @function [parent=#TMXLayer] setupTiles --- @param self --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- Set an sprite to the tile,with the tile coordinate and gid.
--- param sprite A Sprite.
--- param pos The tile coordinate.
--- param gid The tile gid. --- @function [parent=#TMXLayer] setupTileSprite --- @param self --- @param #cc.Sprite sprite --- @param #vec2_table pos --- @param #unsigned int gid --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- @overload self, int, vec2_table, int --- @overload self, int, vec2_table --- @function [parent=#TMXLayer] setTileGID --- @param self --- @param #int gid --- @param #vec2_table tileCoordinate --- @param #int flags --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- Size of the map's tile (could be different from the tile's size).
--- return Size of the map's tile (could be different from the tile's size). --- @function [parent=#TMXLayer] getMapTileSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Return the value for the specific property name.
--- param propertyName The value for the specific property name.
--- return The value for the specific property name. --- @function [parent=#TMXLayer] getProperty --- @param self --- @param #string propertyName --- @return Value#Value ret (return value: cc.Value) - --------------------------------- --- Set the size of the layer in tiles.
--- param size The new size of the layer in tiles. --- @function [parent=#TMXLayer] setLayerSize --- @param self --- @param #size_table size --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- Get the tile layer name.
--- return The tile layer name. --- @function [parent=#TMXLayer] getLayerName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Set the tileset information for the layer.
--- param info The new tileset information for the layer. --- @function [parent=#TMXLayer] setTileSet --- @param self --- @param #cc.TMXTilesetInfo info --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- Tileset information for the layer.
--- return Tileset information for the layer. --- @function [parent=#TMXLayer] getTileSet --- @param self --- @return TMXTilesetInfo#TMXTilesetInfo ret (return value: cc.TMXTilesetInfo) - --------------------------------- --- Returns the tile (Sprite) at a given a tile coordinate.
--- The returned Sprite will be already added to the TMXLayer. Don't add it again.
--- The Sprite can be treated like any other Sprite: rotated, scaled, translated, opacity, color, etc.
--- You can remove either by calling:
--- - layer->removeChild(sprite, cleanup);
--- return Returns the tile (Sprite) at a given a tile coordinate. --- @function [parent=#TMXLayer] getTileAt --- @param self --- @param #vec2_table tileCoordinate --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Creates a FastTMXLayer with an tileset info, a layer info and a map info.
--- param tilesetInfo An tileset info.
--- param layerInfo A layer info.
--- param mapInfo A map info.
--- return Return an autorelease object. --- @function [parent=#TMXLayer] create --- @param self --- @param #cc.TMXTilesetInfo tilesetInfo --- @param #cc.TMXLayerInfo layerInfo --- @param #cc.TMXMapInfo mapInfo --- @return experimental::TMXLayer#experimental::TMXLayer ret (return value: cc.experimental::TMXLayer) - --------------------------------- --- --- @function [parent=#TMXLayer] removeChild --- @param self --- @param #cc.Node child --- @param #bool cleanup --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- --- @function [parent=#TMXLayer] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - --------------------------------- --- --- @function [parent=#TMXLayer] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- js ctor --- @function [parent=#TMXLayer] TMXLayer --- @param self --- @return experimental::TMXLayer#experimental::TMXLayer self (return value: cc.experimental::TMXLayer) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TMXLayerInfo.lua b/cocos/scripting/lua-bindings/auto/api/TMXLayerInfo.lua deleted file mode 100644 index d64bc1a025..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TMXLayerInfo.lua +++ /dev/null @@ -1,26 +0,0 @@ - --------------------------------- --- @module TMXLayerInfo --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#TMXLayerInfo] setProperties --- @param self --- @param #map_table properties --- @return TMXLayerInfo#TMXLayerInfo self (return value: cc.TMXLayerInfo) - --------------------------------- --- --- @function [parent=#TMXLayerInfo] getProperties --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- js ctor --- @function [parent=#TMXLayerInfo] TMXLayerInfo --- @param self --- @return TMXLayerInfo#TMXLayerInfo self (return value: cc.TMXLayerInfo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua b/cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua deleted file mode 100644 index 9fdd01a871..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua +++ /dev/null @@ -1,287 +0,0 @@ - --------------------------------- --- @module TMXMapInfo --- @parent_module cc - --------------------------------- --- --- @function [parent=#TMXMapInfo] setCurrentString --- @param self --- @param #string currentString --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- / map hexsidelength --- @function [parent=#TMXMapInfo] getHexSideLength --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setTileSize --- @param self --- @param #size_table tileSize --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- initializes a TMX format with a tmx file --- @function [parent=#TMXMapInfo] initWithTMXFile --- @param self --- @param #string tmxFile --- @return bool#bool ret (return value: bool) - --------------------------------- --- / map orientation --- @function [parent=#TMXMapInfo] getOrientation --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setObjectGroups --- @param self --- @param #array_table groups --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setLayers --- @param self --- @param #array_table layers --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- initializes parsing of an XML file, either a tmx (Map) file or tsx (Tileset) file --- @function [parent=#TMXMapInfo] parseXMLFile --- @param self --- @param #string xmlFilename --- @return bool#bool ret (return value: bool) - --------------------------------- --- / parent element --- @function [parent=#TMXMapInfo] getParentElement --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setTMXFileName --- @param self --- @param #string fileName --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- --- @function [parent=#TMXMapInfo] parseXMLString --- @param self --- @param #string xmlString --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TMXMapInfo] getLayers --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- / map staggeraxis --- @function [parent=#TMXMapInfo] getStaggerAxis --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setHexSideLength --- @param self --- @param #int hexSideLength --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TMXMapInfo] getTilesets --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- / parent GID --- @function [parent=#TMXMapInfo] getParentGID --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setParentElement --- @param self --- @param #int element --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- initializes a TMX format with an XML string and a TMX resource path --- @function [parent=#TMXMapInfo] initWithXML --- @param self --- @param #string tmxString --- @param #string resourcePath --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setParentGID --- @param self --- @param #int gid --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- / layer attribs --- @function [parent=#TMXMapInfo] getLayerAttribs --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- / tiles width & height --- @function [parent=#TMXMapInfo] getTileSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#TMXMapInfo] getTileProperties --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- / is storing characters? --- @function [parent=#TMXMapInfo] isStoringCharacters --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#TMXMapInfo] getExternalTilesetFileName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TMXMapInfo] getObjectGroups --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#TMXMapInfo] getTMXFileName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setStaggerIndex --- @param self --- @param #int staggerIndex --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setProperties --- @param self --- @param #map_table properties --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setOrientation --- @param self --- @param #int orientation --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setTileProperties --- @param self --- @param #map_table tileProperties --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setMapSize --- @param self --- @param #size_table mapSize --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- --- @function [parent=#TMXMapInfo] getCurrentString --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setStoringCharacters --- @param self --- @param #bool storingCharacters --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setStaggerAxis --- @param self --- @param #int staggerAxis --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- / map width & height --- @function [parent=#TMXMapInfo] getMapSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setTilesets --- @param self --- @param #array_table tilesets --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TMXMapInfo] getProperties --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- / map stagger index --- @function [parent=#TMXMapInfo] getStaggerIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TMXMapInfo] setLayerAttribs --- @param self --- @param #int layerAttribs --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - --------------------------------- --- creates a TMX Format with a tmx file --- @function [parent=#TMXMapInfo] create --- @param self --- @param #string tmxFile --- @return TMXMapInfo#TMXMapInfo ret (return value: cc.TMXMapInfo) - --------------------------------- --- creates a TMX Format with an XML string and a TMX resource path --- @function [parent=#TMXMapInfo] createWithXML --- @param self --- @param #string tmxString --- @param #string resourcePath --- @return TMXMapInfo#TMXMapInfo ret (return value: cc.TMXMapInfo) - --------------------------------- --- js ctor --- @function [parent=#TMXMapInfo] TMXMapInfo --- @param self --- @return TMXMapInfo#TMXMapInfo self (return value: cc.TMXMapInfo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua b/cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua deleted file mode 100644 index 4e2d4073a1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua +++ /dev/null @@ -1,92 +0,0 @@ - --------------------------------- --- @module TMXObjectGroup --- @extend Ref --- @parent_module cc - --------------------------------- --- Sets the offset position of child objects.
--- param offset The offset position of child objects. --- @function [parent=#TMXObjectGroup] setPositionOffset --- @param self --- @param #vec2_table offset --- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup) - --------------------------------- --- Return the value for the specific property name.
--- param propertyName The specific property name.
--- return Return the value for the specific property name.
--- js NA --- @function [parent=#TMXObjectGroup] getProperty --- @param self --- @param #string propertyName --- @return Value#Value ret (return value: cc.Value) - --------------------------------- --- Gets the offset position of child objects.
--- return The offset position of child objects. --- @function [parent=#TMXObjectGroup] getPositionOffset --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Return the dictionary for the specific object name.
--- It will return the 1st object found on the array for the given name.
--- return Return the dictionary for the specific object name. --- @function [parent=#TMXObjectGroup] getObject --- @param self --- @param #string objectName --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TMXObjectGroup] getObjects --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Set the group name.
--- param groupName A string,it is used to set the group name. --- @function [parent=#TMXObjectGroup] setGroupName --- @param self --- @param #string groupName --- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TMXObjectGroup] getProperties --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- Get the group name.
--- return The group name. --- @function [parent=#TMXObjectGroup] getGroupName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Sets the list of properties.
--- param properties The list of properties. --- @function [parent=#TMXObjectGroup] setProperties --- @param self --- @param #map_table properties --- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup) - --------------------------------- --- Sets the array of the objects.
--- param objects The array of the objects. --- @function [parent=#TMXObjectGroup] setObjects --- @param self --- @param #array_table objects --- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup) - --------------------------------- --- js ctor --- @function [parent=#TMXObjectGroup] TMXObjectGroup --- @param self --- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua b/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua deleted file mode 100644 index 40b1305371..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua +++ /dev/null @@ -1,139 +0,0 @@ - --------------------------------- --- @module TMXTiledMap --- @extend Node --- @parent_module ccexp - --------------------------------- --- Set object groups.
--- param groups An object groups. --- @function [parent=#TMXTiledMap] setObjectGroups --- @param self --- @param #array_table groups --- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap) - --------------------------------- --- Return the value for the specific property name.
--- return Return the value for the specific property name. --- @function [parent=#TMXTiledMap] getProperty --- @param self --- @param #string propertyName --- @return Value#Value ret (return value: cc.Value) - --------------------------------- --- Set the map's size property measured in tiles.
--- param mapSize The map's size property measured in tiles. --- @function [parent=#TMXTiledMap] setMapSize --- @param self --- @param #size_table mapSize --- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap) - --------------------------------- --- Return the TMXObjectGroup for the specific group.
--- return Return the TMXObjectGroup for the specific group. --- @function [parent=#TMXTiledMap] getObjectGroup --- @param self --- @param #string groupName --- @return TMXObjectGroup#TMXObjectGroup ret (return value: cc.TMXObjectGroup) - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TMXTiledMap] getObjectGroups --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- The tiles's size property measured in pixels.
--- return The tiles's size property measured in pixels. --- @function [parent=#TMXTiledMap] getTileSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- The map's size property measured in tiles.
--- return The map's size property measured in tiles. --- @function [parent=#TMXTiledMap] getMapSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Get properties.
--- return Properties. --- @function [parent=#TMXTiledMap] getProperties --- @param self --- @return map_table#map_table ret (return value: map_table) - --------------------------------- --- Return properties dictionary for tile GID.
--- return Return properties dictionary for tile GID. --- @function [parent=#TMXTiledMap] getPropertiesForGID --- @param self --- @param #int GID --- @return Value#Value ret (return value: cc.Value) - --------------------------------- --- Set the tiles's size property measured in pixels.
--- param tileSize The tiles's size property measured in pixels. --- @function [parent=#TMXTiledMap] setTileSize --- @param self --- @param #size_table tileSize --- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap) - --------------------------------- --- Set properties.
--- param properties An ValueMap Properties. --- @function [parent=#TMXTiledMap] setProperties --- @param self --- @param #map_table properties --- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap) - --------------------------------- --- Return the FastTMXLayer for the specific layer.
--- return Return the FastTMXLayer for the specific layer. --- @function [parent=#TMXTiledMap] getLayer --- @param self --- @param #string layerName --- @return experimental::TMXLayer#experimental::TMXLayer ret (return value: cc.experimental::TMXLayer) - --------------------------------- --- Get map orientation.
--- return The map orientation. --- @function [parent=#TMXTiledMap] getMapOrientation --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set map orientation.
--- param mapOrientation The map orientation. --- @function [parent=#TMXTiledMap] setMapOrientation --- @param self --- @param #int mapOrientation --- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap) - --------------------------------- --- Creates a TMX Tiled Map with a TMX file.
--- return An autorelease object. --- @function [parent=#TMXTiledMap] create --- @param self --- @param #string tmxFile --- @return experimental::TMXTiledMap#experimental::TMXTiledMap ret (return value: cc.experimental::TMXTiledMap) - --------------------------------- --- Initializes a TMX Tiled Map with a TMX formatted XML string and a path to TMX resources.
--- param tmxString A TMX formatted XML string.
--- param resourcePath A path to TMX resources.
--- return An autorelease object. --- @function [parent=#TMXTiledMap] createWithXML --- @param self --- @param #string tmxString --- @param #string resourcePath --- @return experimental::TMXTiledMap#experimental::TMXTiledMap ret (return value: cc.experimental::TMXTiledMap) - --------------------------------- --- --- @function [parent=#TMXTiledMap] getDescription --- @param self --- @return string#string ret (return value: string) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TMXTilesetInfo.lua b/cocos/scripting/lua-bindings/auto/api/TMXTilesetInfo.lua deleted file mode 100644 index 7c7577134b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TMXTilesetInfo.lua +++ /dev/null @@ -1,20 +0,0 @@ - --------------------------------- --- @module TMXTilesetInfo --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#TMXTilesetInfo] getRectForGID --- @param self --- @param #unsigned int gid --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- js ctor --- @function [parent=#TMXTilesetInfo] TMXTilesetInfo --- @param self --- @return TMXTilesetInfo#TMXTilesetInfo self (return value: cc.TMXTilesetInfo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TabControl.lua b/cocos/scripting/lua-bindings/auto/api/TabControl.lua deleted file mode 100644 index 83cd72676c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TabControl.lua +++ /dev/null @@ -1,162 +0,0 @@ - --------------------------------- --- @module TabControl --- @extend Widget --- @parent_module ccui - --------------------------------- --- set header width, affect all tab
--- param headerWidth each tab header's width --- @function [parent=#TabControl] setHeaderWidth --- @param self --- @param #float headerWidth --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- remove the tab from this TabControl
--- param index The index of tab --- @function [parent=#TabControl] removeTab --- @param self --- @param #int index --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- get the count of tabs in this TabControl
--- return the count of tabs --- @function [parent=#TabControl] getTabCount --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- --- @function [parent=#TabControl] getHeaderDockPlace --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- get current selected tab's index
--- return the current selected tab index --- @function [parent=#TabControl] getSelectedTabIndex --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- insert tab, and init the position of header and container
--- param index The index tab should be
--- param header The header Button, will be a protected child in TabControl
--- param container The container, will be a protected child in TabControl --- @function [parent=#TabControl] insertTab --- @param self --- @param #int index --- @param #ccui.TabHeader header --- @param #ccui.Layout container --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- ignore the textures' size in header, scale them with _headerWidth and _headerHeight
--- param ignore is `true`, the header's texture scale with _headerWidth and _headerHeight
--- ignore is `false`, use the texture's size, do not scale them --- @function [parent=#TabControl] ignoreHeadersTextureSize --- @param self --- @param #bool ignore --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- get tab header's width
--- return header's width --- @function [parent=#TabControl] getHeaderWidth --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- the header dock place of header in TabControl
--- param dockPlace The strip place --- @function [parent=#TabControl] setHeaderDockPlace --- @param self --- @param #int dockPlace --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- @overload self, ccui.TabHeader --- @overload self, int --- @function [parent=#TabControl] setSelectTab --- @param self --- @param #int index --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- get TabHeader
--- param index The index of tab --- @function [parent=#TabControl] getTabHeader --- @param self --- @param #int index --- @return TabHeader#TabHeader ret (return value: ccui.TabHeader) - --------------------------------- --- get whether ignore the textures' size in header, scale them with _headerWidth and _headerHeight
--- return whether ignore the textures' size in header --- @function [parent=#TabControl] isIgnoreHeadersTextureSize --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Add a callback function which would be called when selected tab changed
--- param callback A std::function with type @see `ccTabControlCallback` --- @function [parent=#TabControl] setTabChangedEventListener --- @param self --- @param #function callback --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- set the delta zoom of selected tab
--- param zoom The delta zoom --- @function [parent=#TabControl] setHeaderSelectedZoom --- @param self --- @param #float zoom --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- set header height, affect all tab
--- param headerHeight each tab header's height --- @function [parent=#TabControl] setHeaderHeight --- @param self --- @param #float headerHeight --- @return TabControl#TabControl self (return value: ccui.TabControl) - --------------------------------- --- get the index of tabCell in TabView, return -1 if not exists in.
--- return the index of tabCell in TabView, `-1` means not exists in. --- @function [parent=#TabControl] indexOfTabHeader --- @param self --- @param #ccui.TabHeader tabCell --- @return int#int ret (return value: int) - --------------------------------- --- get Container
--- param index The index of tab --- @function [parent=#TabControl] getTabContainer --- @param self --- @param #int index --- @return Layout#Layout ret (return value: ccui.Layout) - --------------------------------- --- get the delta zoom of selected tab
--- return zoom, the delta zoom --- @function [parent=#TabControl] getHeaderSelectedZoom --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get tab header's height
--- return header's height --- @function [parent=#TabControl] getHeaderHeight --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TabControl] create --- @param self --- @return TabControl#TabControl ret (return value: ccui.TabControl) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TabHeader.lua b/cocos/scripting/lua-bindings/auto/api/TabHeader.lua deleted file mode 100644 index 1948b69a19..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TabHeader.lua +++ /dev/null @@ -1,96 +0,0 @@ - --------------------------------- --- @module TabHeader --- @extend AbstractCheckButton --- @parent_module ccui - --------------------------------- --- get the index this header in the TabControl
--- return -1 means not in any TabControl --- @function [parent=#TabHeader] getIndexInTabControl --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- get the TabHeader text
--- return he TabHeader text --- @function [parent=#TabHeader] getTitleText --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Change the font size of TabHeader text
--- param size TabHeader text's font size in float. --- @function [parent=#TabHeader] setTitleFontSize --- @param self --- @param #float size --- @return TabHeader#TabHeader self (return value: ccui.TabHeader) - --------------------------------- --- Change the font name of TabHeader text
--- param fontName a font name string. --- @function [parent=#TabHeader] setTitleFontName --- @param self --- @param #string fontName --- @return TabHeader#TabHeader self (return value: ccui.TabHeader) - --------------------------------- --- get the font size of TabHeader text
--- return TabHeader text's font size in float. --- @function [parent=#TabHeader] getTitleFontSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get the font name of TabHeader text
--- return font name in std::string --- @function [parent=#TabHeader] getTitleFontName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- get the TabHeader text color.
--- return Color4B of TabHeader text. --- @function [parent=#TabHeader] getTitleColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- Return the inner Label renderer of TabHeader.
--- return The TabHeader Label. --- @function [parent=#TabHeader] getTitleRenderer --- @param self --- @return Label#Label ret (return value: cc.Label) - --------------------------------- --- Change the content of Header's text.
--- param text The Header's text. --- @function [parent=#TabHeader] setTitleText --- @param self --- @param #string text --- @return TabHeader#TabHeader self (return value: ccui.TabHeader) - --------------------------------- --- Change the color of he TabHeader text
--- param color The he TabHeader text's color in Color4B. --- @function [parent=#TabHeader] setTitleColor --- @param self --- @param #color4b_table color --- @return TabHeader#TabHeader self (return value: ccui.TabHeader) - --------------------------------- --- @overload self, string, string, string, int --- @overload self --- @overload self, string, string, string, string, string, string, int --- @function [parent=#TabHeader] create --- @param self --- @param #string titleStr --- @param #string backGround --- @param #string backGroundSelected --- @param #string cross --- @param #string backGroundDisabled --- @param #string frontCrossDisabled --- @param #int texType --- @return TabHeader#TabHeader ret (return value: ccui.TabHeader) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TableView.lua b/cocos/scripting/lua-bindings/auto/api/TableView.lua deleted file mode 100644 index b7d96c3541..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TableView.lua +++ /dev/null @@ -1,133 +0,0 @@ - --------------------------------- --- @module TableView --- @extend ScrollView,ScrollViewDelegate --- @parent_module cc - --------------------------------- --- Updates the content of the cell at a given index.
--- param idx index to find a cell --- @function [parent=#TableView] updateCellAtIndex --- @param self --- @param #int idx --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- determines how cell is ordered and filled in the view. --- @function [parent=#TableView] setVerticalFillOrder --- @param self --- @param #int order --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- --- @function [parent=#TableView] scrollViewDidZoom --- @param self --- @param #cc.ScrollView view --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- --- @function [parent=#TableView] _updateContentSize --- @param self --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- --- @function [parent=#TableView] getVerticalFillOrder --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Removes a cell at a given index
--- param idx index to find a cell --- @function [parent=#TableView] removeCellAtIndex --- @param self --- @param #int idx --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- --- @function [parent=#TableView] initWithViewSize --- @param self --- @param #size_table size --- @param #cc.Node container --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#TableView] scrollViewDidScroll --- @param self --- @param #cc.ScrollView view --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- reloads data from data source. the view will be refreshed. --- @function [parent=#TableView] reloadData --- @param self --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- Inserts a new cell at a given index
--- param idx location to insert --- @function [parent=#TableView] insertCellAtIndex --- @param self --- @param #int idx --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- Returns an existing cell at a given index. Returns nil if a cell is nonexistent at the moment of query.
--- param idx index
--- return a cell at a given index --- @function [parent=#TableView] cellAtIndex --- @param self --- @param #int idx --- @return TableViewCell#TableViewCell ret (return value: cc.TableViewCell) - --------------------------------- --- Dequeues a free cell if available. nil if not.
--- return free cell --- @function [parent=#TableView] dequeueCell --- @param self --- @return TableViewCell#TableViewCell ret (return value: cc.TableViewCell) - --------------------------------- --- --- @function [parent=#TableView] onTouchMoved --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- --- @function [parent=#TableView] onTouchEnded --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- --- @function [parent=#TableView] onTouchCancelled --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return TableView#TableView self (return value: cc.TableView) - --------------------------------- --- --- @function [parent=#TableView] onTouchBegan --- @param self --- @param #cc.Touch pTouch --- @param #cc.Event pEvent --- @return bool#bool ret (return value: bool) - --------------------------------- --- js ctor
--- lua new --- @function [parent=#TableView] TableView --- @param self --- @return TableView#TableView self (return value: cc.TableView) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TableViewCell.lua b/cocos/scripting/lua-bindings/auto/api/TableViewCell.lua deleted file mode 100644 index 1b980b5fc4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TableViewCell.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module TableViewCell --- @extend Node --- @parent_module cc - --------------------------------- --- Cleans up any resources linked to this cell and resets idx property. --- @function [parent=#TableViewCell] reset --- @param self --- @return TableViewCell#TableViewCell self (return value: cc.TableViewCell) - --------------------------------- --- The index used internally by SWTableView and its subclasses --- @function [parent=#TableViewCell] getIdx --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TableViewCell] setIdx --- @param self --- @param #int uIdx --- @return TableViewCell#TableViewCell self (return value: cc.TableViewCell) - --------------------------------- --- --- @function [parent=#TableViewCell] create --- @param self --- @return TableViewCell#TableViewCell ret (return value: cc.TableViewCell) - --------------------------------- --- --- @function [parent=#TableViewCell] TableViewCell --- @param self --- @return TableViewCell#TableViewCell self (return value: cc.TableViewCell) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TargetedAction.lua b/cocos/scripting/lua-bindings/auto/api/TargetedAction.lua deleted file mode 100644 index fe39135bf1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TargetedAction.lua +++ /dev/null @@ -1,79 +0,0 @@ - --------------------------------- --- @module TargetedAction --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- @overload self --- @overload self --- @function [parent=#TargetedAction] getForcedTarget --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Init an action with the specified action and forced target --- @function [parent=#TargetedAction] initWithTarget --- @param self --- @param #cc.Node target --- @param #cc.FiniteTimeAction action --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the target that the action will be forced to run with.
--- param forcedTarget The target that the action will be forced to run with. --- @function [parent=#TargetedAction] setForcedTarget --- @param self --- @param #cc.Node forcedTarget --- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction) - --------------------------------- --- Create an action with the specified action and forced target.
--- param target The target needs to override.
--- param action The action needs to override.
--- return An autoreleased TargetedAction object. --- @function [parent=#TargetedAction] create --- @param self --- @param #cc.Node target --- @param #cc.FiniteTimeAction action --- @return TargetedAction#TargetedAction ret (return value: cc.TargetedAction) - --------------------------------- --- --- @function [parent=#TargetedAction] startWithTarget --- @param self --- @param #cc.Node target --- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction) - --------------------------------- --- --- @function [parent=#TargetedAction] clone --- @param self --- @return TargetedAction#TargetedAction ret (return value: cc.TargetedAction) - --------------------------------- --- --- @function [parent=#TargetedAction] stop --- @param self --- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction) - --------------------------------- --- --- @function [parent=#TargetedAction] reverse --- @param self --- @return TargetedAction#TargetedAction ret (return value: cc.TargetedAction) - --------------------------------- --- param time In seconds. --- @function [parent=#TargetedAction] update --- @param self --- @param #float time --- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction) - --------------------------------- --- --- @function [parent=#TargetedAction] TargetedAction --- @param self --- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Technique.lua b/cocos/scripting/lua-bindings/auto/api/Technique.lua deleted file mode 100644 index 53f69b6895..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Technique.lua +++ /dev/null @@ -1,62 +0,0 @@ - --------------------------------- --- @module Technique --- @extend RenderState --- @parent_module cc - --------------------------------- --- Returns the number of Passes in the Technique --- @function [parent=#Technique] getPassCount --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Returns a new clone of the Technique --- @function [parent=#Technique] clone --- @param self --- @return Technique#Technique ret (return value: cc.Technique) - --------------------------------- --- Adds a new pass to the Technique.
--- Order matters. First added, first rendered --- @function [parent=#Technique] addPass --- @param self --- @param #cc.Pass pass --- @return Technique#Technique self (return value: cc.Technique) - --------------------------------- --- Returns the list of passes --- @function [parent=#Technique] getPasses --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- Returns the name of the Technique --- @function [parent=#Technique] getName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Returns the Pass at given index --- @function [parent=#Technique] getPassByIndex --- @param self --- @param #int index --- @return Pass#Pass ret (return value: cc.Pass) - --------------------------------- --- --- @function [parent=#Technique] create --- @param self --- @param #cc.Material parent --- @return Technique#Technique ret (return value: cc.Technique) - --------------------------------- --- Creates a new Technique with a GLProgramState.
--- Method added to support legacy code --- @function [parent=#Technique] createWithGLProgramState --- @param self --- @param #cc.Material parent --- @param #cc.GLProgramState state --- @return Technique#Technique ret (return value: cc.Technique) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Terrain.lua b/cocos/scripting/lua-bindings/auto/api/Terrain.lua deleted file mode 100644 index 357fceef0f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Terrain.lua +++ /dev/null @@ -1,181 +0,0 @@ - --------------------------------- --- @module Terrain --- @extend Node --- @parent_module cc - --------------------------------- --- initialize heightMap data --- @function [parent=#Terrain] initHeightMap --- @param self --- @param #string heightMap --- @return bool#bool ret (return value: bool) - --------------------------------- --- set the MaxDetailAmount. --- @function [parent=#Terrain] setMaxDetailMapAmount --- @param self --- @param #int maxValue --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- show the wireline instead of the surface,Debug Use only.
--- Note only support desktop platform --- @function [parent=#Terrain] setDrawWire --- @param self --- @param #bool boolValue --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- get the terrain's height data --- @function [parent=#Terrain] getHeightData --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- set the Detail Map --- @function [parent=#Terrain] setDetailMap --- @param self --- @param #unsigned int index --- @param #cc.Terrain::DetailMap detailMap --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- reset the heightmap data. --- @function [parent=#Terrain] resetHeightMap --- @param self --- @param #string heightMap --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- set directional light for the terrain
--- param lightDir The direction of directional light, Note that lightDir is in the terrain's local space. Most of the time terrain is placed at (0,0,0) and without rotation, so lightDir is also in the world space. --- @function [parent=#Terrain] setLightDir --- @param self --- @param #vec3_table lightDir --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- set the alpha map --- @function [parent=#Terrain] setAlphaMap --- @param self --- @param #cc.Texture2D newAlphaMapTexture --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- set the skirt height ratio --- @function [parent=#Terrain] setSkirtHeightRatio --- @param self --- @param #float ratio --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- Convert a world Space position (X,Z) to terrain space position (X,Z) --- @function [parent=#Terrain] convertToTerrainSpace --- @param self --- @param #vec2_table worldSpace --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- initialize alphaMap ,detailMaps textures --- @function [parent=#Terrain] initTextures --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- initialize all Properties which terrain need --- @function [parent=#Terrain] initProperties --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Terrain] initWithTerrainData --- @param self --- @param #cc.Terrain::TerrainData parameter --- @param #int fixedType --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set threshold distance of each LOD level,must equal or greater than the chunk size
--- Note when invoke initHeightMap, the LOD distance will be automatic calculated. --- @function [parent=#Terrain] setLODDistance --- @param self --- @param #float lod1 --- @param #float lod2 --- @param #float lod3 --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- get the terrain's size --- @function [parent=#Terrain] getTerrainSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- get the normal of the specified position in terrain
--- return the normal vector of the specified position of the terrain.
--- note the fast normal calculation may not get precise normal vector. --- @function [parent=#Terrain] getNormal --- @param self --- @param #int pixelX --- @param #int pixelY --- @return vec3_table#vec3_table ret (return value: vec3_table) - --------------------------------- --- --- @function [parent=#Terrain] reload --- @param self --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- get height from the raw height filed --- @function [parent=#Terrain] getImageHeight --- @param self --- @param #int pixelX --- @param #int pixelY --- @return float#float ret (return value: float) - --------------------------------- --- set light map texture --- @function [parent=#Terrain] setLightMap --- @param self --- @param #string fileName --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- Switch frustum Culling Flag
--- Note frustum culling will remarkable improve your terrain rendering performance. --- @function [parent=#Terrain] setIsEnableFrustumCull --- @param self --- @param #bool boolValue --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- get the terrain's minimal height. --- @function [parent=#Terrain] getMinHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- get the terrain's maximal height. --- @function [parent=#Terrain] getMaxHeight --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Terrain] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return Terrain#Terrain self (return value: cc.Terrain) - --------------------------------- --- --- @function [parent=#Terrain] Terrain --- @param self --- @return Terrain#Terrain self (return value: cc.Terrain) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Text.lua b/cocos/scripting/lua-bindings/auto/api/Text.lua deleted file mode 100644 index 20d29424ed..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Text.lua +++ /dev/null @@ -1,325 +0,0 @@ - --------------------------------- --- @module Text --- @extend Widget,BlendProtocol --- @parent_module ccui - --------------------------------- --- Enable shadow for the label.
--- todo support blur for shadow effect
--- param shadowColor The color of shadow effect.
--- param offset The offset of shadow effect.
--- param blurRadius The blur radius of shadow effect. --- @function [parent=#Text] enableShadow --- @param self --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Gets the font size of label.
--- return The font size. --- @function [parent=#Text] getFontSize --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Text] getString --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, int --- @overload self --- @function [parent=#Text] disableEffect --- @param self --- @param #int effect --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Return current effect type. --- @function [parent=#Text] getLabelEffectType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets text color.
--- return Text color. --- @function [parent=#Text] getTextColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- Returns the blending function that is currently being used.
--- return A BlendFunc structure with source and destination factor which specified pixel arithmetic.
--- js NA
--- lua NA --- @function [parent=#Text] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- Sets text vertical alignment.
--- param alignment vertical text alignment type --- @function [parent=#Text] setTextVerticalAlignment --- @param self --- @param #int alignment --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Sets the font name of label.
--- If you are trying to use a system font, you could just pass a font name
--- If you are trying to use a TTF, you should pass a file path to the TTF file
--- Usage:
--- code
--- create a system font UIText
--- Text *text = Text::create("Hello", "Arial", 20);
--- it will change the font to system font no matter the previous font type is TTF or system font
--- text->setFontName("Marfelt");
--- it will change the font to TTF font no matter the previous font type is TTF or system font
--- text->setFontName("xxxx/xxx.ttf");
--- endcode
--- param name Font name. --- @function [parent=#Text] setFontName --- @param self --- @param #string name --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Sets the touch scale enabled of label.
--- param enabled Touch scale enabled of label. --- @function [parent=#Text] setTouchScaleChangeEnabled --- @param self --- @param #bool enabled --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Return shadow effect offset value. --- @function [parent=#Text] getShadowOffset --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- --- @function [parent=#Text] setString --- @param self --- @param #string text --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Return the outline effect size value. --- @function [parent=#Text] getOutlineSize --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Text] init --- @param self --- @param #string textContent --- @param #string fontName --- @param #float fontSize --- @return bool#bool ret (return value: bool) - --------------------------------- --- Return the shadow effect blur radius. --- @function [parent=#Text] getShadowBlurRadius --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Gets the touch scale enabled of label.
--- return Touch scale enabled of label. --- @function [parent=#Text] isTouchScaleChangeEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the font name.
--- return Font name. --- @function [parent=#Text] getFontName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Sets the rendering size of the text, you should call this method
--- along with calling `ignoreContentAdaptWithSize(false)`, otherwise the text area
--- size is calculated by the real size of the text content.
--- param size The text rendering area size. --- @function [parent=#Text] setTextAreaSize --- @param self --- @param #size_table size --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Gets the string length of the label.
--- Note: This length will be larger than the raw string length,
--- if you want to get the raw string length,
--- you should call this->getString().size() instead.
--- return String length. --- @function [parent=#Text] getStringLength --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets the render size in auto mode.
--- return The size of render size in auto mode. --- @function [parent=#Text] getAutoRenderSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Enable outline for the label.
--- It only works on IOS and Android when you use System fonts.
--- param outlineColor The color of outline.
--- param outlineSize The size of outline. --- @function [parent=#Text] enableOutline --- @param self --- @param #color4b_table outlineColor --- @param #int outlineSize --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Return current effect color value. --- @function [parent=#Text] getEffectColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- Gets the font type.
--- return The font type. --- @function [parent=#Text] getType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets text horizontal alignment.
--- return Horizontal text alignment type --- @function [parent=#Text] getTextHorizontalAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Return whether the shadow effect is enabled. --- @function [parent=#Text] isShadowEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the font size of label.
--- param size The font size. --- @function [parent=#Text] setFontSize --- @param self --- @param #float size --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Return the shadow effect color value. --- @function [parent=#Text] getShadowColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- Sets text color.
--- param color Text color. --- @function [parent=#Text] setTextColor --- @param self --- @param #color4b_table color --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Only support for TTF.
--- param glowColor The color of glow. --- @function [parent=#Text] enableGlow --- @param self --- @param #color4b_table glowColor --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Provides a way to treat each character like a Sprite.
--- warning No support system font. --- @function [parent=#Text] getLetter --- @param self --- @param #int lettetIndex --- @return Sprite#Sprite ret (return value: cc.Sprite) - --------------------------------- --- Sets the source blending function.
--- param blendFunc A structure with source and destination factor to specify pixel arithmetic. e.g. {GL_ONE, GL_ONE}, {GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA}.
--- js NA
--- lua NA --- @function [parent=#Text] setBlendFunc --- @param self --- @param #cc.BlendFunc blendFunc --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- Gets text vertical alignment.
--- return Vertical text alignment type --- @function [parent=#Text] getTextVerticalAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Return the text rendering area size.
--- return The text rendering area size. --- @function [parent=#Text] getTextAreaSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Sets text horizontal alignment.
--- param alignment Horizontal text alignment type --- @function [parent=#Text] setTextHorizontalAlignment --- @param self --- @param #int alignment --- @return Text#Text self (return value: ccui.Text) - --------------------------------- --- @overload self, string, string, float --- @overload self --- @function [parent=#Text] create --- @param self --- @param #string textContent --- @param #string fontName --- @param #float fontSize --- @return Text#Text ret (return value: ccui.Text) - --------------------------------- --- --- @function [parent=#Text] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#Text] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Text] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Returns the "class name" of widget. --- @function [parent=#Text] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Text] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Default constructor.
--- js ctor
--- lua new --- @function [parent=#Text] Text --- @param self --- @return Text#Text self (return value: ccui.Text) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua b/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua deleted file mode 100644 index 5c8b1dedfc..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua +++ /dev/null @@ -1,100 +0,0 @@ - --------------------------------- --- @module TextAtlas --- @extend Widget --- @parent_module ccui - --------------------------------- --- Gets the string length of the label.
--- Note: This length will be larger than the raw string length,
--- if you want to get the raw string length, you should call this->getString().size() instead
--- return string length. --- @function [parent=#TextAtlas] getStringLength --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TextAtlas] getString --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#TextAtlas] setString --- @param self --- @param #string value --- @return TextAtlas#TextAtlas self (return value: ccui.TextAtlas) - --------------------------------- --- --- @function [parent=#TextAtlas] getRenderFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- Initializes the LabelAtlas with a string, a char map file(the atlas), the width and height of each element and the starting char of the atlas.
--- param stringValue A given string needs to be displayed.
--- param charMapFile A given char map file name.
--- param itemWidth The element width.
--- param itemHeight The element height.
--- param startCharMap The starting char of the atlas. --- @function [parent=#TextAtlas] setProperty --- @param self --- @param #string stringValue --- @param #string charMapFile --- @param #int itemWidth --- @param #int itemHeight --- @param #string startCharMap --- @return TextAtlas#TextAtlas self (return value: ccui.TextAtlas) - --------------------------------- --- js NA --- @function [parent=#TextAtlas] adaptRenderers --- @param self --- @return TextAtlas#TextAtlas self (return value: ccui.TextAtlas) - --------------------------------- --- @overload self, string, string, int, int, string --- @overload self --- @function [parent=#TextAtlas] create --- @param self --- @param #string stringValue --- @param #string charMapFile --- @param #int itemWidth --- @param #int itemHeight --- @param #string startCharMap --- @return TextAtlas#TextAtlas ret (return value: ccui.TextAtlas) - --------------------------------- --- --- @function [parent=#TextAtlas] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#TextAtlas] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Returns the "class name" of widget. --- @function [parent=#TextAtlas] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#TextAtlas] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Default constructor.
--- lua new --- @function [parent=#TextAtlas] TextAtlas --- @param self --- @return TextAtlas#TextAtlas self (return value: ccui.TextAtlas) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TextBMFont.lua b/cocos/scripting/lua-bindings/auto/api/TextBMFont.lua deleted file mode 100644 index 4bd52e3102..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TextBMFont.lua +++ /dev/null @@ -1,89 +0,0 @@ - --------------------------------- --- @module TextBMFont --- @extend Widget --- @parent_module ccui - --------------------------------- --- Gets the string length of the label.
--- Note: This length will be larger than the raw string length,
--- if you want to get the raw string length, you should call this->getString().size() instead
--- return string length. --- @function [parent=#TextBMFont] getStringLength --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#TextBMFont] getString --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#TextBMFont] setString --- @param self --- @param #string value --- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont) - --------------------------------- --- --- @function [parent=#TextBMFont] getRenderFile --- @param self --- @return ResourceData#ResourceData ret (return value: cc.ResourceData) - --------------------------------- --- init a bitmap font atlas with an initial string and the FNT file --- @function [parent=#TextBMFont] setFntFile --- @param self --- @param #string fileName --- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont) - --------------------------------- --- reset TextBMFont inner label --- @function [parent=#TextBMFont] resetRender --- @param self --- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont) - --------------------------------- --- @overload self, string, string --- @overload self --- @function [parent=#TextBMFont] create --- @param self --- @param #string text --- @param #string filename --- @return TextBMFont#TextBMFont ret (return value: ccui.TextBMFont) - --------------------------------- --- --- @function [parent=#TextBMFont] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#TextBMFont] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Returns the "class name" of widget. --- @function [parent=#TextBMFont] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#TextBMFont] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#TextBMFont] TextBMFont --- @param self --- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TextField.lua b/cocos/scripting/lua-bindings/auto/api/TextField.lua deleted file mode 100644 index fd25484b86..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TextField.lua +++ /dev/null @@ -1,408 +0,0 @@ - --------------------------------- --- @module TextField --- @extend Widget --- @parent_module ccui - --------------------------------- --- brief Toggle attach with IME.
--- param attach True if attach with IME, false otherwise. --- @function [parent=#TextField] setAttachWithIME --- @param self --- @param #bool attach --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Query the font size.
--- return The integer font size. --- @function [parent=#TextField] getFontSize --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Query the content of TextField.
--- return The string value of TextField. --- @function [parent=#TextField] getString --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- brief Change password style text.
--- param styleText The styleText for password mask, the default value is "*". --- @function [parent=#TextField] setPasswordStyleText --- @param self --- @param #char styleText --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Whether it is ready to delete backward in TextField.
--- return True is the delete backward is enabled, false otherwise. --- @function [parent=#TextField] getDeleteBackward --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Query the text string color.
--- return The color of the text. --- @function [parent=#TextField] getTextColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- brief Get the placeholder of TextField.
--- return A placeholder string. --- @function [parent=#TextField] getPlaceHolder --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- brief Query whether the IME is attached or not.
--- return True if IME is attached, false otherwise. --- @function [parent=#TextField] getAttachWithIME --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Change the font name of TextField.
--- param name The font name string. --- @function [parent=#TextField] setFontName --- @param self --- @param #string name --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Whether it is ready to get the inserted text or not.
--- return True if the insert text is ready, false otherwise. --- @function [parent=#TextField] getInsertText --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Toggle enable insert text mode
--- param insertText True if enable insert text, false otherwise. --- @function [parent=#TextField] setInsertText --- @param self --- @param #bool insertText --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- Change content of TextField.
--- param text A string content. --- @function [parent=#TextField] setString --- @param self --- @param #string text --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Query whether IME is detached or not.
--- return True if IME is detached, false otherwise. --- @function [parent=#TextField] getDetachWithIME --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Change the vertical text alignment.
--- param alignment A alignment arguments in @see `TextVAlignment`. --- @function [parent=#TextField] setTextVerticalAlignment --- @param self --- @param #int alignment --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- Add a event listener to TextField, when some predefined event happens, the callback will be called.
--- param callback A callback function with type of `ccTextFieldCallback`. --- @function [parent=#TextField] addEventListener --- @param self --- @param #function callback --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Detach the IME. --- @function [parent=#TextField] didNotSelectSelf --- @param self --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Query the TextField's font name.
--- return The font name string. --- @function [parent=#TextField] getFontName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- brief Change the text area size.
--- param size A delimitation zone. --- @function [parent=#TextField] setTextAreaSize --- @param self --- @param #size_table size --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Attach the IME for inputing. --- @function [parent=#TextField] attachWithIME --- @param self --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Query the input string length.
--- return A integer length value. --- @function [parent=#TextField] getStringLength --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Get the renderer size in auto mode.
--- return A delimitation zone. --- @function [parent=#TextField] getAutoRenderSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- brief Toggle enable password input mode.
--- param enable True if enable password input mode, false otherwise. --- @function [parent=#TextField] setPasswordEnabled --- @param self --- @param #bool enable --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Query the placeholder string color.
--- return The color of placeholder. --- @function [parent=#TextField] getPlaceHolderColor --- @param self --- @return color4b_table#color4b_table ret (return value: color4b_table) - --------------------------------- --- brief Query the password style text.
--- return A password style text. --- @function [parent=#TextField] getPasswordStyleText --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- brief Toggle maximize length enable
--- param enable True if enable maximize length, false otherwise. --- @function [parent=#TextField] setMaxLengthEnabled --- @param self --- @param #bool enable --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Query whether password is enabled or not.
--- return True if password is enabled, false otherwise. --- @function [parent=#TextField] isPasswordEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Toggle enable delete backward mode.
--- param deleteBackward True is delete backward is enabled, false otherwise. --- @function [parent=#TextField] setDeleteBackward --- @param self --- @param #bool deleteBackward --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- Set cursor position, if enabled
--- js NA --- @function [parent=#TextField] setCursorPosition --- @param self --- @param #unsigned int cursorPosition --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Inquire the horizontal alignment
--- return The horizontal alignment --- @function [parent=#TextField] getTextHorizontalAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Change font size of TextField.
--- param size The integer font size. --- @function [parent=#TextField] setFontSize --- @param self --- @param #int size --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Set placeholder of TextField.
--- param value The string value of placeholder. --- @function [parent=#TextField] setPlaceHolder --- @param self --- @param #string value --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- Set cursor position to hit letter, if enabled
--- js NA --- @function [parent=#TextField] setCursorFromPoint --- @param self --- @param #vec2_table point --- @param #cc.Camera camera --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- @overload self, color4b_table --- @overload self, color3b_table --- @function [parent=#TextField] setPlaceHolderColor --- @param self --- @param #color3b_table color --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Change horizontal text alignment.
--- param alignment A alignment arguments in @see `TextHAlignment`. --- @function [parent=#TextField] setTextHorizontalAlignment --- @param self --- @param #int alignment --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Change the text color.
--- param textColor The color value in `Color4B`. --- @function [parent=#TextField] setTextColor --- @param self --- @param #color4b_table textColor --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- Set char showing cursor.
--- js NA --- @function [parent=#TextField] setCursorChar --- @param self --- @param #char cursor --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Query maximize input length of TextField.
--- return The integer value of maximize input length. --- @function [parent=#TextField] getMaxLength --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Query whether max length is enabled or not.
--- return True if maximize length is enabled, false otherwise. --- @function [parent=#TextField] isMaxLengthEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Toggle detach with IME.
--- param detach True if detach with IME, false otherwise. --- @function [parent=#TextField] setDetachWithIME --- @param self --- @param #bool detach --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Inquire the horizontal alignment
--- return The horizontal alignment --- @function [parent=#TextField] getTextVerticalAlignment --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- brief Toggle enable touch area.
--- param enable True if enable touch area, false otherwise. --- @function [parent=#TextField] setTouchAreaEnabled --- @param self --- @param #bool enable --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Change maximize input length limitation.
--- param length A character count in integer. --- @function [parent=#TextField] setMaxLength --- @param self --- @param #int length --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- Set enable cursor use.
--- js NA --- @function [parent=#TextField] setCursorEnabled --- @param self --- @param #bool enabled --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Set the touch size
--- The touch size is used for @see `hitTest`.
--- param size A delimitation zone. --- @function [parent=#TextField] setTouchSize --- @param self --- @param #size_table size --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- brief Get current touch size of TextField.
--- return The TextField's touch size. --- @function [parent=#TextField] getTouchSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- @overload self, string, string, int --- @overload self --- @function [parent=#TextField] create --- @param self --- @param #string placeholder --- @param #string fontName --- @param #int fontSize --- @return TextField#TextField ret (return value: ccui.TextField) - --------------------------------- --- --- @function [parent=#TextField] createInstance --- @param self --- @return Ref#Ref ret (return value: cc.Ref) - --------------------------------- --- --- @function [parent=#TextField] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- Returns the "class name" of widget. --- @function [parent=#TextField] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#TextField] update --- @param self --- @param #float dt --- @return TextField#TextField self (return value: ccui.TextField) - --------------------------------- --- --- @function [parent=#TextField] hitTest --- @param self --- @param #vec2_table pt --- @param #cc.Camera camera --- @param #vec3_table p --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#TextField] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#TextField] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- brief Default constructor. --- @function [parent=#TextField] TextField --- @param self --- @return TextField#TextField self (return value: ccui.TextField) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Texture2D.lua b/cocos/scripting/lua-bindings/auto/api/Texture2D.lua deleted file mode 100644 index 60fb4af256..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Texture2D.lua +++ /dev/null @@ -1,252 +0,0 @@ - --------------------------------- --- @module Texture2D --- @extend Ref --- @parent_module cc - --------------------------------- --- Gets max T. --- @function [parent=#Texture2D] getMaxT --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Texture2D] setAlphaTexture --- @param self --- @param #cc.Texture2D alphaTexture --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- Returns the pixel format.
--- since v2.0 --- @function [parent=#Texture2D] getStringForFormat --- @param self --- @return char#char ret (return value: char) - --------------------------------- --- @overload self, cc.Image, int --- @overload self, cc.Image --- @function [parent=#Texture2D] initWithImage --- @param self --- @param #cc.Image image --- @param #int format --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets max S. --- @function [parent=#Texture2D] getMaxS --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Release only the gl texture.
--- js NA
--- lua NA --- @function [parent=#Texture2D] releaseGLTexture --- @param self --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- Whether or not the texture has their Alpha premultiplied. --- @function [parent=#Texture2D] hasPremultipliedAlpha --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the height of the texture in pixels. --- @function [parent=#Texture2D] getPixelsHigh --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Texture2D] getAlphaTextureName --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- @overload self, int --- @overload self --- @function [parent=#Texture2D] getBitsPerPixelForFormat --- @param self --- @param #int format --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- Gets the texture name. --- @function [parent=#Texture2D] getName --- @param self --- @return unsigned int#unsigned int ret (return value: unsigned int) - --------------------------------- --- @overload self, char, cc.FontDefinition --- @overload self, char, string, float, size_table, int, int, bool, int --- @function [parent=#Texture2D] initWithString --- @param self --- @param #char text --- @param #string fontName --- @param #float fontSize --- @param #size_table dimensions --- @param #int hAlignment --- @param #int vAlignment --- @param #bool enableWrap --- @param #int overflow --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets max T. --- @function [parent=#Texture2D] setMaxT --- @param self --- @param #float maxT --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- --- @function [parent=#Texture2D] getPath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Draws a texture inside a rect. --- @function [parent=#Texture2D] drawInRect --- @param self --- @param #rect_table rect --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- Get the texture content size. --- @function [parent=#Texture2D] getContentSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Sets alias texture parameters:
--- - GL_TEXTURE_MIN_FILTER = GL_NEAREST
--- - GL_TEXTURE_MAG_FILTER = GL_NEAREST
--- warning Calling this method could allocate additional texture memory.
--- since v0.8 --- @function [parent=#Texture2D] setAliasTexParameters --- @param self --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- Sets antialias texture parameters:
--- - GL_TEXTURE_MIN_FILTER = GL_LINEAR
--- - GL_TEXTURE_MAG_FILTER = GL_LINEAR
--- warning Calling this method could allocate additional texture memory.
--- since v0.8 --- @function [parent=#Texture2D] setAntiAliasTexParameters --- @param self --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- Generates mipmap images for the texture.
--- It only works if the texture size is POT (power of 2).
--- since v0.99.0 --- @function [parent=#Texture2D] generateMipmap --- @param self --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- --- @function [parent=#Texture2D] getAlphaTexture --- @param self --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Get texture name, dimensions and coordinates message by a string.
--- js NA
--- lua NA --- @function [parent=#Texture2D] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Gets the pixel format of the texture. --- @function [parent=#Texture2D] getPixelFormat --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Set a shader program to the texture.
--- It's used by drawAtPoint and drawInRect --- @function [parent=#Texture2D] setGLProgram --- @param self --- @param #cc.GLProgram program --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- Get content size. --- @function [parent=#Texture2D] getContentSizeInPixels --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Gets the width of the texture in pixels. --- @function [parent=#Texture2D] getPixelsWide --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Drawing extensions to make it easy to draw basic quads using a Texture2D object.
--- These functions require GL_TEXTURE_2D and both GL_VERTEX_ARRAY and GL_TEXTURE_COORD_ARRAY client states to be enabled.
--- Draws a texture at a given point. --- @function [parent=#Texture2D] drawAtPoint --- @param self --- @param #vec2_table point --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- Get a shader program from the texture. --- @function [parent=#Texture2D] getGLProgram --- @param self --- @return GLProgram#GLProgram ret (return value: cc.GLProgram) - --------------------------------- --- Whether or not the texture has mip maps. --- @function [parent=#Texture2D] hasMipmaps --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets max S. --- @function [parent=#Texture2D] setMaxS --- @param self --- @param #float maxS --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- sets the default pixel format for UIImagescontains alpha channel.
--- param format
--- If the UIImage contains alpha channel, then the options are:
--- - generate 32-bit textures: Texture2D::PixelFormat::RGBA8888 (default one)
--- - generate 24-bit textures: Texture2D::PixelFormat::RGB888
--- - generate 16-bit textures: Texture2D::PixelFormat::RGBA4444
--- - generate 16-bit textures: Texture2D::PixelFormat::RGB5A1
--- - generate 16-bit textures: Texture2D::PixelFormat::RGB565
--- - generate 8-bit textures: Texture2D::PixelFormat::A8 (only use it if you use just 1 color)
--- How does it work ?
--- - If the image is an RGBA (with Alpha) then the default pixel format will be used (it can be a 8-bit, 16-bit or 32-bit texture)
--- - If the image is an RGB (without Alpha) then: If the default pixel format is RGBA8888 then a RGBA8888 (32-bit) will be used. Otherwise a RGB565 (16-bit texture) will be used.
--- This parameter is not valid for PVR / PVR.CCZ images.
--- since v0.8 --- @function [parent=#Texture2D] setDefaultAlphaPixelFormat --- @param self --- @param #int format --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - --------------------------------- --- Returns the alpha pixel format.
--- since v0.8 --- @function [parent=#Texture2D] getDefaultAlphaPixelFormat --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- js ctor --- @function [parent=#Texture2D] Texture2D --- @param self --- @return Texture2D#Texture2D self (return value: cc.Texture2D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TextureCache.lua b/cocos/scripting/lua-bindings/auto/api/TextureCache.lua deleted file mode 100644 index 97f1cb09c3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TextureCache.lua +++ /dev/null @@ -1,150 +0,0 @@ - --------------------------------- --- @module TextureCache --- @extend Ref --- @parent_module cc - --------------------------------- --- Reload texture from the image file.
--- If the file image hasn't loaded before, load it.
--- Otherwise the texture will be reloaded from the file image.
--- param fileName It's the related/absolute path of the file image.
--- return True if the reloading is succeed, otherwise return false. --- @function [parent=#TextureCache] reloadTexture --- @param self --- @param #string fileName --- @return bool#bool ret (return value: bool) - --------------------------------- --- Unbind all bound image asynchronous load callbacks.
--- since v3.1 --- @function [parent=#TextureCache] unbindAllImageAsync --- @param self --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- Deletes a texture from the cache given a its key name.
--- param key It's the related/absolute path of the file image.
--- since v0.99.4 --- @function [parent=#TextureCache] removeTextureForKey --- @param self --- @param #string key --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- Purges the dictionary of loaded textures.
--- Call this method if you receive the "Memory Warning".
--- In the short term: it will free some resources preventing your app from being killed.
--- In the medium term: it will allocate more resources.
--- In the long term: it will be the same. --- @function [parent=#TextureCache] removeAllTextures --- @param self --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- js NA
--- lua NA --- @function [parent=#TextureCache] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Output to CCLOG the current contents of this TextureCache.
--- This will attempt to calculate the size of each texture, and the total texture memory in use.
--- since v1.0 --- @function [parent=#TextureCache] getCachedTextureInfo --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, cc.Image, string --- @overload self, string --- @function [parent=#TextureCache] addImage --- @param self --- @param #cc.Image image --- @param #string key --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Unbind a specified bound image asynchronous callback.
--- In the case an object who was bound to an image asynchronous callback was destroyed before the callback is invoked,
--- the object always need to unbind this callback manually.
--- param filename It's the related/absolute path of the file image.
--- since v3.1 --- @function [parent=#TextureCache] unbindImageAsync --- @param self --- @param #string filename --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- Returns an already created texture. Returns nil if the texture doesn't exist.
--- param key It's the related/absolute path of the file image.
--- since v0.99.5 --- @function [parent=#TextureCache] getTextureForKey --- @param self --- @param #string key --- @return Texture2D#Texture2D ret (return value: cc.Texture2D) - --------------------------------- --- Get the file path of the texture
--- param texture A Texture2D object pointer.
--- return The full path of the file. --- @function [parent=#TextureCache] getTextureFilePath --- @param self --- @param #cc.Texture2D texture --- @return string#string ret (return value: string) - --------------------------------- --- Reload texture from a new file.
--- This function is mainly for editor, won't suggest use it in game for performance reason.
--- param srcName Original texture file name.
--- param dstName New texture file name.
--- since v3.10 --- @function [parent=#TextureCache] renameTextureWithKey --- @param self --- @param #string srcName --- @param #string dstName --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- Removes unused textures.
--- Textures that have a retain count of 1 will be deleted.
--- It is convenient to call this method after when starting a new Scene.
--- since v0.8 --- @function [parent=#TextureCache] removeUnusedTextures --- @param self --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- Deletes a texture from the cache given a texture. --- @function [parent=#TextureCache] removeTexture --- @param self --- @param #cc.Texture2D texture --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- Called by director, please do not called outside. --- @function [parent=#TextureCache] waitForQuit --- @param self --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- --- @function [parent=#TextureCache] setETC1AlphaFileSuffix --- @param self --- @param #string suffix --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - --------------------------------- --- --- @function [parent=#TextureCache] getETC1AlphaFileSuffix --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- js ctor --- @function [parent=#TextureCache] TextureCache --- @param self --- @return TextureCache#TextureCache self (return value: cc.TextureCache) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TextureCube.lua b/cocos/scripting/lua-bindings/auto/api/TextureCube.lua deleted file mode 100644 index d6ebe04412..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TextureCube.lua +++ /dev/null @@ -1,46 +0,0 @@ - --------------------------------- --- @module TextureCube --- @extend Texture2D --- @parent_module cc - --------------------------------- --- reload texture cube after GLESContext reconstructed. --- @function [parent=#TextureCube] reloadTexture --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the min filter, mag filter, wrap s and wrap t texture parameters.
--- If the texture size is NPOT (non power of 2), then in can only use GL_CLAMP_TO_EDGE in GL_TEXTURE_WRAP_{S,T}. --- @function [parent=#TextureCube] setSamplerDescriptor --- @param self --- @param #cc.Texture2D::_TexParams --- @return TextureCube#TextureCube self (return value: cc.TextureCube) - --------------------------------- --- create cube texture from 6 textures.
--- param positive_x texture for the right side of the texture cube face.
--- param negative_x texture for the up side of the texture cube face.
--- param positive_y texture for the top side of the texture cube face
--- param negative_y texture for the bottom side of the texture cube face
--- param positive_z texture for the forward side of the texture cube face.
--- param negative_z texture for the rear side of the texture cube face.
--- return A new texture cube inited with given parameters. --- @function [parent=#TextureCube] create --- @param self --- @param #string positive_x --- @param #string negative_x --- @param #string positive_y --- @param #string negative_y --- @param #string positive_z --- @param #string negative_z --- @return TextureCube#TextureCube ret (return value: cc.TextureCube) - --------------------------------- --- Constructor. --- @function [parent=#TextureCube] TextureCube --- @param self --- @return TextureCube#TextureCube self (return value: cc.TextureCube) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TextureData.lua b/cocos/scripting/lua-bindings/auto/api/TextureData.lua deleted file mode 100644 index 9e97d6fb49..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TextureData.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module TextureData --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#TextureData] getContourData --- @param self --- @param #int index --- @return ContourData#ContourData ret (return value: ccs.ContourData) - --------------------------------- --- --- @function [parent=#TextureData] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#TextureData] addContourData --- @param self --- @param #ccs.ContourData contourData --- @return TextureData#TextureData self (return value: ccs.TextureData) - --------------------------------- --- --- @function [parent=#TextureData] create --- @param self --- @return TextureData#TextureData ret (return value: ccs.TextureData) - --------------------------------- --- js ctor --- @function [parent=#TextureData] TextureData --- @param self --- @return TextureData#TextureData self (return value: ccs.TextureData) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TextureFrame.lua b/cocos/scripting/lua-bindings/auto/api/TextureFrame.lua deleted file mode 100644 index d7296b8bb6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TextureFrame.lua +++ /dev/null @@ -1,45 +0,0 @@ - --------------------------------- --- @module TextureFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#TextureFrame] getTextureName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#TextureFrame] setTextureName --- @param self --- @param #string textureName --- @return TextureFrame#TextureFrame self (return value: ccs.TextureFrame) - --------------------------------- --- --- @function [parent=#TextureFrame] create --- @param self --- @return TextureFrame#TextureFrame ret (return value: ccs.TextureFrame) - --------------------------------- --- --- @function [parent=#TextureFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#TextureFrame] setNode --- @param self --- @param #cc.Node node --- @return TextureFrame#TextureFrame self (return value: ccs.TextureFrame) - --------------------------------- --- --- @function [parent=#TextureFrame] TextureFrame --- @param self --- @return TextureFrame#TextureFrame self (return value: ccs.TextureFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TileMapAtlas.lua b/cocos/scripting/lua-bindings/auto/api/TileMapAtlas.lua deleted file mode 100644 index 583bd69240..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TileMapAtlas.lua +++ /dev/null @@ -1,58 +0,0 @@ - --------------------------------- --- @module TileMapAtlas --- @extend AtlasNode --- @parent_module cc - --------------------------------- --- initializes a TileMap with a tile file (atlas) with a map file and the width and height of each tile in points.
--- The file will be loaded using the TextureMgr. --- @function [parent=#TileMapAtlas] initWithTileFile --- @param self --- @param #string tile --- @param #string mapFile --- @param #int tileWidth --- @param #int tileHeight --- @return bool#bool ret (return value: bool) - --------------------------------- --- dealloc the map from memory --- @function [parent=#TileMapAtlas] releaseMap --- @param self --- @return TileMapAtlas#TileMapAtlas self (return value: cc.TileMapAtlas) - --------------------------------- --- Returns a tile from position x,y.
--- For the moment only channel R is used --- @function [parent=#TileMapAtlas] getTileAt --- @param self --- @param #vec2_table position --- @return color3b_table#color3b_table ret (return value: color3b_table) - --------------------------------- --- sets a tile at position x,y.
--- For the moment only channel R is used --- @function [parent=#TileMapAtlas] setTile --- @param self --- @param #color3b_table tile --- @param #vec2_table position --- @return TileMapAtlas#TileMapAtlas self (return value: cc.TileMapAtlas) - --------------------------------- --- creates a TileMap with a tile file (atlas) with a map file and the width and height of each tile in points.
--- The tile file will be loaded using the TextureMgr. --- @function [parent=#TileMapAtlas] create --- @param self --- @param #string tile --- @param #string mapFile --- @param #int tileWidth --- @param #int tileHeight --- @return TileMapAtlas#TileMapAtlas ret (return value: cc.TileMapAtlas) - --------------------------------- --- js ctor --- @function [parent=#TileMapAtlas] TileMapAtlas --- @param self --- @return TileMapAtlas#TileMapAtlas self (return value: cc.TileMapAtlas) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua b/cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua deleted file mode 100644 index 002c48a64e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua +++ /dev/null @@ -1,46 +0,0 @@ - --------------------------------- --- @module TiledGrid3D --- @extend GridBase --- @parent_module cc - --------------------------------- --- @overload self, size_table, rect_table --- @overload self, size_table --- @overload self, size_table, cc.Texture2D, bool --- @overload self, size_table, cc.Texture2D, bool, rect_table --- @function [parent=#TiledGrid3D] create --- @param self --- @param #size_table gridSize --- @param #cc.Texture2D texture --- @param #bool flipped --- @param #rect_table rect --- @return TiledGrid3D#TiledGrid3D ret (return value: cc.TiledGrid3D) - --------------------------------- --- --- @function [parent=#TiledGrid3D] calculateVertexPoints --- @param self --- @return TiledGrid3D#TiledGrid3D self (return value: cc.TiledGrid3D) - --------------------------------- --- @{
--- Implementations for interfaces in base class. --- @function [parent=#TiledGrid3D] blit --- @param self --- @return TiledGrid3D#TiledGrid3D self (return value: cc.TiledGrid3D) - --------------------------------- --- --- @function [parent=#TiledGrid3D] reuse --- @param self --- @return TiledGrid3D#TiledGrid3D self (return value: cc.TiledGrid3D) - --------------------------------- --- Constructor.
--- js ctor --- @function [parent=#TiledGrid3D] TiledGrid3D --- @param self --- @return TiledGrid3D#TiledGrid3D self (return value: cc.TiledGrid3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TiledGrid3DAction.lua b/cocos/scripting/lua-bindings/auto/api/TiledGrid3DAction.lua deleted file mode 100644 index a6204fdfcd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TiledGrid3DAction.lua +++ /dev/null @@ -1,19 +0,0 @@ - --------------------------------- --- @module TiledGrid3DAction --- @extend GridAction --- @parent_module cc - --------------------------------- --- --- @function [parent=#TiledGrid3DAction] clone --- @param self --- @return TiledGrid3DAction#TiledGrid3DAction ret (return value: cc.TiledGrid3DAction) - --------------------------------- --- returns the grid --- @function [parent=#TiledGrid3DAction] getGrid --- @param self --- @return GridBase#GridBase ret (return value: cc.GridBase) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Timeline.lua b/cocos/scripting/lua-bindings/auto/api/Timeline.lua deleted file mode 100644 index 7a05328c44..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Timeline.lua +++ /dev/null @@ -1,106 +0,0 @@ - --------------------------------- --- @module Timeline --- @extend Ref --- @parent_module ccs - --------------------------------- --- --- @function [parent=#Timeline] clone --- @param self --- @return Timeline#Timeline ret (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] gotoFrame --- @param self --- @param #int frameIndex --- @return Timeline#Timeline self (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] setNode --- @param self --- @param #cc.Node node --- @return Timeline#Timeline self (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] getActionTimeline --- @param self --- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) - --------------------------------- --- --- @function [parent=#Timeline] insertFrame --- @param self --- @param #ccs.Frame frame --- @param #int index --- @return Timeline#Timeline self (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] setActionTag --- @param self --- @param #int tag --- @return Timeline#Timeline self (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] addFrame --- @param self --- @param #ccs.Frame frame --- @return Timeline#Timeline self (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] getFrames --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- --- @function [parent=#Timeline] getActionTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#Timeline] getNode --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- --- @function [parent=#Timeline] removeFrame --- @param self --- @param #ccs.Frame frame --- @return Timeline#Timeline self (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] setActionTimeline --- @param self --- @param #ccs.ActionTimeline action --- @return Timeline#Timeline self (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] stepToFrame --- @param self --- @param #int frameIndex --- @return Timeline#Timeline self (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] create --- @param self --- @return Timeline#Timeline ret (return value: ccs.Timeline) - --------------------------------- --- --- @function [parent=#Timeline] Timeline --- @param self --- @return Timeline#Timeline self (return value: ccs.Timeline) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Timer.lua b/cocos/scripting/lua-bindings/auto/api/Timer.lua deleted file mode 100644 index 0a752aed21..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Timer.lua +++ /dev/null @@ -1,54 +0,0 @@ - --------------------------------- --- @module Timer --- @extend Ref --- @parent_module cc - --------------------------------- --- --- @function [parent=#Timer] setupTimerWithInterval --- @param self --- @param #float seconds --- @param #unsigned int repeat --- @param #float delay --- @return Timer#Timer self (return value: cc.Timer) - --------------------------------- --- triggers the timer --- @function [parent=#Timer] update --- @param self --- @param #float dt --- @return Timer#Timer self (return value: cc.Timer) - --------------------------------- --- --- @function [parent=#Timer] isAborted --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Timer] isExhausted --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Timer] trigger --- @param self --- @param #float dt --- @return Timer#Timer self (return value: cc.Timer) - --------------------------------- --- --- @function [parent=#Timer] cancel --- @param self --- @return Timer#Timer self (return value: cc.Timer) - --------------------------------- --- --- @function [parent=#Timer] setAborted --- @param self --- @return Timer#Timer self (return value: cc.Timer) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TintBy.lua b/cocos/scripting/lua-bindings/auto/api/TintBy.lua deleted file mode 100644 index 0c45ef80eb..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TintBy.lua +++ /dev/null @@ -1,64 +0,0 @@ - --------------------------------- --- @module TintBy --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- initializes the action with duration and color --- @function [parent=#TintBy] initWithDuration --- @param self --- @param #float duration --- @param #short deltaRed --- @param #short deltaGreen --- @param #short deltaBlue --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates an action with duration and color.
--- param duration Duration time, in seconds.
--- param deltaRed Delta red color.
--- param deltaGreen Delta green color.
--- param deltaBlue Delta blue color.
--- return An autoreleased TintBy object. --- @function [parent=#TintBy] create --- @param self --- @param #float duration --- @param #short deltaRed --- @param #short deltaGreen --- @param #short deltaBlue --- @return TintBy#TintBy ret (return value: cc.TintBy) - --------------------------------- --- --- @function [parent=#TintBy] startWithTarget --- @param self --- @param #cc.Node target --- @return TintBy#TintBy self (return value: cc.TintBy) - --------------------------------- --- --- @function [parent=#TintBy] clone --- @param self --- @return TintBy#TintBy ret (return value: cc.TintBy) - --------------------------------- --- --- @function [parent=#TintBy] reverse --- @param self --- @return TintBy#TintBy ret (return value: cc.TintBy) - --------------------------------- --- param time In seconds. --- @function [parent=#TintBy] update --- @param self --- @param #float time --- @return TintBy#TintBy self (return value: cc.TintBy) - --------------------------------- --- --- @function [parent=#TintBy] TintBy --- @param self --- @return TintBy#TintBy self (return value: cc.TintBy) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TintTo.lua b/cocos/scripting/lua-bindings/auto/api/TintTo.lua deleted file mode 100644 index 1e0ede20c6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TintTo.lua +++ /dev/null @@ -1,60 +0,0 @@ - --------------------------------- --- @module TintTo --- @extend ActionInterval --- @parent_module cc - --------------------------------- --- initializes the action with duration and color --- @function [parent=#TintTo] initWithDuration --- @param self --- @param #float duration --- @param #unsigned char red --- @param #unsigned char green --- @param #unsigned char blue --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, color3b_table --- @overload self, float, unsigned char, unsigned char, unsigned char --- @function [parent=#TintTo] create --- @param self --- @param #float duration --- @param #unsigned char red --- @param #unsigned char green --- @param #unsigned char blue --- @return TintTo#TintTo ret (return value: cc.TintTo) - --------------------------------- --- --- @function [parent=#TintTo] startWithTarget --- @param self --- @param #cc.Node target --- @return TintTo#TintTo self (return value: cc.TintTo) - --------------------------------- --- --- @function [parent=#TintTo] clone --- @param self --- @return TintTo#TintTo ret (return value: cc.TintTo) - --------------------------------- --- --- @function [parent=#TintTo] reverse --- @param self --- @return TintTo#TintTo ret (return value: cc.TintTo) - --------------------------------- --- param time In seconds. --- @function [parent=#TintTo] update --- @param self --- @param #float time --- @return TintTo#TintTo self (return value: cc.TintTo) - --------------------------------- --- --- @function [parent=#TintTo] TintTo --- @param self --- @return TintTo#TintTo self (return value: cc.TintTo) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ToggleVisibility.lua b/cocos/scripting/lua-bindings/auto/api/ToggleVisibility.lua deleted file mode 100644 index 8ac661abd1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ToggleVisibility.lua +++ /dev/null @@ -1,39 +0,0 @@ - --------------------------------- --- @module ToggleVisibility --- @extend ActionInstant --- @parent_module cc - --------------------------------- --- Allocates and initializes the action.
--- return An autoreleased ToggleVisibility object. --- @function [parent=#ToggleVisibility] create --- @param self --- @return ToggleVisibility#ToggleVisibility ret (return value: cc.ToggleVisibility) - --------------------------------- --- --- @function [parent=#ToggleVisibility] clone --- @param self --- @return ToggleVisibility#ToggleVisibility ret (return value: cc.ToggleVisibility) - --------------------------------- --- param time In seconds. --- @function [parent=#ToggleVisibility] update --- @param self --- @param #float time --- @return ToggleVisibility#ToggleVisibility self (return value: cc.ToggleVisibility) - --------------------------------- --- --- @function [parent=#ToggleVisibility] reverse --- @param self --- @return ToggleVisibility#ToggleVisibility ret (return value: cc.ToggleVisibility) - --------------------------------- --- --- @function [parent=#ToggleVisibility] ToggleVisibility --- @param self --- @return ToggleVisibility#ToggleVisibility self (return value: cc.ToggleVisibility) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Touch.lua b/cocos/scripting/lua-bindings/auto/api/Touch.lua deleted file mode 100644 index 3a58165262..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Touch.lua +++ /dev/null @@ -1,98 +0,0 @@ - --------------------------------- --- @module Touch --- @extend Ref --- @parent_module cc - --------------------------------- --- Returns the previous touch location in screen coordinates.
--- return The previous touch location in screen coordinates. --- @function [parent=#Touch] getPreviousLocationInView --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the current touch location in OpenGL coordinates.
--- return The current touch location in OpenGL coordinates. --- @function [parent=#Touch] getLocation --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the delta of 2 current touches locations in screen coordinates.
--- return The delta of 2 current touches locations in screen coordinates. --- @function [parent=#Touch] getDelta --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the start touch location in screen coordinates.
--- return The start touch location in screen coordinates. --- @function [parent=#Touch] getStartLocationInView --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the current touch force for 3d touch.
--- return The current touch force for 3d touch. --- @function [parent=#Touch] getCurrentForce --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the start touch location in OpenGL coordinates.
--- return The start touch location in OpenGL coordinates. --- @function [parent=#Touch] getStartLocation --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Get touch id.
--- js getId
--- lua getId
--- return The id of touch. --- @function [parent=#Touch] getID --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, int, float, float, float, float --- @overload self, int, float, float --- @function [parent=#Touch] setTouchInfo --- @param self --- @param #int id --- @param #float x --- @param #float y --- @param #float force --- @param #float maxForce --- @return Touch#Touch self (return value: cc.Touch) - --------------------------------- --- Returns the maximum touch force for 3d touch.
--- return The maximum touch force for 3d touch. --- @function [parent=#Touch] getMaxForce --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the current touch location in screen coordinates.
--- return The current touch location in screen coordinates. --- @function [parent=#Touch] getLocationInView --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Returns the previous touch location in OpenGL coordinates.
--- return The previous touch location in OpenGL coordinates. --- @function [parent=#Touch] getPreviousLocation --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Constructor.
--- js ctor --- @function [parent=#Touch] Touch --- @param self --- @return Touch#Touch self (return value: cc.Touch) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionCrossFade.lua b/cocos/scripting/lua-bindings/auto/api/TransitionCrossFade.lua deleted file mode 100644 index 20530b638e..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionCrossFade.lua +++ /dev/null @@ -1,33 +0,0 @@ - --------------------------------- --- @module TransitionCrossFade --- @extend TransitionScene --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionCrossFade object. --- @function [parent=#TransitionCrossFade] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionCrossFade#TransitionCrossFade ret (return value: cc.TransitionCrossFade) - --------------------------------- --- lua NA --- @function [parent=#TransitionCrossFade] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return TransitionCrossFade#TransitionCrossFade self (return value: cc.TransitionCrossFade) - --------------------------------- --- --- @function [parent=#TransitionCrossFade] TransitionCrossFade --- @param self --- @return TransitionCrossFade#TransitionCrossFade self (return value: cc.TransitionCrossFade) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionEaseScene.lua b/cocos/scripting/lua-bindings/auto/api/TransitionEaseScene.lua deleted file mode 100644 index 1f0fbff4ec..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionEaseScene.lua +++ /dev/null @@ -1,16 +0,0 @@ - --------------------------------- --- @module TransitionEaseScene --- @parent_module cc - --------------------------------- --- Returns the Ease action that will be performed on a linear action.
--- since v0.8.2
--- param action A given interval action.
--- return The Ease action that will be performed on a linear action. --- @function [parent=#TransitionEaseScene] easeActionWithAction --- @param self --- @param #cc.ActionInterval action --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFade.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFade.lua deleted file mode 100644 index 29516a0730..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFade.lua +++ /dev/null @@ -1,33 +0,0 @@ - --------------------------------- --- @module TransitionFade --- @extend TransitionScene --- @parent_module cc - --------------------------------- --- @overload self, float, cc.Scene --- @overload self, float, cc.Scene, color3b_table --- @function [parent=#TransitionFade] initWithDuration --- @param self --- @param #float t --- @param #cc.Scene scene --- @param #color3b_table color --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, cc.Scene --- @overload self, float, cc.Scene, color3b_table --- @function [parent=#TransitionFade] create --- @param self --- @param #float duration --- @param #cc.Scene scene --- @param #color3b_table color --- @return TransitionFade#TransitionFade ret (return value: cc.TransitionFade) - --------------------------------- --- --- @function [parent=#TransitionFade] TransitionFade --- @param self --- @return TransitionFade#TransitionFade self (return value: cc.TransitionFade) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFadeBL.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFadeBL.lua deleted file mode 100644 index 4783ad8d67..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFadeBL.lua +++ /dev/null @@ -1,31 +0,0 @@ - --------------------------------- --- @module TransitionFadeBL --- @extend TransitionFadeTR --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionFadeBL object. --- @function [parent=#TransitionFadeBL] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionFadeBL#TransitionFadeBL ret (return value: cc.TransitionFadeBL) - --------------------------------- --- --- @function [parent=#TransitionFadeBL] actionWithSize --- @param self --- @param #size_table size --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionFadeBL] TransitionFadeBL --- @param self --- @return TransitionFadeBL#TransitionFadeBL self (return value: cc.TransitionFadeBL) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFadeDown.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFadeDown.lua deleted file mode 100644 index c4e97632ec..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFadeDown.lua +++ /dev/null @@ -1,31 +0,0 @@ - --------------------------------- --- @module TransitionFadeDown --- @extend TransitionFadeTR --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionFadeDown object. --- @function [parent=#TransitionFadeDown] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionFadeDown#TransitionFadeDown ret (return value: cc.TransitionFadeDown) - --------------------------------- --- --- @function [parent=#TransitionFadeDown] actionWithSize --- @param self --- @param #size_table size --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionFadeDown] TransitionFadeDown --- @param self --- @return TransitionFadeDown#TransitionFadeDown self (return value: cc.TransitionFadeDown) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFadeTR.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFadeTR.lua deleted file mode 100644 index c0f4faf8ec..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFadeTR.lua +++ /dev/null @@ -1,49 +0,0 @@ - --------------------------------- --- @module TransitionFadeTR --- @extend TransitionScene,TransitionEaseScene --- @parent_module cc - --------------------------------- --- --- @function [parent=#TransitionFadeTR] easeActionWithAction --- @param self --- @param #cc.ActionInterval action --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Returns the action that will be performed with size.
--- param size A given size.
--- return The action that will be performed. --- @function [parent=#TransitionFadeTR] actionWithSize --- @param self --- @param #size_table size --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionFadeTR object. --- @function [parent=#TransitionFadeTR] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionFadeTR#TransitionFadeTR ret (return value: cc.TransitionFadeTR) - --------------------------------- --- --- @function [parent=#TransitionFadeTR] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return TransitionFadeTR#TransitionFadeTR self (return value: cc.TransitionFadeTR) - --------------------------------- --- --- @function [parent=#TransitionFadeTR] TransitionFadeTR --- @param self --- @return TransitionFadeTR#TransitionFadeTR self (return value: cc.TransitionFadeTR) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFadeUp.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFadeUp.lua deleted file mode 100644 index 3b46340a92..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFadeUp.lua +++ /dev/null @@ -1,31 +0,0 @@ - --------------------------------- --- @module TransitionFadeUp --- @extend TransitionFadeTR --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionFadeUp object. --- @function [parent=#TransitionFadeUp] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionFadeUp#TransitionFadeUp ret (return value: cc.TransitionFadeUp) - --------------------------------- --- --- @function [parent=#TransitionFadeUp] actionWithSize --- @param self --- @param #size_table size --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionFadeUp] TransitionFadeUp --- @param self --- @return TransitionFadeUp#TransitionFadeUp self (return value: cc.TransitionFadeUp) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFlipAngular.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFlipAngular.lua deleted file mode 100644 index 1f55217db5..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFlipAngular.lua +++ /dev/null @@ -1,23 +0,0 @@ - --------------------------------- --- @module TransitionFlipAngular --- @extend TransitionSceneOriented --- @parent_module cc - --------------------------------- --- @overload self, float, cc.Scene --- @overload self, float, cc.Scene, int --- @function [parent=#TransitionFlipAngular] create --- @param self --- @param #float t --- @param #cc.Scene s --- @param #int o --- @return TransitionFlipAngular#TransitionFlipAngular ret (return value: cc.TransitionFlipAngular) - --------------------------------- --- --- @function [parent=#TransitionFlipAngular] TransitionFlipAngular --- @param self --- @return TransitionFlipAngular#TransitionFlipAngular self (return value: cc.TransitionFlipAngular) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFlipX.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFlipX.lua deleted file mode 100644 index 79dd2f77d1..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFlipX.lua +++ /dev/null @@ -1,23 +0,0 @@ - --------------------------------- --- @module TransitionFlipX --- @extend TransitionSceneOriented --- @parent_module cc - --------------------------------- --- @overload self, float, cc.Scene --- @overload self, float, cc.Scene, int --- @function [parent=#TransitionFlipX] create --- @param self --- @param #float t --- @param #cc.Scene s --- @param #int o --- @return TransitionFlipX#TransitionFlipX ret (return value: cc.TransitionFlipX) - --------------------------------- --- --- @function [parent=#TransitionFlipX] TransitionFlipX --- @param self --- @return TransitionFlipX#TransitionFlipX self (return value: cc.TransitionFlipX) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFlipY.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFlipY.lua deleted file mode 100644 index 5b3b848d6a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFlipY.lua +++ /dev/null @@ -1,23 +0,0 @@ - --------------------------------- --- @module TransitionFlipY --- @extend TransitionSceneOriented --- @parent_module cc - --------------------------------- --- @overload self, float, cc.Scene --- @overload self, float, cc.Scene, int --- @function [parent=#TransitionFlipY] create --- @param self --- @param #float t --- @param #cc.Scene s --- @param #int o --- @return TransitionFlipY#TransitionFlipY ret (return value: cc.TransitionFlipY) - --------------------------------- --- --- @function [parent=#TransitionFlipY] TransitionFlipY --- @param self --- @return TransitionFlipY#TransitionFlipY self (return value: cc.TransitionFlipY) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionJumpZoom.lua b/cocos/scripting/lua-bindings/auto/api/TransitionJumpZoom.lua deleted file mode 100644 index 76e6358819..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionJumpZoom.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionJumpZoom --- @extend TransitionScene --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionJumpZoom object. --- @function [parent=#TransitionJumpZoom] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionJumpZoom#TransitionJumpZoom ret (return value: cc.TransitionJumpZoom) - --------------------------------- --- --- @function [parent=#TransitionJumpZoom] TransitionJumpZoom --- @param self --- @return TransitionJumpZoom#TransitionJumpZoom self (return value: cc.TransitionJumpZoom) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionMoveInB.lua b/cocos/scripting/lua-bindings/auto/api/TransitionMoveInB.lua deleted file mode 100644 index 1b08d2e646..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionMoveInB.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionMoveInB --- @extend TransitionMoveInL --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionMoveInB object. --- @function [parent=#TransitionMoveInB] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionMoveInB#TransitionMoveInB ret (return value: cc.TransitionMoveInB) - --------------------------------- --- --- @function [parent=#TransitionMoveInB] TransitionMoveInB --- @param self --- @return TransitionMoveInB#TransitionMoveInB self (return value: cc.TransitionMoveInB) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionMoveInL.lua b/cocos/scripting/lua-bindings/auto/api/TransitionMoveInL.lua deleted file mode 100644 index b67e1c7b86..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionMoveInL.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module TransitionMoveInL --- @extend TransitionScene,TransitionEaseScene --- @parent_module cc - --------------------------------- --- Returns the action that will be performed.
--- return The action that will be performed. --- @function [parent=#TransitionMoveInL] action --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionMoveInL] easeActionWithAction --- @param self --- @param #cc.ActionInterval action --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionMoveInL object. --- @function [parent=#TransitionMoveInL] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionMoveInL#TransitionMoveInL ret (return value: cc.TransitionMoveInL) - --------------------------------- --- --- @function [parent=#TransitionMoveInL] TransitionMoveInL --- @param self --- @return TransitionMoveInL#TransitionMoveInL self (return value: cc.TransitionMoveInL) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionMoveInR.lua b/cocos/scripting/lua-bindings/auto/api/TransitionMoveInR.lua deleted file mode 100644 index af2f551032..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionMoveInR.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionMoveInR --- @extend TransitionMoveInL --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionMoveInR object. --- @function [parent=#TransitionMoveInR] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionMoveInR#TransitionMoveInR ret (return value: cc.TransitionMoveInR) - --------------------------------- --- --- @function [parent=#TransitionMoveInR] TransitionMoveInR --- @param self --- @return TransitionMoveInR#TransitionMoveInR self (return value: cc.TransitionMoveInR) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionMoveInT.lua b/cocos/scripting/lua-bindings/auto/api/TransitionMoveInT.lua deleted file mode 100644 index ddfd29fd4f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionMoveInT.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionMoveInT --- @extend TransitionMoveInL --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionMoveInT object. --- @function [parent=#TransitionMoveInT] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionMoveInT#TransitionMoveInT ret (return value: cc.TransitionMoveInT) - --------------------------------- --- --- @function [parent=#TransitionMoveInT] TransitionMoveInT --- @param self --- @return TransitionMoveInT#TransitionMoveInT self (return value: cc.TransitionMoveInT) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionPageTurn.lua b/cocos/scripting/lua-bindings/auto/api/TransitionPageTurn.lua deleted file mode 100644 index b906906c7d..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionPageTurn.lua +++ /dev/null @@ -1,61 +0,0 @@ - --------------------------------- --- @module TransitionPageTurn --- @extend TransitionScene --- @parent_module cc - --------------------------------- --- Returns the action that will be performed with size.
--- param vector A given size.
--- return The action that will be performed. --- @function [parent=#TransitionPageTurn] actionWithSize --- @param self --- @param #size_table vector --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Creates a base transition with duration and incoming scene.
--- If back is true then the effect is reversed to appear as if the incoming
--- scene is being turned from left over the outgoing scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- param backwards If back is true then the effect is reversed to appear as if the incoming scene is being turned from left over the outgoing scene.
--- return True if initialize success. --- @function [parent=#TransitionPageTurn] initWithDuration --- @param self --- @param #float t --- @param #cc.Scene scene --- @param #bool backwards --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates a base transition with duration and incoming scene.
--- If back is true then the effect is reversed to appear as if the incoming
--- scene is being turned from left over the outgoing scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- param backwards If back is true then the effect is reversed to appear as if the incoming scene is being turned from left over the outgoing scene.
--- return An autoreleased TransitionPageTurn object. --- @function [parent=#TransitionPageTurn] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @param #bool backwards --- @return TransitionPageTurn#TransitionPageTurn ret (return value: cc.TransitionPageTurn) - --------------------------------- --- --- @function [parent=#TransitionPageTurn] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return TransitionPageTurn#TransitionPageTurn self (return value: cc.TransitionPageTurn) - --------------------------------- --- js ctor --- @function [parent=#TransitionPageTurn] TransitionPageTurn --- @param self --- @return TransitionPageTurn#TransitionPageTurn self (return value: cc.TransitionPageTurn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionProgress.lua b/cocos/scripting/lua-bindings/auto/api/TransitionProgress.lua deleted file mode 100644 index f3432b2e50..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionProgress.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionProgress --- @extend TransitionScene --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return An autoreleased TransitionProgress object. --- @function [parent=#TransitionProgress] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionProgress#TransitionProgress ret (return value: cc.TransitionProgress) - --------------------------------- --- --- @function [parent=#TransitionProgress] TransitionProgress --- @param self --- @return TransitionProgress#TransitionProgress self (return value: cc.TransitionProgress) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionProgressHorizontal.lua b/cocos/scripting/lua-bindings/auto/api/TransitionProgressHorizontal.lua deleted file mode 100644 index 85529d4586..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionProgressHorizontal.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionProgressHorizontal --- @extend TransitionProgress --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return An autoreleased TransitionProgressHorizontal object. --- @function [parent=#TransitionProgressHorizontal] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionProgressHorizontal#TransitionProgressHorizontal ret (return value: cc.TransitionProgressHorizontal) - --------------------------------- --- js ctor --- @function [parent=#TransitionProgressHorizontal] TransitionProgressHorizontal --- @param self --- @return TransitionProgressHorizontal#TransitionProgressHorizontal self (return value: cc.TransitionProgressHorizontal) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionProgressInOut.lua b/cocos/scripting/lua-bindings/auto/api/TransitionProgressInOut.lua deleted file mode 100644 index 7072be6885..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionProgressInOut.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionProgressInOut --- @extend TransitionProgress --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return An autoreleased TransitionProgressInOut object. --- @function [parent=#TransitionProgressInOut] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionProgressInOut#TransitionProgressInOut ret (return value: cc.TransitionProgressInOut) - --------------------------------- --- js ctor --- @function [parent=#TransitionProgressInOut] TransitionProgressInOut --- @param self --- @return TransitionProgressInOut#TransitionProgressInOut self (return value: cc.TransitionProgressInOut) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionProgressOutIn.lua b/cocos/scripting/lua-bindings/auto/api/TransitionProgressOutIn.lua deleted file mode 100644 index 4e8ae268e8..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionProgressOutIn.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionProgressOutIn --- @extend TransitionProgress --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return An autoreleased TransitionProgressOutIn object. --- @function [parent=#TransitionProgressOutIn] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionProgressOutIn#TransitionProgressOutIn ret (return value: cc.TransitionProgressOutIn) - --------------------------------- --- js ctor --- @function [parent=#TransitionProgressOutIn] TransitionProgressOutIn --- @param self --- @return TransitionProgressOutIn#TransitionProgressOutIn self (return value: cc.TransitionProgressOutIn) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionProgressRadialCCW.lua b/cocos/scripting/lua-bindings/auto/api/TransitionProgressRadialCCW.lua deleted file mode 100644 index 91dacd476a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionProgressRadialCCW.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionProgressRadialCCW --- @extend TransitionProgress --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return An autoreleased TransitionProgressRadialCCW object. --- @function [parent=#TransitionProgressRadialCCW] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionProgressRadialCCW#TransitionProgressRadialCCW ret (return value: cc.TransitionProgressRadialCCW) - --------------------------------- --- js ctor --- @function [parent=#TransitionProgressRadialCCW] TransitionProgressRadialCCW --- @param self --- @return TransitionProgressRadialCCW#TransitionProgressRadialCCW self (return value: cc.TransitionProgressRadialCCW) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionProgressRadialCW.lua b/cocos/scripting/lua-bindings/auto/api/TransitionProgressRadialCW.lua deleted file mode 100644 index 5fa688ab78..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionProgressRadialCW.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionProgressRadialCW --- @extend TransitionProgress --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return An autoreleased TransitionProgressRadialCW object. --- @function [parent=#TransitionProgressRadialCW] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionProgressRadialCW#TransitionProgressRadialCW ret (return value: cc.TransitionProgressRadialCW) - --------------------------------- --- js ctor --- @function [parent=#TransitionProgressRadialCW] TransitionProgressRadialCW --- @param self --- @return TransitionProgressRadialCW#TransitionProgressRadialCW self (return value: cc.TransitionProgressRadialCW) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionProgressVertical.lua b/cocos/scripting/lua-bindings/auto/api/TransitionProgressVertical.lua deleted file mode 100644 index 979ba6f182..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionProgressVertical.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionProgressVertical --- @extend TransitionProgress --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return An autoreleased TransitionProgressVertical object. --- @function [parent=#TransitionProgressVertical] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionProgressVertical#TransitionProgressVertical ret (return value: cc.TransitionProgressVertical) - --------------------------------- --- js ctor --- @function [parent=#TransitionProgressVertical] TransitionProgressVertical --- @param self --- @return TransitionProgressVertical#TransitionProgressVertical self (return value: cc.TransitionProgressVertical) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionRotoZoom.lua b/cocos/scripting/lua-bindings/auto/api/TransitionRotoZoom.lua deleted file mode 100644 index e9111b0fae..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionRotoZoom.lua +++ /dev/null @@ -1,24 +0,0 @@ - --------------------------------- --- @module TransitionRotoZoom --- @extend TransitionScene --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionRotoZoom object. --- @function [parent=#TransitionRotoZoom] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionRotoZoom#TransitionRotoZoom ret (return value: cc.TransitionRotoZoom) - --------------------------------- --- --- @function [parent=#TransitionRotoZoom] TransitionRotoZoom --- @param self --- @return TransitionRotoZoom#TransitionRotoZoom self (return value: cc.TransitionRotoZoom) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionScene.lua b/cocos/scripting/lua-bindings/auto/api/TransitionScene.lua deleted file mode 100644 index 0eb0e77b0c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionScene.lua +++ /dev/null @@ -1,71 +0,0 @@ - --------------------------------- --- @module TransitionScene --- @extend Scene --- @parent_module cc - --------------------------------- --- --- @function [parent=#TransitionScene] getInScene --- @param self --- @return Scene#Scene ret (return value: cc.Scene) - --------------------------------- --- Called after the transition finishes. --- @function [parent=#TransitionScene] finish --- @param self --- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) - --------------------------------- --- initializes a transition with duration and incoming scene --- @function [parent=#TransitionScene] initWithDuration --- @param self --- @param #float t --- @param #cc.Scene scene --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#TransitionScene] getDuration --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Used by some transitions to hide the outer scene. --- @function [parent=#TransitionScene] hideOutShowIn --- @param self --- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) - --------------------------------- --- Creates a base transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionScene object. --- @function [parent=#TransitionScene] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionScene#TransitionScene ret (return value: cc.TransitionScene) - --------------------------------- --- --- @function [parent=#TransitionScene] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) - --------------------------------- --- --- @function [parent=#TransitionScene] cleanup --- @param self --- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) - --------------------------------- --- --- @function [parent=#TransitionScene] TransitionScene --- @param self --- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionSceneOriented.lua b/cocos/scripting/lua-bindings/auto/api/TransitionSceneOriented.lua deleted file mode 100644 index 1419f48cd0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionSceneOriented.lua +++ /dev/null @@ -1,35 +0,0 @@ - --------------------------------- --- @module TransitionSceneOriented --- @extend TransitionScene --- @parent_module cc - --------------------------------- --- initializes a transition with duration and incoming scene --- @function [parent=#TransitionSceneOriented] initWithDuration --- @param self --- @param #float t --- @param #cc.Scene scene --- @param #int orientation --- @return bool#bool ret (return value: bool) - --------------------------------- --- Creates a transition with duration, incoming scene and orientation.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- param orientation A given orientation: LeftOver, RightOver, UpOver, DownOver.
--- return A autoreleased TransitionSceneOriented object. --- @function [parent=#TransitionSceneOriented] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @param #int orientation --- @return TransitionSceneOriented#TransitionSceneOriented ret (return value: cc.TransitionSceneOriented) - --------------------------------- --- --- @function [parent=#TransitionSceneOriented] TransitionSceneOriented --- @param self --- @return TransitionSceneOriented#TransitionSceneOriented self (return value: cc.TransitionSceneOriented) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionShrinkGrow.lua b/cocos/scripting/lua-bindings/auto/api/TransitionShrinkGrow.lua deleted file mode 100644 index 451b44cbe9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionShrinkGrow.lua +++ /dev/null @@ -1,31 +0,0 @@ - --------------------------------- --- @module TransitionShrinkGrow --- @extend TransitionScene,TransitionEaseScene --- @parent_module cc - --------------------------------- --- --- @function [parent=#TransitionShrinkGrow] easeActionWithAction --- @param self --- @param #cc.ActionInterval action --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionShrinkGrow object. --- @function [parent=#TransitionShrinkGrow] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionShrinkGrow#TransitionShrinkGrow ret (return value: cc.TransitionShrinkGrow) - --------------------------------- --- --- @function [parent=#TransitionShrinkGrow] TransitionShrinkGrow --- @param self --- @return TransitionShrinkGrow#TransitionShrinkGrow self (return value: cc.TransitionShrinkGrow) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionSlideInB.lua b/cocos/scripting/lua-bindings/auto/api/TransitionSlideInB.lua deleted file mode 100644 index 866ccf4fb9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionSlideInB.lua +++ /dev/null @@ -1,30 +0,0 @@ - --------------------------------- --- @module TransitionSlideInB --- @extend TransitionSlideInL --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionSlideInB object. --- @function [parent=#TransitionSlideInB] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionSlideInB#TransitionSlideInB ret (return value: cc.TransitionSlideInB) - --------------------------------- --- returns the action that will be performed by the incoming and outgoing scene --- @function [parent=#TransitionSlideInB] action --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionSlideInB] TransitionSlideInB --- @param self --- @return TransitionSlideInB#TransitionSlideInB self (return value: cc.TransitionSlideInB) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionSlideInL.lua b/cocos/scripting/lua-bindings/auto/api/TransitionSlideInL.lua deleted file mode 100644 index 568642f836..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionSlideInL.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module TransitionSlideInL --- @extend TransitionScene,TransitionEaseScene --- @parent_module cc - --------------------------------- --- Returns the action that will be performed by the incoming and outgoing scene.
--- return The action that will be performed by the incoming and outgoing scene. --- @function [parent=#TransitionSlideInL] action --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionSlideInL] easeActionWithAction --- @param self --- @param #cc.ActionInterval action --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionSlideInL object. --- @function [parent=#TransitionSlideInL] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionSlideInL#TransitionSlideInL ret (return value: cc.TransitionSlideInL) - --------------------------------- --- --- @function [parent=#TransitionSlideInL] TransitionSlideInL --- @param self --- @return TransitionSlideInL#TransitionSlideInL self (return value: cc.TransitionSlideInL) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionSlideInR.lua b/cocos/scripting/lua-bindings/auto/api/TransitionSlideInR.lua deleted file mode 100644 index 7e0d63656c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionSlideInR.lua +++ /dev/null @@ -1,30 +0,0 @@ - --------------------------------- --- @module TransitionSlideInR --- @extend TransitionSlideInL --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionSlideInR object. --- @function [parent=#TransitionSlideInR] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionSlideInR#TransitionSlideInR ret (return value: cc.TransitionSlideInR) - --------------------------------- --- Returns the action that will be performed by the incoming and outgoing scene. --- @function [parent=#TransitionSlideInR] action --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionSlideInR] TransitionSlideInR --- @param self --- @return TransitionSlideInR#TransitionSlideInR self (return value: cc.TransitionSlideInR) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionSlideInT.lua b/cocos/scripting/lua-bindings/auto/api/TransitionSlideInT.lua deleted file mode 100644 index 6c1d152f18..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionSlideInT.lua +++ /dev/null @@ -1,30 +0,0 @@ - --------------------------------- --- @module TransitionSlideInT --- @extend TransitionSlideInL --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionSlideInT object. --- @function [parent=#TransitionSlideInT] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionSlideInT#TransitionSlideInT ret (return value: cc.TransitionSlideInT) - --------------------------------- --- returns the action that will be performed by the incoming and outgoing scene --- @function [parent=#TransitionSlideInT] action --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionSlideInT] TransitionSlideInT --- @param self --- @return TransitionSlideInT#TransitionSlideInT self (return value: cc.TransitionSlideInT) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionSplitCols.lua b/cocos/scripting/lua-bindings/auto/api/TransitionSplitCols.lua deleted file mode 100644 index 8a9991d030..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionSplitCols.lua +++ /dev/null @@ -1,47 +0,0 @@ - --------------------------------- --- @module TransitionSplitCols --- @extend TransitionScene,TransitionEaseScene --- @parent_module cc - --------------------------------- --- Returns the action that will be performed.
--- return The action that will be performed. --- @function [parent=#TransitionSplitCols] action --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionSplitCols] easeActionWithAction --- @param self --- @param #cc.ActionInterval action --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionSplitCols object. --- @function [parent=#TransitionSplitCols] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionSplitCols#TransitionSplitCols ret (return value: cc.TransitionSplitCols) - --------------------------------- --- --- @function [parent=#TransitionSplitCols] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return TransitionSplitCols#TransitionSplitCols self (return value: cc.TransitionSplitCols) - --------------------------------- --- --- @function [parent=#TransitionSplitCols] TransitionSplitCols --- @param self --- @return TransitionSplitCols#TransitionSplitCols self (return value: cc.TransitionSplitCols) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionSplitRows.lua b/cocos/scripting/lua-bindings/auto/api/TransitionSplitRows.lua deleted file mode 100644 index e6d7096da8..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionSplitRows.lua +++ /dev/null @@ -1,30 +0,0 @@ - --------------------------------- --- @module TransitionSplitRows --- @extend TransitionSplitCols --- @parent_module cc - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionSplitRows object. --- @function [parent=#TransitionSplitRows] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionSplitRows#TransitionSplitRows ret (return value: cc.TransitionSplitRows) - --------------------------------- --- --- @function [parent=#TransitionSplitRows] action --- @param self --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- --- @function [parent=#TransitionSplitRows] TransitionSplitRows --- @param self --- @return TransitionSplitRows#TransitionSplitRows self (return value: cc.TransitionSplitRows) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionTurnOffTiles.lua b/cocos/scripting/lua-bindings/auto/api/TransitionTurnOffTiles.lua deleted file mode 100644 index d8c8f8fba4..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionTurnOffTiles.lua +++ /dev/null @@ -1,40 +0,0 @@ - --------------------------------- --- @module TransitionTurnOffTiles --- @extend TransitionScene,TransitionEaseScene --- @parent_module cc - --------------------------------- --- --- @function [parent=#TransitionTurnOffTiles] easeActionWithAction --- @param self --- @param #cc.ActionInterval action --- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) - --------------------------------- --- Creates a transition with duration and incoming scene.
--- param t Duration time, in seconds.
--- param scene A given scene.
--- return A autoreleased TransitionTurnOffTiles object. --- @function [parent=#TransitionTurnOffTiles] create --- @param self --- @param #float t --- @param #cc.Scene scene --- @return TransitionTurnOffTiles#TransitionTurnOffTiles ret (return value: cc.TransitionTurnOffTiles) - --------------------------------- --- js NA --- @function [parent=#TransitionTurnOffTiles] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return TransitionTurnOffTiles#TransitionTurnOffTiles self (return value: cc.TransitionTurnOffTiles) - --------------------------------- --- --- @function [parent=#TransitionTurnOffTiles] TransitionTurnOffTiles --- @param self --- @return TransitionTurnOffTiles#TransitionTurnOffTiles self (return value: cc.TransitionTurnOffTiles) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipAngular.lua b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipAngular.lua deleted file mode 100644 index 711bc4ffe3..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipAngular.lua +++ /dev/null @@ -1,23 +0,0 @@ - --------------------------------- --- @module TransitionZoomFlipAngular --- @extend TransitionSceneOriented --- @parent_module cc - --------------------------------- --- @overload self, float, cc.Scene --- @overload self, float, cc.Scene, int --- @function [parent=#TransitionZoomFlipAngular] create --- @param self --- @param #float t --- @param #cc.Scene s --- @param #int o --- @return TransitionZoomFlipAngular#TransitionZoomFlipAngular ret (return value: cc.TransitionZoomFlipAngular) - --------------------------------- --- --- @function [parent=#TransitionZoomFlipAngular] TransitionZoomFlipAngular --- @param self --- @return TransitionZoomFlipAngular#TransitionZoomFlipAngular self (return value: cc.TransitionZoomFlipAngular) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipX.lua b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipX.lua deleted file mode 100644 index 955b1c7e57..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipX.lua +++ /dev/null @@ -1,23 +0,0 @@ - --------------------------------- --- @module TransitionZoomFlipX --- @extend TransitionSceneOriented --- @parent_module cc - --------------------------------- --- @overload self, float, cc.Scene --- @overload self, float, cc.Scene, int --- @function [parent=#TransitionZoomFlipX] create --- @param self --- @param #float t --- @param #cc.Scene s --- @param #int o --- @return TransitionZoomFlipX#TransitionZoomFlipX ret (return value: cc.TransitionZoomFlipX) - --------------------------------- --- --- @function [parent=#TransitionZoomFlipX] TransitionZoomFlipX --- @param self --- @return TransitionZoomFlipX#TransitionZoomFlipX self (return value: cc.TransitionZoomFlipX) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipY.lua b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipY.lua deleted file mode 100644 index b62703c7f2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipY.lua +++ /dev/null @@ -1,23 +0,0 @@ - --------------------------------- --- @module TransitionZoomFlipY --- @extend TransitionSceneOriented --- @parent_module cc - --------------------------------- --- @overload self, float, cc.Scene --- @overload self, float, cc.Scene, int --- @function [parent=#TransitionZoomFlipY] create --- @param self --- @param #float t --- @param #cc.Scene s --- @param #int o --- @return TransitionZoomFlipY#TransitionZoomFlipY ret (return value: cc.TransitionZoomFlipY) - --------------------------------- --- --- @function [parent=#TransitionZoomFlipY] TransitionZoomFlipY --- @param self --- @return TransitionZoomFlipY#TransitionZoomFlipY self (return value: cc.TransitionZoomFlipY) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua b/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua deleted file mode 100644 index 633ff3d71b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua +++ /dev/null @@ -1,72 +0,0 @@ - --------------------------------- --- @module TurnOffTiles --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Show the tile at specified position.
--- param pos The position index of the tile should be shown. --- @function [parent=#TurnOffTiles] turnOnTile --- @param self --- @param #vec2_table pos --- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles) - --------------------------------- --- brief Hide the tile at specified position.
--- param pos The position index of the tile should be hide. --- @function [parent=#TurnOffTiles] turnOffTile --- @param self --- @param #vec2_table pos --- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles) - --------------------------------- --- brief Initializes the action with grid size, random seed and duration.
--- param duration Specify the duration of the TurnOffTiles action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param seed Specify the random seed.
--- return If the Initialization success, return true; otherwise, return false. --- @function [parent=#TurnOffTiles] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int seed --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, float, size_table, unsigned int --- @overload self, float, size_table --- @function [parent=#TurnOffTiles] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int seed --- @return TurnOffTiles#TurnOffTiles ret (return value: cc.TurnOffTiles) - --------------------------------- --- --- @function [parent=#TurnOffTiles] startWithTarget --- @param self --- @param #cc.Node target --- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles) - --------------------------------- --- --- @function [parent=#TurnOffTiles] clone --- @param self --- @return TurnOffTiles#TurnOffTiles ret (return value: cc.TurnOffTiles) - --------------------------------- --- --- @function [parent=#TurnOffTiles] update --- @param self --- @param #float time --- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles) - --------------------------------- --- --- @function [parent=#TurnOffTiles] TurnOffTiles --- @param self --- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Tween.lua b/cocos/scripting/lua-bindings/auto/api/Tween.lua deleted file mode 100644 index c7e36f94c0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Tween.lua +++ /dev/null @@ -1,80 +0,0 @@ - --------------------------------- --- @module Tween --- @extend ProcessBase --- @parent_module ccs - --------------------------------- --- --- @function [parent=#Tween] getAnimation --- @param self --- @return ArmatureAnimation#ArmatureAnimation ret (return value: ccs.ArmatureAnimation) - --------------------------------- --- --- @function [parent=#Tween] gotoAndPause --- @param self --- @param #int frameIndex --- @return Tween#Tween self (return value: ccs.Tween) - --------------------------------- --- Start the Process
--- param movementBoneData the MovementBoneData include all FrameData
--- param durationTo the number of frames changing to this animation needs.
--- param durationTween the number of frames this animation actual last.
--- param loop whether the animation is loop
--- loop < 0 : use the value from MovementData get from Action Editor
--- loop = 0 : this animation is not loop
--- loop > 0 : this animation is loop
--- param tweenEasing tween easing is used for calculate easing effect
--- TWEEN_EASING_MAX : use the value from MovementData get from Action Editor
--- -1 : fade out
--- 0 : line
--- 1 : fade in
--- 2 : fade in and out --- @function [parent=#Tween] play --- @param self --- @param #ccs.MovementBoneData movementBoneData --- @param #int durationTo --- @param #int durationTween --- @param #int loop --- @param #int tweenEasing --- @return Tween#Tween self (return value: ccs.Tween) - --------------------------------- --- --- @function [parent=#Tween] gotoAndPlay --- @param self --- @param #int frameIndex --- @return Tween#Tween self (return value: ccs.Tween) - --------------------------------- --- Init with a Bone
--- param bone the Bone Tween will bind to --- @function [parent=#Tween] init --- @param self --- @param #ccs.Bone bone --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Tween] setAnimation --- @param self --- @param #ccs.ArmatureAnimation animation --- @return Tween#Tween self (return value: ccs.Tween) - --------------------------------- --- Create with a Bone
--- param bone the Bone Tween will bind to --- @function [parent=#Tween] create --- @param self --- @param #ccs.Bone bone --- @return Tween#Tween ret (return value: ccs.Tween) - --------------------------------- --- --- @function [parent=#Tween] Tween --- @param self --- @return Tween#Tween self (return value: ccs.Tween) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Twirl.lua b/cocos/scripting/lua-bindings/auto/api/Twirl.lua deleted file mode 100644 index 4666a01bdd..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Twirl.lua +++ /dev/null @@ -1,105 +0,0 @@ - --------------------------------- --- @module Twirl --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Set the amplitude rate of the effect.
--- param amplitudeRate The value of amplitude rate will be set. --- @function [parent=#Twirl] setAmplitudeRate --- @param self --- @param #float amplitudeRate --- @return Twirl#Twirl self (return value: cc.Twirl) - --------------------------------- --- brief Initializes the action with center position, number of twirls, amplitude, a grid size and duration.
--- param duration Specify the duration of the Twirl action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param position Specify the center position of the twirl action.
--- param twirls Specify the twirls count of the Twirl action.
--- param amplitude Specify the amplitude of the Twirl action.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#Twirl] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #vec2_table position --- @param #unsigned int twirls --- @param #float amplitude --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the amplitude rate of the effect.
--- return Return the amplitude rate of the effect. --- @function [parent=#Twirl] getAmplitudeRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the amplitude to the effect.
--- param amplitude The value of amplitude will be set. --- @function [parent=#Twirl] setAmplitude --- @param self --- @param #float amplitude --- @return Twirl#Twirl self (return value: cc.Twirl) - --------------------------------- --- brief Get the amplitude of the effect.
--- return Return the amplitude of the effect. --- @function [parent=#Twirl] getAmplitude --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the center position of twirl action.
--- param position The center position of twirl action will be set. --- @function [parent=#Twirl] setPosition --- @param self --- @param #vec2_table position --- @return Twirl#Twirl self (return value: cc.Twirl) - --------------------------------- --- brief Get the center position of twirl action.
--- return The center position of twirl action. --- @function [parent=#Twirl] getPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- brief Create the action with center position, number of twirls, amplitude, a grid size and duration.
--- param duration Specify the duration of the Twirl action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param position Specify the center position of the twirl action.
--- param twirls Specify the twirls count of the Twirl action.
--- param amplitude Specify the amplitude of the Twirl action.
--- return If the creation success, return a pointer of Twirl action; otherwise, return nil. --- @function [parent=#Twirl] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #vec2_table position --- @param #unsigned int twirls --- @param #float amplitude --- @return Twirl#Twirl ret (return value: cc.Twirl) - --------------------------------- --- --- @function [parent=#Twirl] clone --- @param self --- @return Twirl#Twirl ret (return value: cc.Twirl) - --------------------------------- --- --- @function [parent=#Twirl] update --- @param self --- @param #float time --- @return Twirl#Twirl self (return value: cc.Twirl) - --------------------------------- --- --- @function [parent=#Twirl] Twirl --- @param self --- @return Twirl#Twirl self (return value: cc.Twirl) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/UserDefault.lua b/cocos/scripting/lua-bindings/auto/api/UserDefault.lua deleted file mode 100644 index 8abf4845e0..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/UserDefault.lua +++ /dev/null @@ -1,143 +0,0 @@ - --------------------------------- --- @module UserDefault --- @parent_module cc - --------------------------------- --- Set integer value by key.
--- param key The key to set.
--- param value A integer value to set to the key.
--- js NA --- @function [parent=#UserDefault] setIntegerForKey --- @param self --- @param #char key --- @param #int value --- @return UserDefault#UserDefault self (return value: cc.UserDefault) - --------------------------------- --- delete any value by key,
--- param key The key to delete value.
--- js NA --- @function [parent=#UserDefault] deleteValueForKey --- @param self --- @param #char key --- @return UserDefault#UserDefault self (return value: cc.UserDefault) - --------------------------------- --- @overload self, char, float --- @overload self, char --- @function [parent=#UserDefault] getFloatForKey --- @param self --- @param #char key --- @param #float defaultValue --- @return float#float ret (return value: float) - --------------------------------- --- @overload self, char, bool --- @overload self, char --- @function [parent=#UserDefault] getBoolForKey --- @param self --- @param #char key --- @param #bool defaultValue --- @return bool#bool ret (return value: bool) - --------------------------------- --- Set double value by key.
--- param key The key to set.
--- param value A double value to set to the key.
--- js NA --- @function [parent=#UserDefault] setDoubleForKey --- @param self --- @param #char key --- @param #double value --- @return UserDefault#UserDefault self (return value: cc.UserDefault) - --------------------------------- --- Set float value by key.
--- param key The key to set.
--- param value A float value to set to the key.
--- js NA --- @function [parent=#UserDefault] setFloatForKey --- @param self --- @param #char key --- @param #float value --- @return UserDefault#UserDefault self (return value: cc.UserDefault) - --------------------------------- --- @overload self, char, string --- @overload self, char --- @function [parent=#UserDefault] getStringForKey --- @param self --- @param #char key --- @param #string defaultValue --- @return string#string ret (return value: string) - --------------------------------- --- Set string value by key.
--- param key The key to set.
--- param value A string value to set to the key.
--- js NA --- @function [parent=#UserDefault] setStringForKey --- @param self --- @param #char key --- @param #string value --- @return UserDefault#UserDefault self (return value: cc.UserDefault) - --------------------------------- --- You should invoke this function to save values set by setXXXForKey().
--- js NA --- @function [parent=#UserDefault] flush --- @param self --- @return UserDefault#UserDefault self (return value: cc.UserDefault) - --------------------------------- --- @overload self, char, int --- @overload self, char --- @function [parent=#UserDefault] getIntegerForKey --- @param self --- @param #char key --- @param #int defaultValue --- @return int#int ret (return value: int) - --------------------------------- --- @overload self, char, double --- @overload self, char --- @function [parent=#UserDefault] getDoubleForKey --- @param self --- @param #char key --- @param #double defaultValue --- @return double#double ret (return value: double) - --------------------------------- --- Set bool value by key.
--- param key The key to set.
--- param value A bool value to set to the key.
--- js NA --- @function [parent=#UserDefault] setBoolForKey --- @param self --- @param #char key --- @param #bool value --- @return UserDefault#UserDefault self (return value: cc.UserDefault) - --------------------------------- --- js NA --- @function [parent=#UserDefault] destroyInstance --- @param self --- @return UserDefault#UserDefault self (return value: cc.UserDefault) - --------------------------------- --- All supported platforms other iOS & Android use xml file to save values. This function is return the file path of the xml path.
--- js NA --- @function [parent=#UserDefault] getXMLFilePath --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- All supported platforms other iOS & Android and CC_PLATFORM_WINRT use xml file to save values. This function checks whether the xml file exists or not.
--- return True if the xml file exists, false if not.
--- js NA --- @function [parent=#UserDefault] isXMLFileExist --- @param self --- @return bool#bool ret (return value: bool) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/VBox.lua b/cocos/scripting/lua-bindings/auto/api/VBox.lua deleted file mode 100644 index 6d34ddf03f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/VBox.lua +++ /dev/null @@ -1,36 +0,0 @@ - --------------------------------- --- @module VBox --- @extend Layout --- @parent_module ccui - --------------------------------- --- --- @function [parent=#VBox] initWithSize --- @param self --- @param #size_table size --- @return bool#bool ret (return value: bool) - --------------------------------- --- @overload self, size_table --- @overload self --- @function [parent=#VBox] create --- @param self --- @param #size_table size --- @return VBox#VBox ret (return value: ccui.VBox) - --------------------------------- --- --- @function [parent=#VBox] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#VBox] VBox --- @param self --- @return VBox#VBox self (return value: ccui.VBox) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/VideoPlayer.lua b/cocos/scripting/lua-bindings/auto/api/VideoPlayer.lua deleted file mode 100644 index b229a0e7e6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/VideoPlayer.lua +++ /dev/null @@ -1,152 +0,0 @@ - --------------------------------- --- @module VideoPlayer --- @extend Widget --- @parent_module ccexp - --------------------------------- --- brief Get the local video file name.
--- return The video file name. --- @function [parent=#VideoPlayer] getFileName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- brief Get the URL of remoting video source.
--- return A remoting URL address. --- @function [parent=#VideoPlayer] getURL --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Starts playback. --- @function [parent=#VideoPlayer] play --- @param self --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Causes the video player to keep aspect ratio or no when displaying the video.
--- param enable Specify true to keep aspect ratio or false to scale the video until
--- both dimensions fit the visible bounds of the view exactly. --- @function [parent=#VideoPlayer] setKeepAspectRatioEnabled --- @param self --- @param #bool enable --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Stops playback. --- @function [parent=#VideoPlayer] stop --- @param self --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Causes the video player to enter or exit full-screen mode.
--- param fullscreen Specify true to enter full-screen mode or false to exit full-screen mode. --- @function [parent=#VideoPlayer] setFullScreenEnabled --- @param self --- @param #bool fullscreen --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Sets a file path as a video source for VideoPlayer. --- @function [parent=#VideoPlayer] setFileName --- @param self --- @param #string videoPath --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Sets a URL as a video source for VideoPlayer. --- @function [parent=#VideoPlayer] setURL --- @param self --- @param #string _videoURL --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Indicates whether the video player keep aspect ratio when displaying the video. --- @function [parent=#VideoPlayer] isKeepAspectRatioEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief A function which will be called when video is playing.
--- param event @see VideoPlayer::EventType. --- @function [parent=#VideoPlayer] onPlayEvent --- @param self --- @param #int event --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Indicates whether the video player is in full-screen mode.
--- return True if the video player is in full-screen mode, false otherwise. --- @function [parent=#VideoPlayer] isFullScreenEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Checks whether the VideoPlayer is playing.
--- return True if currently playing, false otherwise. --- @function [parent=#VideoPlayer] isPlaying --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Seeks to specified time position.
--- param sec The offset in seconds from the start to seek to. --- @function [parent=#VideoPlayer] seekTo --- @param self --- @param #float sec --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- --- @function [parent=#VideoPlayer] create --- @param self --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer ret (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- --- @function [parent=#VideoPlayer] draw --- @param self --- @param #cc.Renderer renderer --- @param #mat4_table transform --- @param #unsigned int flags --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Pauses playback. --- @function [parent=#VideoPlayer] pause --- @param self --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- --- @function [parent=#VideoPlayer] onEnter --- @param self --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- --- @function [parent=#VideoPlayer] onExit --- @param self --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- Resumes playback. --- @function [parent=#VideoPlayer] resume --- @param self --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- --- @function [parent=#VideoPlayer] setVisible --- @param self --- @param #bool visible --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - --------------------------------- --- --- @function [parent=#VideoPlayer] VideoPlayer --- @param self --- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer self (return value: cc.experimental::ui::VideoPlayer) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/VisibleFrame.lua b/cocos/scripting/lua-bindings/auto/api/VisibleFrame.lua deleted file mode 100644 index 225c0a1f4b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/VisibleFrame.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module VisibleFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#VisibleFrame] isVisible --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#VisibleFrame] setVisible --- @param self --- @param #bool visible --- @return VisibleFrame#VisibleFrame self (return value: ccs.VisibleFrame) - --------------------------------- --- --- @function [parent=#VisibleFrame] create --- @param self --- @return VisibleFrame#VisibleFrame ret (return value: ccs.VisibleFrame) - --------------------------------- --- --- @function [parent=#VisibleFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#VisibleFrame] VisibleFrame --- @param self --- @return VisibleFrame#VisibleFrame self (return value: ccs.VisibleFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Waves.lua b/cocos/scripting/lua-bindings/auto/api/Waves.lua deleted file mode 100644 index 0fd987fd21..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Waves.lua +++ /dev/null @@ -1,94 +0,0 @@ - --------------------------------- --- @module Waves --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Set the amplitude rate of the effect.
--- param amplitudeRate The value of amplitude rate will be set. --- @function [parent=#Waves] setAmplitudeRate --- @param self --- @param #float amplitudeRate --- @return Waves#Waves self (return value: cc.Waves) - --------------------------------- --- brief Initializes the action with amplitude, horizontal sin, vertical sin, grid size, waves count and duration.
--- param duration Specify the duration of the Waves action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param waves Specify the waves count of the Waves action.
--- param amplitude Specify the amplitude of the Waves action.
--- param horizontal Specify whether waves on horizontal.
--- param vertical Specify whether waves on vertical.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#Waves] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int waves --- @param #float amplitude --- @param #bool horizontal --- @param #bool vertical --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the amplitude of the effect.
--- return Return the amplitude of the effect. --- @function [parent=#Waves] getAmplitude --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Get the amplitude rate of the effect.
--- return Return the amplitude rate of the effect. --- @function [parent=#Waves] getAmplitudeRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the amplitude to the effect.
--- param amplitude The value of amplitude will be set. --- @function [parent=#Waves] setAmplitude --- @param self --- @param #float amplitude --- @return Waves#Waves self (return value: cc.Waves) - --------------------------------- --- brief Create the action with amplitude, horizontal sin, vertical sin, grid size, waves count and duration.
--- param duration Specify the duration of the Waves action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param waves Specify the waves count of the Waves action.
--- param amplitude Specify the amplitude of the Waves action.
--- param horizontal Specify whether waves on horizontal.
--- param vertical Specify whether waves on vertical.
--- return If the creation success, return a pointer of Waves action; otherwise, return nil. --- @function [parent=#Waves] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int waves --- @param #float amplitude --- @param #bool horizontal --- @param #bool vertical --- @return Waves#Waves ret (return value: cc.Waves) - --------------------------------- --- --- @function [parent=#Waves] clone --- @param self --- @return Waves#Waves ret (return value: cc.Waves) - --------------------------------- --- --- @function [parent=#Waves] update --- @param self --- @param #float time --- @return Waves#Waves self (return value: cc.Waves) - --------------------------------- --- --- @function [parent=#Waves] Waves --- @param self --- @return Waves#Waves self (return value: cc.Waves) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Waves3D.lua b/cocos/scripting/lua-bindings/auto/api/Waves3D.lua deleted file mode 100644 index 4f1d3f055b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Waves3D.lua +++ /dev/null @@ -1,86 +0,0 @@ - --------------------------------- --- @module Waves3D --- @extend Grid3DAction --- @parent_module cc - --------------------------------- --- brief Set the amplitude rate of the effect.
--- param amplitudeRate The value of amplitude rate will be set. --- @function [parent=#Waves3D] setAmplitudeRate --- @param self --- @param #float amplitudeRate --- @return Waves3D#Waves3D self (return value: cc.Waves3D) - --------------------------------- --- brief Initializes an action with duration, grid size, waves and amplitude.
--- param duration Specify the duration of the Waves3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param waves Specify the waves count of the Waves3D action.
--- param amplitude Specify the amplitude of the Waves3D action.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#Waves3D] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int waves --- @param #float amplitude --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the amplitude of the effect.
--- return Return the amplitude of the effect. --- @function [parent=#Waves3D] getAmplitude --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Get the amplitude rate of the effect.
--- return Return the amplitude rate of the effect. --- @function [parent=#Waves3D] getAmplitudeRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the amplitude to the effect.
--- param amplitude The value of amplitude will be set. --- @function [parent=#Waves3D] setAmplitude --- @param self --- @param #float amplitude --- @return Waves3D#Waves3D self (return value: cc.Waves3D) - --------------------------------- --- brief Create an action with duration, grid size, waves and amplitude.
--- param duration Specify the duration of the Waves3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param waves Specify the waves count of the Waves3D action.
--- param amplitude Specify the amplitude of the Waves3D action.
--- return If the creation success, return a pointer of Waves3D action; otherwise, return nil. --- @function [parent=#Waves3D] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int waves --- @param #float amplitude --- @return Waves3D#Waves3D ret (return value: cc.Waves3D) - --------------------------------- --- --- @function [parent=#Waves3D] clone --- @param self --- @return Waves3D#Waves3D ret (return value: cc.Waves3D) - --------------------------------- --- --- @function [parent=#Waves3D] update --- @param self --- @param #float time --- @return Waves3D#Waves3D self (return value: cc.Waves3D) - --------------------------------- --- --- @function [parent=#Waves3D] Waves3D --- @param self --- @return Waves3D#Waves3D self (return value: cc.Waves3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/WavesTiles3D.lua b/cocos/scripting/lua-bindings/auto/api/WavesTiles3D.lua deleted file mode 100644 index ca24e42c6c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/WavesTiles3D.lua +++ /dev/null @@ -1,86 +0,0 @@ - --------------------------------- --- @module WavesTiles3D --- @extend TiledGrid3DAction --- @parent_module cc - --------------------------------- --- brief Set the amplitude rate of the effect.
--- param amplitudeRate The value of amplitude rate will be set. --- @function [parent=#WavesTiles3D] setAmplitudeRate --- @param self --- @param #float amplitudeRate --- @return WavesTiles3D#WavesTiles3D self (return value: cc.WavesTiles3D) - --------------------------------- --- brief Initializes an action with duration, grid size, waves count and amplitude.
--- param duration Specify the duration of the WavesTiles3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param waves Specify the waves count of the WavesTiles3D action.
--- param amplitude Specify the amplitude of the WavesTiles3D action.
--- return If the initialization success, return true; otherwise, return false. --- @function [parent=#WavesTiles3D] initWithDuration --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int waves --- @param #float amplitude --- @return bool#bool ret (return value: bool) - --------------------------------- --- brief Get the amplitude of the effect.
--- return Return the amplitude of the effect. --- @function [parent=#WavesTiles3D] getAmplitude --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Get the amplitude rate of the effect.
--- return Return the amplitude rate of the effect. --- @function [parent=#WavesTiles3D] getAmplitudeRate --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- brief Set the amplitude to the effect.
--- param amplitude The value of amplitude will be set. --- @function [parent=#WavesTiles3D] setAmplitude --- @param self --- @param #float amplitude --- @return WavesTiles3D#WavesTiles3D self (return value: cc.WavesTiles3D) - --------------------------------- --- brief Create the action with a number of waves, the waves amplitude, the grid size and the duration.
--- param duration Specify the duration of the WavesTiles3D action. It's a value in seconds.
--- param gridSize Specify the size of the grid.
--- param waves Specify the waves count of the WavesTiles3D action.
--- param amplitude Specify the amplitude of the WavesTiles3D action.
--- return If the creation success, return a pointer of WavesTiles3D action; otherwise, return nil. --- @function [parent=#WavesTiles3D] create --- @param self --- @param #float duration --- @param #size_table gridSize --- @param #unsigned int waves --- @param #float amplitude --- @return WavesTiles3D#WavesTiles3D ret (return value: cc.WavesTiles3D) - --------------------------------- --- --- @function [parent=#WavesTiles3D] clone --- @param self --- @return WavesTiles3D#WavesTiles3D ret (return value: cc.WavesTiles3D) - --------------------------------- --- --- @function [parent=#WavesTiles3D] update --- @param self --- @param #float time --- @return WavesTiles3D#WavesTiles3D self (return value: cc.WavesTiles3D) - --------------------------------- --- --- @function [parent=#WavesTiles3D] WavesTiles3D --- @param self --- @return WavesTiles3D#WavesTiles3D self (return value: cc.WavesTiles3D) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/WebView.lua b/cocos/scripting/lua-bindings/auto/api/WebView.lua deleted file mode 100644 index fe4881be94..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/WebView.lua +++ /dev/null @@ -1,157 +0,0 @@ - --------------------------------- --- @module WebView --- @extend Widget --- @parent_module ccexp - --------------------------------- --- SetOpacity of webview. --- @function [parent=#WebView] setOpacityWebView --- @param self --- @param #float opacity --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Gets whether this WebView has a back history item.
--- return WebView has a back history item. --- @function [parent=#WebView] canGoBack --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Sets the main page content and base URL.
--- param string The content for the main page.
--- param baseURL The base URL for the content. --- @function [parent=#WebView] loadHTMLString --- @param self --- @param #string string --- @param #string baseURL --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Goes forward in the history. --- @function [parent=#WebView] goForward --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Goes back in the history. --- @function [parent=#WebView] goBack --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Set WebView should support zooming. The default value is false. --- @function [parent=#WebView] setScalesPageToFit --- @param self --- @param #bool scalesPageToFit --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Loads the given fileName.
--- param fileName Content fileName. --- @function [parent=#WebView] loadFile --- @param self --- @param #string fileName --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- @overload self, string, bool --- @overload self, string --- @function [parent=#WebView] loadURL --- @param self --- @param #string url --- @param #bool cleanCachedData --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Set whether the webview bounces at end of scroll of WebView. --- @function [parent=#WebView] setBounces --- @param self --- @param #bool bounce --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Evaluates JavaScript in the context of the currently displayed page. --- @function [parent=#WebView] evaluateJS --- @param self --- @param #string js --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- set the background transparent --- @function [parent=#WebView] setBackgroundTransparent --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Get the Javascript callback. --- @function [parent=#WebView] getOnJSCallback --- @param self --- @return function#function ret (return value: function) - --------------------------------- --- Gets whether this WebView has a forward history item.
--- return WebView has a forward history item. --- @function [parent=#WebView] canGoForward --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Stops the current load. --- @function [parent=#WebView] stopLoading --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- getOpacity of webview. --- @function [parent=#WebView] getOpacityWebView --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Reloads the current URL. --- @function [parent=#WebView] reload --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Set javascript interface scheme.
--- see WebView::setOnJSCallback() --- @function [parent=#WebView] setJavascriptInterfaceScheme --- @param self --- @param #string scheme --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Allocates and initializes a WebView. --- @function [parent=#WebView] create --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView ret (return value: cc.experimental::ui::WebView) - --------------------------------- --- --- @function [parent=#WebView] onEnter --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Toggle visibility of WebView. --- @function [parent=#WebView] setVisible --- @param self --- @param #bool visible --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- --- @function [parent=#WebView] onExit --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - --------------------------------- --- Default constructor. --- @function [parent=#WebView] WebView --- @param self --- @return experimental::ui::WebView#experimental::ui::WebView self (return value: cc.experimental::ui::WebView) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Widget.lua b/cocos/scripting/lua-bindings/auto/api/Widget.lua deleted file mode 100644 index b79e41d1ef..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Widget.lua +++ /dev/null @@ -1,634 +0,0 @@ - --------------------------------- --- @module Widget --- @extend ProtectedNode,LayoutParameterProtocol --- @parent_module ccui - --------------------------------- --- Toggle layout component enable.
--- param enable Layout Component of a widget --- @function [parent=#Widget] setLayoutComponentEnabled --- @param self --- @param #bool enable --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Changes the percent that is widget's percent size
--- param percent that is widget's percent size --- @function [parent=#Widget] setSizePercent --- @param self --- @param #vec2_table percent --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Get the user defined widget size.
--- return User defined size. --- @function [parent=#Widget] getCustomSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Gets the left boundary position of this widget in parent's coordination system.
--- return The left boundary position of this widget. --- @function [parent=#Widget] getLeftBoundary --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Sets whether the widget should be flipped horizontally or not.
--- param flippedX true if the widget should be flipped horizontally, false otherwise. --- @function [parent=#Widget] setFlippedX --- @param self --- @param #bool flippedX --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Set callback name.
--- param callbackName A string representation of callback name. --- @function [parent=#Widget] setCallbackName --- @param self --- @param #string callbackName --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Gets the inner Renderer node of widget.
--- For example, a button's Virtual Renderer is it's texture renderer.
--- return Node pointer. --- @function [parent=#Widget] getVirtualRenderer --- @param self --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- brief Allow widget touch events to propagate to its parents. Set false will disable propagation
--- param isPropagate True to allow propagation, false otherwise.
--- since v3.3 --- @function [parent=#Widget] setPropagateTouchEvents --- @param self --- @param #bool isPropagate --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Query whether unify size enable state.
--- return true represent the widget use Unify Size, false represent the widget couldn't use Unify Size --- @function [parent=#Widget] isUnifySizeEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get size percent of widget.
--- return Percent size. --- @function [parent=#Widget] getSizePercent --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Set the percent(x,y) of the widget in OpenGL coordinates
--- param percent The percent (x,y) of the widget in OpenGL coordinates --- @function [parent=#Widget] setPositionPercent --- @param self --- @param #vec2_table percent --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Toggle widget swallow touch option.
--- brief Specify widget to swallow touches or not
--- param swallow True to swallow touch, false otherwise.
--- since v3.3 --- @function [parent=#Widget] setSwallowTouches --- @param self --- @param #bool swallow --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Get the content size of widget.
--- warning This API exists mainly for keeping back compatibility.
--- return --- @function [parent=#Widget] getLayoutSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Sets whether the widget is highlighted
--- The default value is false, a widget is default to not highlighted
--- param highlight true if the widget is highlighted, false if the widget is not highlighted. --- @function [parent=#Widget] setHighlighted --- @param self --- @param #bool highlight --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Changes the position type of the widget
--- see `PositionType`
--- param type the position type of widget --- @function [parent=#Widget] setPositionType --- @param self --- @param #int type --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Query whether the widget ignores user defined content size or not
--- return True means ignore user defined content size, false otherwise. --- @function [parent=#Widget] isIgnoreContentAdaptWithSize --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Get the virtual renderer's size
--- return Widget virtual renderer size. --- @function [parent=#Widget] getVirtualRendererSize --- @param self --- @return size_table#size_table ret (return value: size_table) - --------------------------------- --- Determines if the widget is highlighted
--- return true if the widget is highlighted, false if the widget is not highlighted. --- @function [parent=#Widget] isHighlighted --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets LayoutParameter of widget.
--- see LayoutParameter
--- return LayoutParameter --- @function [parent=#Widget] getLayoutParameter --- @param self --- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter) - --------------------------------- --- Gets the position type of the widget
--- see `PositionType`
--- return type the position type of widget --- @function [parent=#Widget] getPositionType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets the top boundary position of this widget in parent's coordination system.
--- return The top boundary position of this widget. --- @function [parent=#Widget] getTopBoundary --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Toggle whether ignore user defined content size for widget.
--- Set true will ignore user defined content size which means
--- the widget size is always equal to the return value of `getVirtualRendererSize`.
--- param ignore set member variable _ignoreSize to ignore --- @function [parent=#Widget] ignoreContentAdaptWithSize --- @param self --- @param #bool ignore --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- When a widget is in a layout, you could call this method to get the next focused widget within a specified direction.
--- If the widget is not in a layout, it will return itself
--- param direction the direction to look for the next focused widget in a layout
--- param current the current focused widget
--- return the next focused widget in a layout --- @function [parent=#Widget] findNextFocusedWidget --- @param self --- @param #int direction --- @param #ccui.Widget current --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Determines if the widget is enabled or not.
--- return true if the widget is enabled, false if the widget is disabled. --- @function [parent=#Widget] isEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Query whether widget is focused or not.
--- return whether the widget is focused or not --- @function [parent=#Widget] isFocused --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Gets the touch began point of widget when widget is selected.
--- return the touch began point. --- @function [parent=#Widget] getTouchBeganPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Determines if the widget is touch enabled
--- return true if the widget is touch enabled, false if the widget is touch disabled. --- @function [parent=#Widget] isTouchEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Query callback name.
--- return The callback name. --- @function [parent=#Widget] getCallbackName --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- Get the action tag.
--- return Action tag. --- @function [parent=#Widget] getActionTag --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Gets position of widget in world space.
--- return Position of widget in world space. --- @function [parent=#Widget] getWorldPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Query widget's focus enable state.
--- return true represent the widget could accept focus, false represent the widget couldn't accept focus --- @function [parent=#Widget] isFocusEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Toggle widget focus status.
--- param focus pass true to let the widget get focus or pass false to let the widget lose focus --- @function [parent=#Widget] setFocused --- @param self --- @param #bool focus --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Set the tag of action.
--- param tag A integer tag value. --- @function [parent=#Widget] setActionTag --- @param self --- @param #int tag --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Sets whether the widget is touch enabled.
--- The default value is false, a widget is default to touch disabled.
--- param enabled True if the widget is touch enabled, false if the widget is touch disabled. --- @function [parent=#Widget] setTouchEnabled --- @param self --- @param #bool enabled --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Sets whether the widget should be flipped vertically or not.
--- param flippedY true if the widget should be flipped vertically, false otherwise. --- @function [parent=#Widget] setFlippedY --- @param self --- @param #bool flippedY --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Sets whether the widget is enabled
--- true if the widget is enabled, widget may be touched , false if the widget is disabled, widget cannot be touched.
--- Note: If you want to change the widget's appearance to disabled state, you should also call `setBright(false)`.
--- The default value is true, a widget is default to enable touch.
--- param enabled Set to true to enable touch, false otherwise. --- @function [parent=#Widget] setEnabled --- @param self --- @param #bool enabled --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Gets the right boundary position of this widget in parent's coordination system.
--- return The right boundary position of this widget. --- @function [parent=#Widget] getRightBoundary --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- To set the bright style of widget.
--- see BrightStyle
--- param style BrightStyle::NORMAL means the widget is in normal state, BrightStyle::HIGHLIGHT means the widget is in highlight state. --- @function [parent=#Widget] setBrightStyle --- @param self --- @param #int style --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Sets a LayoutParameter to widget.
--- see LayoutParameter
--- param parameter LayoutParameter pointer --- @function [parent=#Widget] setLayoutParameter --- @param self --- @param #ccui.LayoutParameter parameter --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Create a new widget copy of the original one.
--- return A cloned widget copy of original. --- @function [parent=#Widget] clone --- @param self --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Allow widget to accept focus.
--- param enable pass true/false to enable/disable the focus ability of a widget --- @function [parent=#Widget] setFocusEnabled --- @param self --- @param #bool enable --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Gets the bottom boundary position of this widget in parent's coordination system.
--- return The bottom boundary position of this widget. --- @function [parent=#Widget] getBottomBoundary --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Determines if the widget is bright
--- return true if the widget is bright, false if the widget is dark. --- @function [parent=#Widget] isBright --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Dispatch a EventFocus through a EventDispatcher
--- param widgetLoseFocus The widget which lose its focus
--- param widgetGetFocus he widget which get its focus --- @function [parent=#Widget] dispatchFocusEvent --- @param self --- @param #ccui.Widget widgetLoseFocus --- @param #ccui.Widget widgetGetFocus --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Toggle use unify size.
--- param enable True to use unify size, false otherwise. --- @function [parent=#Widget] setUnifySizeEnabled --- @param self --- @param #bool enable --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Return whether the widget is propagate touch events to its parents or not
--- return whether touch event propagation is allowed or not.
--- since v3.3 --- @function [parent=#Widget] isPropagateTouchEvents --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Checks a point is in widget's content space.
--- This function is used for determining touch area of widget.
--- param pt The point in `Vec2`.
--- param camera The camera look at widget, used to convert GL screen point to near/far plane.
--- param p Point to a Vec3 for store the intersect point, if don't need them set to nullptr.
--- return true if the point is in widget's content space, false otherwise. --- @function [parent=#Widget] hitTest --- @param self --- @param #vec2_table pt --- @param #cc.Camera camera --- @param #vec3_table p --- @return bool#bool ret (return value: bool) - --------------------------------- --- Query whether layout component is enabled or not.
--- return true represent the widget use Layout Component, false represent the widget couldn't use Layout Component. --- @function [parent=#Widget] isLayoutComponentEnabled --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- when a widget calls this method, it will get focus immediately. --- @function [parent=#Widget] requestFocus --- @param self --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- @overload self, size_table --- @overload self --- @function [parent=#Widget] updateSizeAndPosition --- @param self --- @param #size_table parentSize --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- This method is called when a focus change event happens
--- param widgetLostFocus The widget which lose its focus
--- param widgetGetFocus The widget which get its focus --- @function [parent=#Widget] onFocusChange --- @param self --- @param #ccui.Widget widgetLostFocus --- @param #ccui.Widget widgetGetFocus --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#Widget] getTouchMovePosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Gets the size type of widget.
--- see `SizeType` --- @function [parent=#Widget] getSizeType --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- Query callback type.
--- return Callback type string. --- @function [parent=#Widget] getCallbackType --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- --- @function [parent=#Widget] getTouchEndPosition --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- Gets the percent (x,y) of the widget in OpenGL coordinates
--- see setPosition(const Vec2&)
--- return The percent (x,y) of the widget in OpenGL coordinates --- @function [parent=#Widget] getPositionPercent --- @param self --- @return vec2_table#vec2_table ret (return value: vec2_table) - --------------------------------- --- brief Propagate touch events to its parents --- @function [parent=#Widget] propagateTouchEvent --- @param self --- @param #int event --- @param #ccui.Widget sender --- @param #cc.Touch touch --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Returns the flag which indicates whether the widget is flipped horizontally or not.
--- It not only flips the texture of the widget, but also the texture of the widget's children.
--- Also, flipping relies on widget's anchor point.
--- Internally, it just use setScaleX(-1) to flip the widget.
--- return true if the widget is flipped horizontally, false otherwise. --- @function [parent=#Widget] isFlippedX --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Return the flag which indicates whether the widget is flipped vertically or not.
--- It not only flips the texture of the widget, but also the texture of the widget's children.
--- Also, flipping relies on widget's anchor point.
--- Internally, it just use setScaleY(-1) to flip the widget.
--- return true if the widget is flipped vertically, false otherwise. --- @function [parent=#Widget] isFlippedY --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Checks a point if in parent's area.
--- param pt A point in `Vec2`.
--- return true if the point is in parent's area, false otherwise. --- @function [parent=#Widget] isClippingParentContainsPoint --- @param self --- @param #vec2_table pt --- @return bool#bool ret (return value: bool) - --------------------------------- --- Changes the size type of widget.
--- see `SizeType`
--- param type that is widget's size type --- @function [parent=#Widget] setSizeType --- @param self --- @param #int type --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#Widget] interceptTouchEvent --- @param self --- @param #int event --- @param #ccui.Widget sender --- @param #cc.Touch touch --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Sets whether the widget is bright
--- The default value is true, a widget is default to bright
--- param bright true if the widget is bright, false if the widget is dark. --- @function [parent=#Widget] setBright --- @param self --- @param #bool bright --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Set callback type.
--- param callbackType A string representation of callback type. --- @function [parent=#Widget] setCallbackType --- @param self --- @param #string callbackType --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Return whether the widget is swallowing touch or not
--- return Whether touch is swallowed.
--- since v3.3 --- @function [parent=#Widget] isSwallowTouches --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Widget] enableDpadNavigation --- @param self --- @param #bool enable --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Return a current focused widget in your UI scene.
--- No matter what widget object you call this method on , it will return you the exact one focused widget. --- @function [parent=#Widget] getCurrentFocusedWidget --- @param self --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- Create and return a empty Widget instance pointer. --- @function [parent=#Widget] create --- @param self --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#Widget] setScaleY --- @param self --- @param #float scaleY --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#Widget] setScaleX --- @param self --- @param #float scaleX --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#Widget] getScaleY --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- --- @function [parent=#Widget] getScaleX --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Returns the string representation of widget class name
--- return get the class description. --- @function [parent=#Widget] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @overload self, float, float --- @overload self, float --- @function [parent=#Widget] setScale --- @param self --- @param #float scalex --- @param #float scaley --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#Widget] init --- @param self --- @return bool#bool ret (return value: bool) - --------------------------------- --- Changes the position (x,y) of the widget in OpenGL coordinates
--- Usually we use p(x,y) to compose a Vec2 object.
--- The original point (0,0) is at the left-bottom corner of screen.
--- param pos The position (x,y) of the widget in OpenGL coordinates --- @function [parent=#Widget] setPosition --- @param self --- @param #vec2_table pos --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- Changes the size that is widget's size
--- param contentSize A content size in `Size`. --- @function [parent=#Widget] setContentSize --- @param self --- @param #size_table contentSize --- @return Widget#Widget self (return value: ccui.Widget) - --------------------------------- --- --- @function [parent=#Widget] getScale --- @param self --- @return float#float ret (return value: float) - --------------------------------- --- Default constructor
--- js ctor
--- lua new --- @function [parent=#Widget] Widget --- @param self --- @return Widget#Widget self (return value: ccui.Widget) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ZOrderFrame.lua b/cocos/scripting/lua-bindings/auto/api/ZOrderFrame.lua deleted file mode 100644 index 8a6c77a59a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/ZOrderFrame.lua +++ /dev/null @@ -1,38 +0,0 @@ - --------------------------------- --- @module ZOrderFrame --- @extend Frame --- @parent_module ccs - --------------------------------- --- --- @function [parent=#ZOrderFrame] getZOrder --- @param self --- @return int#int ret (return value: int) - --------------------------------- --- --- @function [parent=#ZOrderFrame] setZOrder --- @param self --- @param #int zorder --- @return ZOrderFrame#ZOrderFrame self (return value: ccs.ZOrderFrame) - --------------------------------- --- --- @function [parent=#ZOrderFrame] create --- @param self --- @return ZOrderFrame#ZOrderFrame ret (return value: ccs.ZOrderFrame) - --------------------------------- --- --- @function [parent=#ZOrderFrame] clone --- @param self --- @return Frame#Frame ret (return value: ccs.Frame) - --------------------------------- --- --- @function [parent=#ZOrderFrame] ZOrderFrame --- @param self --- @return ZOrderFrame#ZOrderFrame self (return value: ccs.ZOrderFrame) - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_3d_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_3d_auto_api.lua deleted file mode 100644 index 7993a9b5ee..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_3d_auto_api.lua +++ /dev/null @@ -1,69 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc Animation3D --- @field [parent=#cc] Animation3D#Animation3D Animation3D preloaded module - - --------------------------------------------------------- --- the cc Animate3D --- @field [parent=#cc] Animate3D#Animate3D Animate3D preloaded module - - --------------------------------------------------------- --- the cc TextureCube --- @field [parent=#cc] TextureCube#TextureCube TextureCube preloaded module - - --------------------------------------------------------- --- the cc AttachNode --- @field [parent=#cc] AttachNode#AttachNode AttachNode preloaded module - - --------------------------------------------------------- --- the cc BillBoard --- @field [parent=#cc] BillBoard#BillBoard BillBoard preloaded module - - --------------------------------------------------------- --- the cc Mesh --- @field [parent=#cc] Mesh#Mesh Mesh preloaded module - - --------------------------------------------------------- --- the cc Skeleton3D --- @field [parent=#cc] Skeleton3D#Skeleton3D Skeleton3D preloaded module - - --------------------------------------------------------- --- the cc Skybox --- @field [parent=#cc] Skybox#Skybox Skybox preloaded module - - --------------------------------------------------------- --- the cc Sprite3D --- @field [parent=#cc] Sprite3D#Sprite3D Sprite3D preloaded module - - --------------------------------------------------------- --- the cc Sprite3DCache --- @field [parent=#cc] Sprite3DCache#Sprite3DCache Sprite3DCache preloaded module - - --------------------------------------------------------- --- the cc Sprite3DMaterial --- @field [parent=#cc] Sprite3DMaterial#Sprite3DMaterial Sprite3DMaterial preloaded module - - --------------------------------------------------------- --- the cc Terrain --- @field [parent=#cc] Terrain#Terrain Terrain preloaded module - - --------------------------------------------------------- --- the cc Bundle3D --- @field [parent=#cc] Bundle3D#Bundle3D Bundle3D preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_audioengine_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_audioengine_auto_api.lua deleted file mode 100644 index 06db531a8c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_audioengine_auto_api.lua +++ /dev/null @@ -1,14 +0,0 @@ --------------------------------- --- @module ccexp - --------------------------------------------------------- --- the ccexp AudioProfile --- @field [parent=#ccexp] AudioProfile#AudioProfile AudioProfile preloaded module - - --------------------------------------------------------- --- the ccexp AudioEngine --- @field [parent=#ccexp] AudioEngine#AudioEngine AudioEngine preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua deleted file mode 100644 index 857533b1d7..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua +++ /dev/null @@ -1,1344 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc Ref --- @field [parent=#cc] Ref#Ref Ref preloaded module - - --------------------------------------------------------- --- the cc Console --- @field [parent=#cc] Console#Console Console preloaded module - - --------------------------------------------------------- --- the cc Texture2D --- @field [parent=#cc] Texture2D#Texture2D Texture2D preloaded module - - --------------------------------------------------------- --- the cc Touch --- @field [parent=#cc] Touch#Touch Touch preloaded module - - --------------------------------------------------------- --- the cc Event --- @field [parent=#cc] Event#Event Event preloaded module - - --------------------------------------------------------- --- the cc EventTouch --- @field [parent=#cc] EventTouch#EventTouch EventTouch preloaded module - - --------------------------------------------------------- --- the cc EventKeyboard --- @field [parent=#cc] EventKeyboard#EventKeyboard EventKeyboard preloaded module - - --------------------------------------------------------- --- the cc Component --- @field [parent=#cc] Component#Component Component preloaded module - - --------------------------------------------------------- --- the cc Node --- @field [parent=#cc] Node#Node Node preloaded module - - --------------------------------------------------------- --- the cc Scene --- @field [parent=#cc] Scene#Scene Scene preloaded module - - --------------------------------------------------------- --- the cc GLView --- @field [parent=#cc] GLView#GLView GLView preloaded module - - --------------------------------------------------------- --- the cc Director --- @field [parent=#cc] Director#Director Director preloaded module - - --------------------------------------------------------- --- the cc Timer --- @field [parent=#cc] Timer#Timer Timer preloaded module - - --------------------------------------------------------- --- the cc Scheduler --- @field [parent=#cc] Scheduler#Scheduler Scheduler preloaded module - - --------------------------------------------------------- --- the cc AsyncTaskPool --- @field [parent=#cc] AsyncTaskPool#AsyncTaskPool AsyncTaskPool preloaded module - - --------------------------------------------------------- --- the cc Action --- @field [parent=#cc] Action#Action Action preloaded module - - --------------------------------------------------------- --- the cc FiniteTimeAction --- @field [parent=#cc] FiniteTimeAction#FiniteTimeAction FiniteTimeAction preloaded module - - --------------------------------------------------------- --- the cc Speed --- @field [parent=#cc] Speed#Speed Speed preloaded module - - --------------------------------------------------------- --- the cc Follow --- @field [parent=#cc] Follow#Follow Follow preloaded module - - --------------------------------------------------------- --- the cc Image --- @field [parent=#cc] Image#Image Image preloaded module - - --------------------------------------------------------- --- the cc GLProgramState --- @field [parent=#cc] GLProgramState#GLProgramState GLProgramState preloaded module - - --------------------------------------------------------- --- the cc PolygonInfo --- @field [parent=#cc] PolygonInfo#PolygonInfo PolygonInfo preloaded module - - --------------------------------------------------------- --- the cc AutoPolygon --- @field [parent=#cc] AutoPolygon#AutoPolygon AutoPolygon preloaded module - - --------------------------------------------------------- --- the cc SpriteFrame --- @field [parent=#cc] SpriteFrame#SpriteFrame SpriteFrame preloaded module - - --------------------------------------------------------- --- the cc AnimationFrame --- @field [parent=#cc] AnimationFrame#AnimationFrame AnimationFrame preloaded module - - --------------------------------------------------------- --- the cc Animation --- @field [parent=#cc] Animation#Animation Animation preloaded module - - --------------------------------------------------------- --- the cc ActionInterval --- @field [parent=#cc] ActionInterval#ActionInterval ActionInterval preloaded module - - --------------------------------------------------------- --- the cc Sequence --- @field [parent=#cc] Sequence#Sequence Sequence preloaded module - - --------------------------------------------------------- --- the cc Repeat --- @field [parent=#cc] Repeat#Repeat Repeat preloaded module - - --------------------------------------------------------- --- the cc RepeatForever --- @field [parent=#cc] RepeatForever#RepeatForever RepeatForever preloaded module - - --------------------------------------------------------- --- the cc Spawn --- @field [parent=#cc] Spawn#Spawn Spawn preloaded module - - --------------------------------------------------------- --- the cc RotateTo --- @field [parent=#cc] RotateTo#RotateTo RotateTo preloaded module - - --------------------------------------------------------- --- the cc RotateBy --- @field [parent=#cc] RotateBy#RotateBy RotateBy preloaded module - - --------------------------------------------------------- --- the cc MoveBy --- @field [parent=#cc] MoveBy#MoveBy MoveBy preloaded module - - --------------------------------------------------------- --- the cc MoveTo --- @field [parent=#cc] MoveTo#MoveTo MoveTo preloaded module - - --------------------------------------------------------- --- the cc SkewTo --- @field [parent=#cc] SkewTo#SkewTo SkewTo preloaded module - - --------------------------------------------------------- --- the cc SkewBy --- @field [parent=#cc] SkewBy#SkewBy SkewBy preloaded module - - --------------------------------------------------------- --- the cc JumpBy --- @field [parent=#cc] JumpBy#JumpBy JumpBy preloaded module - - --------------------------------------------------------- --- the cc JumpTo --- @field [parent=#cc] JumpTo#JumpTo JumpTo preloaded module - - --------------------------------------------------------- --- the cc BezierBy --- @field [parent=#cc] BezierBy#BezierBy BezierBy preloaded module - - --------------------------------------------------------- --- the cc BezierTo --- @field [parent=#cc] BezierTo#BezierTo BezierTo preloaded module - - --------------------------------------------------------- --- the cc ScaleTo --- @field [parent=#cc] ScaleTo#ScaleTo ScaleTo preloaded module - - --------------------------------------------------------- --- the cc ScaleBy --- @field [parent=#cc] ScaleBy#ScaleBy ScaleBy preloaded module - - --------------------------------------------------------- --- the cc Blink --- @field [parent=#cc] Blink#Blink Blink preloaded module - - --------------------------------------------------------- --- the cc FadeTo --- @field [parent=#cc] FadeTo#FadeTo FadeTo preloaded module - - --------------------------------------------------------- --- the cc FadeIn --- @field [parent=#cc] FadeIn#FadeIn FadeIn preloaded module - - --------------------------------------------------------- --- the cc FadeOut --- @field [parent=#cc] FadeOut#FadeOut FadeOut preloaded module - - --------------------------------------------------------- --- the cc TintTo --- @field [parent=#cc] TintTo#TintTo TintTo preloaded module - - --------------------------------------------------------- --- the cc TintBy --- @field [parent=#cc] TintBy#TintBy TintBy preloaded module - - --------------------------------------------------------- --- the cc DelayTime --- @field [parent=#cc] DelayTime#DelayTime DelayTime preloaded module - - --------------------------------------------------------- --- the cc Animate --- @field [parent=#cc] Animate#Animate Animate preloaded module - - --------------------------------------------------------- --- the cc TargetedAction --- @field [parent=#cc] TargetedAction#TargetedAction TargetedAction preloaded module - - --------------------------------------------------------- --- the cc ActionFloat --- @field [parent=#cc] ActionFloat#ActionFloat ActionFloat preloaded module - - --------------------------------------------------------- --- the cc Properties --- @field [parent=#cc] Properties#Properties Properties preloaded module - - --------------------------------------------------------- --- the cc UserDefault --- @field [parent=#cc] UserDefault#UserDefault UserDefault preloaded module - - --------------------------------------------------------- --- the cc FileUtils --- @field [parent=#cc] FileUtils#FileUtils FileUtils preloaded module - - --------------------------------------------------------- --- the cc EventAcceleration --- @field [parent=#cc] EventAcceleration#EventAcceleration EventAcceleration preloaded module - - --------------------------------------------------------- --- the cc EventCustom --- @field [parent=#cc] EventCustom#EventCustom EventCustom preloaded module - - --------------------------------------------------------- --- the cc EventListener --- @field [parent=#cc] EventListener#EventListener EventListener preloaded module - - --------------------------------------------------------- --- the cc EventDispatcher --- @field [parent=#cc] EventDispatcher#EventDispatcher EventDispatcher preloaded module - - --------------------------------------------------------- --- the cc EventFocus --- @field [parent=#cc] EventFocus#EventFocus EventFocus preloaded module - - --------------------------------------------------------- --- the cc EventListenerAcceleration --- @field [parent=#cc] EventListenerAcceleration#EventListenerAcceleration EventListenerAcceleration preloaded module - - --------------------------------------------------------- --- the cc EventListenerCustom --- @field [parent=#cc] EventListenerCustom#EventListenerCustom EventListenerCustom preloaded module - - --------------------------------------------------------- --- the cc EventListenerFocus --- @field [parent=#cc] EventListenerFocus#EventListenerFocus EventListenerFocus preloaded module - - --------------------------------------------------------- --- the cc EventListenerKeyboard --- @field [parent=#cc] EventListenerKeyboard#EventListenerKeyboard EventListenerKeyboard preloaded module - - --------------------------------------------------------- --- the cc EventMouse --- @field [parent=#cc] EventMouse#EventMouse EventMouse preloaded module - - --------------------------------------------------------- --- the cc EventListenerMouse --- @field [parent=#cc] EventListenerMouse#EventListenerMouse EventListenerMouse preloaded module - - --------------------------------------------------------- --- the cc EventListenerController --- @field [parent=#cc] EventListenerController#EventListenerController EventListenerController preloaded module - - --------------------------------------------------------- --- the cc EventListenerTouchOneByOne --- @field [parent=#cc] EventListenerTouchOneByOne#EventListenerTouchOneByOne EventListenerTouchOneByOne preloaded module - - --------------------------------------------------------- --- the cc EventListenerTouchAllAtOnce --- @field [parent=#cc] EventListenerTouchAllAtOnce#EventListenerTouchAllAtOnce EventListenerTouchAllAtOnce preloaded module - - --------------------------------------------------------- --- the cc EventController --- @field [parent=#cc] EventController#EventController EventController preloaded module - - --------------------------------------------------------- --- the cc ActionCamera --- @field [parent=#cc] ActionCamera#ActionCamera ActionCamera preloaded module - - --------------------------------------------------------- --- the cc OrbitCamera --- @field [parent=#cc] OrbitCamera#OrbitCamera OrbitCamera preloaded module - - --------------------------------------------------------- --- the cc CardinalSplineTo --- @field [parent=#cc] CardinalSplineTo#CardinalSplineTo CardinalSplineTo preloaded module - - --------------------------------------------------------- --- the cc CardinalSplineBy --- @field [parent=#cc] CardinalSplineBy#CardinalSplineBy CardinalSplineBy preloaded module - - --------------------------------------------------------- --- the cc CatmullRomTo --- @field [parent=#cc] CatmullRomTo#CatmullRomTo CatmullRomTo preloaded module - - --------------------------------------------------------- --- the cc CatmullRomBy --- @field [parent=#cc] CatmullRomBy#CatmullRomBy CatmullRomBy preloaded module - - --------------------------------------------------------- --- the cc ActionEase --- @field [parent=#cc] ActionEase#ActionEase ActionEase preloaded module - - --------------------------------------------------------- --- the cc EaseRateAction --- @field [parent=#cc] EaseRateAction#EaseRateAction EaseRateAction preloaded module - - --------------------------------------------------------- --- the cc EaseExponentialIn --- @field [parent=#cc] EaseExponentialIn#EaseExponentialIn EaseExponentialIn preloaded module - - --------------------------------------------------------- --- the cc EaseExponentialOut --- @field [parent=#cc] EaseExponentialOut#EaseExponentialOut EaseExponentialOut preloaded module - - --------------------------------------------------------- --- the cc EaseExponentialInOut --- @field [parent=#cc] EaseExponentialInOut#EaseExponentialInOut EaseExponentialInOut preloaded module - - --------------------------------------------------------- --- the cc EaseSineIn --- @field [parent=#cc] EaseSineIn#EaseSineIn EaseSineIn preloaded module - - --------------------------------------------------------- --- the cc EaseSineOut --- @field [parent=#cc] EaseSineOut#EaseSineOut EaseSineOut preloaded module - - --------------------------------------------------------- --- the cc EaseSineInOut --- @field [parent=#cc] EaseSineInOut#EaseSineInOut EaseSineInOut preloaded module - - --------------------------------------------------------- --- the cc EaseBounce --- @field [parent=#cc] EaseBounce#EaseBounce EaseBounce preloaded module - - --------------------------------------------------------- --- the cc EaseBounceIn --- @field [parent=#cc] EaseBounceIn#EaseBounceIn EaseBounceIn preloaded module - - --------------------------------------------------------- --- the cc EaseBounceOut --- @field [parent=#cc] EaseBounceOut#EaseBounceOut EaseBounceOut preloaded module - - --------------------------------------------------------- --- the cc EaseBounceInOut --- @field [parent=#cc] EaseBounceInOut#EaseBounceInOut EaseBounceInOut preloaded module - - --------------------------------------------------------- --- the cc EaseBackIn --- @field [parent=#cc] EaseBackIn#EaseBackIn EaseBackIn preloaded module - - --------------------------------------------------------- --- the cc EaseBackOut --- @field [parent=#cc] EaseBackOut#EaseBackOut EaseBackOut preloaded module - - --------------------------------------------------------- --- the cc EaseBackInOut --- @field [parent=#cc] EaseBackInOut#EaseBackInOut EaseBackInOut preloaded module - - --------------------------------------------------------- --- the cc EaseQuadraticActionIn --- @field [parent=#cc] EaseQuadraticActionIn#EaseQuadraticActionIn EaseQuadraticActionIn preloaded module - - --------------------------------------------------------- --- the cc EaseQuadraticActionOut --- @field [parent=#cc] EaseQuadraticActionOut#EaseQuadraticActionOut EaseQuadraticActionOut preloaded module - - --------------------------------------------------------- --- the cc EaseQuadraticActionInOut --- @field [parent=#cc] EaseQuadraticActionInOut#EaseQuadraticActionInOut EaseQuadraticActionInOut preloaded module - - --------------------------------------------------------- --- the cc EaseQuarticActionIn --- @field [parent=#cc] EaseQuarticActionIn#EaseQuarticActionIn EaseQuarticActionIn preloaded module - - --------------------------------------------------------- --- the cc EaseQuarticActionOut --- @field [parent=#cc] EaseQuarticActionOut#EaseQuarticActionOut EaseQuarticActionOut preloaded module - - --------------------------------------------------------- --- the cc EaseQuarticActionInOut --- @field [parent=#cc] EaseQuarticActionInOut#EaseQuarticActionInOut EaseQuarticActionInOut preloaded module - - --------------------------------------------------------- --- the cc EaseQuinticActionIn --- @field [parent=#cc] EaseQuinticActionIn#EaseQuinticActionIn EaseQuinticActionIn preloaded module - - --------------------------------------------------------- --- the cc EaseQuinticActionOut --- @field [parent=#cc] EaseQuinticActionOut#EaseQuinticActionOut EaseQuinticActionOut preloaded module - - --------------------------------------------------------- --- the cc EaseQuinticActionInOut --- @field [parent=#cc] EaseQuinticActionInOut#EaseQuinticActionInOut EaseQuinticActionInOut preloaded module - - --------------------------------------------------------- --- the cc EaseCircleActionIn --- @field [parent=#cc] EaseCircleActionIn#EaseCircleActionIn EaseCircleActionIn preloaded module - - --------------------------------------------------------- --- the cc EaseCircleActionOut --- @field [parent=#cc] EaseCircleActionOut#EaseCircleActionOut EaseCircleActionOut preloaded module - - --------------------------------------------------------- --- the cc EaseCircleActionInOut --- @field [parent=#cc] EaseCircleActionInOut#EaseCircleActionInOut EaseCircleActionInOut preloaded module - - --------------------------------------------------------- --- the cc EaseCubicActionIn --- @field [parent=#cc] EaseCubicActionIn#EaseCubicActionIn EaseCubicActionIn preloaded module - - --------------------------------------------------------- --- the cc EaseCubicActionOut --- @field [parent=#cc] EaseCubicActionOut#EaseCubicActionOut EaseCubicActionOut preloaded module - - --------------------------------------------------------- --- the cc EaseCubicActionInOut --- @field [parent=#cc] EaseCubicActionInOut#EaseCubicActionInOut EaseCubicActionInOut preloaded module - - --------------------------------------------------------- --- the cc EaseIn --- @field [parent=#cc] EaseIn#EaseIn EaseIn preloaded module - - --------------------------------------------------------- --- the cc EaseOut --- @field [parent=#cc] EaseOut#EaseOut EaseOut preloaded module - - --------------------------------------------------------- --- the cc EaseInOut --- @field [parent=#cc] EaseInOut#EaseInOut EaseInOut preloaded module - - --------------------------------------------------------- --- the cc EaseElastic --- @field [parent=#cc] EaseElastic#EaseElastic EaseElastic preloaded module - - --------------------------------------------------------- --- the cc EaseElasticIn --- @field [parent=#cc] EaseElasticIn#EaseElasticIn EaseElasticIn preloaded module - - --------------------------------------------------------- --- the cc EaseElasticOut --- @field [parent=#cc] EaseElasticOut#EaseElasticOut EaseElasticOut preloaded module - - --------------------------------------------------------- --- the cc EaseElasticInOut --- @field [parent=#cc] EaseElasticInOut#EaseElasticInOut EaseElasticInOut preloaded module - - --------------------------------------------------------- --- the cc EaseBezierAction --- @field [parent=#cc] EaseBezierAction#EaseBezierAction EaseBezierAction preloaded module - - --------------------------------------------------------- --- the cc ActionInstant --- @field [parent=#cc] ActionInstant#ActionInstant ActionInstant preloaded module - - --------------------------------------------------------- --- the cc Show --- @field [parent=#cc] Show#Show Show preloaded module - - --------------------------------------------------------- --- the cc Hide --- @field [parent=#cc] Hide#Hide Hide preloaded module - - --------------------------------------------------------- --- the cc ToggleVisibility --- @field [parent=#cc] ToggleVisibility#ToggleVisibility ToggleVisibility preloaded module - - --------------------------------------------------------- --- the cc RemoveSelf --- @field [parent=#cc] RemoveSelf#RemoveSelf RemoveSelf preloaded module - - --------------------------------------------------------- --- the cc FlipX --- @field [parent=#cc] FlipX#FlipX FlipX preloaded module - - --------------------------------------------------------- --- the cc FlipY --- @field [parent=#cc] FlipY#FlipY FlipY preloaded module - - --------------------------------------------------------- --- the cc Place --- @field [parent=#cc] Place#Place Place preloaded module - - --------------------------------------------------------- --- the cc CallFunc --- @field [parent=#cc] CallFunc#CallFunc CallFunc preloaded module - - --------------------------------------------------------- --- the cc GridAction --- @field [parent=#cc] GridAction#GridAction GridAction preloaded module - - --------------------------------------------------------- --- the cc Grid3DAction --- @field [parent=#cc] Grid3DAction#Grid3DAction Grid3DAction preloaded module - - --------------------------------------------------------- --- the cc TiledGrid3DAction --- @field [parent=#cc] TiledGrid3DAction#TiledGrid3DAction TiledGrid3DAction preloaded module - - --------------------------------------------------------- --- the cc StopGrid --- @field [parent=#cc] StopGrid#StopGrid StopGrid preloaded module - - --------------------------------------------------------- --- the cc ReuseGrid --- @field [parent=#cc] ReuseGrid#ReuseGrid ReuseGrid preloaded module - - --------------------------------------------------------- --- the cc Waves3D --- @field [parent=#cc] Waves3D#Waves3D Waves3D preloaded module - - --------------------------------------------------------- --- the cc FlipX3D --- @field [parent=#cc] FlipX3D#FlipX3D FlipX3D preloaded module - - --------------------------------------------------------- --- the cc FlipY3D --- @field [parent=#cc] FlipY3D#FlipY3D FlipY3D preloaded module - - --------------------------------------------------------- --- the cc Lens3D --- @field [parent=#cc] Lens3D#Lens3D Lens3D preloaded module - - --------------------------------------------------------- --- the cc Ripple3D --- @field [parent=#cc] Ripple3D#Ripple3D Ripple3D preloaded module - - --------------------------------------------------------- --- the cc Shaky3D --- @field [parent=#cc] Shaky3D#Shaky3D Shaky3D preloaded module - - --------------------------------------------------------- --- the cc Liquid --- @field [parent=#cc] Liquid#Liquid Liquid preloaded module - - --------------------------------------------------------- --- the cc Waves --- @field [parent=#cc] Waves#Waves Waves preloaded module - - --------------------------------------------------------- --- the cc Twirl --- @field [parent=#cc] Twirl#Twirl Twirl preloaded module - - --------------------------------------------------------- --- the cc ActionManager --- @field [parent=#cc] ActionManager#ActionManager ActionManager preloaded module - - --------------------------------------------------------- --- the cc PageTurn3D --- @field [parent=#cc] PageTurn3D#PageTurn3D PageTurn3D preloaded module - - --------------------------------------------------------- --- the cc ProgressTo --- @field [parent=#cc] ProgressTo#ProgressTo ProgressTo preloaded module - - --------------------------------------------------------- --- the cc ProgressFromTo --- @field [parent=#cc] ProgressFromTo#ProgressFromTo ProgressFromTo preloaded module - - --------------------------------------------------------- --- the cc ShakyTiles3D --- @field [parent=#cc] ShakyTiles3D#ShakyTiles3D ShakyTiles3D preloaded module - - --------------------------------------------------------- --- the cc ShatteredTiles3D --- @field [parent=#cc] ShatteredTiles3D#ShatteredTiles3D ShatteredTiles3D preloaded module - - --------------------------------------------------------- --- the cc ShuffleTiles --- @field [parent=#cc] ShuffleTiles#ShuffleTiles ShuffleTiles preloaded module - - --------------------------------------------------------- --- the cc FadeOutTRTiles --- @field [parent=#cc] FadeOutTRTiles#FadeOutTRTiles FadeOutTRTiles preloaded module - - --------------------------------------------------------- --- the cc FadeOutBLTiles --- @field [parent=#cc] FadeOutBLTiles#FadeOutBLTiles FadeOutBLTiles preloaded module - - --------------------------------------------------------- --- the cc FadeOutUpTiles --- @field [parent=#cc] FadeOutUpTiles#FadeOutUpTiles FadeOutUpTiles preloaded module - - --------------------------------------------------------- --- the cc FadeOutDownTiles --- @field [parent=#cc] FadeOutDownTiles#FadeOutDownTiles FadeOutDownTiles preloaded module - - --------------------------------------------------------- --- the cc TurnOffTiles --- @field [parent=#cc] TurnOffTiles#TurnOffTiles TurnOffTiles preloaded module - - --------------------------------------------------------- --- the cc WavesTiles3D --- @field [parent=#cc] WavesTiles3D#WavesTiles3D WavesTiles3D preloaded module - - --------------------------------------------------------- --- the cc JumpTiles3D --- @field [parent=#cc] JumpTiles3D#JumpTiles3D JumpTiles3D preloaded module - - --------------------------------------------------------- --- the cc SplitRows --- @field [parent=#cc] SplitRows#SplitRows SplitRows preloaded module - - --------------------------------------------------------- --- the cc SplitCols --- @field [parent=#cc] SplitCols#SplitCols SplitCols preloaded module - - --------------------------------------------------------- --- the cc ActionTween --- @field [parent=#cc] ActionTween#ActionTween ActionTween preloaded module - - --------------------------------------------------------- --- the cc AtlasNode --- @field [parent=#cc] AtlasNode#AtlasNode AtlasNode preloaded module - - --------------------------------------------------------- --- the cc ClippingNode --- @field [parent=#cc] ClippingNode#ClippingNode ClippingNode preloaded module - - --------------------------------------------------------- --- the cc ClippingRectangleNode --- @field [parent=#cc] ClippingRectangleNode#ClippingRectangleNode ClippingRectangleNode preloaded module - - --------------------------------------------------------- --- the cc DrawNode --- @field [parent=#cc] DrawNode#DrawNode DrawNode preloaded module - - --------------------------------------------------------- --- the cc Label --- @field [parent=#cc] Label#Label Label preloaded module - - --------------------------------------------------------- --- the cc LabelAtlas --- @field [parent=#cc] LabelAtlas#LabelAtlas LabelAtlas preloaded module - - --------------------------------------------------------- --- the cc Layer --- @field [parent=#cc] Layer#Layer Layer preloaded module - - --------------------------------------------------------- --- the cc LayerColor --- @field [parent=#cc] LayerColor#LayerColor LayerColor preloaded module - - --------------------------------------------------------- --- the cc LayerGradient --- @field [parent=#cc] LayerGradient#LayerGradient LayerGradient preloaded module - - --------------------------------------------------------- --- the cc LayerRadialGradient --- @field [parent=#cc] LayerRadialGradient#LayerRadialGradient LayerRadialGradient preloaded module - - --------------------------------------------------------- --- the cc LayerMultiplex --- @field [parent=#cc] LayerMultiplex#LayerMultiplex LayerMultiplex preloaded module - - --------------------------------------------------------- --- the cc MenuItem --- @field [parent=#cc] MenuItem#MenuItem MenuItem preloaded module - - --------------------------------------------------------- --- the cc MenuItemLabel --- @field [parent=#cc] MenuItemLabel#MenuItemLabel MenuItemLabel preloaded module - - --------------------------------------------------------- --- the cc MenuItemAtlasFont --- @field [parent=#cc] MenuItemAtlasFont#MenuItemAtlasFont MenuItemAtlasFont preloaded module - - --------------------------------------------------------- --- the cc MenuItemFont --- @field [parent=#cc] MenuItemFont#MenuItemFont MenuItemFont preloaded module - - --------------------------------------------------------- --- the cc MenuItemSprite --- @field [parent=#cc] MenuItemSprite#MenuItemSprite MenuItemSprite preloaded module - - --------------------------------------------------------- --- the cc MenuItemImage --- @field [parent=#cc] MenuItemImage#MenuItemImage MenuItemImage preloaded module - - --------------------------------------------------------- --- the cc MenuItemToggle --- @field [parent=#cc] MenuItemToggle#MenuItemToggle MenuItemToggle preloaded module - - --------------------------------------------------------- --- the cc Menu --- @field [parent=#cc] Menu#Menu Menu preloaded module - - --------------------------------------------------------- --- the cc MotionStreak --- @field [parent=#cc] MotionStreak#MotionStreak MotionStreak preloaded module - - --------------------------------------------------------- --- the cc NodeGrid --- @field [parent=#cc] NodeGrid#NodeGrid NodeGrid preloaded module - - --------------------------------------------------------- --- the cc ParticleBatchNode --- @field [parent=#cc] ParticleBatchNode#ParticleBatchNode ParticleBatchNode preloaded module - - --------------------------------------------------------- --- the cc ParticleData --- @field [parent=#cc] ParticleData#ParticleData ParticleData preloaded module - - --------------------------------------------------------- --- the cc ParticleSystem --- @field [parent=#cc] ParticleSystem#ParticleSystem ParticleSystem preloaded module - - --------------------------------------------------------- --- the cc ParticleSystemQuad --- @field [parent=#cc] ParticleSystemQuad#ParticleSystemQuad ParticleSystemQuad preloaded module - - --------------------------------------------------------- --- the cc ParticleFire --- @field [parent=#cc] ParticleFire#ParticleFire ParticleFire preloaded module - - --------------------------------------------------------- --- the cc ParticleFireworks --- @field [parent=#cc] ParticleFireworks#ParticleFireworks ParticleFireworks preloaded module - - --------------------------------------------------------- --- the cc ParticleSun --- @field [parent=#cc] ParticleSun#ParticleSun ParticleSun preloaded module - - --------------------------------------------------------- --- the cc ParticleGalaxy --- @field [parent=#cc] ParticleGalaxy#ParticleGalaxy ParticleGalaxy preloaded module - - --------------------------------------------------------- --- the cc ParticleFlower --- @field [parent=#cc] ParticleFlower#ParticleFlower ParticleFlower preloaded module - - --------------------------------------------------------- --- the cc ParticleMeteor --- @field [parent=#cc] ParticleMeteor#ParticleMeteor ParticleMeteor preloaded module - - --------------------------------------------------------- --- the cc ParticleSpiral --- @field [parent=#cc] ParticleSpiral#ParticleSpiral ParticleSpiral preloaded module - - --------------------------------------------------------- --- the cc ParticleExplosion --- @field [parent=#cc] ParticleExplosion#ParticleExplosion ParticleExplosion preloaded module - - --------------------------------------------------------- --- the cc ParticleSmoke --- @field [parent=#cc] ParticleSmoke#ParticleSmoke ParticleSmoke preloaded module - - --------------------------------------------------------- --- the cc ParticleSnow --- @field [parent=#cc] ParticleSnow#ParticleSnow ParticleSnow preloaded module - - --------------------------------------------------------- --- the cc ParticleRain --- @field [parent=#cc] ParticleRain#ParticleRain ParticleRain preloaded module - - --------------------------------------------------------- --- the cc ProgressTimer --- @field [parent=#cc] ProgressTimer#ProgressTimer ProgressTimer preloaded module - - --------------------------------------------------------- --- the cc ProtectedNode --- @field [parent=#cc] ProtectedNode#ProtectedNode ProtectedNode preloaded module - - --------------------------------------------------------- --- the cc Sprite --- @field [parent=#cc] Sprite#Sprite Sprite preloaded module - - --------------------------------------------------------- --- the cc RenderTexture --- @field [parent=#cc] RenderTexture#RenderTexture RenderTexture preloaded module - - --------------------------------------------------------- --- the cc TransitionEaseScene --- @field [parent=#cc] TransitionEaseScene#TransitionEaseScene TransitionEaseScene preloaded module - - --------------------------------------------------------- --- the cc TransitionScene --- @field [parent=#cc] TransitionScene#TransitionScene TransitionScene preloaded module - - --------------------------------------------------------- --- the cc TransitionSceneOriented --- @field [parent=#cc] TransitionSceneOriented#TransitionSceneOriented TransitionSceneOriented preloaded module - - --------------------------------------------------------- --- the cc TransitionRotoZoom --- @field [parent=#cc] TransitionRotoZoom#TransitionRotoZoom TransitionRotoZoom preloaded module - - --------------------------------------------------------- --- the cc TransitionJumpZoom --- @field [parent=#cc] TransitionJumpZoom#TransitionJumpZoom TransitionJumpZoom preloaded module - - --------------------------------------------------------- --- the cc TransitionMoveInL --- @field [parent=#cc] TransitionMoveInL#TransitionMoveInL TransitionMoveInL preloaded module - - --------------------------------------------------------- --- the cc TransitionMoveInR --- @field [parent=#cc] TransitionMoveInR#TransitionMoveInR TransitionMoveInR preloaded module - - --------------------------------------------------------- --- the cc TransitionMoveInT --- @field [parent=#cc] TransitionMoveInT#TransitionMoveInT TransitionMoveInT preloaded module - - --------------------------------------------------------- --- the cc TransitionMoveInB --- @field [parent=#cc] TransitionMoveInB#TransitionMoveInB TransitionMoveInB preloaded module - - --------------------------------------------------------- --- the cc TransitionSlideInL --- @field [parent=#cc] TransitionSlideInL#TransitionSlideInL TransitionSlideInL preloaded module - - --------------------------------------------------------- --- the cc TransitionSlideInR --- @field [parent=#cc] TransitionSlideInR#TransitionSlideInR TransitionSlideInR preloaded module - - --------------------------------------------------------- --- the cc TransitionSlideInB --- @field [parent=#cc] TransitionSlideInB#TransitionSlideInB TransitionSlideInB preloaded module - - --------------------------------------------------------- --- the cc TransitionSlideInT --- @field [parent=#cc] TransitionSlideInT#TransitionSlideInT TransitionSlideInT preloaded module - - --------------------------------------------------------- --- the cc TransitionShrinkGrow --- @field [parent=#cc] TransitionShrinkGrow#TransitionShrinkGrow TransitionShrinkGrow preloaded module - - --------------------------------------------------------- --- the cc TransitionFlipX --- @field [parent=#cc] TransitionFlipX#TransitionFlipX TransitionFlipX preloaded module - - --------------------------------------------------------- --- the cc TransitionFlipY --- @field [parent=#cc] TransitionFlipY#TransitionFlipY TransitionFlipY preloaded module - - --------------------------------------------------------- --- the cc TransitionFlipAngular --- @field [parent=#cc] TransitionFlipAngular#TransitionFlipAngular TransitionFlipAngular preloaded module - - --------------------------------------------------------- --- the cc TransitionZoomFlipX --- @field [parent=#cc] TransitionZoomFlipX#TransitionZoomFlipX TransitionZoomFlipX preloaded module - - --------------------------------------------------------- --- the cc TransitionZoomFlipY --- @field [parent=#cc] TransitionZoomFlipY#TransitionZoomFlipY TransitionZoomFlipY preloaded module - - --------------------------------------------------------- --- the cc TransitionZoomFlipAngular --- @field [parent=#cc] TransitionZoomFlipAngular#TransitionZoomFlipAngular TransitionZoomFlipAngular preloaded module - - --------------------------------------------------------- --- the cc TransitionFade --- @field [parent=#cc] TransitionFade#TransitionFade TransitionFade preloaded module - - --------------------------------------------------------- --- the cc TransitionCrossFade --- @field [parent=#cc] TransitionCrossFade#TransitionCrossFade TransitionCrossFade preloaded module - - --------------------------------------------------------- --- the cc TransitionTurnOffTiles --- @field [parent=#cc] TransitionTurnOffTiles#TransitionTurnOffTiles TransitionTurnOffTiles preloaded module - - --------------------------------------------------------- --- the cc TransitionSplitCols --- @field [parent=#cc] TransitionSplitCols#TransitionSplitCols TransitionSplitCols preloaded module - - --------------------------------------------------------- --- the cc TransitionSplitRows --- @field [parent=#cc] TransitionSplitRows#TransitionSplitRows TransitionSplitRows preloaded module - - --------------------------------------------------------- --- the cc TransitionFadeTR --- @field [parent=#cc] TransitionFadeTR#TransitionFadeTR TransitionFadeTR preloaded module - - --------------------------------------------------------- --- the cc TransitionFadeBL --- @field [parent=#cc] TransitionFadeBL#TransitionFadeBL TransitionFadeBL preloaded module - - --------------------------------------------------------- --- the cc TransitionFadeUp --- @field [parent=#cc] TransitionFadeUp#TransitionFadeUp TransitionFadeUp preloaded module - - --------------------------------------------------------- --- the cc TransitionFadeDown --- @field [parent=#cc] TransitionFadeDown#TransitionFadeDown TransitionFadeDown preloaded module - - --------------------------------------------------------- --- the cc TransitionPageTurn --- @field [parent=#cc] TransitionPageTurn#TransitionPageTurn TransitionPageTurn preloaded module - - --------------------------------------------------------- --- the cc TransitionProgress --- @field [parent=#cc] TransitionProgress#TransitionProgress TransitionProgress preloaded module - - --------------------------------------------------------- --- the cc TransitionProgressRadialCCW --- @field [parent=#cc] TransitionProgressRadialCCW#TransitionProgressRadialCCW TransitionProgressRadialCCW preloaded module - - --------------------------------------------------------- --- the cc TransitionProgressRadialCW --- @field [parent=#cc] TransitionProgressRadialCW#TransitionProgressRadialCW TransitionProgressRadialCW preloaded module - - --------------------------------------------------------- --- the cc TransitionProgressHorizontal --- @field [parent=#cc] TransitionProgressHorizontal#TransitionProgressHorizontal TransitionProgressHorizontal preloaded module - - --------------------------------------------------------- --- the cc TransitionProgressVertical --- @field [parent=#cc] TransitionProgressVertical#TransitionProgressVertical TransitionProgressVertical preloaded module - - --------------------------------------------------------- --- the cc TransitionProgressInOut --- @field [parent=#cc] TransitionProgressInOut#TransitionProgressInOut TransitionProgressInOut preloaded module - - --------------------------------------------------------- --- the cc TransitionProgressOutIn --- @field [parent=#cc] TransitionProgressOutIn#TransitionProgressOutIn TransitionProgressOutIn preloaded module - - --------------------------------------------------------- --- the cc Camera --- @field [parent=#cc] Camera#Camera Camera preloaded module - - --------------------------------------------------------- --- the cc CameraBackgroundBrush --- @field [parent=#cc] CameraBackgroundBrush#CameraBackgroundBrush CameraBackgroundBrush preloaded module - - --------------------------------------------------------- --- the cc CameraBackgroundDepthBrush --- @field [parent=#cc] CameraBackgroundDepthBrush#CameraBackgroundDepthBrush CameraBackgroundDepthBrush preloaded module - - --------------------------------------------------------- --- the cc CameraBackgroundColorBrush --- @field [parent=#cc] CameraBackgroundColorBrush#CameraBackgroundColorBrush CameraBackgroundColorBrush preloaded module - - --------------------------------------------------------- --- the cc CameraBackgroundSkyBoxBrush --- @field [parent=#cc] CameraBackgroundSkyBoxBrush#CameraBackgroundSkyBoxBrush CameraBackgroundSkyBoxBrush preloaded module - - --------------------------------------------------------- --- the cc GridBase --- @field [parent=#cc] GridBase#GridBase GridBase preloaded module - - --------------------------------------------------------- --- the cc Grid3D --- @field [parent=#cc] Grid3D#Grid3D Grid3D preloaded module - - --------------------------------------------------------- --- the cc TiledGrid3D --- @field [parent=#cc] TiledGrid3D#TiledGrid3D TiledGrid3D preloaded module - - --------------------------------------------------------- --- the cc BaseLight --- @field [parent=#cc] BaseLight#BaseLight BaseLight preloaded module - - --------------------------------------------------------- --- the cc DirectionLight --- @field [parent=#cc] DirectionLight#DirectionLight DirectionLight preloaded module - - --------------------------------------------------------- --- the cc PointLight --- @field [parent=#cc] PointLight#PointLight PointLight preloaded module - - --------------------------------------------------------- --- the cc SpotLight --- @field [parent=#cc] SpotLight#SpotLight SpotLight preloaded module - - --------------------------------------------------------- --- the cc AmbientLight --- @field [parent=#cc] AmbientLight#AmbientLight AmbientLight preloaded module - - --------------------------------------------------------- --- the cc GLProgram --- @field [parent=#cc] GLProgram#GLProgram GLProgram preloaded module - - --------------------------------------------------------- --- the cc GLProgramCache --- @field [parent=#cc] GLProgramCache#GLProgramCache GLProgramCache preloaded module - - --------------------------------------------------------- --- the cc RenderState --- @field [parent=#cc] RenderState#RenderState RenderState preloaded module - - --------------------------------------------------------- --- the cc Pass --- @field [parent=#cc] Pass#Pass Pass preloaded module - - --------------------------------------------------------- --- the cc Technique --- @field [parent=#cc] Technique#Technique Technique preloaded module - - --------------------------------------------------------- --- the cc Material --- @field [parent=#cc] Material#Material Material preloaded module - - --------------------------------------------------------- --- the cc TextureCache --- @field [parent=#cc] TextureCache#TextureCache TextureCache preloaded module - - --------------------------------------------------------- --- the cc Device --- @field [parent=#cc] Device#Device Device preloaded module - - --------------------------------------------------------- --- the cc Application --- @field [parent=#cc] Application#Application Application preloaded module - - --------------------------------------------------------- --- the cc GLViewImpl --- @field [parent=#cc] GLViewImpl#GLViewImpl GLViewImpl preloaded module - - --------------------------------------------------------- --- the cc AnimationCache --- @field [parent=#cc] AnimationCache#AnimationCache AnimationCache preloaded module - - --------------------------------------------------------- --- the cc SpriteBatchNode --- @field [parent=#cc] SpriteBatchNode#SpriteBatchNode SpriteBatchNode preloaded module - - --------------------------------------------------------- --- the cc SpriteFrameCache --- @field [parent=#cc] SpriteFrameCache#SpriteFrameCache SpriteFrameCache preloaded module - - --------------------------------------------------------- --- the cc ParallaxNode --- @field [parent=#cc] ParallaxNode#ParallaxNode ParallaxNode preloaded module - - --------------------------------------------------------- --- the cc TMXObjectGroup --- @field [parent=#cc] TMXObjectGroup#TMXObjectGroup TMXObjectGroup preloaded module - - --------------------------------------------------------- --- the cc TMXLayerInfo --- @field [parent=#cc] TMXLayerInfo#TMXLayerInfo TMXLayerInfo preloaded module - - --------------------------------------------------------- --- the cc TMXTilesetInfo --- @field [parent=#cc] TMXTilesetInfo#TMXTilesetInfo TMXTilesetInfo preloaded module - - --------------------------------------------------------- --- the cc TMXMapInfo --- @field [parent=#cc] TMXMapInfo#TMXMapInfo TMXMapInfo preloaded module - - --------------------------------------------------------- --- the cc TMXLayer --- @field [parent=#cc] TMXLayer#TMXLayer TMXLayer preloaded module - - --------------------------------------------------------- --- the cc TMXTiledMap --- @field [parent=#cc] TMXTiledMap#TMXTiledMap TMXTiledMap preloaded module - - --------------------------------------------------------- --- the cc TileMapAtlas --- @field [parent=#cc] TileMapAtlas#TileMapAtlas TileMapAtlas preloaded module - - --------------------------------------------------------- --- the cc MotionStreak3D --- @field [parent=#cc] MotionStreak3D#MotionStreak3D MotionStreak3D preloaded module - - --------------------------------------------------------- --- the cc ComponentLua --- @field [parent=#cc] ComponentLua#ComponentLua ComponentLua preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosbuilder_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosbuilder_auto_api.lua deleted file mode 100644 index 2496259244..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosbuilder_auto_api.lua +++ /dev/null @@ -1,14 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc CCBAnimationManager --- @field [parent=#cc] CCBAnimationManager#CCBAnimationManager CCBAnimationManager preloaded module - - --------------------------------------------------------- --- the cc CCBReader --- @field [parent=#cc] CCBReader#CCBReader CCBReader preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosdenshion_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosdenshion_auto_api.lua deleted file mode 100644 index 445126e333..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosdenshion_auto_api.lua +++ /dev/null @@ -1,9 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc SimpleAudioEngine --- @field [parent=#cc] SimpleAudioEngine#SimpleAudioEngine SimpleAudioEngine preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_controller_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_controller_auto_api.lua deleted file mode 100644 index 30ab29ef7b..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_controller_auto_api.lua +++ /dev/null @@ -1,19 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc Controller --- @field [parent=#cc] Controller#Controller Controller preloaded module - - --------------------------------------------------------- --- the cc EventController --- @field [parent=#cc] EventController#EventController EventController preloaded module - - --------------------------------------------------------- --- the cc EventListenerController --- @field [parent=#cc] EventListenerController#EventListenerController EventListenerController preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_csloader_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_csloader_auto_api.lua deleted file mode 100644 index 0b1c3c993a..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_csloader_auto_api.lua +++ /dev/null @@ -1,9 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc CSLoader --- @field [parent=#cc] CSLoader#CSLoader CSLoader preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_auto_api.lua deleted file mode 100644 index 56a40c50ac..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_auto_api.lua +++ /dev/null @@ -1,14 +0,0 @@ --------------------------------- --- @module ccexp - --------------------------------------------------------- --- the ccexp TMXLayer --- @field [parent=#ccexp] TMXLayer#TMXLayer TMXLayer preloaded module - - --------------------------------------------------------- --- the ccexp TMXTiledMap --- @field [parent=#ccexp] TMXTiledMap#TMXTiledMap TMXTiledMap preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_video_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_video_auto_api.lua deleted file mode 100644 index b9de15b788..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_video_auto_api.lua +++ /dev/null @@ -1,9 +0,0 @@ --------------------------------- --- @module ccexp - --------------------------------------------------------- --- the ccexp VideoPlayer --- @field [parent=#ccexp] VideoPlayer#VideoPlayer VideoPlayer preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_webview_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_webview_auto_api.lua deleted file mode 100644 index 5846bfefd9..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_webview_auto_api.lua +++ /dev/null @@ -1,9 +0,0 @@ --------------------------------- --- @module ccexp - --------------------------------------------------------- --- the ccexp WebView --- @field [parent=#ccexp] WebView#WebView WebView preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua deleted file mode 100644 index 0c58ef1f72..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua +++ /dev/null @@ -1,99 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc Control --- @field [parent=#cc] Control#Control Control preloaded module - - --------------------------------------------------------- --- the cc ControlButton --- @field [parent=#cc] ControlButton#ControlButton ControlButton preloaded module - - --------------------------------------------------------- --- the cc ControlHuePicker --- @field [parent=#cc] ControlHuePicker#ControlHuePicker ControlHuePicker preloaded module - - --------------------------------------------------------- --- the cc ControlSaturationBrightnessPicker --- @field [parent=#cc] ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker ControlSaturationBrightnessPicker preloaded module - - --------------------------------------------------------- --- the cc ControlColourPicker --- @field [parent=#cc] ControlColourPicker#ControlColourPicker ControlColourPicker preloaded module - - --------------------------------------------------------- --- the cc ControlPotentiometer --- @field [parent=#cc] ControlPotentiometer#ControlPotentiometer ControlPotentiometer preloaded module - - --------------------------------------------------------- --- the cc ControlSlider --- @field [parent=#cc] ControlSlider#ControlSlider ControlSlider preloaded module - - --------------------------------------------------------- --- the cc ControlStepper --- @field [parent=#cc] ControlStepper#ControlStepper ControlStepper preloaded module - - --------------------------------------------------------- --- the cc ControlSwitch --- @field [parent=#cc] ControlSwitch#ControlSwitch ControlSwitch preloaded module - - --------------------------------------------------------- --- the cc ScrollView --- @field [parent=#cc] ScrollView#ScrollView ScrollView preloaded module - - --------------------------------------------------------- --- the cc TableViewCell --- @field [parent=#cc] TableViewCell#TableViewCell TableViewCell preloaded module - - --------------------------------------------------------- --- the cc TableView --- @field [parent=#cc] TableView#TableView TableView preloaded module - - --------------------------------------------------------- --- the cc AssetsManager --- @field [parent=#cc] AssetsManager#AssetsManager AssetsManager preloaded module - - --------------------------------------------------------- --- the cc EventAssetsManagerEx --- @field [parent=#cc] EventAssetsManagerEx#EventAssetsManagerEx EventAssetsManagerEx preloaded module - - --------------------------------------------------------- --- the cc Manifest --- @field [parent=#cc] Manifest#Manifest Manifest preloaded module - - --------------------------------------------------------- --- the cc AssetsManagerEx --- @field [parent=#cc] AssetsManagerEx#AssetsManagerEx AssetsManagerEx preloaded module - - --------------------------------------------------------- --- the cc EventListenerAssetsManagerEx --- @field [parent=#cc] EventListenerAssetsManagerEx#EventListenerAssetsManagerEx EventListenerAssetsManagerEx preloaded module - - --------------------------------------------------------- --- the cc ParticleSystem3D --- @field [parent=#cc] ParticleSystem3D#ParticleSystem3D ParticleSystem3D preloaded module - - --------------------------------------------------------- --- the cc PUParticleSystem3D --- @field [parent=#cc] PUParticleSystem3D#PUParticleSystem3D PUParticleSystem3D preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_navmesh_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_navmesh_auto_api.lua deleted file mode 100644 index efe108f19f..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_navmesh_auto_api.lua +++ /dev/null @@ -1,19 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc NavMeshAgent --- @field [parent=#cc] NavMeshAgent#NavMeshAgent NavMeshAgent preloaded module - - --------------------------------------------------------- --- the cc NavMeshObstacle --- @field [parent=#cc] NavMeshObstacle#NavMeshObstacle NavMeshObstacle preloaded module - - --------------------------------------------------------- --- the cc NavMesh --- @field [parent=#cc] NavMesh#NavMesh NavMesh preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics3d_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics3d_auto_api.lua deleted file mode 100644 index ca91e75951..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics3d_auto_api.lua +++ /dev/null @@ -1,64 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc Physics3DShape --- @field [parent=#cc] Physics3DShape#Physics3DShape Physics3DShape preloaded module - - --------------------------------------------------------- --- the cc Physics3DObject --- @field [parent=#cc] Physics3DObject#Physics3DObject Physics3DObject preloaded module - - --------------------------------------------------------- --- the cc Physics3DRigidBody --- @field [parent=#cc] Physics3DRigidBody#Physics3DRigidBody Physics3DRigidBody preloaded module - - --------------------------------------------------------- --- the cc Physics3DComponent --- @field [parent=#cc] Physics3DComponent#Physics3DComponent Physics3DComponent preloaded module - - --------------------------------------------------------- --- the cc PhysicsSprite3D --- @field [parent=#cc] PhysicsSprite3D#PhysicsSprite3D PhysicsSprite3D preloaded module - - --------------------------------------------------------- --- the cc Physics3DWorld --- @field [parent=#cc] Physics3DWorld#Physics3DWorld Physics3DWorld preloaded module - - --------------------------------------------------------- --- the cc Physics3DConstraint --- @field [parent=#cc] Physics3DConstraint#Physics3DConstraint Physics3DConstraint preloaded module - - --------------------------------------------------------- --- the cc Physics3DPointToPointConstraint --- @field [parent=#cc] Physics3DPointToPointConstraint#Physics3DPointToPointConstraint Physics3DPointToPointConstraint preloaded module - - --------------------------------------------------------- --- the cc Physics3DHingeConstraint --- @field [parent=#cc] Physics3DHingeConstraint#Physics3DHingeConstraint Physics3DHingeConstraint preloaded module - - --------------------------------------------------------- --- the cc Physics3DSliderConstraint --- @field [parent=#cc] Physics3DSliderConstraint#Physics3DSliderConstraint Physics3DSliderConstraint preloaded module - - --------------------------------------------------------- --- the cc Physics3DConeTwistConstraint --- @field [parent=#cc] Physics3DConeTwistConstraint#Physics3DConeTwistConstraint Physics3DConeTwistConstraint preloaded module - - --------------------------------------------------------- --- the cc Physics3D6DofConstraint --- @field [parent=#cc] Physics3D6DofConstraint#Physics3D6DofConstraint Physics3D6DofConstraint preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics_auto_api.lua deleted file mode 100644 index d9175a360c..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics_auto_api.lua +++ /dev/null @@ -1,149 +0,0 @@ --------------------------------- --- @module cc - --------------------------------------------------------- --- the cc PhysicsShape --- @field [parent=#cc] PhysicsShape#PhysicsShape PhysicsShape preloaded module - - --------------------------------------------------------- --- the cc PhysicsShapeCircle --- @field [parent=#cc] PhysicsShapeCircle#PhysicsShapeCircle PhysicsShapeCircle preloaded module - - --------------------------------------------------------- --- the cc PhysicsShapePolygon --- @field [parent=#cc] PhysicsShapePolygon#PhysicsShapePolygon PhysicsShapePolygon preloaded module - - --------------------------------------------------------- --- the cc PhysicsShapeBox --- @field [parent=#cc] PhysicsShapeBox#PhysicsShapeBox PhysicsShapeBox preloaded module - - --------------------------------------------------------- --- the cc PhysicsShapeEdgeSegment --- @field [parent=#cc] PhysicsShapeEdgeSegment#PhysicsShapeEdgeSegment PhysicsShapeEdgeSegment preloaded module - - --------------------------------------------------------- --- the cc PhysicsShapeEdgePolygon --- @field [parent=#cc] PhysicsShapeEdgePolygon#PhysicsShapeEdgePolygon PhysicsShapeEdgePolygon preloaded module - - --------------------------------------------------------- --- the cc PhysicsShapeEdgeBox --- @field [parent=#cc] PhysicsShapeEdgeBox#PhysicsShapeEdgeBox PhysicsShapeEdgeBox preloaded module - - --------------------------------------------------------- --- the cc PhysicsShapeEdgeChain --- @field [parent=#cc] PhysicsShapeEdgeChain#PhysicsShapeEdgeChain PhysicsShapeEdgeChain preloaded module - - --------------------------------------------------------- --- the cc PhysicsBody --- @field [parent=#cc] PhysicsBody#PhysicsBody PhysicsBody preloaded module - - --------------------------------------------------------- --- the cc PhysicsContact --- @field [parent=#cc] PhysicsContact#PhysicsContact PhysicsContact preloaded module - - --------------------------------------------------------- --- the cc PhysicsContactPreSolve --- @field [parent=#cc] PhysicsContactPreSolve#PhysicsContactPreSolve PhysicsContactPreSolve preloaded module - - --------------------------------------------------------- --- the cc PhysicsContactPostSolve --- @field [parent=#cc] PhysicsContactPostSolve#PhysicsContactPostSolve PhysicsContactPostSolve preloaded module - - --------------------------------------------------------- --- the cc EventListenerPhysicsContact --- @field [parent=#cc] EventListenerPhysicsContact#EventListenerPhysicsContact EventListenerPhysicsContact preloaded module - - --------------------------------------------------------- --- the cc EventListenerPhysicsContactWithBodies --- @field [parent=#cc] EventListenerPhysicsContactWithBodies#EventListenerPhysicsContactWithBodies EventListenerPhysicsContactWithBodies preloaded module - - --------------------------------------------------------- --- the cc EventListenerPhysicsContactWithShapes --- @field [parent=#cc] EventListenerPhysicsContactWithShapes#EventListenerPhysicsContactWithShapes EventListenerPhysicsContactWithShapes preloaded module - - --------------------------------------------------------- --- the cc EventListenerPhysicsContactWithGroup --- @field [parent=#cc] EventListenerPhysicsContactWithGroup#EventListenerPhysicsContactWithGroup EventListenerPhysicsContactWithGroup preloaded module - - --------------------------------------------------------- --- the cc PhysicsJoint --- @field [parent=#cc] PhysicsJoint#PhysicsJoint PhysicsJoint preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointFixed --- @field [parent=#cc] PhysicsJointFixed#PhysicsJointFixed PhysicsJointFixed preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointLimit --- @field [parent=#cc] PhysicsJointLimit#PhysicsJointLimit PhysicsJointLimit preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointPin --- @field [parent=#cc] PhysicsJointPin#PhysicsJointPin PhysicsJointPin preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointDistance --- @field [parent=#cc] PhysicsJointDistance#PhysicsJointDistance PhysicsJointDistance preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointSpring --- @field [parent=#cc] PhysicsJointSpring#PhysicsJointSpring PhysicsJointSpring preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointGroove --- @field [parent=#cc] PhysicsJointGroove#PhysicsJointGroove PhysicsJointGroove preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointRotarySpring --- @field [parent=#cc] PhysicsJointRotarySpring#PhysicsJointRotarySpring PhysicsJointRotarySpring preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointRotaryLimit --- @field [parent=#cc] PhysicsJointRotaryLimit#PhysicsJointRotaryLimit PhysicsJointRotaryLimit preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointRatchet --- @field [parent=#cc] PhysicsJointRatchet#PhysicsJointRatchet PhysicsJointRatchet preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointGear --- @field [parent=#cc] PhysicsJointGear#PhysicsJointGear PhysicsJointGear preloaded module - - --------------------------------------------------------- --- the cc PhysicsJointMotor --- @field [parent=#cc] PhysicsJointMotor#PhysicsJointMotor PhysicsJointMotor preloaded module - - --------------------------------------------------------- --- the cc PhysicsWorld --- @field [parent=#cc] PhysicsWorld#PhysicsWorld PhysicsWorld preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_spine_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_spine_auto_api.lua deleted file mode 100644 index c874e62c14..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_spine_auto_api.lua +++ /dev/null @@ -1,14 +0,0 @@ --------------------------------- --- @module sp - --------------------------------------------------------- --- the sp SkeletonRenderer --- @field [parent=#sp] SkeletonRenderer#SkeletonRenderer SkeletonRenderer preloaded module - - --------------------------------------------------------- --- the sp SkeletonAnimation --- @field [parent=#sp] SkeletonAnimation#SkeletonAnimation SkeletonAnimation preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_studio_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_studio_auto_api.lua deleted file mode 100644 index 31870e7fab..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_studio_auto_api.lua +++ /dev/null @@ -1,299 +0,0 @@ --------------------------------- --- @module ccs - --------------------------------------------------------- --- the ccs ActionFrame --- @field [parent=#ccs] ActionFrame#ActionFrame ActionFrame preloaded module - - --------------------------------------------------------- --- the ccs ActionMoveFrame --- @field [parent=#ccs] ActionMoveFrame#ActionMoveFrame ActionMoveFrame preloaded module - - --------------------------------------------------------- --- the ccs ActionScaleFrame --- @field [parent=#ccs] ActionScaleFrame#ActionScaleFrame ActionScaleFrame preloaded module - - --------------------------------------------------------- --- the ccs ActionRotationFrame --- @field [parent=#ccs] ActionRotationFrame#ActionRotationFrame ActionRotationFrame preloaded module - - --------------------------------------------------------- --- the ccs ActionFadeFrame --- @field [parent=#ccs] ActionFadeFrame#ActionFadeFrame ActionFadeFrame preloaded module - - --------------------------------------------------------- --- the ccs ActionTintFrame --- @field [parent=#ccs] ActionTintFrame#ActionTintFrame ActionTintFrame preloaded module - - --------------------------------------------------------- --- the ccs ActionObject --- @field [parent=#ccs] ActionObject#ActionObject ActionObject preloaded module - - --------------------------------------------------------- --- the ccs ActionManagerEx --- @field [parent=#ccs] ActionManagerEx#ActionManagerEx ActionManagerEx preloaded module - - --------------------------------------------------------- --- the ccs BaseData --- @field [parent=#ccs] BaseData#BaseData BaseData preloaded module - - --------------------------------------------------------- --- the ccs DisplayData --- @field [parent=#ccs] DisplayData#DisplayData DisplayData preloaded module - - --------------------------------------------------------- --- the ccs SpriteDisplayData --- @field [parent=#ccs] SpriteDisplayData#SpriteDisplayData SpriteDisplayData preloaded module - - --------------------------------------------------------- --- the ccs ArmatureDisplayData --- @field [parent=#ccs] ArmatureDisplayData#ArmatureDisplayData ArmatureDisplayData preloaded module - - --------------------------------------------------------- --- the ccs ParticleDisplayData --- @field [parent=#ccs] ParticleDisplayData#ParticleDisplayData ParticleDisplayData preloaded module - - --------------------------------------------------------- --- the ccs BoneData --- @field [parent=#ccs] BoneData#BoneData BoneData preloaded module - - --------------------------------------------------------- --- the ccs ArmatureData --- @field [parent=#ccs] ArmatureData#ArmatureData ArmatureData preloaded module - - --------------------------------------------------------- --- the ccs FrameData --- @field [parent=#ccs] FrameData#FrameData FrameData preloaded module - - --------------------------------------------------------- --- the ccs MovementBoneData --- @field [parent=#ccs] MovementBoneData#MovementBoneData MovementBoneData preloaded module - - --------------------------------------------------------- --- the ccs MovementData --- @field [parent=#ccs] MovementData#MovementData MovementData preloaded module - - --------------------------------------------------------- --- the ccs AnimationData --- @field [parent=#ccs] AnimationData#AnimationData AnimationData preloaded module - - --------------------------------------------------------- --- the ccs ContourData --- @field [parent=#ccs] ContourData#ContourData ContourData preloaded module - - --------------------------------------------------------- --- the ccs TextureData --- @field [parent=#ccs] TextureData#TextureData TextureData preloaded module - - --------------------------------------------------------- --- the ccs Tween --- @field [parent=#ccs] Tween#Tween Tween preloaded module - - --------------------------------------------------------- --- the ccs DisplayManager --- @field [parent=#ccs] DisplayManager#DisplayManager DisplayManager preloaded module - - --------------------------------------------------------- --- the ccs Bone --- @field [parent=#ccs] Bone#Bone Bone preloaded module - - --------------------------------------------------------- --- the ccs BatchNode --- @field [parent=#ccs] BatchNode#BatchNode BatchNode preloaded module - - --------------------------------------------------------- --- the ccs ArmatureAnimation --- @field [parent=#ccs] ArmatureAnimation#ArmatureAnimation ArmatureAnimation preloaded module - - --------------------------------------------------------- --- the ccs ArmatureDataManager --- @field [parent=#ccs] ArmatureDataManager#ArmatureDataManager ArmatureDataManager preloaded module - - --------------------------------------------------------- --- the ccs Armature --- @field [parent=#ccs] Armature#Armature Armature preloaded module - - --------------------------------------------------------- --- the ccs Skin --- @field [parent=#ccs] Skin#Skin Skin preloaded module - - --------------------------------------------------------- --- the ccs ComAttribute --- @field [parent=#ccs] ComAttribute#ComAttribute ComAttribute preloaded module - - --------------------------------------------------------- --- the ccs ComAudio --- @field [parent=#ccs] ComAudio#ComAudio ComAudio preloaded module - - --------------------------------------------------------- --- the ccs ComController --- @field [parent=#ccs] ComController#ComController ComController preloaded module - - --------------------------------------------------------- --- the ccs ComRender --- @field [parent=#ccs] ComRender#ComRender ComRender preloaded module - - --------------------------------------------------------- --- the ccs GUIReader --- @field [parent=#ccs] GUIReader#GUIReader GUIReader preloaded module - - --------------------------------------------------------- --- the ccs SceneReader --- @field [parent=#ccs] SceneReader#SceneReader SceneReader preloaded module - - --------------------------------------------------------- --- the ccs ActionTimelineCache --- @field [parent=#ccs] ActionTimelineCache#ActionTimelineCache ActionTimelineCache preloaded module - - --------------------------------------------------------- --- the ccs Frame --- @field [parent=#ccs] Frame#Frame Frame preloaded module - - --------------------------------------------------------- --- the ccs VisibleFrame --- @field [parent=#ccs] VisibleFrame#VisibleFrame VisibleFrame preloaded module - - --------------------------------------------------------- --- the ccs TextureFrame --- @field [parent=#ccs] TextureFrame#TextureFrame TextureFrame preloaded module - - --------------------------------------------------------- --- the ccs RotationFrame --- @field [parent=#ccs] RotationFrame#RotationFrame RotationFrame preloaded module - - --------------------------------------------------------- --- the ccs SkewFrame --- @field [parent=#ccs] SkewFrame#SkewFrame SkewFrame preloaded module - - --------------------------------------------------------- --- the ccs RotationSkewFrame --- @field [parent=#ccs] RotationSkewFrame#RotationSkewFrame RotationSkewFrame preloaded module - - --------------------------------------------------------- --- the ccs PositionFrame --- @field [parent=#ccs] PositionFrame#PositionFrame PositionFrame preloaded module - - --------------------------------------------------------- --- the ccs ScaleFrame --- @field [parent=#ccs] ScaleFrame#ScaleFrame ScaleFrame preloaded module - - --------------------------------------------------------- --- the ccs AnchorPointFrame --- @field [parent=#ccs] AnchorPointFrame#AnchorPointFrame AnchorPointFrame preloaded module - - --------------------------------------------------------- --- the ccs InnerActionFrame --- @field [parent=#ccs] InnerActionFrame#InnerActionFrame InnerActionFrame preloaded module - - --------------------------------------------------------- --- the ccs ColorFrame --- @field [parent=#ccs] ColorFrame#ColorFrame ColorFrame preloaded module - - --------------------------------------------------------- --- the ccs AlphaFrame --- @field [parent=#ccs] AlphaFrame#AlphaFrame AlphaFrame preloaded module - - --------------------------------------------------------- --- the ccs EventFrame --- @field [parent=#ccs] EventFrame#EventFrame EventFrame preloaded module - - --------------------------------------------------------- --- the ccs ZOrderFrame --- @field [parent=#ccs] ZOrderFrame#ZOrderFrame ZOrderFrame preloaded module - - --------------------------------------------------------- --- the ccs BlendFuncFrame --- @field [parent=#ccs] BlendFuncFrame#BlendFuncFrame BlendFuncFrame preloaded module - - --------------------------------------------------------- --- the ccs PlayableFrame --- @field [parent=#ccs] PlayableFrame#PlayableFrame PlayableFrame preloaded module - - --------------------------------------------------------- --- the ccs Timeline --- @field [parent=#ccs] Timeline#Timeline Timeline preloaded module - - --------------------------------------------------------- --- the ccs ActionTimelineData --- @field [parent=#ccs] ActionTimelineData#ActionTimelineData ActionTimelineData preloaded module - - --------------------------------------------------------- --- the ccs ActionTimeline --- @field [parent=#ccs] ActionTimeline#ActionTimeline ActionTimeline preloaded module - - --------------------------------------------------------- --- the ccs ActionTimelineNode --- @field [parent=#ccs] ActionTimelineNode#ActionTimelineNode ActionTimelineNode preloaded module - - --------------------------------------------------------- --- the ccs BoneNode --- @field [parent=#ccs] BoneNode#BoneNode BoneNode preloaded module - - --------------------------------------------------------- --- the ccs SkeletonNode --- @field [parent=#ccs] SkeletonNode#SkeletonNode SkeletonNode preloaded module - - --------------------------------------------------------- --- the ccs ComExtensionData --- @field [parent=#ccs] ComExtensionData#ComExtensionData ComExtensionData preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_ui_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_ui_auto_api.lua deleted file mode 100644 index abfd9bedc2..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_ui_auto_api.lua +++ /dev/null @@ -1,179 +0,0 @@ --------------------------------- --- @module ccui - --------------------------------------------------------- --- the ccui LayoutParameter --- @field [parent=#ccui] LayoutParameter#LayoutParameter LayoutParameter preloaded module - - --------------------------------------------------------- --- the ccui LinearLayoutParameter --- @field [parent=#ccui] LinearLayoutParameter#LinearLayoutParameter LinearLayoutParameter preloaded module - - --------------------------------------------------------- --- the ccui RelativeLayoutParameter --- @field [parent=#ccui] RelativeLayoutParameter#RelativeLayoutParameter RelativeLayoutParameter preloaded module - - --------------------------------------------------------- --- the ccui Widget --- @field [parent=#ccui] Widget#Widget Widget preloaded module - - --------------------------------------------------------- --- the ccui Layout --- @field [parent=#ccui] Layout#Layout Layout preloaded module - - --------------------------------------------------------- --- the ccui Button --- @field [parent=#ccui] Button#Button Button preloaded module - - --------------------------------------------------------- --- the ccui AbstractCheckButton --- @field [parent=#ccui] AbstractCheckButton#AbstractCheckButton AbstractCheckButton preloaded module - - --------------------------------------------------------- --- the ccui CheckBox --- @field [parent=#ccui] CheckBox#CheckBox CheckBox preloaded module - - --------------------------------------------------------- --- the ccui RadioButton --- @field [parent=#ccui] RadioButton#RadioButton RadioButton preloaded module - - --------------------------------------------------------- --- the ccui RadioButtonGroup --- @field [parent=#ccui] RadioButtonGroup#RadioButtonGroup RadioButtonGroup preloaded module - - --------------------------------------------------------- --- the ccui ImageView --- @field [parent=#ccui] ImageView#ImageView ImageView preloaded module - - --------------------------------------------------------- --- the ccui Text --- @field [parent=#ccui] Text#Text Text preloaded module - - --------------------------------------------------------- --- the ccui TextAtlas --- @field [parent=#ccui] TextAtlas#TextAtlas TextAtlas preloaded module - - --------------------------------------------------------- --- the ccui LoadingBar --- @field [parent=#ccui] LoadingBar#LoadingBar LoadingBar preloaded module - - --------------------------------------------------------- --- the ccui ScrollView --- @field [parent=#ccui] ScrollView#ScrollView ScrollView preloaded module - - --------------------------------------------------------- --- the ccui ListView --- @field [parent=#ccui] ListView#ListView ListView preloaded module - - --------------------------------------------------------- --- the ccui Slider --- @field [parent=#ccui] Slider#Slider Slider preloaded module - - --------------------------------------------------------- --- the ccui TextField --- @field [parent=#ccui] TextField#TextField TextField preloaded module - - --------------------------------------------------------- --- the ccui TextBMFont --- @field [parent=#ccui] TextBMFont#TextBMFont TextBMFont preloaded module - - --------------------------------------------------------- --- the ccui PageView --- @field [parent=#ccui] PageView#PageView PageView preloaded module - - --------------------------------------------------------- --- the ccui Helper --- @field [parent=#ccui] Helper#Helper Helper preloaded module - - --------------------------------------------------------- --- the ccui RichElement --- @field [parent=#ccui] RichElement#RichElement RichElement preloaded module - - --------------------------------------------------------- --- the ccui RichElementText --- @field [parent=#ccui] RichElementText#RichElementText RichElementText preloaded module - - --------------------------------------------------------- --- the ccui RichElementImage --- @field [parent=#ccui] RichElementImage#RichElementImage RichElementImage preloaded module - - --------------------------------------------------------- --- the ccui RichElementCustomNode --- @field [parent=#ccui] RichElementCustomNode#RichElementCustomNode RichElementCustomNode preloaded module - - --------------------------------------------------------- --- the ccui RichElementNewLine --- @field [parent=#ccui] RichElementNewLine#RichElementNewLine RichElementNewLine preloaded module - - --------------------------------------------------------- --- the ccui RichText --- @field [parent=#ccui] RichText#RichText RichText preloaded module - - --------------------------------------------------------- --- the ccui HBox --- @field [parent=#ccui] HBox#HBox HBox preloaded module - - --------------------------------------------------------- --- the ccui VBox --- @field [parent=#ccui] VBox#VBox VBox preloaded module - - --------------------------------------------------------- --- the ccui RelativeBox --- @field [parent=#ccui] RelativeBox#RelativeBox RelativeBox preloaded module - - --------------------------------------------------------- --- the ccui Scale9Sprite --- @field [parent=#ccui] Scale9Sprite#Scale9Sprite Scale9Sprite preloaded module - - --------------------------------------------------------- --- the ccui EditBox --- @field [parent=#ccui] EditBox#EditBox EditBox preloaded module - - --------------------------------------------------------- --- the ccui LayoutComponent --- @field [parent=#ccui] LayoutComponent#LayoutComponent LayoutComponent preloaded module - - --------------------------------------------------------- --- the ccui TabHeader --- @field [parent=#ccui] TabHeader#TabHeader TabHeader preloaded module - - --------------------------------------------------------- --- the ccui TabControl --- @field [parent=#ccui] TabControl#TabControl TabControl preloaded module - - -return nil diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_3d_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_3d_auto.cpp index da52bd2d54..539671cf66 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_3d_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_3d_auto.cpp @@ -1180,6 +1180,53 @@ int lua_cocos2dx_3d_TextureCube_reloadTexture(lua_State* tolua_S) return 0; } +int lua_cocos2dx_3d_TextureCube_getBackendTexture(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::TextureCube* 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.TextureCube",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::TextureCube*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_3d_TextureCube_getBackendTexture'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_TextureCube_getBackendTexture'", nullptr); + return 0; + } + cocos2d::backend::Texture* ret = cobj->getBackendTexture(); + object_to_luaval(tolua_S, "cc.Texture",(cocos2d::backend::Texture*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCube:getBackendTexture",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_TextureCube_getBackendTexture'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_3d_TextureCube_setTexParameters(lua_State* tolua_S) { int argc = 0; @@ -1210,7 +1257,7 @@ int lua_cocos2dx_3d_TextureCube_setTexParameters(lua_State* tolua_S) { cocos2d::Texture2D::TexParams arg0; - ok &= luaval_to_texparams(tolua_S, 2, &arg0, "cc.TextureCube:setSamplerDescriptor"); + ok &= luaval_to_texparams(tolua_S, 2, &arg0, "cc.TextureCube:setTexParameters"); if(!ok) { tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_TextureCube_setTexParameters'", nullptr); @@ -1220,7 +1267,7 @@ int lua_cocos2dx_3d_TextureCube_setTexParameters(lua_State* tolua_S) lua_settop(tolua_S, 1); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCube:setSamplerDescriptor",argc, 1); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCube:setTexParameters",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1322,12 +1369,13 @@ static int lua_cocos2dx_3d_TextureCube_finalize(lua_State* tolua_S) int lua_register_cocos2dx_3d_TextureCube(lua_State* tolua_S) { tolua_usertype(tolua_S,"cc.TextureCube"); - tolua_cclass(tolua_S,"TextureCube","cc.TextureCube","cc.Texture2D",nullptr); + tolua_cclass(tolua_S,"TextureCube","cc.TextureCube","cc.Ref",nullptr); tolua_beginmodule(tolua_S,"TextureCube"); tolua_function(tolua_S,"new",lua_cocos2dx_3d_TextureCube_constructor); tolua_function(tolua_S,"reloadTexture",lua_cocos2dx_3d_TextureCube_reloadTexture); - tolua_function(tolua_S,"setSamplerDescriptor",lua_cocos2dx_3d_TextureCube_setTexParameters); + tolua_function(tolua_S,"getBackendTexture",lua_cocos2dx_3d_TextureCube_getBackendTexture); + tolua_function(tolua_S,"setTexParameters",lua_cocos2dx_3d_TextureCube_setTexParameters); tolua_function(tolua_S,"create", lua_cocos2dx_3d_TextureCube_create); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::TextureCube).name(); @@ -1842,6 +1890,56 @@ int lua_cocos2dx_3d_Mesh_getVertexSizeInBytes(lua_State* tolua_S) return 0; } +int lua_cocos2dx_3d_Mesh_setProgramState(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Mesh* 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.Mesh",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Mesh*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_3d_Mesh_setProgramState'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::backend::ProgramState* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.ProgramState",&arg0, "cc.Mesh:setProgramState"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Mesh_setProgramState'", nullptr); + return 0; + } + cobj->setProgramState(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:setProgramState",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Mesh_setProgramState'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_3d_Mesh_setMaterial(lua_State* tolua_S) { int argc = 0; @@ -2251,6 +2349,53 @@ int lua_cocos2dx_3d_Mesh_setMeshIndexData(lua_State* tolua_S) return 0; } +int lua_cocos2dx_3d_Mesh_getProgramState(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Mesh* 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.Mesh",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Mesh*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_3d_Mesh_getProgramState'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Mesh_getProgramState'", nullptr); + return 0; + } + cocos2d::backend::ProgramState* ret = cobj->getProgramState(); + object_to_luaval(tolua_S, "cc.ProgramState",(cocos2d::backend::ProgramState*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getProgramState",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Mesh_getProgramState'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_3d_Mesh_getMeshVertexAttribCount(lua_State* tolua_S) { int argc = 0; @@ -2495,7 +2640,6 @@ int lua_cocos2dx_3d_Mesh_isVisible(lua_State* tolua_S) return 0; } - int lua_cocos2dx_3d_Mesh_setVisible(lua_State* tolua_S) { int argc = 0; @@ -2598,6 +2742,7 @@ int lua_register_cocos2dx_3d_Mesh(lua_State* tolua_S) tolua_function(tolua_S,"new",lua_cocos2dx_3d_Mesh_constructor); tolua_function(tolua_S,"getMaterial",lua_cocos2dx_3d_Mesh_getMaterial); tolua_function(tolua_S,"getVertexSizeInBytes",lua_cocos2dx_3d_Mesh_getVertexSizeInBytes); + tolua_function(tolua_S,"setProgramState",lua_cocos2dx_3d_Mesh_setProgramState); tolua_function(tolua_S,"setMaterial",lua_cocos2dx_3d_Mesh_setMaterial); tolua_function(tolua_S,"getName",lua_cocos2dx_3d_Mesh_getName); tolua_function(tolua_S,"getMeshVertexAttribute",lua_cocos2dx_3d_Mesh_getMeshVertexAttribute); @@ -2606,6 +2751,7 @@ int lua_register_cocos2dx_3d_Mesh(lua_State* tolua_S) tolua_function(tolua_S,"getBlendFunc",lua_cocos2dx_3d_Mesh_getBlendFunc); tolua_function(tolua_S,"setName",lua_cocos2dx_3d_Mesh_setName); tolua_function(tolua_S,"setMeshIndexData",lua_cocos2dx_3d_Mesh_setMeshIndexData); + tolua_function(tolua_S,"getProgramState",lua_cocos2dx_3d_Mesh_getProgramState); tolua_function(tolua_S,"getMeshVertexAttribCount",lua_cocos2dx_3d_Mesh_getMeshVertexAttribCount); tolua_function(tolua_S,"setBlendFunc",lua_cocos2dx_3d_Mesh_setBlendFunc); tolua_function(tolua_S,"setForce2DQueue",lua_cocos2dx_3d_Mesh_setForce2DQueue); @@ -3608,7 +3754,7 @@ int lua_cocos2dx_3d_Sprite3D_getMaterial(lua_State* tolua_S) return 0; } -int lua_cocos2dx_3d_Sprite3D_setCullFace(lua_State* tolua_S) +int lua_cocos2dx_3d_Sprite3D_setProgramState(lua_State* tolua_S) { int argc = 0; cocos2d::Sprite3D* cobj = nullptr; @@ -3628,7 +3774,7 @@ int lua_cocos2dx_3d_Sprite3D_setCullFace(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_3d_Sprite3D_setCullFace'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_3d_Sprite3D_setProgramState'", nullptr); return 0; } #endif @@ -3636,24 +3782,24 @@ int lua_cocos2dx_3d_Sprite3D_setCullFace(lua_State* tolua_S) argc = lua_gettop(tolua_S)-1; if (argc == 1) { - unsigned int arg0; + cocos2d::backend::ProgramState* arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Sprite3D:setCullFace"); + ok &= luaval_to_object(tolua_S, 2, "cc.ProgramState",&arg0, "cc.Sprite3D:setProgramState"); if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Sprite3D_setCullFace'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Sprite3D_setProgramState'", nullptr); return 0; } -// cobj->setCullFace(arg0); + cobj->setProgramState(arg0); lua_settop(tolua_S, 1); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite3D:setCullFace",argc, 1); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite3D:setProgramState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Sprite3D_setCullFace'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Sprite3D_setProgramState'.",&tolua_err); #endif return 0; @@ -4360,6 +4506,56 @@ int lua_cocos2dx_3d_Sprite3D_removeAttachNode(lua_State* tolua_S) return 0; } +int lua_cocos2dx_3d_Sprite3D_setCullFace(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Sprite3D* 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.Sprite3D",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Sprite3D*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_3d_Sprite3D_setCullFace'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::backend::CullMode arg0; + + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Sprite3D:setCullFace"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Sprite3D_setCullFace'", nullptr); + return 0; + } + cobj->setCullFace(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite3D:setCullFace",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Sprite3D_setCullFace'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_3d_Sprite3D_getSkeleton(lua_State* tolua_S) { int argc = 0; @@ -4584,7 +4780,7 @@ int lua_register_cocos2dx_3d_Sprite3D(lua_State* tolua_S) tolua_function(tolua_S,"setTexture",lua_cocos2dx_3d_Sprite3D_setTexture); tolua_function(tolua_S,"getLightMask",lua_cocos2dx_3d_Sprite3D_getLightMask); tolua_function(tolua_S,"getMaterial",lua_cocos2dx_3d_Sprite3D_getMaterial); - tolua_function(tolua_S,"setCullFace",lua_cocos2dx_3d_Sprite3D_setCullFace); + tolua_function(tolua_S,"setProgramState",lua_cocos2dx_3d_Sprite3D_setProgramState); tolua_function(tolua_S,"getMeshes",lua_cocos2dx_3d_Sprite3D_getMeshes); tolua_function(tolua_S,"removeAllAttachNode",lua_cocos2dx_3d_Sprite3D_removeAllAttachNode); tolua_function(tolua_S,"setMaterial",lua_cocos2dx_3d_Sprite3D_setMaterial); @@ -4599,6 +4795,7 @@ int lua_register_cocos2dx_3d_Sprite3D(lua_State* tolua_S) tolua_function(tolua_S,"setForce2DQueue",lua_cocos2dx_3d_Sprite3D_setForce2DQueue); tolua_function(tolua_S,"genMaterial",lua_cocos2dx_3d_Sprite3D_genMaterial); tolua_function(tolua_S,"removeAttachNode",lua_cocos2dx_3d_Sprite3D_removeAttachNode); + tolua_function(tolua_S,"setCullFace",lua_cocos2dx_3d_Sprite3D_setCullFace); tolua_function(tolua_S,"getSkeleton",lua_cocos2dx_3d_Sprite3D_getSkeleton); tolua_function(tolua_S,"setForceDepthWrite",lua_cocos2dx_3d_Sprite3D_setForceDepthWrite); tolua_function(tolua_S,"getMeshByName",lua_cocos2dx_3d_Sprite3D_getMeshByName); @@ -4999,42 +5196,6 @@ int lua_cocos2dx_3d_Sprite3DMaterial_createBuiltInMaterial(lua_State* tolua_S) #endif return 0; } -int lua_cocos2dx_3d_Sprite3DMaterial_createWithGLStateProgram(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Sprite3DMaterial",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - cocos2d::GLProgramState* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.GLProgramState",&arg0, "cc.Sprite3DMaterial:createWithGLStateProgram"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Sprite3DMaterial_createWithGLStateProgram'", nullptr); - return 0; - } -// cocos2d::Sprite3DMaterial* ret = cocos2d::Sprite3DMaterial::createWithGLStateProgram(arg0); -// object_to_luaval(tolua_S, "cc.Sprite3DMaterial",(cocos2d::Sprite3DMaterial*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Sprite3DMaterial:createWithGLStateProgram",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Sprite3DMaterial_createWithGLStateProgram'.",&tolua_err); -#endif - return 0; -} int lua_cocos2dx_3d_Sprite3DMaterial_releaseBuiltInMaterial(lua_State* tolua_S) { int argc = 0; @@ -5069,6 +5230,42 @@ int lua_cocos2dx_3d_Sprite3DMaterial_releaseBuiltInMaterial(lua_State* tolua_S) #endif return 0; } +int lua_cocos2dx_3d_Sprite3DMaterial_createWithProgramState(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Sprite3DMaterial",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 1) + { + cocos2d::backend::ProgramState* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.ProgramState",&arg0, "cc.Sprite3DMaterial:createWithProgramState"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Sprite3DMaterial_createWithProgramState'", nullptr); + return 0; + } + cocos2d::Sprite3DMaterial* ret = cocos2d::Sprite3DMaterial::createWithProgramState(arg0); + object_to_luaval(tolua_S, "cc.Sprite3DMaterial",(cocos2d::Sprite3DMaterial*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Sprite3DMaterial:createWithProgramState",argc, 1); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Sprite3DMaterial_createWithProgramState'.",&tolua_err); +#endif + return 0; +} static int lua_cocos2dx_3d_Sprite3DMaterial_finalize(lua_State* tolua_S) { printf("luabindings: finalizing LUA object (Sprite3DMaterial)"); @@ -5085,8 +5282,8 @@ int lua_register_cocos2dx_3d_Sprite3DMaterial(lua_State* tolua_S) tolua_function(tolua_S,"createWithFilename", lua_cocos2dx_3d_Sprite3DMaterial_createWithFilename); tolua_function(tolua_S,"releaseCachedMaterial", lua_cocos2dx_3d_Sprite3DMaterial_releaseCachedMaterial); tolua_function(tolua_S,"createBuiltInMaterial", lua_cocos2dx_3d_Sprite3DMaterial_createBuiltInMaterial); - tolua_function(tolua_S,"createWithGLStateProgram", lua_cocos2dx_3d_Sprite3DMaterial_createWithGLStateProgram); tolua_function(tolua_S,"releaseBuiltInMaterial", lua_cocos2dx_3d_Sprite3DMaterial_releaseBuiltInMaterial); + tolua_function(tolua_S,"createWithProgramState", lua_cocos2dx_3d_Sprite3DMaterial_createWithProgramState); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::Sprite3DMaterial).name(); g_luaType[typeName] = "cc.Sprite3DMaterial"; @@ -6579,7 +6776,7 @@ int lua_cocos2dx_3d_Bundle3D_loadAnimationData(lua_State* tolua_S) return 0; } -int lua_cocos2dx_3d_Bundle3D_createBundle(lua_State* tolua_S) +int lua_cocos2dx_3d_Bundle3D_parseSamplerAddressMode(lua_State* tolua_S) { int argc = 0; bool ok = true; @@ -6594,22 +6791,24 @@ int lua_cocos2dx_3d_Bundle3D_createBundle(lua_State* tolua_S) argc = lua_gettop(tolua_S) - 1; - if (argc == 0) + if (argc == 1) { + std::string arg0; + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Bundle3D:parseSamplerAddressMode"); if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Bundle3D_createBundle'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Bundle3D_parseSamplerAddressMode'", nullptr); return 0; } - cocos2d::Bundle3D* ret = cocos2d::Bundle3D::createBundle(); - object_to_luaval(tolua_S, "cc.Bundle3D",(cocos2d::Bundle3D*)ret); + int ret = (int)cocos2d::Bundle3D::parseSamplerAddressMode(arg0); + tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Bundle3D:createBundle",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Bundle3D:parseSamplerAddressMode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Bundle3D_createBundle'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Bundle3D_parseSamplerAddressMode'.",&tolua_err); #endif return 0; } @@ -6649,6 +6848,114 @@ int lua_cocos2dx_3d_Bundle3D_destroyBundle(lua_State* tolua_S) #endif return 0; } +int lua_cocos2dx_3d_Bundle3D_createBundle(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Bundle3D",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Bundle3D_createBundle'", nullptr); + return 0; + } + cocos2d::Bundle3D* ret = cocos2d::Bundle3D::createBundle(); + object_to_luaval(tolua_S, "cc.Bundle3D",(cocos2d::Bundle3D*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Bundle3D:createBundle",argc, 0); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Bundle3D_createBundle'.",&tolua_err); +#endif + return 0; +} +int lua_cocos2dx_3d_Bundle3D_parseGLAddressMode(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Bundle3D",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 1) + { + std::string arg0; + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Bundle3D:parseGLAddressMode"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Bundle3D_parseGLAddressMode'", nullptr); + return 0; + } + unsigned int ret = cocos2d::Bundle3D::parseGLAddressMode(arg0); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Bundle3D:parseGLAddressMode",argc, 1); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Bundle3D_parseGLAddressMode'.",&tolua_err); +#endif + return 0; +} +int lua_cocos2dx_3d_Bundle3D_parseGLDataType(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Bundle3D",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 2) + { + std::string arg0; + int arg1; + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Bundle3D:parseGLDataType"); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Bundle3D:parseGLDataType"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_Bundle3D_parseGLDataType'", nullptr); + return 0; + } + int ret = (int)cocos2d::Bundle3D::parseGLDataType(arg0, arg1); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Bundle3D:parseGLDataType",argc, 2); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_Bundle3D_parseGLDataType'.",&tolua_err); +#endif + return 0; +} int lua_cocos2dx_3d_Bundle3D_constructor(lua_State* tolua_S) { int argc = 0; @@ -6703,8 +7010,11 @@ int lua_register_cocos2dx_3d_Bundle3D(lua_State* tolua_S) tolua_function(tolua_S,"loadMaterials",lua_cocos2dx_3d_Bundle3D_loadMaterials); tolua_function(tolua_S,"loadNodes",lua_cocos2dx_3d_Bundle3D_loadNodes); tolua_function(tolua_S,"loadAnimationData",lua_cocos2dx_3d_Bundle3D_loadAnimationData); - tolua_function(tolua_S,"createBundle", lua_cocos2dx_3d_Bundle3D_createBundle); + tolua_function(tolua_S,"parseSamplerAddressMode", lua_cocos2dx_3d_Bundle3D_parseSamplerAddressMode); tolua_function(tolua_S,"destroyBundle", lua_cocos2dx_3d_Bundle3D_destroyBundle); + tolua_function(tolua_S,"createBundle", lua_cocos2dx_3d_Bundle3D_createBundle); + tolua_function(tolua_S,"parseGLAddressMode", lua_cocos2dx_3d_Bundle3D_parseGLAddressMode); + tolua_function(tolua_S,"parseGLDataType", lua_cocos2dx_3d_Bundle3D_parseGLDataType); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::Bundle3D).name(); g_luaType[typeName] = "cc.Bundle3D"; diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_3d_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_3d_auto.hpp index d913f93621..44a79731ab 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_3d_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_3d_auto.hpp @@ -150,6 +150,12 @@ int register_all_cocos2dx_3d(lua_State* tolua_S); + + + + + + diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.cpp index 40ca846e78..68d2baf13d 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.cpp @@ -1,5 +1,5 @@ #include "scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.hpp" -#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN +#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 #include "audio/include/AudioEngine.h" #include "scripting/lua-bindings/manual/tolua_fix.h" #include "scripting/lua-bindings/manual/LuaBasicConversions.h" diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.hpp index 4ab09e681c..d34a6233c9 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_audioengine_auto.hpp @@ -1,5 +1,5 @@ #include "base/ccConfig.h" -#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN +#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 #ifndef __cocos2dx_audioengine_h__ #define __cocos2dx_audioengine_h__ @@ -44,4 +44,4 @@ int register_all_cocos2dx_audioengine(lua_State* tolua_S); #endif // __cocos2dx_audioengine_h__ -#endif //#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN +#endif //#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp index f7be1eb05b..6fa83ed0bd 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp @@ -840,7 +840,6 @@ int lua_cocos2dx_Texture2D_getMaxS(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Texture2D_hasPremultipliedAlpha(lua_State* tolua_S) { int argc = 0; @@ -968,8 +967,8 @@ int lua_cocos2dx_Texture2D_getAlphaTextureName(lua_State* tolua_S) tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Texture2D_getAlphaTextureName'", nullptr); return 0; } - unsigned int ret = cobj->getAlphaTextureName(); - tolua_pushnumber(tolua_S,(lua_Number)ret); + bool ret = cobj->getAlphaTextureName(); + tolua_pushboolean(tolua_S,(bool)ret); return 1; } luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getAlphaTextureName",argc, 0); @@ -1404,7 +1403,6 @@ int lua_cocos2dx_Texture2D_getPath(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Texture2D_getContentSize(lua_State* tolua_S) { int argc = 0; @@ -1452,6 +1450,57 @@ int lua_cocos2dx_Texture2D_getContentSize(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Texture2D_setSamplerDescriptor(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Texture2D* 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.Texture2D",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Texture2D*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Texture2D_setSamplerDescriptor'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::backend::SamplerDescriptor arg0; + + #pragma warning NO CONVERSION TO NATIVE FOR SamplerDescriptor + ok = false; + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Texture2D_setSamplerDescriptor'", nullptr); + return 0; + } + cobj->setSamplerDescriptor(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:setSamplerDescriptor",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Texture2D_setSamplerDescriptor'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Texture2D_setAliasTexParameters(lua_State* tolua_S) { int argc = 0; @@ -1640,7 +1689,6 @@ int lua_cocos2dx_Texture2D_getAlphaTexture(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Texture2D_getPixelFormat(lua_State* tolua_S) { int argc = 0; @@ -1688,7 +1736,53 @@ int lua_cocos2dx_Texture2D_getPixelFormat(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Texture2D_getBackendTexture(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Texture2D* 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.Texture2D",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Texture2D*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Texture2D_getBackendTexture'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Texture2D_getBackendTexture'", nullptr); + return 0; + } + cocos2d::backend::Texture* ret = cobj->getBackendTexture(); + object_to_luaval(tolua_S, "cc.Texture",(cocos2d::backend::Texture*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getBackendTexture",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Texture2D_getBackendTexture'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Texture2D_getContentSizeInPixels(lua_State* tolua_S) { int argc = 0; @@ -1783,7 +1877,6 @@ int lua_cocos2dx_Texture2D_getPixelsWide(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Texture2D_hasMipmaps(lua_State* tolua_S) { int argc = 0; @@ -1831,6 +1924,56 @@ int lua_cocos2dx_Texture2D_hasMipmaps(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Texture2D_initWithBackendTexture(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Texture2D* 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.Texture2D",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Texture2D*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Texture2D_initWithBackendTexture'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::backend::Texture* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Texture",&arg0, "cc.Texture2D:initWithBackendTexture"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Texture2D_initWithBackendTexture'", nullptr); + return 0; + } + bool ret = cobj->initWithBackendTexture(arg0); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:initWithBackendTexture",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Texture2D_initWithBackendTexture'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Texture2D_setMaxS(lua_State* tolua_S) { int argc = 0; @@ -2015,14 +2158,17 @@ int lua_register_cocos2dx_Texture2D(lua_State* tolua_S) tolua_function(tolua_S,"setMaxT",lua_cocos2dx_Texture2D_setMaxT); tolua_function(tolua_S,"getPath",lua_cocos2dx_Texture2D_getPath); tolua_function(tolua_S,"getContentSize",lua_cocos2dx_Texture2D_getContentSize); + tolua_function(tolua_S,"setSamplerDescriptor",lua_cocos2dx_Texture2D_setSamplerDescriptor); tolua_function(tolua_S,"setAliasTexParameters",lua_cocos2dx_Texture2D_setAliasTexParameters); tolua_function(tolua_S,"setAntiAliasTexParameters",lua_cocos2dx_Texture2D_setAntiAliasTexParameters); tolua_function(tolua_S,"generateMipmap",lua_cocos2dx_Texture2D_generateMipmap); tolua_function(tolua_S,"getAlphaTexture",lua_cocos2dx_Texture2D_getAlphaTexture); tolua_function(tolua_S,"getPixelFormat",lua_cocos2dx_Texture2D_getPixelFormat); + tolua_function(tolua_S,"getBackendTexture",lua_cocos2dx_Texture2D_getBackendTexture); tolua_function(tolua_S,"getContentSizeInPixels",lua_cocos2dx_Texture2D_getContentSizeInPixels); tolua_function(tolua_S,"getPixelsWide",lua_cocos2dx_Texture2D_getPixelsWide); tolua_function(tolua_S,"hasMipmaps",lua_cocos2dx_Texture2D_hasMipmaps); + tolua_function(tolua_S,"initWithBackendTexture",lua_cocos2dx_Texture2D_initWithBackendTexture); tolua_function(tolua_S,"setMaxS",lua_cocos2dx_Texture2D_setMaxS); tolua_function(tolua_S,"setDefaultAlphaPixelFormat", lua_cocos2dx_Texture2D_setDefaultAlphaPixelFormat); tolua_function(tolua_S,"getDefaultAlphaPixelFormat", lua_cocos2dx_Texture2D_getDefaultAlphaPixelFormat); @@ -3821,7 +3967,6 @@ int lua_cocos2dx_Node_removeComponent(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Node_getDescription(lua_State* tolua_S) { int argc = 0; @@ -4976,7 +5121,53 @@ int lua_cocos2dx_Node_getTag(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Node_getNodeToWorldAffineTransform(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Node* 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.Node",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Node*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Node_getNodeToWorldAffineTransform'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Node_getNodeToWorldAffineTransform'", nullptr); + return 0; + } + cocos2d::AffineTransform ret = cobj->getNodeToWorldAffineTransform(); + affinetransform_to_luaval(tolua_S, ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getNodeToWorldAffineTransform",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Node_getNodeToWorldAffineTransform'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Node_getNodeToWorldTransform(lua_State* tolua_S) { int argc = 0; @@ -5332,7 +5523,56 @@ int lua_cocos2dx_Node_setSkewX(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Node_setSkewY(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Node* 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.Node",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Node*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Node_setSkewY'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + double arg0; + + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setSkewY"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Node_setSkewY'", nullptr); + return 0; + } + cobj->setSkewY(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setSkewY",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Node_setSkewY'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Node_setOnEnterCallback(lua_State* tolua_S) { int argc = 0; @@ -6388,56 +6628,6 @@ int lua_cocos2dx_Node_reorderChild(lua_State* tolua_S) return 0; } -int lua_cocos2dx_Node_setSkewY(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Node* 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.Node",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Node*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Node_setSkewY'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setSkewY"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Node_setSkewY'", nullptr); - return 0; - } - cobj->setSkewY(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setSkewY",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Node_setSkewY'.",&tolua_err); -#endif - - return 0; -} int lua_cocos2dx_Node_setPositionZ(lua_State* tolua_S) { int argc = 0; @@ -6779,7 +6969,6 @@ int lua_cocos2dx_Node_updateTransform(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Node_isVisible(lua_State* tolua_S) { int argc = 0; @@ -7046,8 +7235,20 @@ int lua_cocos2dx_Node_visit(lua_State* tolua_S) #endif argc = lua_gettop(tolua_S)-1; do{ - if (argc == 0) { - cobj->visit(); + if (argc == 3) { + cocos2d::RendererBackend* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.RendererBackend",&arg0, "cc.Node:visit"); + + if (!ok) { break; } + cocos2d::Mat4 arg1; + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Node:visit"); + + if (!ok) { break; } + unsigned int arg2; + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Node:visit"); + + if (!ok) { break; } + cobj->visit(arg0, arg1, arg2); lua_settop(tolua_S, 1); return 1; } @@ -7073,7 +7274,15 @@ int lua_cocos2dx_Node_visit(lua_State* tolua_S) } }while(0); ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:visit",argc, 3); + do{ + if (argc == 0) { + cobj->visit(); + lua_settop(tolua_S, 1); + return 1; + } + }while(0); + ok = true; + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:visit",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7130,7 +7339,6 @@ int lua_cocos2dx_Node_getRotation(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Node_getAnchorPointInPoints(lua_State* tolua_S) { int argc = 0; @@ -7245,7 +7453,6 @@ int lua_cocos2dx_Node_removeChildByName(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Node_setScheduler(lua_State* tolua_S) { int argc = 0; @@ -8271,53 +8478,6 @@ int lua_cocos2dx_Node_setPositionY(lua_State* tolua_S) return 0; } -int lua_cocos2dx_Node_getNodeToWorldAffineTransform(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Node* 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.Node",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Node*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Node_getNodeToWorldAffineTransform'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Node_getNodeToWorldAffineTransform'", nullptr); - return 0; - } - cocos2d::AffineTransform ret = cobj->getNodeToWorldAffineTransform(); - affinetransform_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getNodeToWorldAffineTransform",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Node_getNodeToWorldAffineTransform'.",&tolua_err); -#endif - - return 0; -} int lua_cocos2dx_Node_updateDisplayedColor(lua_State* tolua_S) { int argc = 0; @@ -9469,8 +9629,20 @@ int lua_cocos2dx_Node_draw(lua_State* tolua_S) #endif argc = lua_gettop(tolua_S)-1; do{ - if (argc == 0) { - cobj->draw(); + if (argc == 3) { + cocos2d::RendererBackend* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.RendererBackend",&arg0, "cc.Node:draw"); + + if (!ok) { break; } + cocos2d::Mat4 arg1; + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Node:draw"); + + if (!ok) { break; } + unsigned int arg2; + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Node:draw"); + + if (!ok) { break; } + cobj->draw(arg0, arg1, arg2); lua_settop(tolua_S, 1); return 1; } @@ -9496,7 +9668,15 @@ int lua_cocos2dx_Node_draw(lua_State* tolua_S) } }while(0); ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:draw",argc, 3); + do{ + if (argc == 0) { + cobj->draw(); + lua_settop(tolua_S, 1); + return 1; + } + }while(0); + ok = true; + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:draw",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10420,6 +10600,7 @@ int lua_register_cocos2dx_Node(lua_State* tolua_S) tolua_function(tolua_S,"_setLocalZOrder",lua_cocos2dx_Node__setLocalZOrder); tolua_function(tolua_S,"setCameraMask",lua_cocos2dx_Node_setCameraMask); tolua_function(tolua_S,"getTag",lua_cocos2dx_Node_getTag); + tolua_function(tolua_S,"getNodeToWorldAffineTransform",lua_cocos2dx_Node_getNodeToWorldAffineTransform); tolua_function(tolua_S,"getNodeToWorldTransform",lua_cocos2dx_Node_getNodeToWorldTransform); tolua_function(tolua_S,"getPosition3D",lua_cocos2dx_Node_getPosition3D); tolua_function(tolua_S,"removeChild",lua_cocos2dx_Node_removeChild); @@ -10427,6 +10608,7 @@ int lua_register_cocos2dx_Node(lua_State* tolua_S) tolua_function(tolua_S,"getScene",lua_cocos2dx_Node_getScene); tolua_function(tolua_S,"getEventDispatcher",lua_cocos2dx_Node_getEventDispatcher); tolua_function(tolua_S,"setSkewX",lua_cocos2dx_Node_setSkewX); + tolua_function(tolua_S,"setSkewY",lua_cocos2dx_Node_setSkewY); tolua_function(tolua_S,"setOnEnterCallback",lua_cocos2dx_Node_setOnEnterCallback); tolua_function(tolua_S,"stopActionsByFlags",lua_cocos2dx_Node_stopActionsByFlags); tolua_function(tolua_S,"setNormalizedPosition",lua_cocos2dx_Node_setNormalizedPosition); @@ -10448,7 +10630,6 @@ int lua_register_cocos2dx_Node(lua_State* tolua_S) tolua_function(tolua_S,"setPosition",lua_cocos2dx_Node_setPosition); tolua_function(tolua_S,"stopActionByTag",lua_cocos2dx_Node_stopActionByTag); tolua_function(tolua_S,"reorderChild",lua_cocos2dx_Node_reorderChild); - tolua_function(tolua_S,"setSkewY",lua_cocos2dx_Node_setSkewY); tolua_function(tolua_S,"setPositionZ",lua_cocos2dx_Node_setPositionZ); tolua_function(tolua_S,"setRotation3D",lua_cocos2dx_Node_setRotation3D); tolua_function(tolua_S,"setPositionX",lua_cocos2dx_Node_setPositionX); @@ -10486,7 +10667,6 @@ int lua_register_cocos2dx_Node(lua_State* tolua_S) tolua_function(tolua_S,"getPositionX",lua_cocos2dx_Node_getPositionX); tolua_function(tolua_S,"removeChildByTag",lua_cocos2dx_Node_removeChildByTag); tolua_function(tolua_S,"setPositionY",lua_cocos2dx_Node_setPositionY); - tolua_function(tolua_S,"getNodeToWorldAffineTransform",lua_cocos2dx_Node_getNodeToWorldAffineTransform); tolua_function(tolua_S,"updateDisplayedColor",lua_cocos2dx_Node_updateDisplayedColor); tolua_function(tolua_S,"setVisible",lua_cocos2dx_Node_setVisible); tolua_function(tolua_S,"getParentToNodeTransform",lua_cocos2dx_Node_getParentToNodeTransform); @@ -10535,6 +10715,7 @@ int lua_register_cocos2dx_Node(lua_State* tolua_S) g_typeCast["Node"] = "cc.Node"; return 1; } + int lua_cocos2dx_Scene_setCameraOrderDirty(lua_State* tolua_S) { int argc = 0; @@ -10587,60 +10768,65 @@ int lua_cocos2dx_Scene_render(lua_State* tolua_S) int argc = 0; cocos2d::Scene* 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.Scene",0,&tolua_err)) goto tolua_lerror; #endif + cobj = (cocos2d::Scene*)tolua_tousertype(tolua_S,1,0); + #if COCOS2D_DEBUG >= 1 - if (!cobj) + if (!cobj) { tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Scene_render'", nullptr); return 0; } #endif + argc = lua_gettop(tolua_S)-1; - ok = true; - do{ - if (argc == 2) { - cocos2d::Renderer* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Renderer",&arg0, "cc.Scene:render"); + if (argc == 2) + { + cocos2d::Renderer* arg0; + cocos2d::Mat4 arg1; - if (!ok) { break; } - cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Scene:render"); + ok &= luaval_to_object(tolua_S, 2, "cc.Renderer",&arg0, "cc.Scene:render"); - if (!ok) { break; } - cobj->render(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Scene:render"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Scene_render'", nullptr); + return 0; } - }while(0); - ok = true; - do{ - if (argc == 3) { - cocos2d::Renderer* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Renderer",&arg0, "cc.Scene:render"); + cobj->render(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + if (argc == 3) + { + cocos2d::Renderer* arg0; + cocos2d::Mat4 arg1; + const cocos2d::Mat4* arg2; - if (!ok) { break; } - cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Scene:render"); + ok &= luaval_to_object(tolua_S, 2, "cc.Renderer",&arg0, "cc.Scene:render"); - if (!ok) { break; } - const cocos2d::Mat4* arg2; - ok &= luaval_to_object(tolua_S, 4, "cc.Mat4",&arg2, "cc.Scene:render"); + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Scene:render"); - if (!ok) { break; } - cobj->render(arg0, arg1, arg2); - lua_settop(tolua_S, 1); - return 1; + ok &= luaval_to_object(tolua_S, 4, "cc.Mat4",&arg2, "cc.Scene:render"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Scene_render'", nullptr); + return 0; } - }while(0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scene:render",argc, 2); + cobj->render(arg0, arg1, arg2); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scene:render",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10650,7 +10836,6 @@ int lua_cocos2dx_Scene_render(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Scene_onProjectionChanged(lua_State* tolua_S) { int argc = 0; @@ -10701,7 +10886,6 @@ int lua_cocos2dx_Scene_onProjectionChanged(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Scene_initWithSize(lua_State* tolua_S) { int argc = 0; @@ -10869,7 +11053,6 @@ int lua_cocos2dx_Scene_create(lua_State* tolua_S) #endif return 0; } - int lua_cocos2dx_Scene_constructor(lua_State* tolua_S) { int argc = 0; @@ -10922,6 +11105,7 @@ int lua_register_cocos2dx_Scene(lua_State* tolua_S) tolua_function(tolua_S,"new",lua_cocos2dx_Scene_constructor); tolua_function(tolua_S,"setCameraOrderDirty",lua_cocos2dx_Scene_setCameraOrderDirty); tolua_function(tolua_S,"render",lua_cocos2dx_Scene_render); + tolua_function(tolua_S,"onProjectionChanged",lua_cocos2dx_Scene_onProjectionChanged); tolua_function(tolua_S,"initWithSize",lua_cocos2dx_Scene_initWithSize); tolua_function(tolua_S,"getDefaultCamera",lua_cocos2dx_Scene_getDefaultCamera); tolua_function(tolua_S,"createWithSize", lua_cocos2dx_Scene_createWithSize); @@ -11274,7 +11458,6 @@ int lua_cocos2dx_GLView_getSafeAreaRect(lua_State* tolua_S) return 0; } - int lua_cocos2dx_GLView_setScissorInPoints(lua_State* tolua_S) { int argc = 0; @@ -12209,7 +12392,6 @@ int lua_cocos2dx_GLView_renderScene(lua_State* tolua_S) return 0; } - int lua_cocos2dx_GLView_setViewPortInPoints(lua_State* tolua_S) { int argc = 0; @@ -12774,8 +12956,6 @@ int lua_cocos2dx_Director_pause(lua_State* tolua_S) return 0; } - - int lua_cocos2dx_Director_setEventDispatcher(lua_State* tolua_S) { int argc = 0; @@ -12826,7 +13006,6 @@ int lua_cocos2dx_Director_setEventDispatcher(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Director_setContentScaleFactor(lua_State* tolua_S) { int argc = 0; @@ -14033,7 +14212,6 @@ int lua_cocos2dx_Director_setScheduler(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Director_getMatrix(lua_State* tolua_S) { int argc = 0; @@ -18562,7 +18740,7 @@ int lua_cocos2dx_Image_hasPremultipliedAlpha(lua_State* tolua_S) return 0; } -int lua_cocos2dx_Image_saveToFile(lua_State* tolua_S) +int lua_cocos2dx_Image_isCompressed(lua_State* tolua_S) { int argc = 0; cocos2d::Image* cobj = nullptr; @@ -18582,49 +18760,29 @@ int lua_cocos2dx_Image_saveToFile(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Image_saveToFile'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Image_isCompressed'", nullptr); return 0; } #endif argc = lua_gettop(tolua_S)-1; - if (argc == 1) + if (argc == 0) { - std::string arg0; - - ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Image:saveToFile"); if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Image_saveToFile'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Image_isCompressed'", nullptr); return 0; } - bool ret = cobj->saveToFile(arg0); + bool ret = cobj->isCompressed(); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - if (argc == 2) - { - std::string arg0; - bool arg1; - - ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Image:saveToFile"); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Image:saveToFile"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Image_saveToFile'", nullptr); - return 0; - } - bool ret = cobj->saveToFile(arg0, arg1); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:saveToFile",argc, 1); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:isCompressed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Image_saveToFile'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Image_isCompressed'.",&tolua_err); #endif return 0; @@ -18676,7 +18834,7 @@ int lua_cocos2dx_Image_hasAlpha(lua_State* tolua_S) return 0; } -int lua_cocos2dx_Image_isCompressed(lua_State* tolua_S) +int lua_cocos2dx_Image_getPixelFormat(lua_State* tolua_S) { int argc = 0; cocos2d::Image* cobj = nullptr; @@ -18696,7 +18854,7 @@ int lua_cocos2dx_Image_isCompressed(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Image_isCompressed'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Image_getPixelFormat'", nullptr); return 0; } #endif @@ -18706,19 +18864,19 @@ int lua_cocos2dx_Image_isCompressed(lua_State* tolua_S) { if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Image_isCompressed'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Image_getPixelFormat'", nullptr); return 0; } - bool ret = cobj->isCompressed(); - tolua_pushboolean(tolua_S,(bool)ret); + int ret = (int)cobj->getPixelFormat(); + tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:isCompressed",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:getPixelFormat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Image_isCompressed'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Image_getPixelFormat'.",&tolua_err); #endif return 0; @@ -19055,7 +19213,73 @@ int lua_cocos2dx_Image_getNumberOfMipmaps(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Image_saveToFile(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Image* 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.Image",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Image*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Image_saveToFile'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + std::string arg0; + + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Image:saveToFile"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Image_saveToFile'", nullptr); + return 0; + } + bool ret = cobj->saveToFile(arg0); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + if (argc == 2) + { + std::string arg0; + bool arg1; + + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Image:saveToFile"); + + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Image:saveToFile"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Image_saveToFile'", nullptr); + return 0; + } + bool ret = cobj->saveToFile(arg0, arg1); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:saveToFile",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Image_saveToFile'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Image_setPVRImagesHavePremultipliedAlpha(lua_State* tolua_S) { int argc = 0; @@ -19179,9 +19403,9 @@ int lua_register_cocos2dx_Image(lua_State* tolua_S) tolua_beginmodule(tolua_S,"Image"); tolua_function(tolua_S,"new",lua_cocos2dx_Image_constructor); tolua_function(tolua_S,"hasPremultipliedAlpha",lua_cocos2dx_Image_hasPremultipliedAlpha); - tolua_function(tolua_S,"saveToFile",lua_cocos2dx_Image_saveToFile); - tolua_function(tolua_S,"hasAlpha",lua_cocos2dx_Image_hasAlpha); tolua_function(tolua_S,"isCompressed",lua_cocos2dx_Image_isCompressed); + tolua_function(tolua_S,"hasAlpha",lua_cocos2dx_Image_hasAlpha); + tolua_function(tolua_S,"getPixelFormat",lua_cocos2dx_Image_getPixelFormat); tolua_function(tolua_S,"getHeight",lua_cocos2dx_Image_getHeight); tolua_function(tolua_S,"initWithImageFile",lua_cocos2dx_Image_initWithImageFile); tolua_function(tolua_S,"getWidth",lua_cocos2dx_Image_getWidth); @@ -19189,6 +19413,7 @@ int lua_register_cocos2dx_Image(lua_State* tolua_S) tolua_function(tolua_S,"getFileType",lua_cocos2dx_Image_getFileType); tolua_function(tolua_S,"getFilePath",lua_cocos2dx_Image_getFilePath); tolua_function(tolua_S,"getNumberOfMipmaps",lua_cocos2dx_Image_getNumberOfMipmaps); + tolua_function(tolua_S,"saveToFile",lua_cocos2dx_Image_saveToFile); tolua_function(tolua_S,"setPVRImagesHavePremultipliedAlpha", lua_cocos2dx_Image_setPVRImagesHavePremultipliedAlpha); tolua_function(tolua_S,"setPNGPremultipliedAlphaEnabled", lua_cocos2dx_Image_setPNGPremultipliedAlphaEnabled); tolua_endmodule(tolua_S); @@ -41459,8 +41684,6 @@ int lua_cocos2dx_CallFunc_execute(lua_State* tolua_S) return 0; } - - int lua_cocos2dx_CallFunc_constructor(lua_State* tolua_S) { int argc = 0; @@ -48724,7 +48947,7 @@ int lua_cocos2dx_AtlasNode_initWithTileFile(lua_State* tolua_S) return 0; } -int lua_cocos2dx_AtlasNode_getTexture(lua_State* tolua_S) +int lua_cocos2dx_AtlasNode_setBlendFunc(lua_State* tolua_S) { int argc = 0; cocos2d::AtlasNode* cobj = nullptr; @@ -48744,29 +48967,32 @@ int lua_cocos2dx_AtlasNode_getTexture(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_AtlasNode_getTexture'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_AtlasNode_setBlendFunc'", nullptr); return 0; } #endif argc = lua_gettop(tolua_S)-1; - if (argc == 0) + if (argc == 1) { + cocos2d::BlendFunc arg0; + + ok &= luaval_to_blendfunc(tolua_S, 2, &arg0, "cc.AtlasNode:setBlendFunc"); if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_AtlasNode_getTexture'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_AtlasNode_setBlendFunc'", nullptr); return 0; } - cocos2d::Texture2D* ret = cobj->getTexture(); - object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); + cobj->setBlendFunc(arg0); + lua_settop(tolua_S, 1); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:getTexture",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:setBlendFunc",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_AtlasNode_getTexture'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_AtlasNode_setBlendFunc'.",&tolua_err); #endif return 0; @@ -48821,7 +49047,7 @@ int lua_cocos2dx_AtlasNode_setTextureAtlas(lua_State* tolua_S) return 0; } -int lua_cocos2dx_AtlasNode_setBlendFunc(lua_State* tolua_S) +int lua_cocos2dx_AtlasNode_getTexture(lua_State* tolua_S) { int argc = 0; cocos2d::AtlasNode* cobj = nullptr; @@ -48841,32 +49067,29 @@ int lua_cocos2dx_AtlasNode_setBlendFunc(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_AtlasNode_setBlendFunc'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_AtlasNode_getTexture'", nullptr); return 0; } #endif argc = lua_gettop(tolua_S)-1; - if (argc == 1) + if (argc == 0) { - cocos2d::BlendFunc arg0; - - ok &= luaval_to_blendfunc(tolua_S, 2, &arg0, "cc.AtlasNode:setBlendFunc"); if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_AtlasNode_setBlendFunc'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_AtlasNode_getTexture'", nullptr); return 0; } - cobj->setBlendFunc(arg0); - lua_settop(tolua_S, 1); + cocos2d::Texture2D* ret = cobj->getTexture(); + object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:setBlendFunc",argc, 1); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_AtlasNode_setBlendFunc'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_AtlasNode_getTexture'.",&tolua_err); #endif return 0; @@ -48965,53 +49188,6 @@ int lua_cocos2dx_AtlasNode_getBlendFunc(lua_State* tolua_S) return 0; } -int lua_cocos2dx_AtlasNode_getQuadsToDraw(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::AtlasNode* 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.AtlasNode",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::AtlasNode*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_AtlasNode_getQuadsToDraw'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_AtlasNode_getQuadsToDraw'", nullptr); - return 0; - } - ssize_t ret = cobj->getQuadsToDraw(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:getQuadsToDraw",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_AtlasNode_getQuadsToDraw'.",&tolua_err); -#endif - - return 0; -} int lua_cocos2dx_AtlasNode_setTexture(lua_State* tolua_S) { int argc = 0; @@ -49121,6 +49297,53 @@ int lua_cocos2dx_AtlasNode_initWithTexture(lua_State* tolua_S) return 0; } +int lua_cocos2dx_AtlasNode_getQuadsToDraw(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::AtlasNode* 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.AtlasNode",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::AtlasNode*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_AtlasNode_getQuadsToDraw'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_AtlasNode_getQuadsToDraw'", nullptr); + return 0; + } + unsigned int ret = cobj->getQuadsToDraw(); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:getQuadsToDraw",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_AtlasNode_getQuadsToDraw'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_AtlasNode_setQuadsToDraw(lua_State* tolua_S) { int argc = 0; @@ -49265,14 +49488,14 @@ int lua_register_cocos2dx_AtlasNode(lua_State* tolua_S) tolua_function(tolua_S,"new",lua_cocos2dx_AtlasNode_constructor); tolua_function(tolua_S,"updateAtlasValues",lua_cocos2dx_AtlasNode_updateAtlasValues); tolua_function(tolua_S,"initWithTileFile",lua_cocos2dx_AtlasNode_initWithTileFile); - tolua_function(tolua_S,"getTexture",lua_cocos2dx_AtlasNode_getTexture); - tolua_function(tolua_S,"setTextureAtlas",lua_cocos2dx_AtlasNode_setTextureAtlas); tolua_function(tolua_S,"setBlendFunc",lua_cocos2dx_AtlasNode_setBlendFunc); + tolua_function(tolua_S,"setTextureAtlas",lua_cocos2dx_AtlasNode_setTextureAtlas); + tolua_function(tolua_S,"getTexture",lua_cocos2dx_AtlasNode_getTexture); tolua_function(tolua_S,"getTextureAtlas",lua_cocos2dx_AtlasNode_getTextureAtlas); tolua_function(tolua_S,"getBlendFunc",lua_cocos2dx_AtlasNode_getBlendFunc); - tolua_function(tolua_S,"getQuadsToDraw",lua_cocos2dx_AtlasNode_getQuadsToDraw); tolua_function(tolua_S,"setTexture",lua_cocos2dx_AtlasNode_setTexture); tolua_function(tolua_S,"initWithTexture",lua_cocos2dx_AtlasNode_initWithTexture); + tolua_function(tolua_S,"getQuadsToDraw",lua_cocos2dx_AtlasNode_getQuadsToDraw); tolua_function(tolua_S,"setQuadsToDraw",lua_cocos2dx_AtlasNode_setQuadsToDraw); tolua_function(tolua_S,"create", lua_cocos2dx_AtlasNode_create); tolua_endmodule(tolua_S); @@ -50336,7 +50559,6 @@ int lua_cocos2dx_DrawNode_setLineWidth(lua_State* tolua_S) return 0; } - int lua_cocos2dx_DrawNode_drawDot(lua_State* tolua_S) { int argc = 0; @@ -50499,7 +50721,6 @@ int lua_cocos2dx_DrawNode_getBlendFunc(lua_State* tolua_S) return 0; } - int lua_cocos2dx_DrawNode_drawCircle(lua_State* tolua_S) { int argc = 0; @@ -50665,7 +50886,6 @@ int lua_cocos2dx_DrawNode_drawQuadBezier(lua_State* tolua_S) return 0; } - int lua_cocos2dx_DrawNode_drawTriangle(lua_State* tolua_S) { int argc = 0; @@ -61408,7 +61628,7 @@ int lua_cocos2dx_MotionStreak_setTexture(lua_State* tolua_S) return 0; } -int lua_cocos2dx_MotionStreak_getTexture(lua_State* tolua_S) +int lua_cocos2dx_MotionStreak_setBlendFunc(lua_State* tolua_S) { int argc = 0; cocos2d::MotionStreak* cobj = nullptr; @@ -61428,29 +61648,32 @@ int lua_cocos2dx_MotionStreak_getTexture(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_MotionStreak_getTexture'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_MotionStreak_setBlendFunc'", nullptr); return 0; } #endif argc = lua_gettop(tolua_S)-1; - if (argc == 0) + if (argc == 1) { + cocos2d::BlendFunc arg0; + + ok &= luaval_to_blendfunc(tolua_S, 2, &arg0, "cc.MotionStreak:setBlendFunc"); if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_MotionStreak_getTexture'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_MotionStreak_setBlendFunc'", nullptr); return 0; } - cocos2d::Texture2D* ret = cobj->getTexture(); - object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); + cobj->setBlendFunc(arg0); + lua_settop(tolua_S, 1); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:getTexture",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:setBlendFunc",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_MotionStreak_getTexture'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_MotionStreak_setBlendFunc'.",&tolua_err); #endif return 0; @@ -61505,7 +61728,7 @@ int lua_cocos2dx_MotionStreak_tintWithColor(lua_State* tolua_S) return 0; } -int lua_cocos2dx_MotionStreak_setBlendFunc(lua_State* tolua_S) +int lua_cocos2dx_MotionStreak_getTexture(lua_State* tolua_S) { int argc = 0; cocos2d::MotionStreak* cobj = nullptr; @@ -61525,32 +61748,29 @@ int lua_cocos2dx_MotionStreak_setBlendFunc(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_MotionStreak_setBlendFunc'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_MotionStreak_getTexture'", nullptr); return 0; } #endif argc = lua_gettop(tolua_S)-1; - if (argc == 1) + if (argc == 0) { - cocos2d::BlendFunc arg0; - - ok &= luaval_to_blendfunc(tolua_S, 2, &arg0, "cc.MotionStreak:setBlendFunc"); if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_MotionStreak_setBlendFunc'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_MotionStreak_getTexture'", nullptr); return 0; } - cobj->setBlendFunc(arg0); - lua_settop(tolua_S, 1); + cocos2d::Texture2D* ret = cobj->getTexture(); + object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:setBlendFunc",argc, 1); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_MotionStreak_setBlendFunc'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_MotionStreak_getTexture'.",&tolua_err); #endif return 0; @@ -62104,9 +62324,9 @@ int lua_register_cocos2dx_MotionStreak(lua_State* tolua_S) tolua_function(tolua_S,"new",lua_cocos2dx_MotionStreak_constructor); tolua_function(tolua_S,"reset",lua_cocos2dx_MotionStreak_reset); tolua_function(tolua_S,"setTexture",lua_cocos2dx_MotionStreak_setTexture); - tolua_function(tolua_S,"getTexture",lua_cocos2dx_MotionStreak_getTexture); - tolua_function(tolua_S,"tintWithColor",lua_cocos2dx_MotionStreak_tintWithColor); tolua_function(tolua_S,"setBlendFunc",lua_cocos2dx_MotionStreak_setBlendFunc); + tolua_function(tolua_S,"tintWithColor",lua_cocos2dx_MotionStreak_tintWithColor); + tolua_function(tolua_S,"getTexture",lua_cocos2dx_MotionStreak_getTexture); tolua_function(tolua_S,"setStartingPositionInitialized",lua_cocos2dx_MotionStreak_setStartingPositionInitialized); tolua_function(tolua_S,"getBlendFunc",lua_cocos2dx_MotionStreak_getBlendFunc); tolua_function(tolua_S,"isStartingPositionInitialized",lua_cocos2dx_MotionStreak_isStartingPositionInitialized); @@ -73360,11 +73580,11 @@ int lua_cocos2dx_Sprite_setDisplayFrameWithAnimationName(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ssize_t arg1; + unsigned int arg1; ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite:setDisplayFrameWithAnimationName"); - ok &= luaval_to_ssize(tolua_S, 3, &arg1, "cc.Sprite:setDisplayFrameWithAnimationName"); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Sprite:setDisplayFrameWithAnimationName"); if(!ok) { tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_setDisplayFrameWithAnimationName'", nullptr); @@ -73525,56 +73745,6 @@ int lua_cocos2dx_Sprite_getCenterRect(lua_State* tolua_S) return 0; } -int lua_cocos2dx_Sprite_removeAllChildrenWithCleanup(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Sprite* 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.Sprite",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Sprite*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Sprite_removeAllChildrenWithCleanup'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Sprite:removeAllChildrenWithCleanup"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_removeAllChildrenWithCleanup'", nullptr); - return 0; - } - cobj->removeAllChildrenWithCleanup(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:removeAllChildrenWithCleanup",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Sprite_removeAllChildrenWithCleanup'.",&tolua_err); -#endif - - return 0; -} int lua_cocos2dx_Sprite_setCenterRectNormalized(lua_State* tolua_S) { int argc = 0; @@ -73918,7 +74088,7 @@ int lua_cocos2dx_Sprite_getAtlasIndex(lua_State* tolua_S) tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_getAtlasIndex'", nullptr); return 0; } - ssize_t ret = cobj->getAtlasIndex(); + unsigned int ret = cobj->getAtlasIndex(); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } @@ -73932,6 +74102,56 @@ int lua_cocos2dx_Sprite_getAtlasIndex(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Sprite_setTextureAtlas(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Sprite* 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.Sprite",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Sprite*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Sprite_setTextureAtlas'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::TextureAtlas* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.TextureAtlas",&arg0, "cc.Sprite:setTextureAtlas"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_setTextureAtlas'", nullptr); + return 0; + } + cobj->setTextureAtlas(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setTextureAtlas",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Sprite_setTextureAtlas'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Sprite_setBatchNode(lua_State* tolua_S) { int argc = 0; @@ -74079,56 +74299,6 @@ int lua_cocos2dx_Sprite_setCenterRect(lua_State* tolua_S) return 0; } -int lua_cocos2dx_Sprite_setTextureAtlas(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Sprite* 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.Sprite",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Sprite*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Sprite_setTextureAtlas'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::TextureAtlas* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.TextureAtlas",&arg0, "cc.Sprite:setTextureAtlas"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_setTextureAtlas'", nullptr); - return 0; - } - cobj->setTextureAtlas(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setTextureAtlas",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Sprite_setTextureAtlas'.",&tolua_err); -#endif - - return 0; -} int lua_cocos2dx_Sprite_getSpriteFrame(lua_State* tolua_S) { int argc = 0; @@ -74176,6 +74346,103 @@ int lua_cocos2dx_Sprite_getSpriteFrame(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Sprite_setVertexLayout(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Sprite* 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.Sprite",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Sprite*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Sprite_setVertexLayout'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_setVertexLayout'", nullptr); + return 0; + } + cobj->setVertexLayout(); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setVertexLayout",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Sprite_setVertexLayout'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Sprite_removeAllChildrenWithCleanup(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Sprite* 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.Sprite",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Sprite*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Sprite_removeAllChildrenWithCleanup'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + bool arg0; + + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Sprite:removeAllChildrenWithCleanup"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_removeAllChildrenWithCleanup'", nullptr); + return 0; + } + cobj->removeAllChildrenWithCleanup(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:removeAllChildrenWithCleanup",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Sprite_removeAllChildrenWithCleanup'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Sprite_getResourceName(lua_State* tolua_S) { int argc = 0; @@ -74345,9 +74612,9 @@ int lua_cocos2dx_Sprite_setAtlasIndex(lua_State* tolua_S) argc = lua_gettop(tolua_S)-1; if (argc == 1) { - ssize_t arg0; + unsigned int arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.Sprite:setAtlasIndex"); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Sprite:setAtlasIndex"); if(!ok) { tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_setAtlasIndex'", nullptr); @@ -74699,6 +74966,59 @@ int lua_cocos2dx_Sprite_setBlendFunc(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Sprite_updateShaders(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Sprite* 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.Sprite",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Sprite*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Sprite_updateShaders'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const char* arg0; + const char* arg1; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.Sprite:updateShaders"); arg0 = arg0_tmp.c_str(); + + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.Sprite:updateShaders"); arg1 = arg1_tmp.c_str(); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_updateShaders'", nullptr); + return 0; + } + cobj->updateShaders(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:updateShaders",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Sprite_updateShaders'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Sprite_getTextureAtlas(lua_State* tolua_S) { int argc = 0; @@ -75142,7 +75462,6 @@ int lua_register_cocos2dx_Sprite(lua_State* tolua_S) tolua_function(tolua_S,"getBatchNode",lua_cocos2dx_Sprite_getBatchNode); tolua_function(tolua_S,"getOffsetPosition",lua_cocos2dx_Sprite_getOffsetPosition); tolua_function(tolua_S,"getCenterRect",lua_cocos2dx_Sprite_getCenterRect); - tolua_function(tolua_S,"removeAllChildrenWithCleanup",lua_cocos2dx_Sprite_removeAllChildrenWithCleanup); tolua_function(tolua_S,"setCenterRectNormalized",lua_cocos2dx_Sprite_setCenterRectNormalized); tolua_function(tolua_S,"isStretchEnabled",lua_cocos2dx_Sprite_isStretchEnabled); tolua_function(tolua_S,"setTextureRect",lua_cocos2dx_Sprite_setTextureRect); @@ -75150,11 +75469,13 @@ int lua_register_cocos2dx_Sprite(lua_State* tolua_S) tolua_function(tolua_S,"setStretchEnabled",lua_cocos2dx_Sprite_setStretchEnabled); tolua_function(tolua_S,"isFrameDisplayed",lua_cocos2dx_Sprite_isFrameDisplayed); tolua_function(tolua_S,"getAtlasIndex",lua_cocos2dx_Sprite_getAtlasIndex); + tolua_function(tolua_S,"setTextureAtlas",lua_cocos2dx_Sprite_setTextureAtlas); tolua_function(tolua_S,"setBatchNode",lua_cocos2dx_Sprite_setBatchNode); tolua_function(tolua_S,"getBlendFunc",lua_cocos2dx_Sprite_getBlendFunc); tolua_function(tolua_S,"setCenterRect",lua_cocos2dx_Sprite_setCenterRect); - tolua_function(tolua_S,"setTextureAtlas",lua_cocos2dx_Sprite_setTextureAtlas); tolua_function(tolua_S,"getSpriteFrame",lua_cocos2dx_Sprite_getSpriteFrame); + tolua_function(tolua_S,"setVertexLayout",lua_cocos2dx_Sprite_setVertexLayout); + tolua_function(tolua_S,"removeAllChildrenWithCleanup",lua_cocos2dx_Sprite_removeAllChildrenWithCleanup); tolua_function(tolua_S,"getResourceName",lua_cocos2dx_Sprite_getResourceName); tolua_function(tolua_S,"isDirty",lua_cocos2dx_Sprite_isDirty); tolua_function(tolua_S,"getCenterRectNormalized",lua_cocos2dx_Sprite_getCenterRectNormalized); @@ -75165,6 +75486,7 @@ int lua_register_cocos2dx_Sprite(lua_State* tolua_S) tolua_function(tolua_S,"getTextureRect",lua_cocos2dx_Sprite_getTextureRect); tolua_function(tolua_S,"initWithFile",lua_cocos2dx_Sprite_initWithFile); tolua_function(tolua_S,"setBlendFunc",lua_cocos2dx_Sprite_setBlendFunc); + tolua_function(tolua_S,"updateShaders",lua_cocos2dx_Sprite_updateShaders); tolua_function(tolua_S,"getTextureAtlas",lua_cocos2dx_Sprite_getTextureAtlas); tolua_function(tolua_S,"initWithSpriteFrame",lua_cocos2dx_Sprite_initWithSpriteFrame); tolua_function(tolua_S,"isFlippedX",lua_cocos2dx_Sprite_isFlippedX); @@ -75624,7 +75946,56 @@ int lua_cocos2dx_RenderTexture_setKeepMatrix(lua_State* tolua_S) return 0; } +int lua_cocos2dx_RenderTexture_setClearFlags(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::RenderTexture* 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.RenderTexture",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::RenderTexture*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_RenderTexture_setClearFlags'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::ClearFlag arg0; + + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:setClearFlags"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_RenderTexture_setClearFlags'", nullptr); + return 0; + } + cobj->setClearFlags(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setClearFlags",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_RenderTexture_setClearFlags'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_RenderTexture_begin(lua_State* tolua_S) { int argc = 0; @@ -76237,7 +76608,128 @@ int lua_cocos2dx_RenderTexture_clear(lua_State* tolua_S) return 0; } +int lua_cocos2dx_RenderTexture_getClearFlags(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::RenderTexture* 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.RenderTexture",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::RenderTexture*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_RenderTexture_getClearFlags'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_RenderTexture_getClearFlags'", nullptr); + return 0; + } + int ret = (int)cobj->getClearFlags(); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:getClearFlags",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_RenderTexture_getClearFlags'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_RenderTexture_newImage(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::RenderTexture* 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.RenderTexture",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::RenderTexture*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_RenderTexture_newImage'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + std::function arg0; + + do { + // Lambda binding for lua is not supported. + assert(false); + } while(0) + ; + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_RenderTexture_newImage'", nullptr); + return 0; + } + cobj->newImage(arg0); + lua_settop(tolua_S, 1); + return 1; + } + if (argc == 2) + { + std::function arg0; + bool arg1; + + do { + // Lambda binding for lua is not supported. + assert(false); + } while(0) + ; + + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.RenderTexture:newImage"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_RenderTexture_newImage'", nullptr); + return 0; + } + cobj->newImage(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:newImage",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_RenderTexture_newImage'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_RenderTexture_setClearDepth(lua_State* tolua_S) { int argc = 0; @@ -76288,7 +76780,81 @@ int lua_cocos2dx_RenderTexture_setClearDepth(lua_State* tolua_S) return 0; } +int lua_cocos2dx_RenderTexture_initWithWidthAndHeight(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::RenderTexture* 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.RenderTexture",0,&tolua_err)) goto tolua_lerror; +#endif + cobj = (cocos2d::RenderTexture*)tolua_tousertype(tolua_S,1,0); +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_RenderTexture_initWithWidthAndHeight'", nullptr); + return 0; + } +#endif + argc = lua_gettop(tolua_S)-1; + do{ + if (argc == 4) { + int arg0; + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:initWithWidthAndHeight"); + + if (!ok) { break; } + int arg1; + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:initWithWidthAndHeight"); + + if (!ok) { break; } + cocos2d::Texture2D::PixelFormat arg2; + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.RenderTexture:initWithWidthAndHeight"); + + if (!ok) { break; } + cocos2d::backend::TextureFormat arg3; + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.RenderTexture:initWithWidthAndHeight"); + + if (!ok) { break; } + bool ret = cobj->initWithWidthAndHeight(arg0, arg1, arg2, arg3); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + }while(0); + ok = true; + do{ + if (argc == 3) { + int arg0; + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:initWithWidthAndHeight"); + + if (!ok) { break; } + int arg1; + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:initWithWidthAndHeight"); + + if (!ok) { break; } + cocos2d::Texture2D::PixelFormat arg2; + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.RenderTexture:initWithWidthAndHeight"); + + if (!ok) { break; } + bool ret = cobj->initWithWidthAndHeight(arg0, arg1, arg2); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + }while(0); + ok = true; + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:initWithWidthAndHeight",argc, 3); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_RenderTexture_initWithWidthAndHeight'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_RenderTexture_create(lua_State* tolua_S) { int argc = 0; @@ -76323,6 +76889,28 @@ int lua_cocos2dx_RenderTexture_create(lua_State* tolua_S) } while (0); ok = true; do + { + if (argc == 4) + { + int arg0; + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:create"); + if (!ok) { break; } + int arg1; + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:create"); + if (!ok) { break; } + cocos2d::Texture2D::PixelFormat arg2; + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.RenderTexture:create"); + if (!ok) { break; } + cocos2d::backend::TextureFormat arg3; + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.RenderTexture:create"); + if (!ok) { break; } + cocos2d::RenderTexture* ret = cocos2d::RenderTexture::create(arg0, arg1, arg2, arg3); + object_to_luaval(tolua_S, "cc.RenderTexture",(cocos2d::RenderTexture*)ret); + return 1; + } + } while (0); + ok = true; + do { if (argc == 2) { @@ -76405,6 +76993,7 @@ int lua_register_cocos2dx_RenderTexture(lua_State* tolua_S) tolua_function(tolua_S,"getSprite",lua_cocos2dx_RenderTexture_getSprite); tolua_function(tolua_S,"isAutoDraw",lua_cocos2dx_RenderTexture_isAutoDraw); tolua_function(tolua_S,"setKeepMatrix",lua_cocos2dx_RenderTexture_setKeepMatrix); + tolua_function(tolua_S,"setClearFlags",lua_cocos2dx_RenderTexture_setClearFlags); tolua_function(tolua_S,"begin",lua_cocos2dx_RenderTexture_begin); tolua_function(tolua_S,"saveToFile",lua_cocos2dx_RenderTexture_saveToFile); tolua_function(tolua_S,"setAutoDraw",lua_cocos2dx_RenderTexture_setAutoDraw); @@ -76414,7 +77003,10 @@ int lua_register_cocos2dx_RenderTexture(lua_State* tolua_S) tolua_function(tolua_S,"clearDepth",lua_cocos2dx_RenderTexture_clearDepth); tolua_function(tolua_S,"getClearColor",lua_cocos2dx_RenderTexture_getClearColor); tolua_function(tolua_S,"clear",lua_cocos2dx_RenderTexture_clear); + tolua_function(tolua_S,"getClearFlags",lua_cocos2dx_RenderTexture_getClearFlags); + tolua_function(tolua_S,"newImage",lua_cocos2dx_RenderTexture_newImage); tolua_function(tolua_S,"setClearDepth",lua_cocos2dx_RenderTexture_setClearDepth); + tolua_function(tolua_S,"initWithWidthAndHeight",lua_cocos2dx_RenderTexture_initWithWidthAndHeight); tolua_function(tolua_S,"create", lua_cocos2dx_RenderTexture_create); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::RenderTexture).name(); @@ -81562,7 +82154,6 @@ int lua_cocos2dx_Camera_getDepthInView(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Camera_clearBackground(lua_State* tolua_S) { int argc = 0; @@ -81660,7 +82251,6 @@ int lua_cocos2dx_Camera_setAdditionalProjection(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Camera_initDefault(lua_State* tolua_S) { int argc = 0; @@ -81908,7 +82498,56 @@ int lua_cocos2dx_Camera_getRenderOrder(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Camera_isVisibleInFrustum(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_isVisibleInFrustum'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const cocos2d::AABB* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.AABB",&arg0, "cc.Camera:isVisibleInFrustum"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Camera_isVisibleInFrustum'", nullptr); + return 0; + } + bool ret = cobj->isVisibleInFrustum(arg0); + 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:isVisibleInFrustum",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Camera_isVisibleInFrustum'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Camera_setDepth(lua_State* tolua_S) { int argc = 0; @@ -82059,7 +82698,6 @@ int lua_cocos2dx_Camera_projectGL(lua_State* tolua_S) return 0; } - int lua_cocos2dx_Camera_getViewMatrix(lua_State* tolua_S) { int argc = 0; @@ -82301,8 +82939,6 @@ int lua_cocos2dx_Camera_getFarPlane(lua_State* tolua_S) return 0; } - - int lua_cocos2dx_Camera_isViewProjectionUpdated(lua_State* tolua_S) { int argc = 0; @@ -82561,7 +83197,77 @@ int lua_cocos2dx_Camera_createPerspective(lua_State* tolua_S) #endif return 0; } +int lua_cocos2dx_Camera_getDefaultViewport(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Camera",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Camera_getDefaultViewport'", nullptr); + return 0; + } + const cocos2d::Viewport& ret = cocos2d::Camera::getDefaultViewport(); + #pragma warning NO CONVERSION FROM NATIVE FOR Viewport; + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Camera:getDefaultViewport",argc, 0); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Camera_getDefaultViewport'.",&tolua_err); +#endif + return 0; +} +int lua_cocos2dx_Camera_setDefaultViewport(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Camera",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 1) + { + cocos2d::Viewport arg0; + #pragma warning NO CONVERSION TO NATIVE FOR Viewport + ok = false; + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Camera_setDefaultViewport'", nullptr); + return 0; + } + cocos2d::Camera::setDefaultViewport(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Camera:setDefaultViewport",argc, 1); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Camera_setDefaultViewport'.",&tolua_err); +#endif + return 0; +} int lua_cocos2dx_Camera_getDefaultCamera(lua_State* tolua_S) { int argc = 0; @@ -82663,6 +83369,7 @@ int lua_register_cocos2dx_Camera(lua_State* tolua_S) tolua_function(tolua_S,"getType",lua_cocos2dx_Camera_getType); tolua_function(tolua_S,"initOrthographic",lua_cocos2dx_Camera_initOrthographic); tolua_function(tolua_S,"getRenderOrder",lua_cocos2dx_Camera_getRenderOrder); + tolua_function(tolua_S,"isVisibleInFrustum",lua_cocos2dx_Camera_isVisibleInFrustum); tolua_function(tolua_S,"setDepth",lua_cocos2dx_Camera_setDepth); tolua_function(tolua_S,"setScene",lua_cocos2dx_Camera_setScene); tolua_function(tolua_S,"projectGL",lua_cocos2dx_Camera_projectGL); @@ -82677,6 +83384,8 @@ int lua_register_cocos2dx_Camera(lua_State* tolua_S) tolua_function(tolua_S,"getVisitingCamera", lua_cocos2dx_Camera_getVisitingCamera); tolua_function(tolua_S,"create", lua_cocos2dx_Camera_create); tolua_function(tolua_S,"createPerspective", lua_cocos2dx_Camera_createPerspective); + tolua_function(tolua_S,"getDefaultViewport", lua_cocos2dx_Camera_getDefaultViewport); + tolua_function(tolua_S,"setDefaultViewport", lua_cocos2dx_Camera_setDefaultViewport); tolua_function(tolua_S,"getDefaultCamera", lua_cocos2dx_Camera_getDefaultCamera); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::Camera).name(); @@ -83817,7 +84526,7 @@ int lua_cocos2dx_GridBase_setGridRect(lua_State* tolua_S) return 0; } -int lua_cocos2dx_GridBase_afterBlit(lua_State* tolua_S) +int lua_cocos2dx_GridBase_calculateVertexPoints(lua_State* tolua_S) { int argc = 0; cocos2d::GridBase* cobj = nullptr; @@ -83837,7 +84546,7 @@ int lua_cocos2dx_GridBase_afterBlit(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_afterBlit'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_calculateVertexPoints'", nullptr); return 0; } #endif @@ -83847,24 +84556,24 @@ int lua_cocos2dx_GridBase_afterBlit(lua_State* tolua_S) { if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_afterBlit'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_calculateVertexPoints'", nullptr); return 0; } - cobj->afterBlit(); + cobj->calculateVertexPoints(); lua_settop(tolua_S, 1); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:afterBlit",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:calculateVertexPoints",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_afterBlit'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_calculateVertexPoints'.",&tolua_err); #endif return 0; } -int lua_cocos2dx_GridBase_getGridRect(lua_State* tolua_S) +int lua_cocos2dx_GridBase_reuse(lua_State* tolua_S) { int argc = 0; cocos2d::GridBase* cobj = nullptr; @@ -83884,7 +84593,7 @@ int lua_cocos2dx_GridBase_getGridRect(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_getGridRect'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_reuse'", nullptr); return 0; } #endif @@ -83894,69 +84603,19 @@ int lua_cocos2dx_GridBase_getGridRect(lua_State* tolua_S) { if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_getGridRect'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_reuse'", nullptr); return 0; } - const cocos2d::Rect& ret = cobj->getGridRect(); - rect_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:getGridRect",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_getGridRect'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_GridBase_afterDraw(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::GridBase* 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.GridBase",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::GridBase*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_afterDraw'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Node* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0, "cc.GridBase:afterDraw"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_afterDraw'", nullptr); - return 0; - } - cobj->afterDraw(arg0); + cobj->reuse(); lua_settop(tolua_S, 1); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:afterDraw",argc, 1); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:reuse",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_afterDraw'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_reuse'.",&tolua_err); #endif return 0; @@ -84008,7 +84667,7 @@ int lua_cocos2dx_GridBase_beforeDraw(lua_State* tolua_S) return 0; } -int lua_cocos2dx_GridBase_calculateVertexPoints(lua_State* tolua_S) +int lua_cocos2dx_GridBase_getGridRect(lua_State* tolua_S) { int argc = 0; cocos2d::GridBase* cobj = nullptr; @@ -84028,7 +84687,7 @@ int lua_cocos2dx_GridBase_calculateVertexPoints(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_calculateVertexPoints'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_getGridRect'", nullptr); return 0; } #endif @@ -84038,19 +84697,19 @@ int lua_cocos2dx_GridBase_calculateVertexPoints(lua_State* tolua_S) { if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_calculateVertexPoints'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_getGridRect'", nullptr); return 0; } - cobj->calculateVertexPoints(); - lua_settop(tolua_S, 1); + const cocos2d::Rect& ret = cobj->getGridRect(); + rect_to_luaval(tolua_S, ret); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:calculateVertexPoints",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:getGridRect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_calculateVertexPoints'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_getGridRect'.",&tolua_err); #endif return 0; @@ -84149,7 +84808,7 @@ int lua_cocos2dx_GridBase_getGridSize(lua_State* tolua_S) return 0; } -int lua_cocos2dx_GridBase_getStep(lua_State* tolua_S) +int lua_cocos2dx_GridBase_afterBlit(lua_State* tolua_S) { int argc = 0; cocos2d::GridBase* cobj = nullptr; @@ -84169,7 +84828,7 @@ int lua_cocos2dx_GridBase_getStep(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_getStep'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_afterBlit'", nullptr); return 0; } #endif @@ -84179,19 +84838,19 @@ int lua_cocos2dx_GridBase_getStep(lua_State* tolua_S) { if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_getStep'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_afterBlit'", nullptr); return 0; } - const cocos2d::Vec2& ret = cobj->getStep(); - vec2_to_luaval(tolua_S, ret); + cobj->afterBlit(); + lua_settop(tolua_S, 1); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:getStep",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:afterBlit",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_getStep'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_afterBlit'.",&tolua_err); #endif return 0; @@ -84243,6 +84902,53 @@ int lua_cocos2dx_GridBase_set2DProjection(lua_State* tolua_S) return 0; } +int lua_cocos2dx_GridBase_getStep(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::GridBase* 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.GridBase",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::GridBase*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_getStep'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_getStep'", nullptr); + return 0; + } + const cocos2d::Vec2& ret = cobj->getStep(); + vec2_to_luaval(tolua_S, ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:getStep",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_getStep'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_GridBase_setStep(lua_State* tolua_S) { int argc = 0; @@ -84734,7 +85440,7 @@ int lua_cocos2dx_GridBase_isActive(lua_State* tolua_S) return 0; } -int lua_cocos2dx_GridBase_reuse(lua_State* tolua_S) +int lua_cocos2dx_GridBase_afterDraw(lua_State* tolua_S) { int argc = 0; cocos2d::GridBase* cobj = nullptr; @@ -84754,34 +85460,36 @@ int lua_cocos2dx_GridBase_reuse(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_reuse'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_GridBase_afterDraw'", nullptr); return 0; } #endif argc = lua_gettop(tolua_S)-1; - if (argc == 0) + if (argc == 1) { + cocos2d::Node* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0, "cc.GridBase:afterDraw"); if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_reuse'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_GridBase_afterDraw'", nullptr); return 0; } - cobj->reuse(); + cobj->afterDraw(arg0); lua_settop(tolua_S, 1); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:reuse",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:afterDraw",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_reuse'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_GridBase_afterDraw'.",&tolua_err); #endif return 0; } - static int lua_cocos2dx_GridBase_finalize(lua_State* tolua_S) { printf("luabindings: finalizing LUA object (GridBase)"); @@ -84796,15 +85504,15 @@ int lua_register_cocos2dx_GridBase(lua_State* tolua_S) tolua_beginmodule(tolua_S,"GridBase"); tolua_function(tolua_S,"setGridSize",lua_cocos2dx_GridBase_setGridSize); tolua_function(tolua_S,"setGridRect",lua_cocos2dx_GridBase_setGridRect); - tolua_function(tolua_S,"afterBlit",lua_cocos2dx_GridBase_afterBlit); - tolua_function(tolua_S,"getGridRect",lua_cocos2dx_GridBase_getGridRect); - tolua_function(tolua_S,"afterDraw",lua_cocos2dx_GridBase_afterDraw); - tolua_function(tolua_S,"beforeDraw",lua_cocos2dx_GridBase_beforeDraw); tolua_function(tolua_S,"calculateVertexPoints",lua_cocos2dx_GridBase_calculateVertexPoints); + tolua_function(tolua_S,"reuse",lua_cocos2dx_GridBase_reuse); + tolua_function(tolua_S,"beforeDraw",lua_cocos2dx_GridBase_beforeDraw); + tolua_function(tolua_S,"getGridRect",lua_cocos2dx_GridBase_getGridRect); tolua_function(tolua_S,"isTextureFlipped",lua_cocos2dx_GridBase_isTextureFlipped); tolua_function(tolua_S,"getGridSize",lua_cocos2dx_GridBase_getGridSize); - tolua_function(tolua_S,"getStep",lua_cocos2dx_GridBase_getStep); + tolua_function(tolua_S,"afterBlit",lua_cocos2dx_GridBase_afterBlit); tolua_function(tolua_S,"set2DProjection",lua_cocos2dx_GridBase_set2DProjection); + tolua_function(tolua_S,"getStep",lua_cocos2dx_GridBase_getStep); tolua_function(tolua_S,"setStep",lua_cocos2dx_GridBase_setStep); tolua_function(tolua_S,"setTextureFlipped",lua_cocos2dx_GridBase_setTextureFlipped); tolua_function(tolua_S,"blit",lua_cocos2dx_GridBase_blit); @@ -84814,7 +85522,7 @@ int lua_register_cocos2dx_GridBase(lua_State* tolua_S) tolua_function(tolua_S,"beforeBlit",lua_cocos2dx_GridBase_beforeBlit); tolua_function(tolua_S,"setReuseGrid",lua_cocos2dx_GridBase_setReuseGrid); tolua_function(tolua_S,"isActive",lua_cocos2dx_GridBase_isActive); - tolua_function(tolua_S,"reuse",lua_cocos2dx_GridBase_reuse); + tolua_function(tolua_S,"afterDraw",lua_cocos2dx_GridBase_afterDraw); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::GridBase).name(); g_luaType[typeName] = "cc.GridBase"; @@ -85163,6 +85871,25 @@ int lua_cocos2dx_TiledGrid3D_create(lua_State* tolua_S) #endif return 0; } +static int lua_cocos2dx_TiledGrid3D_finalize(lua_State* tolua_S) +{ + printf("luabindings: finalizing LUA object (TiledGrid3D)"); + return 0; +} + +int lua_register_cocos2dx_TiledGrid3D(lua_State* tolua_S) +{ + tolua_usertype(tolua_S,"cc.TiledGrid3D"); + tolua_cclass(tolua_S,"TiledGrid3D","cc.TiledGrid3D","cc.GridBase",nullptr); + + tolua_beginmodule(tolua_S,"TiledGrid3D"); + tolua_function(tolua_S,"create", lua_cocos2dx_TiledGrid3D_create); + tolua_endmodule(tolua_S); + std::string typeName = typeid(cocos2d::TiledGrid3D).name(); + g_luaType[typeName] = "cc.TiledGrid3D"; + g_typeCast["TiledGrid3D"] = "cc.TiledGrid3D"; + return 1; +} int lua_cocos2dx_BaseLight_setEnabled(lua_State* tolua_S) { @@ -86753,8 +87480,106 @@ int lua_cocos2dx_RenderState_getName(lua_State* tolua_S) return 0; } +int lua_cocos2dx_RenderState_unbindPass(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::RenderState* 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.RenderState",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::RenderState*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_RenderState_unbindPass'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Pass* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Pass",&arg0, "cc.RenderState:unbindPass"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_RenderState_unbindPass'", nullptr); + return 0; + } + cobj->unbindPass(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderState:unbindPass",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_RenderState_unbindPass'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_RenderState_bindPass(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::RenderState* 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.RenderState",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::RenderState*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_RenderState_bindPass'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Pass* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Pass",&arg0, "cc.RenderState:bindPass"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_RenderState_bindPass'", nullptr); + return 0; + } + cobj->bindPass(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderState:bindPass",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_RenderState_bindPass'.",&tolua_err); +#endif + + return 0; +} static int lua_cocos2dx_RenderState_finalize(lua_State* tolua_S) { printf("luabindings: finalizing LUA object (RenderState)"); @@ -86768,6 +87593,8 @@ int lua_register_cocos2dx_RenderState(lua_State* tolua_S) tolua_beginmodule(tolua_S,"RenderState"); tolua_function(tolua_S,"getName",lua_cocos2dx_RenderState_getName); + tolua_function(tolua_S,"unbindPass",lua_cocos2dx_RenderState_unbindPass); + tolua_function(tolua_S,"bindPass",lua_cocos2dx_RenderState_bindPass); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::RenderState).name(); g_luaType[typeName] = "cc.RenderState"; @@ -86775,213 +87602,6 @@ int lua_register_cocos2dx_RenderState(lua_State* tolua_S) return 1; } - -int lua_cocos2dx_Pass_clone(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_clone'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_clone'", nullptr); - return 0; - } - cocos2d::Pass* ret = cobj->clone(); - object_to_luaval(tolua_S, "cc.Pass",(cocos2d::Pass*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:clone",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_clone'.",&tolua_err); -#endif - - return 0; -} - -int lua_cocos2dx_Pass_getVertexAttributeBinding(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_getVertexAttributeBinding'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_getVertexAttributeBinding'", nullptr); - return 0; - } - cocos2d::VertexAttribBinding* ret = cobj->getVertexAttributeBinding(); - object_to_luaval(tolua_S, "cc.VertexAttribBinding",(cocos2d::VertexAttribBinding*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:getVertexAttributeBinding",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_getVertexAttributeBinding'.",&tolua_err); -#endif - - return 0; -} - -int lua_cocos2dx_Pass_setVertexAttribBinding(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setVertexAttribBinding'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::VertexAttribBinding* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.VertexAttribBinding",&arg0, "cc.Pass:setVertexAttribBinding"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setVertexAttribBinding'", nullptr); - return 0; - } - cobj->setVertexAttribBinding(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setVertexAttribBinding",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setVertexAttribBinding'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_Pass_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Pass",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - cocos2d::Technique* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Technique",&arg0, "cc.Pass:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_create'", nullptr); - return 0; - } - cocos2d::Pass* ret = cocos2d::Pass::create(arg0); - object_to_luaval(tolua_S, "cc.Pass",(cocos2d::Pass*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Pass:create",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_create'.",&tolua_err); -#endif - return 0; -} - -static int lua_cocos2dx_Pass_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Pass)"); - return 0; -} - -int lua_register_cocos2dx_Pass(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Pass"); - tolua_cclass(tolua_S,"Pass","cc.Pass","cc.RenderState",nullptr); - - tolua_beginmodule(tolua_S,"Pass"); - tolua_function(tolua_S,"clone",lua_cocos2dx_Pass_clone); - tolua_function(tolua_S,"getVertexAttributeBinding",lua_cocos2dx_Pass_getVertexAttributeBinding); - tolua_function(tolua_S,"setVertexAttribBinding",lua_cocos2dx_Pass_setVertexAttribBinding); - tolua_function(tolua_S,"create", lua_cocos2dx_Pass_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Pass).name(); - g_luaType[typeName] = "cc.Pass"; - g_typeCast["Pass"] = "cc.Pass"; - return 1; -} - int lua_cocos2dx_Technique_getPassCount(lua_State* tolua_S) { int argc = 0; @@ -87029,6 +87649,56 @@ int lua_cocos2dx_Technique_getPassCount(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Technique_setMaterial(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Technique* 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.Technique",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Technique*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Technique_setMaterial'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Material* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Material",&arg0, "cc.Technique:setMaterial"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Technique_setMaterial'", nullptr); + return 0; + } + cobj->setMaterial(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Technique:setMaterial",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Technique_setMaterial'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Technique_clone(lua_State* tolua_S) { int argc = 0; @@ -87270,6 +87940,44 @@ int lua_cocos2dx_Technique_getPassByIndex(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Technique_createWithProgramState(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Technique",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 2) + { + cocos2d::Material* arg0; + cocos2d::backend::ProgramState* arg1; + ok &= luaval_to_object(tolua_S, 2, "cc.Material",&arg0, "cc.Technique:createWithProgramState"); + ok &= luaval_to_object(tolua_S, 3, "cc.ProgramState",&arg1, "cc.Technique:createWithProgramState"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Technique_createWithProgramState'", nullptr); + return 0; + } + cocos2d::Technique* ret = cocos2d::Technique::createWithProgramState(arg0, arg1); + object_to_luaval(tolua_S, "cc.Technique",(cocos2d::Technique*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Technique:createWithProgramState",argc, 2); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Technique_createWithProgramState'.",&tolua_err); +#endif + return 0; +} int lua_cocos2dx_Technique_create(lua_State* tolua_S) { int argc = 0; @@ -87306,7 +88014,6 @@ int lua_cocos2dx_Technique_create(lua_State* tolua_S) #endif return 0; } - static int lua_cocos2dx_Technique_finalize(lua_State* tolua_S) { printf("luabindings: finalizing LUA object (Technique)"); @@ -87316,15 +88023,17 @@ static int lua_cocos2dx_Technique_finalize(lua_State* tolua_S) int lua_register_cocos2dx_Technique(lua_State* tolua_S) { tolua_usertype(tolua_S,"cc.Technique"); - tolua_cclass(tolua_S,"Technique","cc.Technique","cc.RenderState",nullptr); + tolua_cclass(tolua_S,"Technique","cc.Technique","cc.Ref",nullptr); tolua_beginmodule(tolua_S,"Technique"); tolua_function(tolua_S,"getPassCount",lua_cocos2dx_Technique_getPassCount); + tolua_function(tolua_S,"setMaterial",lua_cocos2dx_Technique_setMaterial); tolua_function(tolua_S,"clone",lua_cocos2dx_Technique_clone); tolua_function(tolua_S,"addPass",lua_cocos2dx_Technique_addPass); tolua_function(tolua_S,"getPasses",lua_cocos2dx_Technique_getPasses); tolua_function(tolua_S,"getName",lua_cocos2dx_Technique_getName); tolua_function(tolua_S,"getPassByIndex",lua_cocos2dx_Technique_getPassByIndex); + tolua_function(tolua_S,"createWithProgramState", lua_cocos2dx_Technique_createWithProgramState); tolua_function(tolua_S,"create", lua_cocos2dx_Technique_create); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::Technique).name(); @@ -87380,7 +88089,7 @@ int lua_cocos2dx_Material_clone(lua_State* tolua_S) return 0; } -int lua_cocos2dx_Material_getTechniqueCount(lua_State* tolua_S) +int lua_cocos2dx_Material_draw(lua_State* tolua_S) { int argc = 0; cocos2d::Material* cobj = nullptr; @@ -87400,7 +88109,75 @@ int lua_cocos2dx_Material_getTechniqueCount(lua_State* tolua_S) #if COCOS2D_DEBUG >= 1 if (!cobj) { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Material_getTechniqueCount'", nullptr); + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Material_draw'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 7) + { + double arg0; + cocos2d::backend::Buffer* arg1; + cocos2d::backend::Buffer* arg2; + cocos2d::backend::PrimitiveType arg3; + cocos2d::backend::IndexFormat arg4; + unsigned int arg5; + cocos2d::Mat4 arg6; + + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Material:draw"); + + ok &= luaval_to_object(tolua_S, 3, "cc.Buffer",&arg1, "cc.Material:draw"); + + ok &= luaval_to_object(tolua_S, 4, "cc.Buffer",&arg2, "cc.Material:draw"); + + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.Material:draw"); + + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.Material:draw"); + + ok &= luaval_to_uint32(tolua_S, 7,&arg5, "cc.Material:draw"); + + ok &= luaval_to_mat4(tolua_S, 8, &arg6, "cc.Material:draw"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Material_draw'", nullptr); + return 0; + } + cobj->draw(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Material:draw",argc, 7); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Material_draw'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Material_getRenderState(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Material* 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.Material",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Material*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Material_getRenderState'", nullptr); return 0; } #endif @@ -87410,19 +88187,19 @@ int lua_cocos2dx_Material_getTechniqueCount(lua_State* tolua_S) { if(!ok) { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Material_getTechniqueCount'", nullptr); + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Material_getRenderState'", nullptr); return 0; } - ssize_t ret = cobj->getTechniqueCount(); - tolua_pushnumber(tolua_S,(lua_Number)ret); + cocos2d::RenderState* ret = cobj->getRenderState(); + object_to_luaval(tolua_S, "cc.RenderState",(cocos2d::RenderState*)ret); return 1; } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Material:getTechniqueCount",argc, 0); + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Material:getRenderState",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Material_getTechniqueCount'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Material_getRenderState'.",&tolua_err); #endif return 0; @@ -87621,6 +88398,53 @@ int lua_cocos2dx_Material_getTechniques(lua_State* tolua_S) return 0; } +int lua_cocos2dx_Material_getTechniqueCount(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Material* 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.Material",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Material*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Material_getTechniqueCount'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Material_getTechniqueCount'", nullptr); + return 0; + } + ssize_t ret = cobj->getTechniqueCount(); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Material:getTechniqueCount",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Material_getTechniqueCount'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_Material_setTechnique(lua_State* tolua_S) { int argc = 0; @@ -87854,7 +88678,6 @@ int lua_cocos2dx_Material_createWithFilename(lua_State* tolua_S) #endif return 0; } - int lua_cocos2dx_Material_createWithProperties(lua_State* tolua_S) { int argc = 0; @@ -87891,6 +88714,42 @@ int lua_cocos2dx_Material_createWithProperties(lua_State* tolua_S) #endif return 0; } +int lua_cocos2dx_Material_createWithProgramState(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Material",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 1) + { + cocos2d::backend::ProgramState* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.ProgramState",&arg0, "cc.Material:createWithProgramState"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Material_createWithProgramState'", nullptr); + return 0; + } + cocos2d::Material* ret = cocos2d::Material::createWithProgramState(arg0); + object_to_luaval(tolua_S, "cc.Material",(cocos2d::Material*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Material:createWithProgramState",argc, 1); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Material_createWithProgramState'.",&tolua_err); +#endif + return 0; +} static int lua_cocos2dx_Material_finalize(lua_State* tolua_S) { printf("luabindings: finalizing LUA object (Material)"); @@ -87900,21 +88759,24 @@ static int lua_cocos2dx_Material_finalize(lua_State* tolua_S) int lua_register_cocos2dx_Material(lua_State* tolua_S) { tolua_usertype(tolua_S,"cc.Material"); - tolua_cclass(tolua_S,"Material","cc.Material","cc.RenderState",nullptr); + tolua_cclass(tolua_S,"Material","cc.Material","cc.Ref",nullptr); tolua_beginmodule(tolua_S,"Material"); tolua_function(tolua_S,"clone",lua_cocos2dx_Material_clone); - tolua_function(tolua_S,"getTechniqueCount",lua_cocos2dx_Material_getTechniqueCount); + tolua_function(tolua_S,"draw",lua_cocos2dx_Material_draw); + tolua_function(tolua_S,"getRenderState",lua_cocos2dx_Material_getRenderState); tolua_function(tolua_S,"setName",lua_cocos2dx_Material_setName); tolua_function(tolua_S,"getTechniqueByIndex",lua_cocos2dx_Material_getTechniqueByIndex); tolua_function(tolua_S,"getName",lua_cocos2dx_Material_getName); tolua_function(tolua_S,"getTechniques",lua_cocos2dx_Material_getTechniques); + tolua_function(tolua_S,"getTechniqueCount",lua_cocos2dx_Material_getTechniqueCount); tolua_function(tolua_S,"setTechnique",lua_cocos2dx_Material_setTechnique); tolua_function(tolua_S,"getTechniqueByName",lua_cocos2dx_Material_getTechniqueByName); tolua_function(tolua_S,"addTechnique",lua_cocos2dx_Material_addTechnique); tolua_function(tolua_S,"getTechnique",lua_cocos2dx_Material_getTechnique); tolua_function(tolua_S,"createWithFilename", lua_cocos2dx_Material_createWithFilename); tolua_function(tolua_S,"createWithProperties", lua_cocos2dx_Material_createWithProperties); + tolua_function(tolua_S,"createWithProgramState", lua_cocos2dx_Material_createWithProgramState); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::Material).name(); g_luaType[typeName] = "cc.Material"; @@ -87922,6 +88784,1342 @@ int lua_register_cocos2dx_Material(lua_State* tolua_S) return 1; } +int lua_cocos2dx_Pass_setUniformPointLightPosition(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformPointLightPosition'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformPointLightPosition"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformPointLightPosition'", nullptr); + return 0; + } + cobj->setUniformPointLightPosition(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformPointLightPosition",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformPointLightPosition'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformSpotLightInnerAngleCos(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformSpotLightInnerAngleCos'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformSpotLightInnerAngleCos"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformSpotLightInnerAngleCos'", nullptr); + return 0; + } + cobj->setUniformSpotLightInnerAngleCos(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformSpotLightInnerAngleCos",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformSpotLightInnerAngleCos'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setTechnique(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setTechnique'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Technique* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Technique",&arg0, "cc.Pass:setTechnique"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setTechnique'", nullptr); + return 0; + } + cobj->setTechnique(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setTechnique",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setTechnique'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_getVertexAttributeBinding(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_getVertexAttributeBinding'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_getVertexAttributeBinding'", nullptr); + return 0; + } + cocos2d::VertexAttribBinding* ret = cobj->getVertexAttributeBinding(); + object_to_luaval(tolua_S, "cc.VertexAttribBinding",(cocos2d::VertexAttribBinding*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:getVertexAttributeBinding",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_getVertexAttributeBinding'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformPointLightRangeInverse(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformPointLightRangeInverse'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformPointLightRangeInverse"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformPointLightRangeInverse'", nullptr); + return 0; + } + cobj->setUniformPointLightRangeInverse(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformPointLightRangeInverse",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformPointLightRangeInverse'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformSpotLightDir(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformSpotLightDir'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformSpotLightDir"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformSpotLightDir'", nullptr); + return 0; + } + cobj->setUniformSpotLightDir(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformSpotLightDir",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformSpotLightDir'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformMatrixPalette(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformMatrixPalette'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformMatrixPalette"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformMatrixPalette'", nullptr); + return 0; + } + cobj->setUniformMatrixPalette(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformMatrixPalette",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformMatrixPalette'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformSpotLightRangeInverse(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformSpotLightRangeInverse'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformSpotLightRangeInverse"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformSpotLightRangeInverse'", nullptr); + return 0; + } + cobj->setUniformSpotLightRangeInverse(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformSpotLightRangeInverse",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformSpotLightRangeInverse'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_draw(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_draw'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 7) + { + double arg0; + cocos2d::backend::Buffer* arg1; + cocos2d::backend::Buffer* arg2; + cocos2d::backend::PrimitiveType arg3; + cocos2d::backend::IndexFormat arg4; + unsigned int arg5; + cocos2d::Mat4 arg6; + + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Pass:draw"); + + ok &= luaval_to_object(tolua_S, 3, "cc.Buffer",&arg1, "cc.Pass:draw"); + + ok &= luaval_to_object(tolua_S, 4, "cc.Buffer",&arg2, "cc.Pass:draw"); + + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.Pass:draw"); + + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.Pass:draw"); + + ok &= luaval_to_uint32(tolua_S, 7,&arg5, "cc.Pass:draw"); + + ok &= luaval_to_mat4(tolua_S, 8, &arg6, "cc.Pass:draw"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_draw'", nullptr); + return 0; + } + cobj->draw(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:draw",argc, 7); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_draw'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_getVertexLayout(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_getVertexLayout'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_getVertexLayout'", nullptr); + return 0; + } + cocos2d::backend::VertexLayout* ret = cobj->getVertexLayout(); + object_to_luaval(tolua_S, "cc.VertexLayout",(cocos2d::backend::VertexLayout*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:getVertexLayout",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_getVertexLayout'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformNormTexture(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformNormTexture'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + unsigned int arg0; + cocos2d::backend::Texture* arg1; + + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Pass:setUniformNormTexture"); + + ok &= luaval_to_object(tolua_S, 3, "cc.Texture",&arg1, "cc.Pass:setUniformNormTexture"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformNormTexture'", nullptr); + return 0; + } + cobj->setUniformNormTexture(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformNormTexture",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformNormTexture'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_clone(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_clone'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_clone'", nullptr); + return 0; + } + cocos2d::Pass* ret = cobj->clone(); + object_to_luaval(tolua_S, "cc.Pass",(cocos2d::Pass*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:clone",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_clone'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformDirLightDir(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformDirLightDir'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformDirLightDir"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformDirLightDir'", nullptr); + return 0; + } + cobj->setUniformDirLightDir(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformDirLightDir",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformDirLightDir'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_getProgramState(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_getProgramState'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_getProgramState'", nullptr); + return 0; + } + cocos2d::backend::ProgramState* ret = cobj->getProgramState(); + object_to_luaval(tolua_S, "cc.ProgramState",(cocos2d::backend::ProgramState*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:getProgramState",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_getProgramState'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformSpotLightColor(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformSpotLightColor'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformSpotLightColor"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformSpotLightColor'", nullptr); + return 0; + } + cobj->setUniformSpotLightColor(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformSpotLightColor",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformSpotLightColor'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformAmbientLigthColor(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformAmbientLigthColor'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformAmbientLigthColor"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformAmbientLigthColor'", nullptr); + return 0; + } + cobj->setUniformAmbientLigthColor(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformAmbientLigthColor",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformAmbientLigthColor'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformDirLightColor(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformDirLightColor'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformDirLightColor"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformDirLightColor'", nullptr); + return 0; + } + cobj->setUniformDirLightColor(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformDirLightColor",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformDirLightColor'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformSpotLightPosition(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformSpotLightPosition'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformSpotLightPosition"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformSpotLightPosition'", nullptr); + return 0; + } + cobj->setUniformSpotLightPosition(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformSpotLightPosition",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformSpotLightPosition'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setVertexAttribBinding(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setVertexAttribBinding'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::VertexAttribBinding* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.VertexAttribBinding",&arg0, "cc.Pass:setVertexAttribBinding"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setVertexAttribBinding'", nullptr); + return 0; + } + cobj->setVertexAttribBinding(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setVertexAttribBinding",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setVertexAttribBinding'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformTexture(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformTexture'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + unsigned int arg0; + cocos2d::backend::Texture* arg1; + + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Pass:setUniformTexture"); + + ok &= luaval_to_object(tolua_S, 3, "cc.Texture",&arg1, "cc.Pass:setUniformTexture"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformTexture'", nullptr); + return 0; + } + cobj->setUniformTexture(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformTexture",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformTexture'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformSpotLightOuterAngleCos(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformSpotLightOuterAngleCos'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformSpotLightOuterAngleCos"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformSpotLightOuterAngleCos'", nullptr); + return 0; + } + cobj->setUniformSpotLightOuterAngleCos(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformSpotLightOuterAngleCos",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformSpotLightOuterAngleCos'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformColor(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformColor'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformColor"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformColor'", nullptr); + return 0; + } + cobj->setUniformColor(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformColor",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformColor'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_setUniformPointLightColor(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::Pass* 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.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::Pass*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Pass_setUniformPointLightColor'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const void* arg0; + unsigned int arg1; + + #pragma warning NO CONVERSION TO NATIVE FOR void* + ok = false; + + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Pass:setUniformPointLightColor"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_setUniformPointLightColor'", nullptr); + return 0; + } + cobj->setUniformPointLightColor(arg0, arg1); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Pass:setUniformPointLightColor",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_setUniformPointLightColor'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_Pass_createWithProgramState(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 2) + { + cocos2d::Technique* arg0; + cocos2d::backend::ProgramState* arg1; + ok &= luaval_to_object(tolua_S, 2, "cc.Technique",&arg0, "cc.Pass:createWithProgramState"); + ok &= luaval_to_object(tolua_S, 3, "cc.ProgramState",&arg1, "cc.Pass:createWithProgramState"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_createWithProgramState'", nullptr); + return 0; + } + cocos2d::Pass* ret = cocos2d::Pass::createWithProgramState(arg0, arg1); + object_to_luaval(tolua_S, "cc.Pass",(cocos2d::Pass*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Pass:createWithProgramState",argc, 2); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_createWithProgramState'.",&tolua_err); +#endif + return 0; +} +int lua_cocos2dx_Pass_create(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.Pass",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 1) + { + cocos2d::Technique* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.Technique",&arg0, "cc.Pass:create"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Pass_create'", nullptr); + return 0; + } + cocos2d::Pass* ret = cocos2d::Pass::create(arg0); + object_to_luaval(tolua_S, "cc.Pass",(cocos2d::Pass*)ret); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Pass:create",argc, 1); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Pass_create'.",&tolua_err); +#endif + return 0; +} +static int lua_cocos2dx_Pass_finalize(lua_State* tolua_S) +{ + printf("luabindings: finalizing LUA object (Pass)"); + return 0; +} + +int lua_register_cocos2dx_Pass(lua_State* tolua_S) +{ + tolua_usertype(tolua_S,"cc.Pass"); + tolua_cclass(tolua_S,"Pass","cc.Pass","cc.Ref",nullptr); + + tolua_beginmodule(tolua_S,"Pass"); + tolua_function(tolua_S,"setUniformPointLightPosition",lua_cocos2dx_Pass_setUniformPointLightPosition); + tolua_function(tolua_S,"setUniformSpotLightInnerAngleCos",lua_cocos2dx_Pass_setUniformSpotLightInnerAngleCos); + tolua_function(tolua_S,"setTechnique",lua_cocos2dx_Pass_setTechnique); + tolua_function(tolua_S,"getVertexAttributeBinding",lua_cocos2dx_Pass_getVertexAttributeBinding); + tolua_function(tolua_S,"setUniformPointLightRangeInverse",lua_cocos2dx_Pass_setUniformPointLightRangeInverse); + tolua_function(tolua_S,"setUniformSpotLightDir",lua_cocos2dx_Pass_setUniformSpotLightDir); + tolua_function(tolua_S,"setUniformMatrixPalette",lua_cocos2dx_Pass_setUniformMatrixPalette); + tolua_function(tolua_S,"setUniformSpotLightRangeInverse",lua_cocos2dx_Pass_setUniformSpotLightRangeInverse); + tolua_function(tolua_S,"draw",lua_cocos2dx_Pass_draw); + tolua_function(tolua_S,"getVertexLayout",lua_cocos2dx_Pass_getVertexLayout); + tolua_function(tolua_S,"setUniformNormTexture",lua_cocos2dx_Pass_setUniformNormTexture); + tolua_function(tolua_S,"clone",lua_cocos2dx_Pass_clone); + tolua_function(tolua_S,"setUniformDirLightDir",lua_cocos2dx_Pass_setUniformDirLightDir); + tolua_function(tolua_S,"getProgramState",lua_cocos2dx_Pass_getProgramState); + tolua_function(tolua_S,"setUniformSpotLightColor",lua_cocos2dx_Pass_setUniformSpotLightColor); + tolua_function(tolua_S,"setUniformAmbientLigthColor",lua_cocos2dx_Pass_setUniformAmbientLigthColor); + tolua_function(tolua_S,"setUniformDirLightColor",lua_cocos2dx_Pass_setUniformDirLightColor); + tolua_function(tolua_S,"setUniformSpotLightPosition",lua_cocos2dx_Pass_setUniformSpotLightPosition); + tolua_function(tolua_S,"setVertexAttribBinding",lua_cocos2dx_Pass_setVertexAttribBinding); + tolua_function(tolua_S,"setUniformTexture",lua_cocos2dx_Pass_setUniformTexture); + tolua_function(tolua_S,"setUniformSpotLightOuterAngleCos",lua_cocos2dx_Pass_setUniformSpotLightOuterAngleCos); + tolua_function(tolua_S,"setUniformColor",lua_cocos2dx_Pass_setUniformColor); + tolua_function(tolua_S,"setUniformPointLightColor",lua_cocos2dx_Pass_setUniformPointLightColor); + tolua_function(tolua_S,"createWithProgramState", lua_cocos2dx_Pass_createWithProgramState); + tolua_function(tolua_S,"create", lua_cocos2dx_Pass_create); + tolua_endmodule(tolua_S); + std::string typeName = typeid(cocos2d::Pass).name(); + g_luaType[typeName] = "cc.Pass"; + g_typeCast["Pass"] = "cc.Pass"; + return 1; +} + int lua_cocos2dx_TextureCache_reloadTexture(lua_State* tolua_S) { int argc = 0; @@ -89204,36 +91402,42 @@ int lua_cocos2dx_Application_setAnimationInterval(lua_State* tolua_S) int argc = 0; cocos2d::Application* 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.Application",0,&tolua_err)) goto tolua_lerror; #endif + cobj = (cocos2d::Application*)tolua_tousertype(tolua_S,1,0); + #if COCOS2D_DEBUG >= 1 - if (!cobj) + if (!cobj) { tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Application_setAnimationInterval'", nullptr); return 0; } #endif - argc = lua_gettop(tolua_S)-1; - ok = true; - do{ - if (argc == 1) { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Application:setAnimationInterval"); - if (!ok) { break; } - cobj->setAnimationInterval(arg0); - lua_settop(tolua_S, 1); - return 1; + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + double arg0; + + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Application:setAnimationInterval"); + if(!ok) + { + tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Application_setAnimationInterval'", nullptr); + return 0; } - }while(0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Application:setAnimationInterval",argc, 1); + cobj->setAnimationInterval(arg0); + lua_settop(tolua_S, 1); + return 1; + } + luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Application:setAnimationInterval",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -98454,7 +100658,6 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) tolua_beginmodule(tolua_S,"cc"); lua_register_cocos2dx_Ref(tolua_S); - lua_register_cocos2dx_RenderState(tolua_S); lua_register_cocos2dx_Material(tolua_S); lua_register_cocos2dx_Console(tolua_S); lua_register_cocos2dx_Node(tolua_S); @@ -98485,13 +100688,13 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_JumpBy(tolua_S); lua_register_cocos2dx_EventListener(tolua_S); lua_register_cocos2dx_EventListenerKeyboard(tolua_S); - lua_register_cocos2dx_EventListenerMouse(tolua_S); + lua_register_cocos2dx_ActionEase(tolua_S); + lua_register_cocos2dx_EaseBounceIn(tolua_S); lua_register_cocos2dx_TransitionRotoZoom(tolua_S); lua_register_cocos2dx_Event(tolua_S); lua_register_cocos2dx_EventController(tolua_S); lua_register_cocos2dx_Director(tolua_S); lua_register_cocos2dx_Scheduler(tolua_S); - lua_register_cocos2dx_ActionEase(tolua_S); lua_register_cocos2dx_EaseElastic(tolua_S); lua_register_cocos2dx_EaseElasticOut(tolua_S); lua_register_cocos2dx_EaseQuadraticActionInOut(tolua_S); @@ -98522,7 +100725,6 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_FadeTo(tolua_S); lua_register_cocos2dx_FadeIn(tolua_S); lua_register_cocos2dx_DirectionLight(tolua_S); - lua_register_cocos2dx_ShakyTiles3D(tolua_S); lua_register_cocos2dx_EventListenerCustom(tolua_S); lua_register_cocos2dx_FlipX3D(tolua_S); lua_register_cocos2dx_FlipY3D(tolua_S); @@ -98570,7 +100772,6 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_TransitionFadeDown(tolua_S); lua_register_cocos2dx_ParticleSun(tolua_S); lua_register_cocos2dx_TransitionProgressHorizontal(tolua_S); - lua_register_cocos2dx_TMXObjectGroup(tolua_S); lua_register_cocos2dx_ParticleFire(tolua_S); lua_register_cocos2dx_FlipX(tolua_S); lua_register_cocos2dx_FlipY(tolua_S); @@ -98580,6 +100781,7 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_RepeatForever(tolua_S); lua_register_cocos2dx_Place(tolua_S); lua_register_cocos2dx_EventListenerAcceleration(tolua_S); + lua_register_cocos2dx_TiledGrid3D(tolua_S); lua_register_cocos2dx_EaseBounceOut(tolua_S); lua_register_cocos2dx_RenderTexture(tolua_S); lua_register_cocos2dx_TintBy(tolua_S); @@ -98601,8 +100803,9 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_NodeGrid(tolua_S); lua_register_cocos2dx_TMXLayerInfo(tolua_S); lua_register_cocos2dx_EaseSineIn(tolua_S); - lua_register_cocos2dx_EaseBounceIn(tolua_S); + lua_register_cocos2dx_EventListenerMouse(tolua_S); lua_register_cocos2dx_Camera(tolua_S); + lua_register_cocos2dx_TMXObjectGroup(tolua_S); lua_register_cocos2dx_ParticleGalaxy(tolua_S); lua_register_cocos2dx_Twirl(tolua_S); lua_register_cocos2dx_MenuItemLabel(tolua_S); @@ -98628,6 +100831,7 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_TransitionProgressRadialCCW(tolua_S); lua_register_cocos2dx_ScaleTo(tolua_S); lua_register_cocos2dx_TransitionPageTurn(tolua_S); + lua_register_cocos2dx_RenderState(tolua_S); lua_register_cocos2dx_Properties(tolua_S); lua_register_cocos2dx_BezierBy(tolua_S); lua_register_cocos2dx_BezierTo(tolua_S); @@ -98647,6 +100851,7 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_EventListenerFocus(tolua_S); lua_register_cocos2dx_Spawn(tolua_S); lua_register_cocos2dx_EaseQuarticActionInOut(tolua_S); + lua_register_cocos2dx_ShakyTiles3D(tolua_S); lua_register_cocos2dx_PageTurn3D(tolua_S); lua_register_cocos2dx_PolygonInfo(tolua_S); lua_register_cocos2dx_TransitionSlideInL(tolua_S); @@ -98678,7 +100883,6 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_MenuItemAtlasFont(tolua_S); lua_register_cocos2dx_ActionManager(tolua_S); lua_register_cocos2dx_OrbitCamera(tolua_S); - lua_register_cocos2dx_ParallaxNode(tolua_S); lua_register_cocos2dx_ClippingRectangleNode(tolua_S); lua_register_cocos2dx_EventCustom(tolua_S); lua_register_cocos2dx_ParticleBatchNode(tolua_S); @@ -98712,6 +100916,7 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_EaseBounceInOut(tolua_S); lua_register_cocos2dx_TransitionSlideInR(tolua_S); lua_register_cocos2dx_AmbientLight(tolua_S); + lua_register_cocos2dx_ParallaxNode(tolua_S); lua_register_cocos2dx_EaseQuadraticActionIn(tolua_S); lua_register_cocos2dx_WavesTiles3D(tolua_S); lua_register_cocos2dx_TransitionSlideInB(tolua_S); diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp index e0fe55df47..3355f399b7 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp @@ -2202,79 +2202,6 @@ int register_all_cocos2dx(lua_State* tolua_S); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_webview_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_webview_auto.cpp index 5cae61af06..ea4c314ff5 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_webview_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_webview_auto.cpp @@ -1,6 +1,6 @@ #include "scripting/lua-bindings/auto/lua_cocos2dx_experimental_webview_auto.hpp" #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) && !defined(CC_TARGET_OS_TVOS) -#include "ui/UIWebView.h" +#include "ui/UIWebView/UIWebView.h" #include "scripting/lua-bindings/manual/tolua_fix.h" #include "scripting/lua-bindings/manual/LuaBasicConversions.h" diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics3d_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics3d_auto.cpp index 37b85bef6d..6ebf3646d8 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics3d_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics3d_auto.cpp @@ -3,12360 +3,6 @@ #include "physics3d/CCPhysics3D.h" #include "scripting/lua-bindings/manual/tolua_fix.h" #include "scripting/lua-bindings/manual/LuaBasicConversions.h" - -int lua_cocos2dx_physics3d_Physics3DShape_getbtShape(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DShape* 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.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DShape_getbtShape'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_getbtShape'", nullptr); - return 0; - } - btCollisionShape* ret = cobj->getbtShape(); - object_to_luaval(tolua_S, "btCollisionShape",(btCollisionShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DShape:getbtShape",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_getbtShape'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_initSphere(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DShape* 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.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DShape_initSphere'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DShape:initSphere"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_initSphere'", nullptr); - return 0; - } - bool ret = cobj->initSphere(arg0); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DShape:initSphere",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_initSphere'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_initBox(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DShape* 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.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DShape_initBox'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DShape:initBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_initBox'", nullptr); - return 0; - } - bool ret = cobj->initBox(arg0); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DShape:initBox",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_initBox'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_initCapsule(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DShape* 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.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DShape_initCapsule'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - double arg0; - double arg1; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DShape:initCapsule"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DShape:initCapsule"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_initCapsule'", nullptr); - return 0; - } - bool ret = cobj->initCapsule(arg0, arg1); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DShape:initCapsule",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_initCapsule'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_initCylinder(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DShape* 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.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DShape_initCylinder'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - double arg0; - double arg1; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DShape:initCylinder"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DShape:initCylinder"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_initCylinder'", nullptr); - return 0; - } - bool ret = cobj->initCylinder(arg0, arg1); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DShape:initCylinder",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_initCylinder'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_getShapeType(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DShape* 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.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DShape_getShapeType'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_getShapeType'", nullptr); - return 0; - } - int ret = (int)cobj->getShapeType(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DShape:getShapeType",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_getShapeType'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_createBox(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - cocos2d::Vec3 arg0; - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DShape:createBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_createBox'", nullptr); - return 0; - } - cocos2d::Physics3DShape* ret = cocos2d::Physics3DShape::createBox(arg0); - object_to_luaval(tolua_S, "cc.Physics3DShape",(cocos2d::Physics3DShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Physics3DShape:createBox",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_createBox'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_createCylinder(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - double arg0; - double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DShape:createCylinder"); - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DShape:createCylinder"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_createCylinder'", nullptr); - return 0; - } - cocos2d::Physics3DShape* ret = cocos2d::Physics3DShape::createCylinder(arg0, arg1); - object_to_luaval(tolua_S, "cc.Physics3DShape",(cocos2d::Physics3DShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Physics3DShape:createCylinder",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_createCylinder'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_createConvexHull(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - const cocos2d::Vec3* arg0; - int arg1; - ok &= luaval_to_object(tolua_S, 2, "cc.Vec3",&arg0, "cc.Physics3DShape:createConvexHull"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Physics3DShape:createConvexHull"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_createConvexHull'", nullptr); - return 0; - } - cocos2d::Physics3DShape* ret = cocos2d::Physics3DShape::createConvexHull(arg0, arg1); - object_to_luaval(tolua_S, "cc.Physics3DShape",(cocos2d::Physics3DShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Physics3DShape:createConvexHull",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_createConvexHull'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_createCapsule(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - double arg0; - double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DShape:createCapsule"); - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DShape:createCapsule"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_createCapsule'", nullptr); - return 0; - } - cocos2d::Physics3DShape* ret = cocos2d::Physics3DShape::createCapsule(arg0, arg1); - object_to_luaval(tolua_S, "cc.Physics3DShape",(cocos2d::Physics3DShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Physics3DShape:createCapsule",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_createCapsule'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_createSphere(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DShape",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DShape:createSphere"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_createSphere'", nullptr); - return 0; - } - cocos2d::Physics3DShape* ret = cocos2d::Physics3DShape::createSphere(arg0); - object_to_luaval(tolua_S, "cc.Physics3DShape",(cocos2d::Physics3DShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Physics3DShape:createSphere",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_createSphere'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DShape_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DShape* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DShape_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3DShape(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3DShape"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DShape:Physics3DShape",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DShape_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3DShape_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DShape)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DShape(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DShape"); - tolua_cclass(tolua_S,"Physics3DShape","cc.Physics3DShape","cc.Ref",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DShape"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3DShape_constructor); - tolua_function(tolua_S,"getbtShape",lua_cocos2dx_physics3d_Physics3DShape_getbtShape); - tolua_function(tolua_S,"initSphere",lua_cocos2dx_physics3d_Physics3DShape_initSphere); - tolua_function(tolua_S,"initBox",lua_cocos2dx_physics3d_Physics3DShape_initBox); - tolua_function(tolua_S,"initCapsule",lua_cocos2dx_physics3d_Physics3DShape_initCapsule); - tolua_function(tolua_S,"initCylinder",lua_cocos2dx_physics3d_Physics3DShape_initCylinder); - tolua_function(tolua_S,"getShapeType",lua_cocos2dx_physics3d_Physics3DShape_getShapeType); - tolua_function(tolua_S,"createBox", lua_cocos2dx_physics3d_Physics3DShape_createBox); - tolua_function(tolua_S,"createCylinder", lua_cocos2dx_physics3d_Physics3DShape_createCylinder); - tolua_function(tolua_S,"createConvexHull", lua_cocos2dx_physics3d_Physics3DShape_createConvexHull); - tolua_function(tolua_S,"createCapsule", lua_cocos2dx_physics3d_Physics3DShape_createCapsule); - tolua_function(tolua_S,"createSphere", lua_cocos2dx_physics3d_Physics3DShape_createSphere); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DShape).name(); - g_luaType[typeName] = "cc.Physics3DShape"; - g_typeCast["Physics3DShape"] = "cc.Physics3DShape"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DObject_setUserData(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_setUserData'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - void* arg0; - - #pragma warning NO CONVERSION TO NATIVE FOR void* - ok = false; - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_setUserData'", nullptr); - return 0; - } - cobj->setUserData(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:setUserData",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_setUserData'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_getUserData(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_getUserData'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_getUserData'", nullptr); - return 0; - } - void* ret = cobj->getUserData(); - #pragma warning NO CONVERSION FROM NATIVE FOR void*; - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:getUserData",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_getUserData'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_getObjType(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_getObjType'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_getObjType'", nullptr); - return 0; - } - int ret = (int)cobj->getObjType(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:getObjType",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_getObjType'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_setPhysicsWorld(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_setPhysicsWorld'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DWorld* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DWorld",&arg0, "cc.Physics3DObject:setPhysicsWorld"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_setPhysicsWorld'", nullptr); - return 0; - } - cobj->setPhysicsWorld(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:setPhysicsWorld",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_setPhysicsWorld'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_getWorldTransform(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_getWorldTransform'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_getWorldTransform'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getWorldTransform(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:getWorldTransform",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_getWorldTransform'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_getPhysicsWorld(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_getPhysicsWorld'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_getPhysicsWorld'", nullptr); - return 0; - } - cocos2d::Physics3DWorld* ret = cobj->getPhysicsWorld(); - object_to_luaval(tolua_S, "cc.Physics3DWorld",(cocos2d::Physics3DWorld*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:getPhysicsWorld",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_getPhysicsWorld'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_setMask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_setMask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - unsigned int arg0; - - ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Physics3DObject:setMask"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_setMask'", nullptr); - return 0; - } - cobj->setMask(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:setMask",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_setMask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_getCollisionCallback(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_getCollisionCallback'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_getCollisionCallback'", nullptr); - return 0; - } - const std::function& ret = cobj->getCollisionCallback(); - #pragma warning NO CONVERSION FROM NATIVE FOR std::function; - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:getCollisionCallback",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_getCollisionCallback'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_getMask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_getMask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_getMask'", nullptr); - return 0; - } - unsigned int ret = cobj->getMask(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:getMask",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_getMask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DObject_needCollisionCallback(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DObject* 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.Physics3DObject",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DObject*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DObject_needCollisionCallback'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DObject_needCollisionCallback'", nullptr); - return 0; - } - bool ret = cobj->needCollisionCallback(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DObject:needCollisionCallback",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DObject_needCollisionCallback'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics3d_Physics3DObject_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DObject)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DObject(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DObject"); - tolua_cclass(tolua_S,"Physics3DObject","cc.Physics3DObject","cc.Ref",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DObject"); - tolua_function(tolua_S,"setUserData",lua_cocos2dx_physics3d_Physics3DObject_setUserData); - tolua_function(tolua_S,"getUserData",lua_cocos2dx_physics3d_Physics3DObject_getUserData); - tolua_function(tolua_S,"getObjType",lua_cocos2dx_physics3d_Physics3DObject_getObjType); - tolua_function(tolua_S,"setPhysicsWorld",lua_cocos2dx_physics3d_Physics3DObject_setPhysicsWorld); - tolua_function(tolua_S,"getWorldTransform",lua_cocos2dx_physics3d_Physics3DObject_getWorldTransform); - tolua_function(tolua_S,"getPhysicsWorld",lua_cocos2dx_physics3d_Physics3DObject_getPhysicsWorld); - tolua_function(tolua_S,"setMask",lua_cocos2dx_physics3d_Physics3DObject_setMask); - tolua_function(tolua_S,"getCollisionCallback",lua_cocos2dx_physics3d_Physics3DObject_getCollisionCallback); - tolua_function(tolua_S,"getMask",lua_cocos2dx_physics3d_Physics3DObject_getMask); - tolua_function(tolua_S,"needCollisionCallback",lua_cocos2dx_physics3d_Physics3DObject_needCollisionCallback); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DObject).name(); - g_luaType[typeName] = "cc.Physics3DObject"; - g_typeCast["Physics3DObject"] = "cc.Physics3DObject"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DRigidBody_setGravity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setGravity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:setGravity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setGravity'", nullptr); - return 0; - } - cobj->setGravity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setGravity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setGravity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getFriction'", nullptr); - return 0; - } - double ret = cobj->getFriction(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getFriction",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularFactor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularFactor'", nullptr); - return 0; - } -#endif - argc = lua_gettop(tolua_S)-1; - do{ - if (argc == 1) { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setAngularFactor"); - - if (!ok) { break; } - cobj->setAngularFactor(arg0); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 1) { - cocos2d::Vec3 arg0; - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:setAngularFactor"); - - if (!ok) { break; } - cobj->setAngularFactor(arg0); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setAngularFactor",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularFactor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_addConstraint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_addConstraint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DConstraint* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DConstraint",&arg0, "cc.Physics3DRigidBody:addConstraint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_addConstraint'", nullptr); - return 0; - } - cobj->addConstraint(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:addConstraint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_addConstraint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getRigidBody(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRigidBody'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRigidBody'", nullptr); - return 0; - } - btRigidBody* ret = cobj->getRigidBody(); - object_to_luaval(tolua_S, "btRigidBody",(btRigidBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getRigidBody",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRigidBody'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalForce'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getTotalForce(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getTotalForce",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraintCount(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraintCount'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraintCount'", nullptr); - return 0; - } - unsigned int ret = cobj->getConstraintCount(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getConstraintCount",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraintCount'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:applyCentralForce"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralForce'", nullptr); - return 0; - } - cobj->applyCentralForce(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:applyCentralForce",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setMassProps(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setMassProps'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - double arg0; - cocos2d::Vec3 arg1; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setMassProps"); - - ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.Physics3DRigidBody:setMassProps"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setMassProps'", nullptr); - return 0; - } - cobj->setMassProps(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setMassProps",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setMassProps'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setFriction"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setFriction'", nullptr); - return 0; - } - cobj->setFriction(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setFriction",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setKinematic(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setKinematic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setKinematic"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setKinematic'", nullptr); - return 0; - } - cobj->setKinematic(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setKinematic",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setKinematic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - double arg0; - double arg1; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setDamping"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DRigidBody:setDamping"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setDamping'", nullptr); - return 0; - } - cobj->setDamping(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setDamping",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_applyImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::Vec3 arg0; - cocos2d::Vec3 arg1; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:applyImpulse"); - - ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.Physics3DRigidBody:applyImpulse"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyImpulse'", nullptr); - return 0; - } - cobj->applyImpulse(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:applyImpulse",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_isKinematic(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_isKinematic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_isKinematic'", nullptr); - return 0; - } - bool ret = cobj->isKinematic(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:isKinematic",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_isKinematic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorque(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorque'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:applyTorque"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorque'", nullptr); - return 0; - } - cobj->applyTorque(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:applyTorque",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorque'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdMotionThreshold(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdMotionThreshold'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setCcdMotionThreshold"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdMotionThreshold'", nullptr); - return 0; - } - cobj->setCcdMotionThreshold(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setCcdMotionThreshold",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdMotionThreshold'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setRollingFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setRollingFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setRollingFriction"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setRollingFriction'", nullptr); - return 0; - } - cobj->setRollingFriction(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setRollingFriction",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setRollingFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdMotionThreshold(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdMotionThreshold'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdMotionThreshold'", nullptr); - return 0; - } - double ret = cobj->getCcdMotionThreshold(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getCcdMotionThreshold",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdMotionThreshold'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearFactor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearFactor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearFactor'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getLinearFactor(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getLinearFactor",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearFactor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_applyDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:applyDamping"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyDamping'", nullptr); - return 0; - } - cobj->applyDamping(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:applyDamping",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularVelocity'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getAngularVelocity(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getAngularVelocity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_init(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_init'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DRigidBodyDes* arg0; - - #pragma warning NO CONVERSION TO NATIVE FOR Physics3DRigidBodyDes* - ok = false; - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_init'", nullptr); - return 0; - } - bool ret = cobj->init(arg0); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:init",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_init'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorqueImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorqueImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:applyTorqueImpulse"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorqueImpulse'", nullptr); - return 0; - } - cobj->applyTorqueImpulse(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:applyTorqueImpulse",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorqueImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setActive(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setActive'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setActive"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setActive'", nullptr); - return 0; - } - cobj->setActive(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setActive",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setActive'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearFactor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearFactor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:setLinearFactor"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearFactor'", nullptr); - return 0; - } - cobj->setLinearFactor(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setLinearFactor",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearFactor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:setLinearVelocity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearVelocity'", nullptr); - return 0; - } - cobj->setLinearVelocity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setLinearVelocity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearVelocity'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getLinearVelocity(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getLinearVelocity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdSweptSphereRadius(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdSweptSphereRadius'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setCcdSweptSphereRadius"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdSweptSphereRadius'", nullptr); - return 0; - } - cobj->setCcdSweptSphereRadius(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setCcdSweptSphereRadius",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdSweptSphereRadius'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_applyForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::Vec3 arg0; - cocos2d::Vec3 arg1; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:applyForce"); - - ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.Physics3DRigidBody:applyForce"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyForce'", nullptr); - return 0; - } - cobj->applyForce(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:applyForce",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:setAngularVelocity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularVelocity'", nullptr); - return 0; - } - cobj->setAngularVelocity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setAngularVelocity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:applyCentralImpulse"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralImpulse'", nullptr); - return 0; - } - cobj->applyCentralImpulse(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:applyCentralImpulse",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getGravity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getGravity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getGravity'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getGravity(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getGravity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getGravity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getRollingFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRollingFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRollingFriction'", nullptr); - return 0; - } - double ret = cobj->getRollingFriction(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getRollingFriction",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRollingFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setCenterOfMassTransform(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCenterOfMassTransform'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Mat4 arg0; - - ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:setCenterOfMassTransform"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCenterOfMassTransform'", nullptr); - return 0; - } - cobj->setCenterOfMassTransform(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setCenterOfMassTransform",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setCenterOfMassTransform'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setInvInertiaDiagLocal(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setInvInertiaDiagLocal'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DRigidBody:setInvInertiaDiagLocal"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setInvInertiaDiagLocal'", nullptr); - return 0; - } - cobj->setInvInertiaDiagLocal(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setInvInertiaDiagLocal",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setInvInertiaDiagLocal'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_removeConstraint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_removeConstraint'", nullptr); - return 0; - } -#endif - argc = lua_gettop(tolua_S)-1; - do{ - if (argc == 1) { - unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:removeConstraint"); - - if (!ok) { break; } - cobj->removeConstraint(arg0); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 1) { - cocos2d::Physics3DConstraint* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DConstraint",&arg0, "cc.Physics3DRigidBody:removeConstraint"); - - if (!ok) { break; } - cobj->removeConstraint(arg0); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:removeConstraint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_removeConstraint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalTorque(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalTorque'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalTorque'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getTotalTorque(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getTotalTorque",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalTorque'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getInvMass(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getInvMass'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getInvMass'", nullptr); - return 0; - } - double ret = cobj->getInvMass(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getInvMass",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getInvMass'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - unsigned int arg0; - - ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:getConstraint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraint'", nullptr); - return 0; - } - cocos2d::Physics3DConstraint* ret = cobj->getConstraint(arg0); - object_to_luaval(tolua_S, "cc.Physics3DConstraint",(cocos2d::Physics3DConstraint*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getConstraint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getRestitution(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRestitution'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRestitution'", nullptr); - return 0; - } - double ret = cobj->getRestitution(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getRestitution",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getRestitution'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdSweptSphereRadius(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdSweptSphereRadius'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdSweptSphereRadius'", nullptr); - return 0; - } - double ret = cobj->getCcdSweptSphereRadius(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getCcdSweptSphereRadius",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdSweptSphereRadius'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getHitFraction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getHitFraction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getHitFraction'", nullptr); - return 0; - } - double ret = cobj->getHitFraction(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getHitFraction",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getHitFraction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularDamping'", nullptr); - return 0; - } - double ret = cobj->getAngularDamping(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getAngularDamping",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getInvInertiaDiagLocal(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getInvInertiaDiagLocal'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getInvInertiaDiagLocal'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getInvInertiaDiagLocal(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getInvInertiaDiagLocal",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getInvInertiaDiagLocal'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getCenterOfMassTransform(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCenterOfMassTransform'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCenterOfMassTransform'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getCenterOfMassTransform(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getCenterOfMassTransform",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getCenterOfMassTransform'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularFactor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularFactor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularFactor'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getAngularFactor(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getAngularFactor",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularFactor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setRestitution(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setRestitution'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setRestitution"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setRestitution'", nullptr); - return 0; - } - cobj->setRestitution(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setRestitution",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setRestitution'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_setHitFraction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setHitFraction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DRigidBody:setHitFraction"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setHitFraction'", nullptr); - return 0; - } - cobj->setHitFraction(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:setHitFraction",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_setHitFraction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* 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.Physics3DRigidBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DRigidBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearDamping'", nullptr); - return 0; - } - double ret = cobj->getLinearDamping(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:getLinearDamping",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DRigidBody_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DRigidBody* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3DRigidBody(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3DRigidBody"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DRigidBody:Physics3DRigidBody",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DRigidBody_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3DRigidBody_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DRigidBody)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DRigidBody(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DRigidBody"); - tolua_cclass(tolua_S,"Physics3DRigidBody","cc.Physics3DRigidBody","cc.Physics3DObject",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DRigidBody"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3DRigidBody_constructor); - tolua_function(tolua_S,"setGravity",lua_cocos2dx_physics3d_Physics3DRigidBody_setGravity); - tolua_function(tolua_S,"getFriction",lua_cocos2dx_physics3d_Physics3DRigidBody_getFriction); - tolua_function(tolua_S,"setAngularFactor",lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularFactor); - tolua_function(tolua_S,"addConstraint",lua_cocos2dx_physics3d_Physics3DRigidBody_addConstraint); - tolua_function(tolua_S,"getRigidBody",lua_cocos2dx_physics3d_Physics3DRigidBody_getRigidBody); - tolua_function(tolua_S,"getTotalForce",lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalForce); - tolua_function(tolua_S,"getConstraintCount",lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraintCount); - tolua_function(tolua_S,"applyCentralForce",lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralForce); - tolua_function(tolua_S,"setMassProps",lua_cocos2dx_physics3d_Physics3DRigidBody_setMassProps); - tolua_function(tolua_S,"setFriction",lua_cocos2dx_physics3d_Physics3DRigidBody_setFriction); - tolua_function(tolua_S,"setKinematic",lua_cocos2dx_physics3d_Physics3DRigidBody_setKinematic); - tolua_function(tolua_S,"setDamping",lua_cocos2dx_physics3d_Physics3DRigidBody_setDamping); - tolua_function(tolua_S,"applyImpulse",lua_cocos2dx_physics3d_Physics3DRigidBody_applyImpulse); - tolua_function(tolua_S,"isKinematic",lua_cocos2dx_physics3d_Physics3DRigidBody_isKinematic); - tolua_function(tolua_S,"applyTorque",lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorque); - tolua_function(tolua_S,"setCcdMotionThreshold",lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdMotionThreshold); - tolua_function(tolua_S,"setRollingFriction",lua_cocos2dx_physics3d_Physics3DRigidBody_setRollingFriction); - tolua_function(tolua_S,"getCcdMotionThreshold",lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdMotionThreshold); - tolua_function(tolua_S,"getLinearFactor",lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearFactor); - tolua_function(tolua_S,"applyDamping",lua_cocos2dx_physics3d_Physics3DRigidBody_applyDamping); - tolua_function(tolua_S,"getAngularVelocity",lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularVelocity); - tolua_function(tolua_S,"init",lua_cocos2dx_physics3d_Physics3DRigidBody_init); - tolua_function(tolua_S,"applyTorqueImpulse",lua_cocos2dx_physics3d_Physics3DRigidBody_applyTorqueImpulse); - tolua_function(tolua_S,"setActive",lua_cocos2dx_physics3d_Physics3DRigidBody_setActive); - tolua_function(tolua_S,"setLinearFactor",lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearFactor); - tolua_function(tolua_S,"setLinearVelocity",lua_cocos2dx_physics3d_Physics3DRigidBody_setLinearVelocity); - tolua_function(tolua_S,"getLinearVelocity",lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearVelocity); - tolua_function(tolua_S,"setCcdSweptSphereRadius",lua_cocos2dx_physics3d_Physics3DRigidBody_setCcdSweptSphereRadius); - tolua_function(tolua_S,"applyForce",lua_cocos2dx_physics3d_Physics3DRigidBody_applyForce); - tolua_function(tolua_S,"setAngularVelocity",lua_cocos2dx_physics3d_Physics3DRigidBody_setAngularVelocity); - tolua_function(tolua_S,"applyCentralImpulse",lua_cocos2dx_physics3d_Physics3DRigidBody_applyCentralImpulse); - tolua_function(tolua_S,"getGravity",lua_cocos2dx_physics3d_Physics3DRigidBody_getGravity); - tolua_function(tolua_S,"getRollingFriction",lua_cocos2dx_physics3d_Physics3DRigidBody_getRollingFriction); - tolua_function(tolua_S,"setCenterOfMassTransform",lua_cocos2dx_physics3d_Physics3DRigidBody_setCenterOfMassTransform); - tolua_function(tolua_S,"setInvInertiaDiagLocal",lua_cocos2dx_physics3d_Physics3DRigidBody_setInvInertiaDiagLocal); - tolua_function(tolua_S,"removeConstraint",lua_cocos2dx_physics3d_Physics3DRigidBody_removeConstraint); - tolua_function(tolua_S,"getTotalTorque",lua_cocos2dx_physics3d_Physics3DRigidBody_getTotalTorque); - tolua_function(tolua_S,"getInvMass",lua_cocos2dx_physics3d_Physics3DRigidBody_getInvMass); - tolua_function(tolua_S,"getConstraint",lua_cocos2dx_physics3d_Physics3DRigidBody_getConstraint); - tolua_function(tolua_S,"getRestitution",lua_cocos2dx_physics3d_Physics3DRigidBody_getRestitution); - tolua_function(tolua_S,"getCcdSweptSphereRadius",lua_cocos2dx_physics3d_Physics3DRigidBody_getCcdSweptSphereRadius); - tolua_function(tolua_S,"getHitFraction",lua_cocos2dx_physics3d_Physics3DRigidBody_getHitFraction); - tolua_function(tolua_S,"getAngularDamping",lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularDamping); - tolua_function(tolua_S,"getInvInertiaDiagLocal",lua_cocos2dx_physics3d_Physics3DRigidBody_getInvInertiaDiagLocal); - tolua_function(tolua_S,"getCenterOfMassTransform",lua_cocos2dx_physics3d_Physics3DRigidBody_getCenterOfMassTransform); - tolua_function(tolua_S,"getAngularFactor",lua_cocos2dx_physics3d_Physics3DRigidBody_getAngularFactor); - tolua_function(tolua_S,"setRestitution",lua_cocos2dx_physics3d_Physics3DRigidBody_setRestitution); - tolua_function(tolua_S,"setHitFraction",lua_cocos2dx_physics3d_Physics3DRigidBody_setHitFraction); - tolua_function(tolua_S,"getLinearDamping",lua_cocos2dx_physics3d_Physics3DRigidBody_getLinearDamping); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DRigidBody).name(); - g_luaType[typeName] = "cc.Physics3DRigidBody"; - g_typeCast["Physics3DRigidBody"] = "cc.Physics3DRigidBody"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DComponent_syncNodeToPhysics(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DComponent* 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.Physics3DComponent",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DComponent*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DComponent_syncNodeToPhysics'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DComponent_syncNodeToPhysics'", nullptr); - return 0; - } - cobj->syncNodeToPhysics(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DComponent:syncNodeToPhysics",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DComponent_syncNodeToPhysics'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DComponent_addToPhysicsWorld(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DComponent* 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.Physics3DComponent",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DComponent*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DComponent_addToPhysicsWorld'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DWorld* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DWorld",&arg0, "cc.Physics3DComponent:addToPhysicsWorld"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DComponent_addToPhysicsWorld'", nullptr); - return 0; - } - cobj->addToPhysicsWorld(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DComponent:addToPhysicsWorld",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DComponent_addToPhysicsWorld'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DComponent_syncPhysicsToNode(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DComponent* 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.Physics3DComponent",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DComponent*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DComponent_syncPhysicsToNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DComponent_syncPhysicsToNode'", nullptr); - return 0; - } - cobj->syncPhysicsToNode(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DComponent:syncPhysicsToNode",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DComponent_syncPhysicsToNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DObject(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DComponent* 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.Physics3DComponent",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DComponent*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DObject'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DObject'", nullptr); - return 0; - } - cocos2d::Physics3DObject* ret = cobj->getPhysics3DObject(); - object_to_luaval(tolua_S, "cc.Physics3DObject",(cocos2d::Physics3DObject*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DComponent:getPhysics3DObject",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DObject'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DComponent_setPhysics3DObject(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DComponent* 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.Physics3DComponent",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DComponent*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DComponent_setPhysics3DObject'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DObject* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DObject",&arg0, "cc.Physics3DComponent:setPhysics3DObject"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DComponent_setPhysics3DObject'", nullptr); - return 0; - } - cobj->setPhysics3DObject(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DComponent:setPhysics3DObject",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DComponent_setPhysics3DObject'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DComponent_setSyncFlag(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DComponent* 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.Physics3DComponent",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DComponent*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DComponent_setSyncFlag'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DComponent::PhysicsSyncFlag arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Physics3DComponent:setSyncFlag"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DComponent_setSyncFlag'", nullptr); - return 0; - } - cobj->setSyncFlag(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DComponent:setSyncFlag",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DComponent_setSyncFlag'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DComponentName(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DComponent",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DComponentName'", nullptr); - return 0; - } - std::string& ret = cocos2d::Physics3DComponent::getPhysics3DComponentName(); - lua_pushlstring(tolua_S,ret.c_str(),ret.length()); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Physics3DComponent:getPhysics3DComponentName",argc, 0); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DComponentName'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DComponent_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DComponent* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DComponent_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3DComponent(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3DComponent"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DComponent:Physics3DComponent",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DComponent_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3DComponent_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DComponent)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DComponent(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DComponent"); - tolua_cclass(tolua_S,"Physics3DComponent","cc.Physics3DComponent","cc.Component",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DComponent"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3DComponent_constructor); - tolua_function(tolua_S,"syncNodeToPhysics",lua_cocos2dx_physics3d_Physics3DComponent_syncNodeToPhysics); - tolua_function(tolua_S,"addToPhysicsWorld",lua_cocos2dx_physics3d_Physics3DComponent_addToPhysicsWorld); - tolua_function(tolua_S,"syncPhysicsToNode",lua_cocos2dx_physics3d_Physics3DComponent_syncPhysicsToNode); - tolua_function(tolua_S,"getPhysics3DObject",lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DObject); - tolua_function(tolua_S,"setPhysics3DObject",lua_cocos2dx_physics3d_Physics3DComponent_setPhysics3DObject); - tolua_function(tolua_S,"setSyncFlag",lua_cocos2dx_physics3d_Physics3DComponent_setSyncFlag); - tolua_function(tolua_S,"getPhysics3DComponentName", lua_cocos2dx_physics3d_Physics3DComponent_getPhysics3DComponentName); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DComponent).name(); - g_luaType[typeName] = "cc.Physics3DComponent"; - g_typeCast["Physics3DComponent"] = "cc.Physics3DComponent"; - return 1; -} - -int lua_cocos2dx_physics3d_PhysicsSprite3D_syncNodeToPhysics(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsSprite3D* 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.PhysicsSprite3D",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsSprite3D*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_syncNodeToPhysics'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_syncNodeToPhysics'", nullptr); - return 0; - } - cobj->syncNodeToPhysics(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsSprite3D:syncNodeToPhysics",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_syncNodeToPhysics'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_PhysicsSprite3D_syncPhysicsToNode(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsSprite3D* 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.PhysicsSprite3D",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsSprite3D*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_syncPhysicsToNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_syncPhysicsToNode'", nullptr); - return 0; - } - cobj->syncPhysicsToNode(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsSprite3D:syncPhysicsToNode",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_syncPhysicsToNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_PhysicsSprite3D_getPhysicsObj(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsSprite3D* 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.PhysicsSprite3D",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsSprite3D*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_getPhysicsObj'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_getPhysicsObj'", nullptr); - return 0; - } - cocos2d::Physics3DObject* ret = cobj->getPhysicsObj(); - object_to_luaval(tolua_S, "cc.Physics3DObject",(cocos2d::Physics3DObject*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsSprite3D:getPhysicsObj",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_getPhysicsObj'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_PhysicsSprite3D_setSyncFlag(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsSprite3D* 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.PhysicsSprite3D",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsSprite3D*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_setSyncFlag'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DComponent::PhysicsSyncFlag arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsSprite3D:setSyncFlag"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_setSyncFlag'", nullptr); - return 0; - } - cobj->setSyncFlag(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsSprite3D:setSyncFlag",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_setSyncFlag'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_PhysicsSprite3D_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsSprite3D* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::PhysicsSprite3D(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.PhysicsSprite3D"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsSprite3D:PhysicsSprite3D",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_PhysicsSprite3D_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_PhysicsSprite3D_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsSprite3D)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_PhysicsSprite3D(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsSprite3D"); - tolua_cclass(tolua_S,"PhysicsSprite3D","cc.PhysicsSprite3D","cc.Sprite3D",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsSprite3D"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_PhysicsSprite3D_constructor); - tolua_function(tolua_S,"syncNodeToPhysics",lua_cocos2dx_physics3d_PhysicsSprite3D_syncNodeToPhysics); - tolua_function(tolua_S,"syncPhysicsToNode",lua_cocos2dx_physics3d_PhysicsSprite3D_syncPhysicsToNode); - tolua_function(tolua_S,"getPhysicsObj",lua_cocos2dx_physics3d_PhysicsSprite3D_getPhysicsObj); - tolua_function(tolua_S,"setSyncFlag",lua_cocos2dx_physics3d_PhysicsSprite3D_setSyncFlag); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsSprite3D).name(); - g_luaType[typeName] = "cc.PhysicsSprite3D"; - g_typeCast["PhysicsSprite3D"] = "cc.PhysicsSprite3D"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DWorld_setGravity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_setGravity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DWorld:setGravity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_setGravity'", nullptr); - return 0; - } - cobj->setGravity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:setGravity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_setGravity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_stepSimulate(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_stepSimulate'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DWorld:stepSimulate"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_stepSimulate'", nullptr); - return 0; - } - cobj->stepSimulate(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:stepSimulate",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_stepSimulate'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_needCollisionChecking(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_needCollisionChecking'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_needCollisionChecking'", nullptr); - return 0; - } - bool ret = cobj->needCollisionChecking(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:needCollisionChecking",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_needCollisionChecking'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_collisionChecking(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_collisionChecking'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_collisionChecking'", nullptr); - return 0; - } - cobj->collisionChecking(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:collisionChecking",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_collisionChecking'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_setGhostPairCallback(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_setGhostPairCallback'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_setGhostPairCallback'", nullptr); - return 0; - } - cobj->setGhostPairCallback(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:setGhostPairCallback",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_setGhostPairCallback'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects'", nullptr); - return 0; - } - cobj->removeAllPhysics3DObjects(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:removeAllPhysics3DObjects",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled'", nullptr); - return 0; - } - bool ret = cobj->isDebugDrawEnabled(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:isDebugDrawEnabled",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints'", nullptr); - return 0; - } - cobj->removeAllPhysics3DConstraints(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:removeAllPhysics3DConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_getGravity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_getGravity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_getGravity'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getGravity(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:getGravity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_getGravity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DConstraint* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DConstraint",&arg0, "cc.Physics3DWorld:removePhysics3DConstraint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint'", nullptr); - return 0; - } - cobj->removePhysics3DConstraint(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:removePhysics3DConstraint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DObject* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DObject",&arg0, "cc.Physics3DWorld:addPhysics3DObject"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject'", nullptr); - return 0; - } - cobj->addPhysics3DObject(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:addPhysics3DObject",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_setDebugDrawEnable(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_setDebugDrawEnable'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DWorld:setDebugDrawEnable"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_setDebugDrawEnable'", nullptr); - return 0; - } - cobj->setDebugDrawEnable(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:setDebugDrawEnable",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_setDebugDrawEnable'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DObject(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DObject'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DObject* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DObject",&arg0, "cc.Physics3DWorld:removePhysics3DObject"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DObject'", nullptr); - return 0; - } - cobj->removePhysics3DObject(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:removePhysics3DObject",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DObject'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DConstraint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DConstraint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Physics3DConstraint* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DConstraint",&arg0, "cc.Physics3DWorld:addPhysics3DConstraint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DConstraint'", nullptr); - return 0; - } - cobj->addPhysics3DConstraint(arg0); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 2) - { - cocos2d::Physics3DConstraint* arg0; - bool arg1; - - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DConstraint",&arg0, "cc.Physics3DWorld:addPhysics3DConstraint"); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Physics3DWorld:addPhysics3DConstraint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DConstraint'", nullptr); - return 0; - } - cobj->addPhysics3DConstraint(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:addPhysics3DConstraint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DConstraint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_debugDraw(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* 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.Physics3DWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DWorld_debugDraw'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Renderer* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Renderer",&arg0, "cc.Physics3DWorld:debugDraw"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_debugDraw'", nullptr); - return 0; - } - cobj->debugDraw(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:debugDraw",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_debugDraw'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DWorld_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DWorld* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DWorld_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3DWorld(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3DWorld"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DWorld:Physics3DWorld",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DWorld_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3DWorld_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DWorld)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DWorld(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DWorld"); - tolua_cclass(tolua_S,"Physics3DWorld","cc.Physics3DWorld","cc.Ref",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DWorld"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3DWorld_constructor); - tolua_function(tolua_S,"setGravity",lua_cocos2dx_physics3d_Physics3DWorld_setGravity); - tolua_function(tolua_S,"stepSimulate",lua_cocos2dx_physics3d_Physics3DWorld_stepSimulate); - tolua_function(tolua_S,"needCollisionChecking",lua_cocos2dx_physics3d_Physics3DWorld_needCollisionChecking); - tolua_function(tolua_S,"collisionChecking",lua_cocos2dx_physics3d_Physics3DWorld_collisionChecking); - tolua_function(tolua_S,"setGhostPairCallback",lua_cocos2dx_physics3d_Physics3DWorld_setGhostPairCallback); - tolua_function(tolua_S,"removeAllPhysics3DObjects",lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects); - tolua_function(tolua_S,"isDebugDrawEnabled",lua_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled); - tolua_function(tolua_S,"removeAllPhysics3DConstraints",lua_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints); - tolua_function(tolua_S,"getGravity",lua_cocos2dx_physics3d_Physics3DWorld_getGravity); - tolua_function(tolua_S,"removePhysics3DConstraint",lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint); - tolua_function(tolua_S,"addPhysics3DObject",lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject); - tolua_function(tolua_S,"setDebugDrawEnable",lua_cocos2dx_physics3d_Physics3DWorld_setDebugDrawEnable); - tolua_function(tolua_S,"removePhysics3DObject",lua_cocos2dx_physics3d_Physics3DWorld_removePhysics3DObject); - tolua_function(tolua_S,"addPhysics3DConstraint",lua_cocos2dx_physics3d_Physics3DWorld_addPhysics3DConstraint); - tolua_function(tolua_S,"debugDraw",lua_cocos2dx_physics3d_Physics3DWorld_debugDraw); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DWorld).name(); - g_luaType[typeName] = "cc.Physics3DWorld"; - g_typeCast["Physics3DWorld"] = "cc.Physics3DWorld"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DConstraint_setEnabled(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setEnabled'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DConstraint:setEnabled"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setEnabled'", nullptr); - return 0; - } - cobj->setEnabled(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:setEnabled",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setEnabled'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_setBreakingImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setBreakingImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConstraint:setBreakingImpulse"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setBreakingImpulse'", nullptr); - return 0; - } - cobj->setBreakingImpulse(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:setBreakingImpulse",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setBreakingImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_getUserData(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getUserData'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getUserData'", nullptr); - return 0; - } - void* ret = cobj->getUserData(); - #pragma warning NO CONVERSION FROM NATIVE FOR void*; - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:getUserData",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getUserData'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_getBreakingImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBreakingImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBreakingImpulse'", nullptr); - return 0; - } - double ret = cobj->getBreakingImpulse(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:getBreakingImpulse",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBreakingImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_getBodyA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBodyA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBodyA'", nullptr); - return 0; - } - cocos2d::Physics3DRigidBody* ret = cobj->getBodyA(); - object_to_luaval(tolua_S, "cc.Physics3DRigidBody",(cocos2d::Physics3DRigidBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:getBodyA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBodyA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_isEnabled(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_isEnabled'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_isEnabled'", nullptr); - return 0; - } - bool ret = cobj->isEnabled(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:isEnabled",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_isEnabled'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_getOverrideNumSolverIterations(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getOverrideNumSolverIterations'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getOverrideNumSolverIterations'", nullptr); - return 0; - } - int ret = cobj->getOverrideNumSolverIterations(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:getOverrideNumSolverIterations",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getOverrideNumSolverIterations'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_getBodyB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBodyB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBodyB'", nullptr); - return 0; - } - cocos2d::Physics3DRigidBody* ret = cobj->getBodyB(); - object_to_luaval(tolua_S, "cc.Physics3DRigidBody",(cocos2d::Physics3DRigidBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:getBodyB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getBodyB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_setOverrideNumSolverIterations(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setOverrideNumSolverIterations'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Physics3DConstraint:setOverrideNumSolverIterations"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setOverrideNumSolverIterations'", nullptr); - return 0; - } - cobj->setOverrideNumSolverIterations(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:setOverrideNumSolverIterations",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setOverrideNumSolverIterations'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_getConstraintType(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getConstraintType'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getConstraintType'", nullptr); - return 0; - } - int ret = (int)cobj->getConstraintType(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:getConstraintType",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getConstraintType'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_setUserData(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setUserData'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - void* arg0; - - #pragma warning NO CONVERSION TO NATIVE FOR void* - ok = false; - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setUserData'", nullptr); - return 0; - } - cobj->setUserData(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:setUserData",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_setUserData'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConstraint_getbtContraint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConstraint* 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.Physics3DConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getbtContraint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getbtContraint'", nullptr); - return 0; - } - btTypedConstraint* ret = cobj->getbtContraint(); - object_to_luaval(tolua_S, "btTypedConstraint",(btTypedConstraint*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConstraint:getbtContraint",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConstraint_getbtContraint'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics3d_Physics3DConstraint_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DConstraint)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DConstraint(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DConstraint"); - tolua_cclass(tolua_S,"Physics3DConstraint","cc.Physics3DConstraint","cc.Ref",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DConstraint"); - tolua_function(tolua_S,"setEnabled",lua_cocos2dx_physics3d_Physics3DConstraint_setEnabled); - tolua_function(tolua_S,"setBreakingImpulse",lua_cocos2dx_physics3d_Physics3DConstraint_setBreakingImpulse); - tolua_function(tolua_S,"getUserData",lua_cocos2dx_physics3d_Physics3DConstraint_getUserData); - tolua_function(tolua_S,"getBreakingImpulse",lua_cocos2dx_physics3d_Physics3DConstraint_getBreakingImpulse); - tolua_function(tolua_S,"getBodyA",lua_cocos2dx_physics3d_Physics3DConstraint_getBodyA); - tolua_function(tolua_S,"isEnabled",lua_cocos2dx_physics3d_Physics3DConstraint_isEnabled); - tolua_function(tolua_S,"getOverrideNumSolverIterations",lua_cocos2dx_physics3d_Physics3DConstraint_getOverrideNumSolverIterations); - tolua_function(tolua_S,"getBodyB",lua_cocos2dx_physics3d_Physics3DConstraint_getBodyB); - tolua_function(tolua_S,"setOverrideNumSolverIterations",lua_cocos2dx_physics3d_Physics3DConstraint_setOverrideNumSolverIterations); - tolua_function(tolua_S,"getConstraintType",lua_cocos2dx_physics3d_Physics3DConstraint_getConstraintType); - tolua_function(tolua_S,"setUserData",lua_cocos2dx_physics3d_Physics3DConstraint_setUserData); - tolua_function(tolua_S,"getbtContraint",lua_cocos2dx_physics3d_Physics3DConstraint_getbtContraint); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DConstraint).name(); - g_luaType[typeName] = "cc.Physics3DConstraint"; - g_typeCast["Physics3DConstraint"] = "cc.Physics3DConstraint"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DPointToPointConstraint* 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.Physics3DPointToPointConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DPointToPointConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInA'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getPivotPointInA(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DPointToPointConstraint:getPivotPointInA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DPointToPointConstraint* 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.Physics3DPointToPointConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DPointToPointConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInB'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getPivotPointInB(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DPointToPointConstraint:getPivotPointInB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_init(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DPointToPointConstraint* 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.Physics3DPointToPointConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - cobj = (cocos2d::Physics3DPointToPointConstraint*)tolua_tousertype(tolua_S,1,0); -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_init'", nullptr); - return 0; - } -#endif - argc = lua_gettop(tolua_S)-1; - do{ - if (argc == 4) { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DPointToPointConstraint:init"); - - if (!ok) { break; } - cocos2d::Physics3DRigidBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3DPointToPointConstraint:init"); - - if (!ok) { break; } - cocos2d::Vec3 arg2; - ok &= luaval_to_vec3(tolua_S, 4, &arg2, "cc.Physics3DPointToPointConstraint:init"); - - if (!ok) { break; } - cocos2d::Vec3 arg3; - ok &= luaval_to_vec3(tolua_S, 5, &arg3, "cc.Physics3DPointToPointConstraint:init"); - - if (!ok) { break; } - bool ret = cobj->init(arg0, arg1, arg2, arg3); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 2) { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DPointToPointConstraint:init"); - - if (!ok) { break; } - cocos2d::Vec3 arg1; - ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.Physics3DPointToPointConstraint:init"); - - if (!ok) { break; } - bool ret = cobj->init(arg0, arg1); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - }while(0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DPointToPointConstraint:init",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_init'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DPointToPointConstraint* 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.Physics3DPointToPointConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DPointToPointConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DPointToPointConstraint:setPivotPointInA"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInA'", nullptr); - return 0; - } - cobj->setPivotPointInA(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DPointToPointConstraint:setPivotPointInA",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DPointToPointConstraint* 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.Physics3DPointToPointConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DPointToPointConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DPointToPointConstraint:setPivotPointInB"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInB'", nullptr); - return 0; - } - cobj->setPivotPointInB(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DPointToPointConstraint:setPivotPointInB",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DPointToPointConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 4) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DPointToPointConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DRigidBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3DPointToPointConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg2; - ok &= luaval_to_vec3(tolua_S, 4, &arg2, "cc.Physics3DPointToPointConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg3; - ok &= luaval_to_vec3(tolua_S, 5, &arg3, "cc.Physics3DPointToPointConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DPointToPointConstraint* ret = cocos2d::Physics3DPointToPointConstraint::create(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.Physics3DPointToPointConstraint",(cocos2d::Physics3DPointToPointConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 2) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DPointToPointConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg1; - ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.Physics3DPointToPointConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DPointToPointConstraint* ret = cocos2d::Physics3DPointToPointConstraint::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.Physics3DPointToPointConstraint",(cocos2d::Physics3DPointToPointConstraint*)ret); - return 1; - } - } while (0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d", "cc.Physics3DPointToPointConstraint:create",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_create'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DPointToPointConstraint* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3DPointToPointConstraint(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3DPointToPointConstraint"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DPointToPointConstraint:Physics3DPointToPointConstraint",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DPointToPointConstraint)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DPointToPointConstraint(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DPointToPointConstraint"); - tolua_cclass(tolua_S,"Physics3DPointToPointConstraint","cc.Physics3DPointToPointConstraint","cc.Physics3DConstraint",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DPointToPointConstraint"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_constructor); - tolua_function(tolua_S,"getPivotPointInA",lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInA); - tolua_function(tolua_S,"getPivotPointInB",lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_getPivotPointInB); - tolua_function(tolua_S,"init",lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_init); - tolua_function(tolua_S,"setPivotPointInA",lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInA); - tolua_function(tolua_S,"setPivotPointInB",lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_setPivotPointInB); - tolua_function(tolua_S,"create", lua_cocos2dx_physics3d_Physics3DPointToPointConstraint_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DPointToPointConstraint).name(); - g_luaType[typeName] = "cc.Physics3DPointToPointConstraint"; - g_typeCast["Physics3DPointToPointConstraint"] = "cc.Physics3DPointToPointConstraint"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getHingeAngle(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getHingeAngle'", nullptr); - return 0; - } -#endif - argc = lua_gettop(tolua_S)-1; - do{ - if (argc == 2) { - cocos2d::Mat4 arg0; - ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.Physics3DHingeConstraint:getHingeAngle"); - - if (!ok) { break; } - cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Physics3DHingeConstraint:getHingeAngle"); - - if (!ok) { break; } - double ret = cobj->getHingeAngle(arg0, arg1); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 0) { - double ret = cobj->getHingeAngle(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - }while(0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getHingeAngle",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getHingeAngle'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMotorTargetVelosity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMotorTargetVelosity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMotorTargetVelosity'", nullptr); - return 0; - } - double ret = cobj->getMotorTargetVelosity(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getMotorTargetVelosity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMotorTargetVelosity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetA'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getFrameOffsetA(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getFrameOffsetA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetB'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getFrameOffsetB(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getFrameOffsetB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_setMaxMotorImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setMaxMotorImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:setMaxMotorImpulse"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setMaxMotorImpulse'", nullptr); - return 0; - } - cobj->setMaxMotorImpulse(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:setMaxMotorImpulse",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setMaxMotorImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableAngularMotor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableAngularMotor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 3) - { - bool arg0; - double arg1; - double arg2; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:enableAngularMotor"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DHingeConstraint:enableAngularMotor"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Physics3DHingeConstraint:enableAngularMotor"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableAngularMotor'", nullptr); - return 0; - } - cobj->enableAngularMotor(arg0, arg1, arg2); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:enableAngularMotor",argc, 3); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableAngularMotor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUpperLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUpperLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUpperLimit'", nullptr); - return 0; - } - double ret = cobj->getUpperLimit(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getUpperLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUpperLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMaxMotorImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMaxMotorImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMaxMotorImpulse'", nullptr); - return 0; - } - double ret = cobj->getMaxMotorImpulse(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getMaxMotorImpulse",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMaxMotorImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getLowerLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getLowerLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getLowerLimit'", nullptr); - return 0; - } - double ret = cobj->getLowerLimit(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getLowerLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getLowerLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_setUseFrameOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setUseFrameOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:setUseFrameOffset"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setUseFrameOffset'", nullptr); - return 0; - } - cobj->setUseFrameOffset(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:setUseFrameOffset",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setUseFrameOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getEnableAngularMotor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getEnableAngularMotor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getEnableAngularMotor'", nullptr); - return 0; - } - bool ret = cobj->getEnableAngularMotor(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getEnableAngularMotor",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getEnableAngularMotor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableMotor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableMotor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:enableMotor"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableMotor'", nullptr); - return 0; - } - cobj->enableMotor(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:enableMotor",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableMotor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getBFrame(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getBFrame'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getBFrame'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getBFrame(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getBFrame",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getBFrame'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_setFrames(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setFrames'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::Mat4 arg0; - cocos2d::Mat4 arg1; - - ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.Physics3DHingeConstraint:setFrames"); - - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Physics3DHingeConstraint:setFrames"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setFrames'", nullptr); - return 0; - } - cobj->setFrames(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:setFrames",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setFrames'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUseFrameOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUseFrameOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUseFrameOffset'", nullptr); - return 0; - } - bool ret = cobj->getUseFrameOffset(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getUseFrameOffset",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUseFrameOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAngularOnly(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAngularOnly'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:setAngularOnly"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAngularOnly'", nullptr); - return 0; - } - cobj->setAngularOnly(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:setAngularOnly",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAngularOnly'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_setLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - double arg0; - double arg1; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DHingeConstraint:setLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setLimit'", nullptr); - return 0; - } - cobj->setLimit(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 3) - { - double arg0; - double arg1; - double arg2; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Physics3DHingeConstraint:setLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setLimit'", nullptr); - return 0; - } - cobj->setLimit(arg0, arg1, arg2); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 4) - { - double arg0; - double arg1; - double arg2; - double arg3; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Physics3DHingeConstraint:setLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setLimit'", nullptr); - return 0; - } - cobj->setLimit(arg0, arg1, arg2, arg3); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 5) - { - double arg0; - double arg1; - double arg2; - double arg3; - double arg4; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Physics3DHingeConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.Physics3DHingeConstraint:setLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setLimit'", nullptr); - return 0; - } - cobj->setLimit(arg0, arg1, arg2, arg3, arg4); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:setLimit",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAngularOnly(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAngularOnly'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAngularOnly'", nullptr); - return 0; - } - bool ret = cobj->getAngularOnly(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getAngularOnly",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAngularOnly'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAxis(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAxis'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3DHingeConstraint:setAxis"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAxis'", nullptr); - return 0; - } - cobj->setAxis(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:setAxis",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAxis'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAFrame(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* 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.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DHingeConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAFrame'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAFrame'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getAFrame(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:getAFrame",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAFrame'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DHingeConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 3) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg1; - ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg2; - ok &= luaval_to_vec3(tolua_S, 4, &arg2, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DHingeConstraint* ret = cocos2d::Physics3DHingeConstraint::create(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.Physics3DHingeConstraint",(cocos2d::Physics3DHingeConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 4) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg1; - ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg2; - ok &= luaval_to_vec3(tolua_S, 4, &arg2, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - bool arg3; - ok &= luaval_to_boolean(tolua_S, 5,&arg3, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DHingeConstraint* ret = cocos2d::Physics3DHingeConstraint::create(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.Physics3DHingeConstraint",(cocos2d::Physics3DHingeConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 2) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DHingeConstraint* ret = cocos2d::Physics3DHingeConstraint::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.Physics3DHingeConstraint",(cocos2d::Physics3DHingeConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 3) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DHingeConstraint* ret = cocos2d::Physics3DHingeConstraint::create(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.Physics3DHingeConstraint",(cocos2d::Physics3DHingeConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 6) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DRigidBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg2; - ok &= luaval_to_vec3(tolua_S, 4, &arg2, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg3; - ok &= luaval_to_vec3(tolua_S, 5, &arg3, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg4; - ok &= luaval_to_vec3(tolua_S, 6, &arg4, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg5; - ok &= luaval_to_vec3(tolua_S, 7, &arg5, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DHingeConstraint* ret = cocos2d::Physics3DHingeConstraint::create(arg0, arg1, arg2, arg3, arg4, arg5); - object_to_luaval(tolua_S, "cc.Physics3DHingeConstraint",(cocos2d::Physics3DHingeConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 7) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DRigidBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg2; - ok &= luaval_to_vec3(tolua_S, 4, &arg2, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg3; - ok &= luaval_to_vec3(tolua_S, 5, &arg3, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg4; - ok &= luaval_to_vec3(tolua_S, 6, &arg4, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Vec3 arg5; - ok &= luaval_to_vec3(tolua_S, 7, &arg5, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - bool arg6; - ok &= luaval_to_boolean(tolua_S, 8,&arg6, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DHingeConstraint* ret = cocos2d::Physics3DHingeConstraint::create(arg0, arg1, arg2, arg3, arg4, arg5, arg6); - object_to_luaval(tolua_S, "cc.Physics3DHingeConstraint",(cocos2d::Physics3DHingeConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 4) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DRigidBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg2; - ok &= luaval_to_mat4(tolua_S, 4, &arg2, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg3; - ok &= luaval_to_mat4(tolua_S, 5, &arg3, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DHingeConstraint* ret = cocos2d::Physics3DHingeConstraint::create(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.Physics3DHingeConstraint",(cocos2d::Physics3DHingeConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 5) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DRigidBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg2; - ok &= luaval_to_mat4(tolua_S, 4, &arg2, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg3; - ok &= luaval_to_mat4(tolua_S, 5, &arg3, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - bool arg4; - ok &= luaval_to_boolean(tolua_S, 6,&arg4, "cc.Physics3DHingeConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DHingeConstraint* ret = cocos2d::Physics3DHingeConstraint::create(arg0, arg1, arg2, arg3, arg4); - object_to_luaval(tolua_S, "cc.Physics3DHingeConstraint",(cocos2d::Physics3DHingeConstraint*)ret); - return 1; - } - } while (0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d", "cc.Physics3DHingeConstraint:create",argc, 4); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_create'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DHingeConstraint_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DHingeConstraint* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3DHingeConstraint(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3DHingeConstraint"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DHingeConstraint:Physics3DHingeConstraint",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DHingeConstraint_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3DHingeConstraint_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DHingeConstraint)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DHingeConstraint(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DHingeConstraint"); - tolua_cclass(tolua_S,"Physics3DHingeConstraint","cc.Physics3DHingeConstraint","cc.Physics3DConstraint",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DHingeConstraint"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3DHingeConstraint_constructor); - tolua_function(tolua_S,"getHingeAngle",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getHingeAngle); - tolua_function(tolua_S,"getMotorTargetVelosity",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMotorTargetVelosity); - tolua_function(tolua_S,"getFrameOffsetA",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetA); - tolua_function(tolua_S,"getFrameOffsetB",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getFrameOffsetB); - tolua_function(tolua_S,"setMaxMotorImpulse",lua_cocos2dx_physics3d_Physics3DHingeConstraint_setMaxMotorImpulse); - tolua_function(tolua_S,"enableAngularMotor",lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableAngularMotor); - tolua_function(tolua_S,"getUpperLimit",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUpperLimit); - tolua_function(tolua_S,"getMaxMotorImpulse",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getMaxMotorImpulse); - tolua_function(tolua_S,"getLowerLimit",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getLowerLimit); - tolua_function(tolua_S,"setUseFrameOffset",lua_cocos2dx_physics3d_Physics3DHingeConstraint_setUseFrameOffset); - tolua_function(tolua_S,"getEnableAngularMotor",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getEnableAngularMotor); - tolua_function(tolua_S,"enableMotor",lua_cocos2dx_physics3d_Physics3DHingeConstraint_enableMotor); - tolua_function(tolua_S,"getBFrame",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getBFrame); - tolua_function(tolua_S,"setFrames",lua_cocos2dx_physics3d_Physics3DHingeConstraint_setFrames); - tolua_function(tolua_S,"getUseFrameOffset",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getUseFrameOffset); - tolua_function(tolua_S,"setAngularOnly",lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAngularOnly); - tolua_function(tolua_S,"setLimit",lua_cocos2dx_physics3d_Physics3DHingeConstraint_setLimit); - tolua_function(tolua_S,"getAngularOnly",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAngularOnly); - tolua_function(tolua_S,"setAxis",lua_cocos2dx_physics3d_Physics3DHingeConstraint_setAxis); - tolua_function(tolua_S,"getAFrame",lua_cocos2dx_physics3d_Physics3DHingeConstraint_getAFrame); - tolua_function(tolua_S,"create", lua_cocos2dx_physics3d_Physics3DHingeConstraint_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DHingeConstraint).name(); - g_luaType[typeName] = "cc.Physics3DHingeConstraint"; - g_typeCast["Physics3DHingeConstraint"] = "cc.Physics3DHingeConstraint"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredAngMotor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredAngMotor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setPoweredAngMotor"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredAngMotor'", nullptr); - return 0; - } - cobj->setPoweredAngMotor(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setPoweredAngMotor",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredAngMotor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimAng'", nullptr); - return 0; - } - double ret = cobj->getDampingLimAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getDampingLimAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setRestitutionOrthoLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoLin'", nullptr); - return 0; - } - cobj->setRestitutionOrthoLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setRestitutionOrthoLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setRestitutionDirLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirLin'", nullptr); - return 0; - } - cobj->setRestitutionDirLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setRestitutionDirLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLinearPos(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLinearPos'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLinearPos'", nullptr); - return 0; - } - double ret = cobj->getLinearPos(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getLinearPos",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLinearPos'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetA'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getFrameOffsetA(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getFrameOffsetA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetB'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getFrameOffsetB(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getFrameOffsetB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredLinMotor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredLinMotor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setPoweredLinMotor"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredLinMotor'", nullptr); - return 0; - } - cobj->setPoweredLinMotor(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setPoweredLinMotor",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredLinMotor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirAng'", nullptr); - return 0; - } - double ret = cobj->getDampingDirAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getDampingDirAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimLin'", nullptr); - return 0; - } - double ret = cobj->getRestitutionLimLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getRestitutionLimLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoAng'", nullptr); - return 0; - } - double ret = cobj->getSoftnessOrthoAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getSoftnessOrthoAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setSoftnessOrthoLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoLin'", nullptr); - return 0; - } - cobj->setSoftnessOrthoLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setSoftnessOrthoLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setSoftnessLimLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimLin'", nullptr); - return 0; - } - cobj->setSoftnessLimLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setSoftnessLimLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getAngularPos(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getAngularPos'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getAngularPos'", nullptr); - return 0; - } - double ret = cobj->getAngularPos(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getAngularPos",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getAngularPos'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setRestitutionLimAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimAng'", nullptr); - return 0; - } - cobj->setRestitutionLimAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setRestitutionLimAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperLinLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperLinLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setUpperLinLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperLinLimit'", nullptr); - return 0; - } - cobj->setUpperLinLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setUpperLinLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperLinLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setDampingDirLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirLin'", nullptr); - return 0; - } - cobj->setDampingDirLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setDampingDirLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperAngLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperAngLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperAngLimit'", nullptr); - return 0; - } - double ret = cobj->getUpperAngLimit(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getUpperAngLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperAngLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirLin'", nullptr); - return 0; - } - double ret = cobj->getDampingDirLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getDampingDirLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirAng'", nullptr); - return 0; - } - double ret = cobj->getSoftnessDirAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getSoftnessDirAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredAngMotor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredAngMotor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredAngMotor'", nullptr); - return 0; - } - bool ret = cobj->getPoweredAngMotor(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getPoweredAngMotor",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredAngMotor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerAngLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerAngLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setLowerAngLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerAngLimit'", nullptr); - return 0; - } - cobj->setLowerAngLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setLowerAngLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerAngLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperAngLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperAngLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setUpperAngLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperAngLimit'", nullptr); - return 0; - } - cobj->setUpperAngLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setUpperAngLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperAngLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetLinMotorVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetLinMotorVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setTargetLinMotorVelocity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetLinMotorVelocity'", nullptr); - return 0; - } - cobj->setTargetLinMotorVelocity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setTargetLinMotorVelocity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetLinMotorVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setDampingLimAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimAng'", nullptr); - return 0; - } - cobj->setDampingLimAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setDampingLimAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimAng'", nullptr); - return 0; - } - double ret = cobj->getRestitutionLimAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getRestitutionLimAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseFrameOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseFrameOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseFrameOffset'", nullptr); - return 0; - } - bool ret = cobj->getUseFrameOffset(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getUseFrameOffset",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseFrameOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoLin'", nullptr); - return 0; - } - double ret = cobj->getSoftnessOrthoLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getSoftnessOrthoLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoAng'", nullptr); - return 0; - } - double ret = cobj->getDampingOrthoAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getDampingOrthoAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUseFrameOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUseFrameOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setUseFrameOffset"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUseFrameOffset'", nullptr); - return 0; - } - cobj->setUseFrameOffset(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setUseFrameOffset",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUseFrameOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerLinLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerLinLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setLowerLinLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerLinLimit'", nullptr); - return 0; - } - cobj->setLowerLinLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setLowerLinLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerLinLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirLin'", nullptr); - return 0; - } - double ret = cobj->getRestitutionDirLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getRestitutionDirLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetLinMotorVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetLinMotorVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetLinMotorVelocity'", nullptr); - return 0; - } - double ret = cobj->getTargetLinMotorVelocity(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getTargetLinMotorVelocity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetLinMotorVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerLinLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerLinLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerLinLimit'", nullptr); - return 0; - } - double ret = cobj->getLowerLinLimit(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getLowerLinLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerLinLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimLin'", nullptr); - return 0; - } - double ret = cobj->getSoftnessLimLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getSoftnessLimLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setDampingOrthoAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoAng'", nullptr); - return 0; - } - cobj->setDampingOrthoAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setDampingOrthoAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setSoftnessDirAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirAng'", nullptr); - return 0; - } - cobj->setSoftnessDirAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setSoftnessDirAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredLinMotor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredLinMotor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredLinMotor'", nullptr); - return 0; - } - bool ret = cobj->getPoweredLinMotor(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getPoweredLinMotor",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredLinMotor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setRestitutionOrthoAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoAng'", nullptr); - return 0; - } - cobj->setRestitutionOrthoAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setRestitutionOrthoAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setDampingDirAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirAng'", nullptr); - return 0; - } - cobj->setDampingDirAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setDampingDirAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setFrames(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setFrames'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::Mat4 arg0; - cocos2d::Mat4 arg1; - - ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.Physics3DSliderConstraint:setFrames"); - - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Physics3DSliderConstraint:setFrames"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setFrames'", nullptr); - return 0; - } - cobj->setFrames(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setFrames",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setFrames'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoAng'", nullptr); - return 0; - } - double ret = cobj->getRestitutionOrthoAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getRestitutionOrthoAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxAngMotorForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxAngMotorForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxAngMotorForce'", nullptr); - return 0; - } - double ret = cobj->getMaxAngMotorForce(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getMaxAngMotorForce",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxAngMotorForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoLin'", nullptr); - return 0; - } - double ret = cobj->getDampingOrthoLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getDampingOrthoLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperLinLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperLinLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperLinLimit'", nullptr); - return 0; - } - double ret = cobj->getUpperLinLimit(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getUpperLinLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperLinLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxLinMotorForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxLinMotorForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setMaxLinMotorForce"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxLinMotorForce'", nullptr); - return 0; - } - cobj->setMaxLinMotorForce(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setMaxLinMotorForce",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxLinMotorForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoLin'", nullptr); - return 0; - } - double ret = cobj->getRestitutionOrthoLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getRestitutionOrthoLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetAngMotorVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetAngMotorVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setTargetAngMotorVelocity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetAngMotorVelocity'", nullptr); - return 0; - } - cobj->setTargetAngMotorVelocity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setTargetAngMotorVelocity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetAngMotorVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimAng'", nullptr); - return 0; - } - double ret = cobj->getSoftnessLimAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getSoftnessLimAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setRestitutionDirAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirAng'", nullptr); - return 0; - } - cobj->setRestitutionDirAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setRestitutionDirAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimLin'", nullptr); - return 0; - } - double ret = cobj->getDampingLimLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getDampingLimLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerAngLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerAngLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerAngLimit'", nullptr); - return 0; - } - double ret = cobj->getLowerAngLimit(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getLowerAngLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerAngLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirAng'", nullptr); - return 0; - } - double ret = cobj->getRestitutionDirAng(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getRestitutionDirAng",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetAngMotorVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetAngMotorVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetAngMotorVelocity'", nullptr); - return 0; - } - double ret = cobj->getTargetAngMotorVelocity(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getTargetAngMotorVelocity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetAngMotorVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setRestitutionLimLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimLin'", nullptr); - return 0; - } - cobj->setRestitutionLimLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setRestitutionLimLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxLinMotorForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxLinMotorForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxLinMotorForce'", nullptr); - return 0; - } - double ret = cobj->getMaxLinMotorForce(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getMaxLinMotorForce",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxLinMotorForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setDampingOrthoLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoLin'", nullptr); - return 0; - } - cobj->setDampingOrthoLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setDampingOrthoLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setSoftnessOrthoAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoAng'", nullptr); - return 0; - } - cobj->setSoftnessOrthoAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setSoftnessOrthoAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setDampingLimLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimLin'", nullptr); - return 0; - } - cobj->setDampingLimLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setDampingLimLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setSoftnessDirLin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirLin'", nullptr); - return 0; - } - cobj->setSoftnessDirLin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setSoftnessDirLin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxAngMotorForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxAngMotorForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setMaxAngMotorForce"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxAngMotorForce'", nullptr); - return 0; - } - cobj->setMaxAngMotorForce(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setMaxAngMotorForce",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxAngMotorForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirLin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirLin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirLin'", nullptr); - return 0; - } - double ret = cobj->getSoftnessDirLin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getSoftnessDirLin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirLin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimAng(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimAng'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DSliderConstraint:setSoftnessLimAng"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimAng'", nullptr); - return 0; - } - cobj->setSoftnessLimAng(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:setSoftnessLimAng",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimAng'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseLinearReferenceFrameA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* 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.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DSliderConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseLinearReferenceFrameA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseLinearReferenceFrameA'", nullptr); - return 0; - } - bool ret = cobj->getUseLinearReferenceFrameA(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:getUseLinearReferenceFrameA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseLinearReferenceFrameA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DSliderConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 5) - { - cocos2d::Physics3DRigidBody* arg0; - cocos2d::Physics3DRigidBody* arg1; - cocos2d::Mat4 arg2; - cocos2d::Mat4 arg3; - bool arg4; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DSliderConstraint:create"); - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3DSliderConstraint:create"); - ok &= luaval_to_mat4(tolua_S, 4, &arg2, "cc.Physics3DSliderConstraint:create"); - ok &= luaval_to_mat4(tolua_S, 5, &arg3, "cc.Physics3DSliderConstraint:create"); - ok &= luaval_to_boolean(tolua_S, 6,&arg4, "cc.Physics3DSliderConstraint:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_create'", nullptr); - return 0; - } - cocos2d::Physics3DSliderConstraint* ret = cocos2d::Physics3DSliderConstraint::create(arg0, arg1, arg2, arg3, arg4); - object_to_luaval(tolua_S, "cc.Physics3DSliderConstraint",(cocos2d::Physics3DSliderConstraint*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Physics3DSliderConstraint:create",argc, 5); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_create'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DSliderConstraint_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DSliderConstraint* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3DSliderConstraint(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3DSliderConstraint"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DSliderConstraint:Physics3DSliderConstraint",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DSliderConstraint_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3DSliderConstraint_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DSliderConstraint)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DSliderConstraint(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DSliderConstraint"); - tolua_cclass(tolua_S,"Physics3DSliderConstraint","cc.Physics3DSliderConstraint","cc.Physics3DConstraint",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DSliderConstraint"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3DSliderConstraint_constructor); - tolua_function(tolua_S,"setPoweredAngMotor",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredAngMotor); - tolua_function(tolua_S,"getDampingLimAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimAng); - tolua_function(tolua_S,"setRestitutionOrthoLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoLin); - tolua_function(tolua_S,"setRestitutionDirLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirLin); - tolua_function(tolua_S,"getLinearPos",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLinearPos); - tolua_function(tolua_S,"getFrameOffsetA",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetA); - tolua_function(tolua_S,"getFrameOffsetB",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getFrameOffsetB); - tolua_function(tolua_S,"setPoweredLinMotor",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setPoweredLinMotor); - tolua_function(tolua_S,"getDampingDirAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirAng); - tolua_function(tolua_S,"getRestitutionLimLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimLin); - tolua_function(tolua_S,"getSoftnessOrthoAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoAng); - tolua_function(tolua_S,"setSoftnessOrthoLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoLin); - tolua_function(tolua_S,"setSoftnessLimLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimLin); - tolua_function(tolua_S,"getAngularPos",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getAngularPos); - tolua_function(tolua_S,"setRestitutionLimAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimAng); - tolua_function(tolua_S,"setUpperLinLimit",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperLinLimit); - tolua_function(tolua_S,"setDampingDirLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirLin); - tolua_function(tolua_S,"getUpperAngLimit",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperAngLimit); - tolua_function(tolua_S,"getDampingDirLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingDirLin); - tolua_function(tolua_S,"getSoftnessDirAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirAng); - tolua_function(tolua_S,"getPoweredAngMotor",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredAngMotor); - tolua_function(tolua_S,"setLowerAngLimit",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerAngLimit); - tolua_function(tolua_S,"setUpperAngLimit",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUpperAngLimit); - tolua_function(tolua_S,"setTargetLinMotorVelocity",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetLinMotorVelocity); - tolua_function(tolua_S,"setDampingLimAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimAng); - tolua_function(tolua_S,"getRestitutionLimAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionLimAng); - tolua_function(tolua_S,"getUseFrameOffset",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseFrameOffset); - tolua_function(tolua_S,"getSoftnessOrthoLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessOrthoLin); - tolua_function(tolua_S,"getDampingOrthoAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoAng); - tolua_function(tolua_S,"setUseFrameOffset",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setUseFrameOffset); - tolua_function(tolua_S,"setLowerLinLimit",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setLowerLinLimit); - tolua_function(tolua_S,"getRestitutionDirLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirLin); - tolua_function(tolua_S,"getTargetLinMotorVelocity",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetLinMotorVelocity); - tolua_function(tolua_S,"getLowerLinLimit",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerLinLimit); - tolua_function(tolua_S,"getSoftnessLimLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimLin); - tolua_function(tolua_S,"setDampingOrthoAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoAng); - tolua_function(tolua_S,"setSoftnessDirAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirAng); - tolua_function(tolua_S,"getPoweredLinMotor",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getPoweredLinMotor); - tolua_function(tolua_S,"setRestitutionOrthoAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionOrthoAng); - tolua_function(tolua_S,"setDampingDirAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingDirAng); - tolua_function(tolua_S,"setFrames",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setFrames); - tolua_function(tolua_S,"getRestitutionOrthoAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoAng); - tolua_function(tolua_S,"getMaxAngMotorForce",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxAngMotorForce); - tolua_function(tolua_S,"getDampingOrthoLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingOrthoLin); - tolua_function(tolua_S,"getUpperLinLimit",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUpperLinLimit); - tolua_function(tolua_S,"setMaxLinMotorForce",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxLinMotorForce); - tolua_function(tolua_S,"getRestitutionOrthoLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionOrthoLin); - tolua_function(tolua_S,"setTargetAngMotorVelocity",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setTargetAngMotorVelocity); - tolua_function(tolua_S,"getSoftnessLimAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessLimAng); - tolua_function(tolua_S,"setRestitutionDirAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionDirAng); - tolua_function(tolua_S,"getDampingLimLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getDampingLimLin); - tolua_function(tolua_S,"getLowerAngLimit",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getLowerAngLimit); - tolua_function(tolua_S,"getRestitutionDirAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getRestitutionDirAng); - tolua_function(tolua_S,"getTargetAngMotorVelocity",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getTargetAngMotorVelocity); - tolua_function(tolua_S,"setRestitutionLimLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setRestitutionLimLin); - tolua_function(tolua_S,"getMaxLinMotorForce",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getMaxLinMotorForce); - tolua_function(tolua_S,"setDampingOrthoLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingOrthoLin); - tolua_function(tolua_S,"setSoftnessOrthoAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessOrthoAng); - tolua_function(tolua_S,"setDampingLimLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setDampingLimLin); - tolua_function(tolua_S,"setSoftnessDirLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessDirLin); - tolua_function(tolua_S,"setMaxAngMotorForce",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setMaxAngMotorForce); - tolua_function(tolua_S,"getSoftnessDirLin",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getSoftnessDirLin); - tolua_function(tolua_S,"setSoftnessLimAng",lua_cocos2dx_physics3d_Physics3DSliderConstraint_setSoftnessLimAng); - tolua_function(tolua_S,"getUseLinearReferenceFrameA",lua_cocos2dx_physics3d_Physics3DSliderConstraint_getUseLinearReferenceFrameA); - tolua_function(tolua_S,"create", lua_cocos2dx_physics3d_Physics3DSliderConstraint_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DSliderConstraint).name(); - g_luaType[typeName] = "cc.Physics3DSliderConstraint"; - g_typeCast["Physics3DSliderConstraint"] = "cc.Physics3DSliderConstraint"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getBFrame(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getBFrame'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getBFrame'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getBFrame(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getBFrame",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getBFrame'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFixThresh(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFixThresh'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:setFixThresh"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFixThresh'", nullptr); - return 0; - } - cobj->setFixThresh(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:setFixThresh",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFixThresh'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetB'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getFrameOffsetB(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getFrameOffsetB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetA'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getFrameOffsetA(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getFrameOffsetA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFixThresh(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFixThresh'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFixThresh'", nullptr); - return 0; - } - double ret = cobj->getFixThresh(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getFixThresh",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFixThresh'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan2(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan2'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan2'", nullptr); - return 0; - } - double ret = cobj->getSwingSpan2(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getSwingSpan2",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan2'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan1(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan1'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan1'", nullptr); - return 0; - } - double ret = cobj->getSwingSpan1(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getSwingSpan1",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan1'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:setMaxMotorImpulse"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulse'", nullptr); - return 0; - } - cobj->setMaxMotorImpulse(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:setMaxMotorImpulse",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFrames(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFrames'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::Mat4 arg0; - cocos2d::Mat4 arg1; - - ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.Physics3DConeTwistConstraint:setFrames"); - - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Physics3DConeTwistConstraint:setFrames"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFrames'", nullptr); - return 0; - } - cobj->setFrames(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:setFrames",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFrames'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistAngle(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistAngle'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistAngle'", nullptr); - return 0; - } - double ret = cobj->getTwistAngle(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getTwistAngle",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistAngle'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_GetPointForAngle(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_GetPointForAngle'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - double arg0; - double arg1; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:GetPointForAngle"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DConeTwistConstraint:GetPointForAngle"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_GetPointForAngle'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->GetPointForAngle(arg0, arg1); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:GetPointForAngle",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_GetPointForAngle'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulseNormalized(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulseNormalized'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:setMaxMotorImpulseNormalized"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulseNormalized'", nullptr); - return 0; - } - cobj->setMaxMotorImpulseNormalized(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:setMaxMotorImpulseNormalized",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulseNormalized'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistSpan(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistSpan'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistSpan'", nullptr); - return 0; - } - double ret = cobj->getTwistSpan(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getTwistSpan",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistSpan'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:setDamping"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setDamping'", nullptr); - return 0; - } - cobj->setDamping(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:setDamping",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 3) - { - double arg0; - double arg1; - double arg2; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Physics3DConeTwistConstraint:setLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setLimit'", nullptr); - return 0; - } - cobj->setLimit(arg0, arg1, arg2); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 4) - { - double arg0; - double arg1; - double arg2; - double arg3; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Physics3DConeTwistConstraint:setLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setLimit'", nullptr); - return 0; - } - cobj->setLimit(arg0, arg1, arg2, arg3); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 5) - { - double arg0; - double arg1; - double arg2; - double arg3; - double arg4; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.Physics3DConeTwistConstraint:setLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setLimit'", nullptr); - return 0; - } - cobj->setLimit(arg0, arg1, arg2, arg3, arg4); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 6) - { - double arg0; - double arg1; - double arg2; - double arg3; - double arg4; - double arg5; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.Physics3DConeTwistConstraint:setLimit"); - - ok &= luaval_to_number(tolua_S, 7,&arg5, "cc.Physics3DConeTwistConstraint:setLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setLimit'", nullptr); - return 0; - } - cobj->setLimit(arg0, arg1, arg2, arg3, arg4, arg5); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:setLimit",argc, 3); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getAFrame(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getAFrame'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getAFrame'", nullptr); - return 0; - } - cocos2d::Mat4 ret = cobj->getAFrame(); - mat4_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:getAFrame",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getAFrame'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_enableMotor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* 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.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3DConeTwistConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_enableMotor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3DConeTwistConstraint:enableMotor"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_enableMotor'", nullptr); - return 0; - } - cobj->enableMotor(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:enableMotor",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_enableMotor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3DConeTwistConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 4) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DConeTwistConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DRigidBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3DConeTwistConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg2; - ok &= luaval_to_mat4(tolua_S, 4, &arg2, "cc.Physics3DConeTwistConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg3; - ok &= luaval_to_mat4(tolua_S, 5, &arg3, "cc.Physics3DConeTwistConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DConeTwistConstraint* ret = cocos2d::Physics3DConeTwistConstraint::create(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.Physics3DConeTwistConstraint",(cocos2d::Physics3DConeTwistConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 2) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3DConeTwistConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Physics3DConeTwistConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DConeTwistConstraint* ret = cocos2d::Physics3DConeTwistConstraint::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.Physics3DConeTwistConstraint",(cocos2d::Physics3DConeTwistConstraint*)ret); - return 1; - } - } while (0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d", "cc.Physics3DConeTwistConstraint:create",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_create'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3DConeTwistConstraint* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3DConeTwistConstraint(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3DConeTwistConstraint"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3DConeTwistConstraint:Physics3DConeTwistConstraint",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3DConeTwistConstraint)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3DConeTwistConstraint(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3DConeTwistConstraint"); - tolua_cclass(tolua_S,"Physics3DConeTwistConstraint","cc.Physics3DConeTwistConstraint","cc.Physics3DConstraint",nullptr); - - tolua_beginmodule(tolua_S,"Physics3DConeTwistConstraint"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_constructor); - tolua_function(tolua_S,"getBFrame",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getBFrame); - tolua_function(tolua_S,"setFixThresh",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFixThresh); - tolua_function(tolua_S,"getFrameOffsetB",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetB); - tolua_function(tolua_S,"getFrameOffsetA",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFrameOffsetA); - tolua_function(tolua_S,"getFixThresh",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getFixThresh); - tolua_function(tolua_S,"getSwingSpan2",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan2); - tolua_function(tolua_S,"getSwingSpan1",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getSwingSpan1); - tolua_function(tolua_S,"setMaxMotorImpulse",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulse); - tolua_function(tolua_S,"setFrames",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setFrames); - tolua_function(tolua_S,"getTwistAngle",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistAngle); - tolua_function(tolua_S,"GetPointForAngle",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_GetPointForAngle); - tolua_function(tolua_S,"setMaxMotorImpulseNormalized",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setMaxMotorImpulseNormalized); - tolua_function(tolua_S,"getTwistSpan",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getTwistSpan); - tolua_function(tolua_S,"setDamping",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setDamping); - tolua_function(tolua_S,"setLimit",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_setLimit); - tolua_function(tolua_S,"getAFrame",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_getAFrame); - tolua_function(tolua_S,"enableMotor",lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_enableMotor); - tolua_function(tolua_S,"create", lua_cocos2dx_physics3d_Physics3DConeTwistConstraint_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3DConeTwistConstraint).name(); - g_luaType[typeName] = "cc.Physics3DConeTwistConstraint"; - g_typeCast["Physics3DConeTwistConstraint"] = "cc.Physics3DConeTwistConstraint"; - return 1; -} - -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearLowerLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearLowerLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3D6DofConstraint:setLinearLowerLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearLowerLimit'", nullptr); - return 0; - } - cobj->setLinearLowerLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:setLinearLowerLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearLowerLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearLowerLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearLowerLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearLowerLimit'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getLinearLowerLimit(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:getLinearLowerLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearLowerLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularUpperLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularUpperLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularUpperLimit'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getAngularUpperLimit(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:getAngularUpperLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularUpperLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_getUseFrameOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getUseFrameOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getUseFrameOffset'", nullptr); - return 0; - } - bool ret = cobj->getUseFrameOffset(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:getUseFrameOffset",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getUseFrameOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearUpperLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearUpperLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearUpperLimit'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getLinearUpperLimit(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:getLinearUpperLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearUpperLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularLowerLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularLowerLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3D6DofConstraint:setAngularLowerLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularLowerLimit'", nullptr); - return 0; - } - cobj->setAngularLowerLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:setAngularLowerLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularLowerLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_isLimited(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_isLimited'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Physics3D6DofConstraint:isLimited"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_isLimited'", nullptr); - return 0; - } - bool ret = cobj->isLimited(arg0); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:isLimited",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_isLimited'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_setUseFrameOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setUseFrameOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Physics3D6DofConstraint:setUseFrameOffset"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setUseFrameOffset'", nullptr); - return 0; - } - cobj->setUseFrameOffset(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:setUseFrameOffset",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setUseFrameOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearUpperLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearUpperLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3D6DofConstraint:setLinearUpperLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearUpperLimit'", nullptr); - return 0; - } - cobj->setLinearUpperLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:setLinearUpperLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearUpperLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularLowerLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularLowerLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularLowerLimit'", nullptr); - return 0; - } - cocos2d::Vec3 ret = cobj->getAngularLowerLimit(); - vec3_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:getAngularLowerLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularLowerLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularUpperLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* 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.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Physics3D6DofConstraint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularUpperLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec3 arg0; - - ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Physics3D6DofConstraint:setAngularUpperLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularUpperLimit'", nullptr); - return 0; - } - cobj->setAngularUpperLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:setAngularUpperLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularUpperLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Physics3D6DofConstraint",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 3) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3D6DofConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Physics3D6DofConstraint:create"); - if (!ok) { break; } - bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.Physics3D6DofConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3D6DofConstraint* ret = cocos2d::Physics3D6DofConstraint::create(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.Physics3D6DofConstraint",(cocos2d::Physics3D6DofConstraint*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 5) - { - cocos2d::Physics3DRigidBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Physics3DRigidBody",&arg0, "cc.Physics3D6DofConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3DRigidBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.Physics3DRigidBody",&arg1, "cc.Physics3D6DofConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg2; - ok &= luaval_to_mat4(tolua_S, 4, &arg2, "cc.Physics3D6DofConstraint:create"); - if (!ok) { break; } - cocos2d::Mat4 arg3; - ok &= luaval_to_mat4(tolua_S, 5, &arg3, "cc.Physics3D6DofConstraint:create"); - if (!ok) { break; } - bool arg4; - ok &= luaval_to_boolean(tolua_S, 6,&arg4, "cc.Physics3D6DofConstraint:create"); - if (!ok) { break; } - cocos2d::Physics3D6DofConstraint* ret = cocos2d::Physics3D6DofConstraint::create(arg0, arg1, arg2, arg3, arg4); - object_to_luaval(tolua_S, "cc.Physics3D6DofConstraint",(cocos2d::Physics3D6DofConstraint*)ret); - return 1; - } - } while (0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d", "cc.Physics3D6DofConstraint:create",argc, 5); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_create'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics3d_Physics3D6DofConstraint_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Physics3D6DofConstraint* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_constructor'", nullptr); - return 0; - } - cobj = new cocos2d::Physics3D6DofConstraint(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Physics3D6DofConstraint"); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Physics3D6DofConstraint:Physics3D6DofConstraint",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics3d_Physics3D6DofConstraint_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_physics3d_Physics3D6DofConstraint_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (Physics3D6DofConstraint)"); - return 0; -} - -int lua_register_cocos2dx_physics3d_Physics3D6DofConstraint(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.Physics3D6DofConstraint"); - tolua_cclass(tolua_S,"Physics3D6DofConstraint","cc.Physics3D6DofConstraint","cc.Physics3DConstraint",nullptr); - - tolua_beginmodule(tolua_S,"Physics3D6DofConstraint"); - tolua_function(tolua_S,"new",lua_cocos2dx_physics3d_Physics3D6DofConstraint_constructor); - tolua_function(tolua_S,"setLinearLowerLimit",lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearLowerLimit); - tolua_function(tolua_S,"getLinearLowerLimit",lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearLowerLimit); - tolua_function(tolua_S,"getAngularUpperLimit",lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularUpperLimit); - tolua_function(tolua_S,"getUseFrameOffset",lua_cocos2dx_physics3d_Physics3D6DofConstraint_getUseFrameOffset); - tolua_function(tolua_S,"getLinearUpperLimit",lua_cocos2dx_physics3d_Physics3D6DofConstraint_getLinearUpperLimit); - tolua_function(tolua_S,"setAngularLowerLimit",lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularLowerLimit); - tolua_function(tolua_S,"isLimited",lua_cocos2dx_physics3d_Physics3D6DofConstraint_isLimited); - tolua_function(tolua_S,"setUseFrameOffset",lua_cocos2dx_physics3d_Physics3D6DofConstraint_setUseFrameOffset); - tolua_function(tolua_S,"setLinearUpperLimit",lua_cocos2dx_physics3d_Physics3D6DofConstraint_setLinearUpperLimit); - tolua_function(tolua_S,"getAngularLowerLimit",lua_cocos2dx_physics3d_Physics3D6DofConstraint_getAngularLowerLimit); - tolua_function(tolua_S,"setAngularUpperLimit",lua_cocos2dx_physics3d_Physics3D6DofConstraint_setAngularUpperLimit); - tolua_function(tolua_S,"create", lua_cocos2dx_physics3d_Physics3D6DofConstraint_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::Physics3D6DofConstraint).name(); - g_luaType[typeName] = "cc.Physics3D6DofConstraint"; - g_typeCast["Physics3D6DofConstraint"] = "cc.Physics3D6DofConstraint"; - return 1; -} TOLUA_API int register_all_cocos2dx_physics3d(lua_State* tolua_S) { tolua_open(tolua_S); @@ -12364,18 +10,6 @@ TOLUA_API int register_all_cocos2dx_physics3d(lua_State* tolua_S) tolua_module(tolua_S,"cc",0); tolua_beginmodule(tolua_S,"cc"); - lua_register_cocos2dx_physics3d_Physics3DConstraint(tolua_S); - lua_register_cocos2dx_physics3d_Physics3D6DofConstraint(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DObject(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DRigidBody(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DWorld(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DSliderConstraint(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DComponent(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DConeTwistConstraint(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DPointToPointConstraint(tolua_S); - lua_register_cocos2dx_physics3d_PhysicsSprite3D(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DHingeConstraint(tolua_S); - lua_register_cocos2dx_physics3d_Physics3DShape(tolua_S); tolua_endmodule(tolua_S); return 1; diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics3d_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics3d_auto.hpp index ab65b51042..341b601cc5 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics3d_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics3d_auto.hpp @@ -13,257 +13,5 @@ extern "C" { int register_all_cocos2dx_physics3d(lua_State* tolua_S); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #endif // __cocos2dx_physics3d_h__ #endif //#if CC_USE_3D_PHYSICS && CC_ENABLE_BULLET_INTEGRATION diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp index 179d213e99..c46c8db77a 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp @@ -3,12739 +3,6 @@ #include "cocos2d.h" #include "scripting/lua-bindings/manual/tolua_fix.h" #include "scripting/lua-bindings/manual/LuaBasicConversions.h" - -int lua_cocos2dx_physics_PhysicsShape_getFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getFriction'", nullptr); - return 0; - } - double ret = cobj->getFriction(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getFriction",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setGroup(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setGroup'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setGroup"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setGroup'", nullptr); - return 0; - } - cobj->setGroup(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setGroup",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setGroup'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setDensity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setDensity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setDensity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setDensity'", nullptr); - return 0; - } - cobj->setDensity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setDensity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setDensity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getMass(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getMass'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getMass'", nullptr); - return 0; - } - double ret = cobj->getMass(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getMass",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getMass'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getMaterial(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getMaterial'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getMaterial'", nullptr); - return 0; - } - const cocos2d::PhysicsMaterial& ret = cobj->getMaterial(); - physics_material_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getMaterial",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getMaterial'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setSensor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setSensor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsShape:setSensor"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setSensor'", nullptr); - return 0; - } - cobj->setSensor(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setSensor",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setSensor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getCollisionBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getCollisionBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getCollisionBitmask'", nullptr); - return 0; - } - int ret = cobj->getCollisionBitmask(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getCollisionBitmask",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getCollisionBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getArea(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getArea'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getArea'", nullptr); - return 0; - } - double ret = cobj->getArea(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getArea",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getArea'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setCategoryBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setCategoryBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setCategoryBitmask"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setCategoryBitmask'", nullptr); - return 0; - } - cobj->setCategoryBitmask(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setCategoryBitmask",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setCategoryBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getGroup(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getGroup'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getGroup'", nullptr); - return 0; - } - int ret = cobj->getGroup(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getGroup",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getGroup'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setMoment(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setMoment'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setMoment"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setMoment'", nullptr); - return 0; - } - cobj->setMoment(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setMoment",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setMoment'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_containsPoint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_containsPoint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsShape:containsPoint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_containsPoint'", nullptr); - return 0; - } - bool ret = cobj->containsPoint(arg0); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:containsPoint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_containsPoint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getCategoryBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getCategoryBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getCategoryBitmask'", nullptr); - return 0; - } - int ret = cobj->getCategoryBitmask(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getCategoryBitmask",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getCategoryBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_isSensor(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_isSensor'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_isSensor'", nullptr); - return 0; - } - bool ret = cobj->isSensor(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:isSensor",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_isSensor'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getType(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getType'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getType'", nullptr); - return 0; - } - int ret = (int)cobj->getType(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getType",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getType'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getContactTestBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getContactTestBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getContactTestBitmask'", nullptr); - return 0; - } - int ret = cobj->getContactTestBitmask(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getContactTestBitmask",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getContactTestBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getCenter(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getCenter'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getCenter'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getCenter(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getCenter",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getCenter'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getDensity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getDensity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getDensity'", nullptr); - return 0; - } - double ret = cobj->getDensity(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getDensity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getDensity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setMass(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setMass'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setMass"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setMass'", nullptr); - return 0; - } - cobj->setMass(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setMass",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setMass'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getTag(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getTag'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getTag'", nullptr); - return 0; - } - int ret = cobj->getTag(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getTag",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getTag'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_calculateDefaultMoment(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_calculateDefaultMoment'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_calculateDefaultMoment'", nullptr); - return 0; - } - double ret = cobj->calculateDefaultMoment(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:calculateDefaultMoment",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_calculateDefaultMoment'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setCollisionBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setCollisionBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setCollisionBitmask"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setCollisionBitmask'", nullptr); - return 0; - } - cobj->setCollisionBitmask(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setCollisionBitmask",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setCollisionBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getMoment(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getMoment'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getMoment'", nullptr); - return 0; - } - double ret = cobj->getMoment(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getMoment",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getMoment'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getOffset'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getOffset(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getOffset",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getRestitution(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getRestitution'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getRestitution'", nullptr); - return 0; - } - double ret = cobj->getRestitution(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getRestitution",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getRestitution'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setFriction"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setFriction'", nullptr); - return 0; - } - cobj->setFriction(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setFriction",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setMaterial(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setMaterial'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::PhysicsMaterial arg0; - - ok &= luaval_to_physics_material(tolua_S, 2, &arg0, "cc.PhysicsShape:setMaterial"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setMaterial'", nullptr); - return 0; - } - cobj->setMaterial(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setMaterial",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setMaterial'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setTag(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setTag'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setTag"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setTag'", nullptr); - return 0; - } - cobj->setTag(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setTag",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setTag'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setContactTestBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setContactTestBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setContactTestBitmask"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setContactTestBitmask'", nullptr); - return 0; - } - cobj->setContactTestBitmask(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setContactTestBitmask",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setContactTestBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_setRestitution(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_setRestitution'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setRestitution"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_setRestitution'", nullptr); - return 0; - } - cobj->setRestitution(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setRestitution",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_setRestitution'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShape_getBody(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShape* 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.PhysicsShape",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShape*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShape_getBody'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShape_getBody'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cobj->getBody(); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getBody",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShape_getBody'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsShape_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsShape)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsShape(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsShape"); - tolua_cclass(tolua_S,"PhysicsShape","cc.PhysicsShape","cc.Ref",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsShape"); - tolua_function(tolua_S,"getFriction",lua_cocos2dx_physics_PhysicsShape_getFriction); - tolua_function(tolua_S,"setGroup",lua_cocos2dx_physics_PhysicsShape_setGroup); - tolua_function(tolua_S,"setDensity",lua_cocos2dx_physics_PhysicsShape_setDensity); - tolua_function(tolua_S,"getMass",lua_cocos2dx_physics_PhysicsShape_getMass); - tolua_function(tolua_S,"getMaterial",lua_cocos2dx_physics_PhysicsShape_getMaterial); - tolua_function(tolua_S,"setSensor",lua_cocos2dx_physics_PhysicsShape_setSensor); - tolua_function(tolua_S,"getCollisionBitmask",lua_cocos2dx_physics_PhysicsShape_getCollisionBitmask); - tolua_function(tolua_S,"getArea",lua_cocos2dx_physics_PhysicsShape_getArea); - tolua_function(tolua_S,"setCategoryBitmask",lua_cocos2dx_physics_PhysicsShape_setCategoryBitmask); - tolua_function(tolua_S,"getGroup",lua_cocos2dx_physics_PhysicsShape_getGroup); - tolua_function(tolua_S,"setMoment",lua_cocos2dx_physics_PhysicsShape_setMoment); - tolua_function(tolua_S,"containsPoint",lua_cocos2dx_physics_PhysicsShape_containsPoint); - tolua_function(tolua_S,"getCategoryBitmask",lua_cocos2dx_physics_PhysicsShape_getCategoryBitmask); - tolua_function(tolua_S,"isSensor",lua_cocos2dx_physics_PhysicsShape_isSensor); - tolua_function(tolua_S,"getType",lua_cocos2dx_physics_PhysicsShape_getType); - tolua_function(tolua_S,"getContactTestBitmask",lua_cocos2dx_physics_PhysicsShape_getContactTestBitmask); - tolua_function(tolua_S,"getCenter",lua_cocos2dx_physics_PhysicsShape_getCenter); - tolua_function(tolua_S,"getDensity",lua_cocos2dx_physics_PhysicsShape_getDensity); - tolua_function(tolua_S,"setMass",lua_cocos2dx_physics_PhysicsShape_setMass); - tolua_function(tolua_S,"getTag",lua_cocos2dx_physics_PhysicsShape_getTag); - tolua_function(tolua_S,"calculateDefaultMoment",lua_cocos2dx_physics_PhysicsShape_calculateDefaultMoment); - tolua_function(tolua_S,"setCollisionBitmask",lua_cocos2dx_physics_PhysicsShape_setCollisionBitmask); - tolua_function(tolua_S,"getMoment",lua_cocos2dx_physics_PhysicsShape_getMoment); - tolua_function(tolua_S,"getOffset",lua_cocos2dx_physics_PhysicsShape_getOffset); - tolua_function(tolua_S,"getRestitution",lua_cocos2dx_physics_PhysicsShape_getRestitution); - tolua_function(tolua_S,"setFriction",lua_cocos2dx_physics_PhysicsShape_setFriction); - tolua_function(tolua_S,"setMaterial",lua_cocos2dx_physics_PhysicsShape_setMaterial); - tolua_function(tolua_S,"setTag",lua_cocos2dx_physics_PhysicsShape_setTag); - tolua_function(tolua_S,"setContactTestBitmask",lua_cocos2dx_physics_PhysicsShape_setContactTestBitmask); - tolua_function(tolua_S,"setRestitution",lua_cocos2dx_physics_PhysicsShape_setRestitution); - tolua_function(tolua_S,"getBody",lua_cocos2dx_physics_PhysicsShape_getBody); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsShape).name(); - g_luaType[typeName] = "cc.PhysicsShape"; - g_typeCast["PhysicsShape"] = "cc.PhysicsShape"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsShapeCircle_getRadius(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShapeCircle* 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.PhysicsShapeCircle",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShapeCircle*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShapeCircle_getRadius'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeCircle_getRadius'", nullptr); - return 0; - } - double ret = cobj->getRadius(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeCircle:getRadius",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeCircle_getRadius'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShapeCircle_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsShapeCircle",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeCircle_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeCircle* ret = cocos2d::PhysicsShapeCircle::create(arg0); - object_to_luaval(tolua_S, "cc.PhysicsShapeCircle",(cocos2d::PhysicsShapeCircle*)ret); - return 1; - } - if (argc == 2) - { - double arg0; - cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:create"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeCircle:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeCircle_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeCircle* ret = cocos2d::PhysicsShapeCircle::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsShapeCircle",(cocos2d::PhysicsShapeCircle*)ret); - return 1; - } - if (argc == 3) - { - double arg0; - cocos2d::PhysicsMaterial arg1; - cocos2d::Vec2 arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:create"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeCircle:create"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsShapeCircle:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeCircle_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeCircle* ret = cocos2d::PhysicsShapeCircle::create(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsShapeCircle",(cocos2d::PhysicsShapeCircle*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeCircle:create",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeCircle_create'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics_PhysicsShapeCircle_calculateArea(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsShapeCircle",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:calculateArea"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeCircle_calculateArea'", nullptr); - return 0; - } - double ret = cocos2d::PhysicsShapeCircle::calculateArea(arg0); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeCircle:calculateArea",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeCircle_calculateArea'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics_PhysicsShapeCircle_calculateMoment(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsShapeCircle",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - double arg0; - double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:calculateMoment"); - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.PhysicsShapeCircle:calculateMoment"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeCircle_calculateMoment'", nullptr); - return 0; - } - double ret = cocos2d::PhysicsShapeCircle::calculateMoment(arg0, arg1); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - if (argc == 3) - { - double arg0; - double arg1; - cocos2d::Vec2 arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:calculateMoment"); - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.PhysicsShapeCircle:calculateMoment"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsShapeCircle:calculateMoment"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeCircle_calculateMoment'", nullptr); - return 0; - } - double ret = cocos2d::PhysicsShapeCircle::calculateMoment(arg0, arg1, arg2); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeCircle:calculateMoment",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeCircle_calculateMoment'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsShapeCircle_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsShapeCircle)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsShapeCircle(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsShapeCircle"); - tolua_cclass(tolua_S,"PhysicsShapeCircle","cc.PhysicsShapeCircle","cc.PhysicsShape",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsShapeCircle"); - tolua_function(tolua_S,"getRadius",lua_cocos2dx_physics_PhysicsShapeCircle_getRadius); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_PhysicsShapeCircle_create); - tolua_function(tolua_S,"calculateArea", lua_cocos2dx_physics_PhysicsShapeCircle_calculateArea); - tolua_function(tolua_S,"calculateMoment", lua_cocos2dx_physics_PhysicsShapeCircle_calculateMoment); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsShapeCircle).name(); - g_luaType[typeName] = "cc.PhysicsShapeCircle"; - g_typeCast["PhysicsShapeCircle"] = "cc.PhysicsShapeCircle"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsShapePolygon_getPointsCount(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShapePolygon* 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.PhysicsShapePolygon",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShapePolygon*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShapePolygon_getPointsCount'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapePolygon_getPointsCount'", nullptr); - return 0; - } - int ret = cobj->getPointsCount(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapePolygon:getPointsCount",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapePolygon_getPointsCount'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShapePolygon_getPoint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShapePolygon* 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.PhysicsShapePolygon",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShapePolygon*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShapePolygon_getPoint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShapePolygon:getPoint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapePolygon_getPoint'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getPoint(arg0); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapePolygon:getPoint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapePolygon_getPoint'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsShapePolygon_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsShapePolygon)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsShapePolygon(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsShapePolygon"); - tolua_cclass(tolua_S,"PhysicsShapePolygon","cc.PhysicsShapePolygon","cc.PhysicsShape",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsShapePolygon"); - tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapePolygon_getPointsCount); - tolua_function(tolua_S,"getPoint",lua_cocos2dx_physics_PhysicsShapePolygon_getPoint); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsShapePolygon).name(); - g_luaType[typeName] = "cc.PhysicsShapePolygon"; - g_typeCast["PhysicsShapePolygon"] = "cc.PhysicsShapePolygon"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsShapeBox_getSize(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShapeBox* 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.PhysicsShapeBox",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShapeBox*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShapeBox_getSize'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeBox_getSize'", nullptr); - return 0; - } - cocos2d::Size ret = cobj->getSize(); - size_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeBox:getSize",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeBox_getSize'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShapeBox_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsShapeBox",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeBox:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeBox_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeBox* ret = cocos2d::PhysicsShapeBox::create(arg0); - object_to_luaval(tolua_S, "cc.PhysicsShapeBox",(cocos2d::PhysicsShapeBox*)ret); - return 1; - } - if (argc == 2) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeBox:create"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeBox:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeBox_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeBox* ret = cocos2d::PhysicsShapeBox::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsShapeBox",(cocos2d::PhysicsShapeBox*)ret); - return 1; - } - if (argc == 3) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - cocos2d::Vec2 arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeBox:create"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeBox:create"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsShapeBox:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeBox_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeBox* ret = cocos2d::PhysicsShapeBox::create(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsShapeBox",(cocos2d::PhysicsShapeBox*)ret); - return 1; - } - if (argc == 4) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - cocos2d::Vec2 arg2; - double arg3; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeBox:create"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeBox:create"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsShapeBox:create"); - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsShapeBox:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeBox_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeBox* ret = cocos2d::PhysicsShapeBox::create(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsShapeBox",(cocos2d::PhysicsShapeBox*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeBox:create",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeBox_create'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsShapeBox_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsShapeBox)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsShapeBox(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsShapeBox"); - tolua_cclass(tolua_S,"PhysicsShapeBox","cc.PhysicsShapeBox","cc.PhysicsShapePolygon",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsShapeBox"); - tolua_function(tolua_S,"getSize",lua_cocos2dx_physics_PhysicsShapeBox_getSize); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_PhysicsShapeBox_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsShapeBox).name(); - g_luaType[typeName] = "cc.PhysicsShapeBox"; - g_typeCast["PhysicsShapeBox"] = "cc.PhysicsShapeBox"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShapeEdgeSegment* 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.PhysicsShapeEdgeSegment",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShapeEdgeSegment*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointB'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getPointB(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeEdgeSegment:getPointB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShapeEdgeSegment* 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.PhysicsShapeEdgeSegment",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShapeEdgeSegment*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointA'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getPointA(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeEdgeSegment:getPointA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsShapeEdgeSegment",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - cocos2d::Vec2 arg0; - cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeSegment:create"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeSegment:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeEdgeSegment* ret = cocos2d::PhysicsShapeEdgeSegment::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeSegment",(cocos2d::PhysicsShapeEdgeSegment*)ret); - return 1; - } - if (argc == 3) - { - cocos2d::Vec2 arg0; - cocos2d::Vec2 arg1; - cocos2d::PhysicsMaterial arg2; - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeSegment:create"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeSegment:create"); - ok &= luaval_to_physics_material(tolua_S, 4, &arg2, "cc.PhysicsShapeEdgeSegment:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeEdgeSegment* ret = cocos2d::PhysicsShapeEdgeSegment::create(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeSegment",(cocos2d::PhysicsShapeEdgeSegment*)ret); - return 1; - } - if (argc == 4) - { - cocos2d::Vec2 arg0; - cocos2d::Vec2 arg1; - cocos2d::PhysicsMaterial arg2; - double arg3; - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeSegment:create"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeSegment:create"); - ok &= luaval_to_physics_material(tolua_S, 4, &arg2, "cc.PhysicsShapeEdgeSegment:create"); - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsShapeEdgeSegment:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeEdgeSegment* ret = cocos2d::PhysicsShapeEdgeSegment::create(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeSegment",(cocos2d::PhysicsShapeEdgeSegment*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeEdgeSegment:create",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsShapeEdgeSegment)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsShapeEdgeSegment(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeSegment"); - tolua_cclass(tolua_S,"PhysicsShapeEdgeSegment","cc.PhysicsShapeEdgeSegment","cc.PhysicsShape",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsShapeEdgeSegment"); - tolua_function(tolua_S,"getPointB",lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointB); - tolua_function(tolua_S,"getPointA",lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointA); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsShapeEdgeSegment).name(); - g_luaType[typeName] = "cc.PhysicsShapeEdgeSegment"; - g_typeCast["PhysicsShapeEdgeSegment"] = "cc.PhysicsShapeEdgeSegment"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsShapeEdgePolygon_getPointsCount(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShapeEdgePolygon* 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.PhysicsShapeEdgePolygon",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShapeEdgePolygon*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShapeEdgePolygon_getPointsCount'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgePolygon_getPointsCount'", nullptr); - return 0; - } - int ret = cobj->getPointsCount(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeEdgePolygon:getPointsCount",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeEdgePolygon_getPointsCount'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsShapeEdgePolygon_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsShapeEdgePolygon)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsShapeEdgePolygon(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsShapeEdgePolygon"); - tolua_cclass(tolua_S,"PhysicsShapeEdgePolygon","cc.PhysicsShapeEdgePolygon","cc.PhysicsShape",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsShapeEdgePolygon"); - tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeEdgePolygon_getPointsCount); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsShapeEdgePolygon).name(); - g_luaType[typeName] = "cc.PhysicsShapeEdgePolygon"; - g_typeCast["PhysicsShapeEdgePolygon"] = "cc.PhysicsShapeEdgePolygon"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsShapeEdgeBox_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsShapeEdgeBox",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeBox:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeBox_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeEdgeBox* ret = cocos2d::PhysicsShapeEdgeBox::create(arg0); - object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeBox",(cocos2d::PhysicsShapeEdgeBox*)ret); - return 1; - } - if (argc == 2) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeBox:create"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeBox:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeBox_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeEdgeBox* ret = cocos2d::PhysicsShapeEdgeBox::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeBox",(cocos2d::PhysicsShapeEdgeBox*)ret); - return 1; - } - if (argc == 3) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - double arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeBox:create"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeBox:create"); - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsShapeEdgeBox:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeBox_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeEdgeBox* ret = cocos2d::PhysicsShapeEdgeBox::create(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeBox",(cocos2d::PhysicsShapeEdgeBox*)ret); - return 1; - } - if (argc == 4) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - double arg2; - cocos2d::Vec2 arg3; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeBox:create"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeBox:create"); - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsShapeEdgeBox:create"); - ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsShapeEdgeBox:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeBox_create'", nullptr); - return 0; - } - cocos2d::PhysicsShapeEdgeBox* ret = cocos2d::PhysicsShapeEdgeBox::create(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeBox",(cocos2d::PhysicsShapeEdgeBox*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeEdgeBox:create",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeEdgeBox_create'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsShapeEdgeBox_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsShapeEdgeBox)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsShapeEdgeBox(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeBox"); - tolua_cclass(tolua_S,"PhysicsShapeEdgeBox","cc.PhysicsShapeEdgeBox","cc.PhysicsShapeEdgePolygon",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsShapeEdgeBox"); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_PhysicsShapeEdgeBox_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsShapeEdgeBox).name(); - g_luaType[typeName] = "cc.PhysicsShapeEdgeBox"; - g_typeCast["PhysicsShapeEdgeBox"] = "cc.PhysicsShapeEdgeBox"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsShapeEdgeChain_getPointsCount(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsShapeEdgeChain* 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.PhysicsShapeEdgeChain",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsShapeEdgeChain*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsShapeEdgeChain_getPointsCount'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsShapeEdgeChain_getPointsCount'", nullptr); - return 0; - } - int ret = cobj->getPointsCount(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeEdgeChain:getPointsCount",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsShapeEdgeChain_getPointsCount'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsShapeEdgeChain_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsShapeEdgeChain)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsShapeEdgeChain(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeChain"); - tolua_cclass(tolua_S,"PhysicsShapeEdgeChain","cc.PhysicsShapeEdgeChain","cc.PhysicsShape",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsShapeEdgeChain"); - tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeEdgeChain_getPointsCount); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsShapeEdgeChain).name(); - g_luaType[typeName] = "cc.PhysicsShapeEdgeChain"; - g_typeCast["PhysicsShapeEdgeChain"] = "cc.PhysicsShapeEdgeChain"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsBody_isGravityEnabled(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_isGravityEnabled'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_isGravityEnabled'", nullptr); - return 0; - } - bool ret = cobj->isGravityEnabled(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isGravityEnabled",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_isGravityEnabled'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_resetForces(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_resetForces'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_resetForces'", nullptr); - return 0; - } - cobj->resetForces(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:resetForces",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_resetForces'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getVelocityLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityLimit'", nullptr); - return 0; - } - double ret = cobj->getVelocityLimit(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getVelocityLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setGroup(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setGroup'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setGroup"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setGroup'", nullptr); - return 0; - } - cobj->setGroup(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setGroup",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setGroup'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getMass(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getMass'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getMass'", nullptr); - return 0; - } - double ret = cobj->getMass(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getMass",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getMass'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getCollisionBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getCollisionBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getCollisionBitmask'", nullptr); - return 0; - } - int ret = cobj->getCollisionBitmask(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getCollisionBitmask",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getCollisionBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getRotationOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getRotationOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getRotationOffset'", nullptr); - return 0; - } - double ret = cobj->getRotationOffset(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getRotationOffset",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getRotationOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getRotation(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getRotation'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getRotation'", nullptr); - return 0; - } - double ret = cobj->getRotation(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getRotation",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getRotation'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getMoment(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getMoment'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getMoment'", nullptr); - return 0; - } - double ret = cobj->getMoment(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getMoment",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getMoment'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_applyImpulse(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_applyImpulse'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:applyImpulse"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_applyImpulse'", nullptr); - return 0; - } - cobj->applyImpulse(arg0); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 2) - { - cocos2d::Vec2 arg0; - cocos2d::Vec2 arg1; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:applyImpulse"); - - ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:applyImpulse"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_applyImpulse'", nullptr); - return 0; - } - cobj->applyImpulse(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:applyImpulse",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_applyImpulse'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setRotationOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setRotationOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setRotationOffset"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setRotationOffset'", nullptr); - return 0; - } - cobj->setRotationOffset(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setRotationOffset",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setRotationOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_applyForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_applyForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:applyForce"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_applyForce'", nullptr); - return 0; - } - cobj->applyForce(arg0); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 2) - { - cocos2d::Vec2 arg0; - cocos2d::Vec2 arg1; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:applyForce"); - - ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:applyForce"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_applyForce'", nullptr); - return 0; - } - cobj->applyForce(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:applyForce",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_applyForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_addShape(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_addShape'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::PhysicsShape* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0, "cc.PhysicsBody:addShape"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_addShape'", nullptr); - return 0; - } - cocos2d::PhysicsShape* ret = cobj->addShape(arg0); - object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); - return 1; - } - if (argc == 2) - { - cocos2d::PhysicsShape* arg0; - bool arg1; - - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0, "cc.PhysicsBody:addShape"); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.PhysicsBody:addShape"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_addShape'", nullptr); - return 0; - } - cocos2d::PhysicsShape* ret = cobj->addShape(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:addShape",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_addShape'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_applyTorque(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_applyTorque'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:applyTorque"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_applyTorque'", nullptr); - return 0; - } - cobj->applyTorque(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:applyTorque",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_applyTorque'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getAngularVelocityLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getAngularVelocityLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getAngularVelocityLimit'", nullptr); - return 0; - } - double ret = cobj->getAngularVelocityLimit(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getAngularVelocityLimit",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getAngularVelocityLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setAngularVelocityLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setAngularVelocityLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setAngularVelocityLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setAngularVelocityLimit'", nullptr); - return 0; - } - cobj->setAngularVelocityLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setAngularVelocityLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setAngularVelocityLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getVelocity'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getVelocity(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getVelocity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getLinearDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getLinearDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getLinearDamping'", nullptr); - return 0; - } - double ret = cobj->getLinearDamping(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getLinearDamping",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getLinearDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_removeAllShapes(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_removeAllShapes'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_removeAllShapes'", nullptr); - return 0; - } - cobj->removeAllShapes(); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:removeAllShapes"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_removeAllShapes'", nullptr); - return 0; - } - cobj->removeAllShapes(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:removeAllShapes",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_removeAllShapes'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setAngularDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setAngularDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setAngularDamping"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setAngularDamping'", nullptr); - return 0; - } - cobj->setAngularDamping(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setAngularDamping",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setAngularDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setVelocityLimit(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setVelocityLimit'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setVelocityLimit"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setVelocityLimit'", nullptr); - return 0; - } - cobj->setVelocityLimit(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setVelocityLimit",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setVelocityLimit'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setResting(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setResting'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setResting"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setResting'", nullptr); - return 0; - } - cobj->setResting(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setResting",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setResting'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getPositionOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getPositionOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getPositionOffset'", nullptr); - return 0; - } - const cocos2d::Vec2& ret = cobj->getPositionOffset(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getPositionOffset",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getPositionOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setCategoryBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setCategoryBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setCategoryBitmask"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setCategoryBitmask'", nullptr); - return 0; - } - cobj->setCategoryBitmask(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setCategoryBitmask",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setCategoryBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getWorld(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getWorld'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getWorld'", nullptr); - return 0; - } - cocos2d::PhysicsWorld* ret = cobj->getWorld(); - object_to_luaval(tolua_S, "cc.PhysicsWorld",(cocos2d::PhysicsWorld*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getWorld",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getWorld'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getAngularVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getAngularVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getAngularVelocity'", nullptr); - return 0; - } - double ret = cobj->getAngularVelocity(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getAngularVelocity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getAngularVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getPosition(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getPosition'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getPosition'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getPosition(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getPosition",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getPosition'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setGravityEnable(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setGravityEnable'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setGravityEnable"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setGravityEnable'", nullptr); - return 0; - } - cobj->setGravityEnable(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setGravityEnable",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setGravityEnable'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getGroup(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getGroup'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getGroup'", nullptr); - return 0; - } - int ret = cobj->getGroup(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getGroup",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getGroup'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setMoment(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setMoment'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setMoment"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setMoment'", nullptr); - return 0; - } - cobj->setMoment(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setMoment",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setMoment'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getTag(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getTag'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getTag'", nullptr); - return 0; - } - int ret = cobj->getTag(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getTag",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getTag'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_local2World(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_local2World'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:local2World"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_local2World'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->local2World(arg0); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:local2World",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_local2World'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getCategoryBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getCategoryBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getCategoryBitmask'", nullptr); - return 0; - } - int ret = cobj->getCategoryBitmask(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getCategoryBitmask",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getCategoryBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setDynamic(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setDynamic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setDynamic"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setDynamic'", nullptr); - return 0; - } - cobj->setDynamic(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setDynamic",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setDynamic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getFirstShape(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getFirstShape'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getFirstShape'", nullptr); - return 0; - } - cocos2d::PhysicsShape* ret = cobj->getFirstShape(); - object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getFirstShape",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getFirstShape'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getShapes(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getShapes'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getShapes'", nullptr); - return 0; - } - const cocos2d::Vector& ret = cobj->getShapes(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getShapes",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getShapes'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getContactTestBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getContactTestBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getContactTestBitmask'", nullptr); - return 0; - } - int ret = cobj->getContactTestBitmask(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getContactTestBitmask",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getContactTestBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setAngularVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setAngularVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setAngularVelocity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setAngularVelocity'", nullptr); - return 0; - } - cobj->setAngularVelocity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setAngularVelocity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setAngularVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_world2Local(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_world2Local'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:world2Local"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_world2Local'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->world2Local(arg0); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:world2Local",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_world2Local'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_removeShape(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_removeShape'", nullptr); - return 0; - } -#endif - argc = lua_gettop(tolua_S)-1; - do{ - if (argc == 1) { - int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:removeShape"); - - if (!ok) { break; } - cobj->removeShape(arg0); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 2) { - int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:removeShape"); - - if (!ok) { break; } - bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.PhysicsBody:removeShape"); - - if (!ok) { break; } - cobj->removeShape(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 1) { - cocos2d::PhysicsShape* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0, "cc.PhysicsBody:removeShape"); - - if (!ok) { break; } - cobj->removeShape(arg0); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 2) { - cocos2d::PhysicsShape* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0, "cc.PhysicsBody:removeShape"); - - if (!ok) { break; } - bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.PhysicsBody:removeShape"); - - if (!ok) { break; } - cobj->removeShape(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:removeShape",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_removeShape'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setMass(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setMass'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setMass"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setMass'", nullptr); - return 0; - } - cobj->setMass(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setMass",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setMass'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_addMoment(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_addMoment'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:addMoment"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_addMoment'", nullptr); - return 0; - } - cobj->addMoment(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:addMoment",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_addMoment'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:setVelocity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setVelocity'", nullptr); - return 0; - } - cobj->setVelocity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setVelocity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setLinearDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setLinearDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setLinearDamping"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setLinearDamping'", nullptr); - return 0; - } - cobj->setLinearDamping(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setLinearDamping",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setLinearDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setCollisionBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setCollisionBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setCollisionBitmask"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setCollisionBitmask'", nullptr); - return 0; - } - cobj->setCollisionBitmask(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setCollisionBitmask",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setCollisionBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setPositionOffset(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setPositionOffset'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:setPositionOffset"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setPositionOffset'", nullptr); - return 0; - } - cobj->setPositionOffset(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setPositionOffset",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setPositionOffset'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setRotationEnable(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setRotationEnable'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setRotationEnable"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setRotationEnable'", nullptr); - return 0; - } - cobj->setRotationEnable(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setRotationEnable",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setRotationEnable'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_isRotationEnabled(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_isRotationEnabled'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_isRotationEnabled'", nullptr); - return 0; - } - bool ret = cobj->isRotationEnabled(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isRotationEnabled",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_isRotationEnabled'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getCPBody(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getCPBody'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getCPBody'", nullptr); - return 0; - } - cpBody* ret = cobj->getCPBody(); - #pragma warning NO CONVERSION FROM NATIVE FOR cpBody*; - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getCPBody",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getCPBody'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getAngularDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getAngularDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getAngularDamping'", nullptr); - return 0; - } - double ret = cobj->getAngularDamping(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getAngularDamping",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getAngularDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getVelocityAtLocalPoint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityAtLocalPoint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:getVelocityAtLocalPoint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityAtLocalPoint'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getVelocityAtLocalPoint(arg0); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getVelocityAtLocalPoint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityAtLocalPoint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_isResting(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_isResting'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_isResting'", nullptr); - return 0; - } - bool ret = cobj->isResting(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isResting",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_isResting'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_addMass(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_addMass'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:addMass"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_addMass'", nullptr); - return 0; - } - cobj->addMass(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:addMass",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_addMass'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getShape(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getShape'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:getShape"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getShape'", nullptr); - return 0; - } - cocos2d::PhysicsShape* ret = cobj->getShape(arg0); - object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getShape",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getShape'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setTag(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setTag'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setTag"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setTag'", nullptr); - return 0; - } - cobj->setTag(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setTag",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setTag'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getVelocityAtWorldPoint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityAtWorldPoint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:getVelocityAtWorldPoint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityAtWorldPoint'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getVelocityAtWorldPoint(arg0); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getVelocityAtWorldPoint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getVelocityAtWorldPoint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_setContactTestBitmask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_setContactTestBitmask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setContactTestBitmask"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_setContactTestBitmask'", nullptr); - return 0; - } - cobj->setContactTestBitmask(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setContactTestBitmask",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_setContactTestBitmask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_removeFromWorld(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_removeFromWorld'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_removeFromWorld'", nullptr); - return 0; - } - cobj->removeFromWorld(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:removeFromWorld",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_removeFromWorld'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_isDynamic(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_isDynamic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_isDynamic'", nullptr); - return 0; - } - bool ret = cobj->isDynamic(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isDynamic",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_isDynamic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_getNode(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsBody* 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.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsBody*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsBody_getNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_getNode'", nullptr); - return 0; - } - cocos2d::Node* ret = cobj->getNode(); - object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getNode",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_getNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_createBox(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createBox'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createBox(arg0); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 2) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createBox"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createBox'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createBox(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 3) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - cocos2d::Vec2 arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createBox"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createBox"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsBody:createBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createBox'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createBox(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsBody:createBox",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_createBox'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_createEdgeSegment(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - cocos2d::Vec2 arg0; - cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeSegment"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeSegment"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeSegment'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeSegment(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 3) - { - cocos2d::Vec2 arg0; - cocos2d::Vec2 arg1; - cocos2d::PhysicsMaterial arg2; - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeSegment"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeSegment"); - ok &= luaval_to_physics_material(tolua_S, 4, &arg2, "cc.PhysicsBody:createEdgeSegment"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeSegment'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeSegment(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 4) - { - cocos2d::Vec2 arg0; - cocos2d::Vec2 arg1; - cocos2d::PhysicsMaterial arg2; - double arg3; - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeSegment"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeSegment"); - ok &= luaval_to_physics_material(tolua_S, 4, &arg2, "cc.PhysicsBody:createEdgeSegment"); - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsBody:createEdgeSegment"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeSegment'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeSegment(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsBody:createEdgeSegment",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeSegment'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 1) - { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:create"); - if (!ok) { break; } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::create(arg0); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 0) - { - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::create(); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 2) - { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:create"); - if (!ok) { break; } - double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.PhysicsBody:create"); - if (!ok) { break; } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - } while (0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d", "cc.PhysicsBody:create",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_create'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_createEdgeBox(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeBox'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeBox(arg0); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 2) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeBox"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeBox'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeBox(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 3) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - double arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeBox"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeBox"); - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsBody:createEdgeBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeBox'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeBox(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 4) - { - cocos2d::Size arg0; - cocos2d::PhysicsMaterial arg1; - double arg2; - cocos2d::Vec2 arg3; - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeBox"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeBox"); - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsBody:createEdgeBox"); - ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsBody:createEdgeBox"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeBox'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeBox(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsBody:createEdgeBox",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_createEdgeBox'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_physics_PhysicsBody_createCircle(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsBody",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:createCircle"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createCircle'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createCircle(arg0); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 2) - { - double arg0; - cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:createCircle"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createCircle"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createCircle'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createCircle(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - if (argc == 3) - { - double arg0; - cocos2d::PhysicsMaterial arg1; - cocos2d::Vec2 arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:createCircle"); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createCircle"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsBody:createCircle"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsBody_createCircle'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createCircle(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsBody:createCircle",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsBody_createCircle'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsBody_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsBody)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsBody(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsBody"); - tolua_cclass(tolua_S,"PhysicsBody","cc.PhysicsBody","cc.Component",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsBody"); - tolua_function(tolua_S,"isGravityEnabled",lua_cocos2dx_physics_PhysicsBody_isGravityEnabled); - tolua_function(tolua_S,"resetForces",lua_cocos2dx_physics_PhysicsBody_resetForces); - tolua_function(tolua_S,"getVelocityLimit",lua_cocos2dx_physics_PhysicsBody_getVelocityLimit); - tolua_function(tolua_S,"setGroup",lua_cocos2dx_physics_PhysicsBody_setGroup); - tolua_function(tolua_S,"getMass",lua_cocos2dx_physics_PhysicsBody_getMass); - tolua_function(tolua_S,"getCollisionBitmask",lua_cocos2dx_physics_PhysicsBody_getCollisionBitmask); - tolua_function(tolua_S,"getRotationOffset",lua_cocos2dx_physics_PhysicsBody_getRotationOffset); - tolua_function(tolua_S,"getRotation",lua_cocos2dx_physics_PhysicsBody_getRotation); - tolua_function(tolua_S,"getMoment",lua_cocos2dx_physics_PhysicsBody_getMoment); - tolua_function(tolua_S,"applyImpulse",lua_cocos2dx_physics_PhysicsBody_applyImpulse); - tolua_function(tolua_S,"setRotationOffset",lua_cocos2dx_physics_PhysicsBody_setRotationOffset); - tolua_function(tolua_S,"applyForce",lua_cocos2dx_physics_PhysicsBody_applyForce); - tolua_function(tolua_S,"addShape",lua_cocos2dx_physics_PhysicsBody_addShape); - tolua_function(tolua_S,"applyTorque",lua_cocos2dx_physics_PhysicsBody_applyTorque); - tolua_function(tolua_S,"getAngularVelocityLimit",lua_cocos2dx_physics_PhysicsBody_getAngularVelocityLimit); - tolua_function(tolua_S,"setAngularVelocityLimit",lua_cocos2dx_physics_PhysicsBody_setAngularVelocityLimit); - tolua_function(tolua_S,"getVelocity",lua_cocos2dx_physics_PhysicsBody_getVelocity); - tolua_function(tolua_S,"getLinearDamping",lua_cocos2dx_physics_PhysicsBody_getLinearDamping); - tolua_function(tolua_S,"removeAllShapes",lua_cocos2dx_physics_PhysicsBody_removeAllShapes); - tolua_function(tolua_S,"setAngularDamping",lua_cocos2dx_physics_PhysicsBody_setAngularDamping); - tolua_function(tolua_S,"setVelocityLimit",lua_cocos2dx_physics_PhysicsBody_setVelocityLimit); - tolua_function(tolua_S,"setResting",lua_cocos2dx_physics_PhysicsBody_setResting); - tolua_function(tolua_S,"getPositionOffset",lua_cocos2dx_physics_PhysicsBody_getPositionOffset); - tolua_function(tolua_S,"setCategoryBitmask",lua_cocos2dx_physics_PhysicsBody_setCategoryBitmask); - tolua_function(tolua_S,"getWorld",lua_cocos2dx_physics_PhysicsBody_getWorld); - tolua_function(tolua_S,"getAngularVelocity",lua_cocos2dx_physics_PhysicsBody_getAngularVelocity); - tolua_function(tolua_S,"getPosition",lua_cocos2dx_physics_PhysicsBody_getPosition); - tolua_function(tolua_S,"setGravityEnable",lua_cocos2dx_physics_PhysicsBody_setGravityEnable); - tolua_function(tolua_S,"getGroup",lua_cocos2dx_physics_PhysicsBody_getGroup); - tolua_function(tolua_S,"setMoment",lua_cocos2dx_physics_PhysicsBody_setMoment); - tolua_function(tolua_S,"getTag",lua_cocos2dx_physics_PhysicsBody_getTag); - tolua_function(tolua_S,"local2World",lua_cocos2dx_physics_PhysicsBody_local2World); - tolua_function(tolua_S,"getCategoryBitmask",lua_cocos2dx_physics_PhysicsBody_getCategoryBitmask); - tolua_function(tolua_S,"setDynamic",lua_cocos2dx_physics_PhysicsBody_setDynamic); - tolua_function(tolua_S,"getFirstShape",lua_cocos2dx_physics_PhysicsBody_getFirstShape); - tolua_function(tolua_S,"getShapes",lua_cocos2dx_physics_PhysicsBody_getShapes); - tolua_function(tolua_S,"getContactTestBitmask",lua_cocos2dx_physics_PhysicsBody_getContactTestBitmask); - tolua_function(tolua_S,"setAngularVelocity",lua_cocos2dx_physics_PhysicsBody_setAngularVelocity); - tolua_function(tolua_S,"world2Local",lua_cocos2dx_physics_PhysicsBody_world2Local); - tolua_function(tolua_S,"removeShape",lua_cocos2dx_physics_PhysicsBody_removeShape); - tolua_function(tolua_S,"setMass",lua_cocos2dx_physics_PhysicsBody_setMass); - tolua_function(tolua_S,"addMoment",lua_cocos2dx_physics_PhysicsBody_addMoment); - tolua_function(tolua_S,"setVelocity",lua_cocos2dx_physics_PhysicsBody_setVelocity); - tolua_function(tolua_S,"setLinearDamping",lua_cocos2dx_physics_PhysicsBody_setLinearDamping); - tolua_function(tolua_S,"setCollisionBitmask",lua_cocos2dx_physics_PhysicsBody_setCollisionBitmask); - tolua_function(tolua_S,"setPositionOffset",lua_cocos2dx_physics_PhysicsBody_setPositionOffset); - tolua_function(tolua_S,"setRotationEnable",lua_cocos2dx_physics_PhysicsBody_setRotationEnable); - tolua_function(tolua_S,"isRotationEnabled",lua_cocos2dx_physics_PhysicsBody_isRotationEnabled); - tolua_function(tolua_S,"getCPBody",lua_cocos2dx_physics_PhysicsBody_getCPBody); - tolua_function(tolua_S,"getAngularDamping",lua_cocos2dx_physics_PhysicsBody_getAngularDamping); - tolua_function(tolua_S,"getVelocityAtLocalPoint",lua_cocos2dx_physics_PhysicsBody_getVelocityAtLocalPoint); - tolua_function(tolua_S,"isResting",lua_cocos2dx_physics_PhysicsBody_isResting); - tolua_function(tolua_S,"addMass",lua_cocos2dx_physics_PhysicsBody_addMass); - tolua_function(tolua_S,"getShape",lua_cocos2dx_physics_PhysicsBody_getShape); - tolua_function(tolua_S,"setTag",lua_cocos2dx_physics_PhysicsBody_setTag); - tolua_function(tolua_S,"getVelocityAtWorldPoint",lua_cocos2dx_physics_PhysicsBody_getVelocityAtWorldPoint); - tolua_function(tolua_S,"setContactTestBitmask",lua_cocos2dx_physics_PhysicsBody_setContactTestBitmask); - tolua_function(tolua_S,"removeFromWorld",lua_cocos2dx_physics_PhysicsBody_removeFromWorld); - tolua_function(tolua_S,"isDynamic",lua_cocos2dx_physics_PhysicsBody_isDynamic); - tolua_function(tolua_S,"getNode",lua_cocos2dx_physics_PhysicsBody_getNode); - tolua_function(tolua_S,"createBox", lua_cocos2dx_physics_PhysicsBody_createBox); - tolua_function(tolua_S,"createEdgeSegment", lua_cocos2dx_physics_PhysicsBody_createEdgeSegment); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_PhysicsBody_create); - tolua_function(tolua_S,"createEdgeBox", lua_cocos2dx_physics_PhysicsBody_createEdgeBox); - tolua_function(tolua_S,"createCircle", lua_cocos2dx_physics_PhysicsBody_createCircle); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsBody).name(); - g_luaType[typeName] = "cc.PhysicsBody"; - g_typeCast["PhysicsBody"] = "cc.PhysicsBody"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsContact_getContactData(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContact* 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.PhysicsContact",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContact*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContact_getContactData'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContact_getContactData'", nullptr); - return 0; - } - const cocos2d::PhysicsContactData* ret = cobj->getContactData(); - physics_contactdata_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getContactData",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContact_getContactData'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContact_getEventCode(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContact* 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.PhysicsContact",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContact*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContact_getEventCode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContact_getEventCode'", nullptr); - return 0; - } - int ret = (int)cobj->getEventCode(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getEventCode",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContact_getEventCode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContact_getPreContactData(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContact* 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.PhysicsContact",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContact*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContact_getPreContactData'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContact_getPreContactData'", nullptr); - return 0; - } - const cocos2d::PhysicsContactData* ret = cobj->getPreContactData(); - physics_contactdata_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getPreContactData",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContact_getPreContactData'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContact_getShapeA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContact* 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.PhysicsContact",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContact*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContact_getShapeA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContact_getShapeA'", nullptr); - return 0; - } - cocos2d::PhysicsShape* ret = cobj->getShapeA(); - object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getShapeA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContact_getShapeA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContact_getShapeB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContact* 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.PhysicsContact",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContact*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContact_getShapeB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContact_getShapeB'", nullptr); - return 0; - } - cocos2d::PhysicsShape* ret = cobj->getShapeB(); - object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getShapeB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContact_getShapeB'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsContact_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsContact)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsContact(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsContact"); - tolua_cclass(tolua_S,"PhysicsContact","cc.PhysicsContact","cc.EventCustom",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsContact"); - tolua_function(tolua_S,"getContactData",lua_cocos2dx_physics_PhysicsContact_getContactData); - tolua_function(tolua_S,"getEventCode",lua_cocos2dx_physics_PhysicsContact_getEventCode); - tolua_function(tolua_S,"getPreContactData",lua_cocos2dx_physics_PhysicsContact_getPreContactData); - tolua_function(tolua_S,"getShapeA",lua_cocos2dx_physics_PhysicsContact_getShapeA); - tolua_function(tolua_S,"getShapeB",lua_cocos2dx_physics_PhysicsContact_getShapeB); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsContact).name(); - g_luaType[typeName] = "cc.PhysicsContact"; - g_typeCast["PhysicsContact"] = "cc.PhysicsContact"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsContactPreSolve_getFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPreSolve* 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.PhysicsContactPreSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPreSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getFriction'", nullptr); - return 0; - } - double ret = cobj->getFriction(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:getFriction",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContactPreSolve_getRestitution(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPreSolve* 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.PhysicsContactPreSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPreSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getRestitution'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getRestitution'", nullptr); - return 0; - } - double ret = cobj->getRestitution(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:getRestitution",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getRestitution'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContactPreSolve_setFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPreSolve* 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.PhysicsContactPreSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPreSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsContactPreSolve:setFriction"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setFriction'", nullptr); - return 0; - } - cobj->setFriction(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:setFriction",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContactPreSolve_ignore(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPreSolve* 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.PhysicsContactPreSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPreSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_ignore'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_ignore'", nullptr); - return 0; - } - cobj->ignore(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:ignore",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_ignore'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContactPreSolve_getSurfaceVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPreSolve* 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.PhysicsContactPreSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPreSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getSurfaceVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getSurfaceVelocity'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getSurfaceVelocity(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:getSurfaceVelocity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_getSurfaceVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContactPreSolve_setSurfaceVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPreSolve* 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.PhysicsContactPreSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPreSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setSurfaceVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsContactPreSolve:setSurfaceVelocity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setSurfaceVelocity'", nullptr); - return 0; - } - cobj->setSurfaceVelocity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:setSurfaceVelocity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setSurfaceVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContactPreSolve_setRestitution(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPreSolve* 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.PhysicsContactPreSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPreSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setRestitution'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsContactPreSolve:setRestitution"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setRestitution'", nullptr); - return 0; - } - cobj->setRestitution(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:setRestitution",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPreSolve_setRestitution'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsContactPreSolve_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsContactPreSolve)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsContactPreSolve(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsContactPreSolve"); - tolua_cclass(tolua_S,"PhysicsContactPreSolve","cc.PhysicsContactPreSolve","",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsContactPreSolve"); - tolua_function(tolua_S,"getFriction",lua_cocos2dx_physics_PhysicsContactPreSolve_getFriction); - tolua_function(tolua_S,"getRestitution",lua_cocos2dx_physics_PhysicsContactPreSolve_getRestitution); - tolua_function(tolua_S,"setFriction",lua_cocos2dx_physics_PhysicsContactPreSolve_setFriction); - tolua_function(tolua_S,"ignore",lua_cocos2dx_physics_PhysicsContactPreSolve_ignore); - tolua_function(tolua_S,"getSurfaceVelocity",lua_cocos2dx_physics_PhysicsContactPreSolve_getSurfaceVelocity); - tolua_function(tolua_S,"setSurfaceVelocity",lua_cocos2dx_physics_PhysicsContactPreSolve_setSurfaceVelocity); - tolua_function(tolua_S,"setRestitution",lua_cocos2dx_physics_PhysicsContactPreSolve_setRestitution); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsContactPreSolve).name(); - g_luaType[typeName] = "cc.PhysicsContactPreSolve"; - g_typeCast["PhysicsContactPreSolve"] = "cc.PhysicsContactPreSolve"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsContactPostSolve_getFriction(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPostSolve* 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.PhysicsContactPostSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPostSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getFriction'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getFriction'", nullptr); - return 0; - } - double ret = cobj->getFriction(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPostSolve:getFriction",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getFriction'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContactPostSolve_getSurfaceVelocity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPostSolve* 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.PhysicsContactPostSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPostSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getSurfaceVelocity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getSurfaceVelocity'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getSurfaceVelocity(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPostSolve:getSurfaceVelocity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getSurfaceVelocity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsContactPostSolve_getRestitution(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsContactPostSolve* 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.PhysicsContactPostSolve",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsContactPostSolve*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getRestitution'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getRestitution'", nullptr); - return 0; - } - double ret = cobj->getRestitution(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPostSolve:getRestitution",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsContactPostSolve_getRestitution'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsContactPostSolve_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsContactPostSolve)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsContactPostSolve(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsContactPostSolve"); - tolua_cclass(tolua_S,"PhysicsContactPostSolve","cc.PhysicsContactPostSolve","",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsContactPostSolve"); - tolua_function(tolua_S,"getFriction",lua_cocos2dx_physics_PhysicsContactPostSolve_getFriction); - tolua_function(tolua_S,"getSurfaceVelocity",lua_cocos2dx_physics_PhysicsContactPostSolve_getSurfaceVelocity); - tolua_function(tolua_S,"getRestitution",lua_cocos2dx_physics_PhysicsContactPostSolve_getRestitution); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsContactPostSolve).name(); - g_luaType[typeName] = "cc.PhysicsContactPostSolve"; - g_typeCast["PhysicsContactPostSolve"] = "cc.PhysicsContactPostSolve"; - return 1; -} - -int lua_cocos2dx_physics_EventListenerPhysicsContact_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.EventListenerPhysicsContact",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_EventListenerPhysicsContact_create'", nullptr); - return 0; - } - cocos2d::EventListenerPhysicsContact* ret = cocos2d::EventListenerPhysicsContact::create(); - object_to_luaval(tolua_S, "cc.EventListenerPhysicsContact",(cocos2d::EventListenerPhysicsContact*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerPhysicsContact:create",argc, 0); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_EventListenerPhysicsContact_create'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_EventListenerPhysicsContact_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (EventListenerPhysicsContact)"); - return 0; -} - -int lua_register_cocos2dx_physics_EventListenerPhysicsContact(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.EventListenerPhysicsContact"); - tolua_cclass(tolua_S,"EventListenerPhysicsContact","cc.EventListenerPhysicsContact","cc.EventListenerCustom",nullptr); - - tolua_beginmodule(tolua_S,"EventListenerPhysicsContact"); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_EventListenerPhysicsContact_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::EventListenerPhysicsContact).name(); - g_luaType[typeName] = "cc.EventListenerPhysicsContact"; - g_typeCast["EventListenerPhysicsContact"] = "cc.EventListenerPhysicsContact"; - return 1; -} - -int lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_hitTest(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::EventListenerPhysicsContactWithBodies* 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.EventListenerPhysicsContactWithBodies",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::EventListenerPhysicsContactWithBodies*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_hitTest'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::PhysicsShape* arg0; - cocos2d::PhysicsShape* arg1; - - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0, "cc.EventListenerPhysicsContactWithBodies:hitTest"); - - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsShape",&arg1, "cc.EventListenerPhysicsContactWithBodies:hitTest"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_hitTest'", nullptr); - return 0; - } - bool ret = cobj->hitTest(arg0, arg1); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListenerPhysicsContactWithBodies:hitTest",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_hitTest'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.EventListenerPhysicsContactWithBodies",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.EventListenerPhysicsContactWithBodies:create"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.EventListenerPhysicsContactWithBodies:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_create'", nullptr); - return 0; - } - cocos2d::EventListenerPhysicsContactWithBodies* ret = cocos2d::EventListenerPhysicsContactWithBodies::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.EventListenerPhysicsContactWithBodies",(cocos2d::EventListenerPhysicsContactWithBodies*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerPhysicsContactWithBodies:create",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_create'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (EventListenerPhysicsContactWithBodies)"); - return 0; -} - -int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithBodies(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithBodies"); - tolua_cclass(tolua_S,"EventListenerPhysicsContactWithBodies","cc.EventListenerPhysicsContactWithBodies","cc.EventListenerPhysicsContact",nullptr); - - tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithBodies"); - tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_hitTest); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::EventListenerPhysicsContactWithBodies).name(); - g_luaType[typeName] = "cc.EventListenerPhysicsContactWithBodies"; - g_typeCast["EventListenerPhysicsContactWithBodies"] = "cc.EventListenerPhysicsContactWithBodies"; - return 1; -} - -int lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_hitTest(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::EventListenerPhysicsContactWithShapes* 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.EventListenerPhysicsContactWithShapes",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::EventListenerPhysicsContactWithShapes*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_hitTest'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::PhysicsShape* arg0; - cocos2d::PhysicsShape* arg1; - - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0, "cc.EventListenerPhysicsContactWithShapes:hitTest"); - - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsShape",&arg1, "cc.EventListenerPhysicsContactWithShapes:hitTest"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_hitTest'", nullptr); - return 0; - } - bool ret = cobj->hitTest(arg0, arg1); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListenerPhysicsContactWithShapes:hitTest",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_hitTest'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.EventListenerPhysicsContactWithShapes",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - cocos2d::PhysicsShape* arg0; - cocos2d::PhysicsShape* arg1; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0, "cc.EventListenerPhysicsContactWithShapes:create"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsShape",&arg1, "cc.EventListenerPhysicsContactWithShapes:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_create'", nullptr); - return 0; - } - cocos2d::EventListenerPhysicsContactWithShapes* ret = cocos2d::EventListenerPhysicsContactWithShapes::create(arg0, arg1); - object_to_luaval(tolua_S, "cc.EventListenerPhysicsContactWithShapes",(cocos2d::EventListenerPhysicsContactWithShapes*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerPhysicsContactWithShapes:create",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_create'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (EventListenerPhysicsContactWithShapes)"); - return 0; -} - -int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithShapes(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithShapes"); - tolua_cclass(tolua_S,"EventListenerPhysicsContactWithShapes","cc.EventListenerPhysicsContactWithShapes","cc.EventListenerPhysicsContact",nullptr); - - tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithShapes"); - tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_hitTest); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::EventListenerPhysicsContactWithShapes).name(); - g_luaType[typeName] = "cc.EventListenerPhysicsContactWithShapes"; - g_typeCast["EventListenerPhysicsContactWithShapes"] = "cc.EventListenerPhysicsContactWithShapes"; - return 1; -} - -int lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_hitTest(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::EventListenerPhysicsContactWithGroup* 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.EventListenerPhysicsContactWithGroup",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::EventListenerPhysicsContactWithGroup*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_hitTest'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::PhysicsShape* arg0; - cocos2d::PhysicsShape* arg1; - - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0, "cc.EventListenerPhysicsContactWithGroup:hitTest"); - - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsShape",&arg1, "cc.EventListenerPhysicsContactWithGroup:hitTest"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_hitTest'", nullptr); - return 0; - } - bool ret = cobj->hitTest(arg0, arg1); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListenerPhysicsContactWithGroup:hitTest",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_hitTest'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.EventListenerPhysicsContactWithGroup",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventListenerPhysicsContactWithGroup:create"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_create'", nullptr); - return 0; - } - cocos2d::EventListenerPhysicsContactWithGroup* ret = cocos2d::EventListenerPhysicsContactWithGroup::create(arg0); - object_to_luaval(tolua_S, "cc.EventListenerPhysicsContactWithGroup",(cocos2d::EventListenerPhysicsContactWithGroup*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerPhysicsContactWithGroup:create",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_create'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (EventListenerPhysicsContactWithGroup)"); - return 0; -} - -int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithGroup(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithGroup"); - tolua_cclass(tolua_S,"EventListenerPhysicsContactWithGroup","cc.EventListenerPhysicsContactWithGroup","cc.EventListenerPhysicsContact",nullptr); - - tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithGroup"); - tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_hitTest); - tolua_function(tolua_S,"create", lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_create); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::EventListenerPhysicsContactWithGroup).name(); - g_luaType[typeName] = "cc.EventListenerPhysicsContactWithGroup"; - g_typeCast["EventListenerPhysicsContactWithGroup"] = "cc.EventListenerPhysicsContactWithGroup"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJoint_getBodyA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_getBodyA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_getBodyA'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cobj->getBodyA(); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getBodyA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_getBodyA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_getBodyB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_getBodyB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_getBodyB'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cobj->getBodyB(); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getBodyB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_getBodyB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_getMaxForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_getMaxForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_getMaxForce'", nullptr); - return 0; - } - double ret = cobj->getMaxForce(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getMaxForce",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_getMaxForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_setMaxForce(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_setMaxForce'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJoint:setMaxForce"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_setMaxForce'", nullptr); - return 0; - } - cobj->setMaxForce(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:setMaxForce",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_setMaxForce'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_isEnabled(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_isEnabled'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_isEnabled'", nullptr); - return 0; - } - bool ret = cobj->isEnabled(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:isEnabled",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_isEnabled'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_setEnable(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_setEnable'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsJoint:setEnable"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_setEnable'", nullptr); - return 0; - } - cobj->setEnable(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:setEnable",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_setEnable'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_setCollisionEnable(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_setCollisionEnable'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsJoint:setCollisionEnable"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_setCollisionEnable'", nullptr); - return 0; - } - cobj->setCollisionEnable(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:setCollisionEnable",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_setCollisionEnable'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_getWorld(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_getWorld'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_getWorld'", nullptr); - return 0; - } - cocos2d::PhysicsWorld* ret = cobj->getWorld(); - object_to_luaval(tolua_S, "cc.PhysicsWorld",(cocos2d::PhysicsWorld*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getWorld",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_getWorld'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_setTag(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_setTag'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsJoint:setTag"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_setTag'", nullptr); - return 0; - } - cobj->setTag(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:setTag",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_setTag'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_removeFormWorld(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_removeFormWorld'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_removeFormWorld'", nullptr); - return 0; - } - cobj->removeFormWorld(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:removeFormWorld",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_removeFormWorld'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_isCollisionEnabled(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_isCollisionEnabled'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_isCollisionEnabled'", nullptr); - return 0; - } - bool ret = cobj->isCollisionEnabled(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:isCollisionEnabled",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_isCollisionEnabled'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJoint_getTag(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJoint* 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.PhysicsJoint",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJoint*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJoint_getTag'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJoint_getTag'", nullptr); - return 0; - } - int ret = cobj->getTag(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getTag",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJoint_getTag'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsJoint_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJoint)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJoint(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJoint"); - tolua_cclass(tolua_S,"PhysicsJoint","cc.PhysicsJoint","",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJoint"); - tolua_function(tolua_S,"getBodyA",lua_cocos2dx_physics_PhysicsJoint_getBodyA); - tolua_function(tolua_S,"getBodyB",lua_cocos2dx_physics_PhysicsJoint_getBodyB); - tolua_function(tolua_S,"getMaxForce",lua_cocos2dx_physics_PhysicsJoint_getMaxForce); - tolua_function(tolua_S,"setMaxForce",lua_cocos2dx_physics_PhysicsJoint_setMaxForce); - tolua_function(tolua_S,"isEnabled",lua_cocos2dx_physics_PhysicsJoint_isEnabled); - tolua_function(tolua_S,"setEnable",lua_cocos2dx_physics_PhysicsJoint_setEnable); - tolua_function(tolua_S,"setCollisionEnable",lua_cocos2dx_physics_PhysicsJoint_setCollisionEnable); - tolua_function(tolua_S,"getWorld",lua_cocos2dx_physics_PhysicsJoint_getWorld); - tolua_function(tolua_S,"setTag",lua_cocos2dx_physics_PhysicsJoint_setTag); - tolua_function(tolua_S,"removeFormWorld",lua_cocos2dx_physics_PhysicsJoint_removeFormWorld); - tolua_function(tolua_S,"isCollisionEnabled",lua_cocos2dx_physics_PhysicsJoint_isCollisionEnabled); - tolua_function(tolua_S,"getTag",lua_cocos2dx_physics_PhysicsJoint_getTag); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJoint).name(); - g_luaType[typeName] = "cc.PhysicsJoint"; - g_typeCast["PhysicsJoint"] = "cc.PhysicsJoint"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointFixed_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointFixed* 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.PhysicsJointFixed",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointFixed*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointFixed_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointFixed_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointFixed:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointFixed_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointFixed_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointFixed",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 3) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - cocos2d::Vec2 arg2; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointFixed:construct"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointFixed:construct"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointFixed:construct"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointFixed_construct'", nullptr); - return 0; - } - cocos2d::PhysicsJointFixed* ret = cocos2d::PhysicsJointFixed::construct(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsJointFixed",(cocos2d::PhysicsJointFixed*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointFixed:construct",argc, 3); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointFixed_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointFixed_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointFixed)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointFixed(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointFixed"); - tolua_cclass(tolua_S,"PhysicsJointFixed","cc.PhysicsJointFixed","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointFixed"); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointFixed_createConstraints); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointFixed_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointFixed).name(); - g_luaType[typeName] = "cc.PhysicsJointFixed"; - g_typeCast["PhysicsJointFixed"] = "cc.PhysicsJointFixed"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointLimit_setAnchr2(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_setAnchr2'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointLimit:setAnchr2"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_setAnchr2'", nullptr); - return 0; - } - cobj->setAnchr2(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:setAnchr2",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_setAnchr2'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_setAnchr1(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_setAnchr1'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointLimit:setAnchr1"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_setAnchr1'", nullptr); - return 0; - } - cobj->setAnchr1(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:setAnchr1",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_setAnchr1'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_setMax(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_setMax'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointLimit:setMax"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_setMax'", nullptr); - return 0; - } - cobj->setMax(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:setMax",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_setMax'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_getAnchr2(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_getAnchr2'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_getAnchr2'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getAnchr2(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:getAnchr2",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_getAnchr2'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_getAnchr1(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_getAnchr1'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_getAnchr1'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getAnchr1(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:getAnchr1",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_getAnchr1'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_getMin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_getMin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_getMin'", nullptr); - return 0; - } - double ret = cobj->getMin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:getMin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_getMin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_getMax(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_getMax'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_getMax'", nullptr); - return 0; - } - double ret = cobj->getMax(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:getMax",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_getMax'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_setMin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointLimit* 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.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointLimit_setMin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointLimit:setMin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointLimit_setMin'", nullptr); - return 0; - } - cobj->setMin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:setMin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_setMin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointLimit_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 6) - { - cocos2d::PhysicsBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - cocos2d::PhysicsBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - cocos2d::Vec2 arg2; - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - cocos2d::Vec2 arg3; - ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - double arg4; - ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - double arg5; - ok &= luaval_to_number(tolua_S, 7,&arg5, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - cocos2d::PhysicsJointLimit* ret = cocos2d::PhysicsJointLimit::construct(arg0, arg1, arg2, arg3, arg4, arg5); - object_to_luaval(tolua_S, "cc.PhysicsJointLimit",(cocos2d::PhysicsJointLimit*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 4) - { - cocos2d::PhysicsBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - cocos2d::PhysicsBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - cocos2d::Vec2 arg2; - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - cocos2d::Vec2 arg3; - ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointLimit:construct"); - if (!ok) { break; } - cocos2d::PhysicsJointLimit* ret = cocos2d::PhysicsJointLimit::construct(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsJointLimit",(cocos2d::PhysicsJointLimit*)ret); - return 1; - } - } while (0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d", "cc.PhysicsJointLimit:construct",argc, 4); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointLimit_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointLimit_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointLimit)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointLimit(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointLimit"); - tolua_cclass(tolua_S,"PhysicsJointLimit","cc.PhysicsJointLimit","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointLimit"); - tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointLimit_setAnchr2); - tolua_function(tolua_S,"setAnchr1",lua_cocos2dx_physics_PhysicsJointLimit_setAnchr1); - tolua_function(tolua_S,"setMax",lua_cocos2dx_physics_PhysicsJointLimit_setMax); - tolua_function(tolua_S,"getAnchr2",lua_cocos2dx_physics_PhysicsJointLimit_getAnchr2); - tolua_function(tolua_S,"getAnchr1",lua_cocos2dx_physics_PhysicsJointLimit_getAnchr1); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointLimit_createConstraints); - tolua_function(tolua_S,"getMin",lua_cocos2dx_physics_PhysicsJointLimit_getMin); - tolua_function(tolua_S,"getMax",lua_cocos2dx_physics_PhysicsJointLimit_getMax); - tolua_function(tolua_S,"setMin",lua_cocos2dx_physics_PhysicsJointLimit_setMin); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointLimit_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointLimit).name(); - g_luaType[typeName] = "cc.PhysicsJointLimit"; - g_typeCast["PhysicsJointLimit"] = "cc.PhysicsJointLimit"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointPin_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointPin* 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.PhysicsJointPin",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointPin*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointPin_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointPin_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointPin:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointPin_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointPin_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointPin",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 4) - { - cocos2d::PhysicsBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointPin:construct"); - if (!ok) { break; } - cocos2d::PhysicsBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointPin:construct"); - if (!ok) { break; } - cocos2d::Vec2 arg2; - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointPin:construct"); - if (!ok) { break; } - cocos2d::Vec2 arg3; - ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointPin:construct"); - if (!ok) { break; } - cocos2d::PhysicsJointPin* ret = cocos2d::PhysicsJointPin::construct(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsJointPin",(cocos2d::PhysicsJointPin*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 3) - { - cocos2d::PhysicsBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointPin:construct"); - if (!ok) { break; } - cocos2d::PhysicsBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointPin:construct"); - if (!ok) { break; } - cocos2d::Vec2 arg2; - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointPin:construct"); - if (!ok) { break; } - cocos2d::PhysicsJointPin* ret = cocos2d::PhysicsJointPin::construct(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsJointPin",(cocos2d::PhysicsJointPin*)ret); - return 1; - } - } while (0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d", "cc.PhysicsJointPin:construct",argc, 3); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointPin_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointPin_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointPin)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointPin(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointPin"); - tolua_cclass(tolua_S,"PhysicsJointPin","cc.PhysicsJointPin","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointPin"); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointPin_createConstraints); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointPin_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointPin).name(); - g_luaType[typeName] = "cc.PhysicsJointPin"; - g_typeCast["PhysicsJointPin"] = "cc.PhysicsJointPin"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointDistance_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointDistance* 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.PhysicsJointDistance",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointDistance*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointDistance_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointDistance_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointDistance:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointDistance_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointDistance_setDistance(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointDistance* 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.PhysicsJointDistance",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointDistance*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointDistance_setDistance'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointDistance:setDistance"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointDistance_setDistance'", nullptr); - return 0; - } - cobj->setDistance(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointDistance:setDistance",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointDistance_setDistance'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointDistance_getDistance(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointDistance* 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.PhysicsJointDistance",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointDistance*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointDistance_getDistance'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointDistance_getDistance'", nullptr); - return 0; - } - double ret = cobj->getDistance(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointDistance:getDistance",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointDistance_getDistance'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointDistance_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointDistance",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 4) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - cocos2d::Vec2 arg2; - cocos2d::Vec2 arg3; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointDistance:construct"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointDistance:construct"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointDistance:construct"); - ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointDistance:construct"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointDistance_construct'", nullptr); - return 0; - } - cocos2d::PhysicsJointDistance* ret = cocos2d::PhysicsJointDistance::construct(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsJointDistance",(cocos2d::PhysicsJointDistance*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointDistance:construct",argc, 4); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointDistance_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointDistance_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointDistance)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointDistance(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointDistance"); - tolua_cclass(tolua_S,"PhysicsJointDistance","cc.PhysicsJointDistance","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointDistance"); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointDistance_createConstraints); - tolua_function(tolua_S,"setDistance",lua_cocos2dx_physics_PhysicsJointDistance_setDistance); - tolua_function(tolua_S,"getDistance",lua_cocos2dx_physics_PhysicsJointDistance_getDistance); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointDistance_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointDistance).name(); - g_luaType[typeName] = "cc.PhysicsJointDistance"; - g_typeCast["PhysicsJointDistance"] = "cc.PhysicsJointDistance"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointSpring_setAnchr2(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_setAnchr2'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointSpring:setAnchr2"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_setAnchr2'", nullptr); - return 0; - } - cobj->setAnchr2(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setAnchr2",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_setAnchr2'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_setAnchr1(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_setAnchr1'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointSpring:setAnchr1"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_setAnchr1'", nullptr); - return 0; - } - cobj->setAnchr1(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setAnchr1",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_setAnchr1'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_getDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_getDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_getDamping'", nullptr); - return 0; - } - double ret = cobj->getDamping(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getDamping",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_getDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_setStiffness(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_setStiffness'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointSpring:setStiffness"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_setStiffness'", nullptr); - return 0; - } - cobj->setStiffness(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setStiffness",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_setStiffness'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_getRestLength(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_getRestLength'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_getRestLength'", nullptr); - return 0; - } - double ret = cobj->getRestLength(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getRestLength",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_getRestLength'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_getAnchr2(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_getAnchr2'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_getAnchr2'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getAnchr2(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getAnchr2",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_getAnchr2'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_getAnchr1(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_getAnchr1'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_getAnchr1'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getAnchr1(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getAnchr1",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_getAnchr1'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_getStiffness(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_getStiffness'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_getStiffness'", nullptr); - return 0; - } - double ret = cobj->getStiffness(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getStiffness",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_getStiffness'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_setRestLength(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_setRestLength'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointSpring:setRestLength"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_setRestLength'", nullptr); - return 0; - } - cobj->setRestLength(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setRestLength",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_setRestLength'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_setDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointSpring* 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.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointSpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointSpring_setDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointSpring:setDamping"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_setDamping'", nullptr); - return 0; - } - cobj->setDamping(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setDamping",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_setDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointSpring_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointSpring",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 6) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - cocos2d::Vec2 arg2; - cocos2d::Vec2 arg3; - double arg4; - double arg5; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointSpring:construct"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointSpring:construct"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointSpring:construct"); - ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointSpring:construct"); - ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.PhysicsJointSpring:construct"); - ok &= luaval_to_number(tolua_S, 7,&arg5, "cc.PhysicsJointSpring:construct"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointSpring_construct'", nullptr); - return 0; - } - cocos2d::PhysicsJointSpring* ret = cocos2d::PhysicsJointSpring::construct(arg0, arg1, arg2, arg3, arg4, arg5); - object_to_luaval(tolua_S, "cc.PhysicsJointSpring",(cocos2d::PhysicsJointSpring*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointSpring:construct",argc, 6); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointSpring_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointSpring_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointSpring)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointSpring(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointSpring"); - tolua_cclass(tolua_S,"PhysicsJointSpring","cc.PhysicsJointSpring","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointSpring"); - tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointSpring_setAnchr2); - tolua_function(tolua_S,"setAnchr1",lua_cocos2dx_physics_PhysicsJointSpring_setAnchr1); - tolua_function(tolua_S,"getDamping",lua_cocos2dx_physics_PhysicsJointSpring_getDamping); - tolua_function(tolua_S,"setStiffness",lua_cocos2dx_physics_PhysicsJointSpring_setStiffness); - tolua_function(tolua_S,"getRestLength",lua_cocos2dx_physics_PhysicsJointSpring_getRestLength); - tolua_function(tolua_S,"getAnchr2",lua_cocos2dx_physics_PhysicsJointSpring_getAnchr2); - tolua_function(tolua_S,"getAnchr1",lua_cocos2dx_physics_PhysicsJointSpring_getAnchr1); - tolua_function(tolua_S,"getStiffness",lua_cocos2dx_physics_PhysicsJointSpring_getStiffness); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointSpring_createConstraints); - tolua_function(tolua_S,"setRestLength",lua_cocos2dx_physics_PhysicsJointSpring_setRestLength); - tolua_function(tolua_S,"setDamping",lua_cocos2dx_physics_PhysicsJointSpring_setDamping); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointSpring_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointSpring).name(); - g_luaType[typeName] = "cc.PhysicsJointSpring"; - g_typeCast["PhysicsJointSpring"] = "cc.PhysicsJointSpring"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointGroove_setAnchr2(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGroove* 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.PhysicsJointGroove",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGroove*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGroove_setAnchr2'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointGroove:setAnchr2"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGroove_setAnchr2'", nullptr); - return 0; - } - cobj->setAnchr2(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:setAnchr2",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGroove_setAnchr2'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGroove_setGrooveA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGroove* 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.PhysicsJointGroove",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGroove*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGroove_setGrooveA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointGroove:setGrooveA"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGroove_setGrooveA'", nullptr); - return 0; - } - cobj->setGrooveA(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:setGrooveA",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGroove_setGrooveA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGroove_setGrooveB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGroove* 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.PhysicsJointGroove",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGroove*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGroove_setGrooveB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointGroove:setGrooveB"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGroove_setGrooveB'", nullptr); - return 0; - } - cobj->setGrooveB(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:setGrooveB",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGroove_setGrooveB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGroove_getGrooveA(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGroove* 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.PhysicsJointGroove",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGroove*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGroove_getGrooveA'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGroove_getGrooveA'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getGrooveA(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:getGrooveA",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGroove_getGrooveA'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGroove_getGrooveB(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGroove* 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.PhysicsJointGroove",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGroove*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGroove_getGrooveB'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGroove_getGrooveB'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getGrooveB(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:getGrooveB",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGroove_getGrooveB'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGroove_getAnchr2(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGroove* 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.PhysicsJointGroove",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGroove*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGroove_getAnchr2'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGroove_getAnchr2'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getAnchr2(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:getAnchr2",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGroove_getAnchr2'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGroove_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGroove* 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.PhysicsJointGroove",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGroove*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGroove_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGroove_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGroove_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGroove_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointGroove",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 5) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - cocos2d::Vec2 arg2; - cocos2d::Vec2 arg3; - cocos2d::Vec2 arg4; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointGroove:construct"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointGroove:construct"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointGroove:construct"); - ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointGroove:construct"); - ok &= luaval_to_vec2(tolua_S, 6, &arg4, "cc.PhysicsJointGroove:construct"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGroove_construct'", nullptr); - return 0; - } - cocos2d::PhysicsJointGroove* ret = cocos2d::PhysicsJointGroove::construct(arg0, arg1, arg2, arg3, arg4); - object_to_luaval(tolua_S, "cc.PhysicsJointGroove",(cocos2d::PhysicsJointGroove*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointGroove:construct",argc, 5); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGroove_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointGroove_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointGroove)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointGroove(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointGroove"); - tolua_cclass(tolua_S,"PhysicsJointGroove","cc.PhysicsJointGroove","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointGroove"); - tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointGroove_setAnchr2); - tolua_function(tolua_S,"setGrooveA",lua_cocos2dx_physics_PhysicsJointGroove_setGrooveA); - tolua_function(tolua_S,"setGrooveB",lua_cocos2dx_physics_PhysicsJointGroove_setGrooveB); - tolua_function(tolua_S,"getGrooveA",lua_cocos2dx_physics_PhysicsJointGroove_getGrooveA); - tolua_function(tolua_S,"getGrooveB",lua_cocos2dx_physics_PhysicsJointGroove_getGrooveB); - tolua_function(tolua_S,"getAnchr2",lua_cocos2dx_physics_PhysicsJointGroove_getAnchr2); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointGroove_createConstraints); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointGroove_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointGroove).name(); - g_luaType[typeName] = "cc.PhysicsJointGroove"; - g_typeCast["PhysicsJointGroove"] = "cc.PhysicsJointGroove"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointRotarySpring_getDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotarySpring* 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.PhysicsJointRotarySpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotarySpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getDamping'", nullptr); - return 0; - } - double ret = cobj->getDamping(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:getDamping",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotarySpring_setRestAngle(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotarySpring* 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.PhysicsJointRotarySpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotarySpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setRestAngle'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotarySpring:setRestAngle"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setRestAngle'", nullptr); - return 0; - } - cobj->setRestAngle(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:setRestAngle",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setRestAngle'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotarySpring_getStiffness(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotarySpring* 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.PhysicsJointRotarySpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotarySpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getStiffness'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getStiffness'", nullptr); - return 0; - } - double ret = cobj->getStiffness(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:getStiffness",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getStiffness'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotarySpring_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotarySpring* 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.PhysicsJointRotarySpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotarySpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotarySpring_setStiffness(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotarySpring* 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.PhysicsJointRotarySpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotarySpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setStiffness'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotarySpring:setStiffness"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setStiffness'", nullptr); - return 0; - } - cobj->setStiffness(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:setStiffness",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setStiffness'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotarySpring_setDamping(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotarySpring* 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.PhysicsJointRotarySpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotarySpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setDamping'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotarySpring:setDamping"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setDamping'", nullptr); - return 0; - } - cobj->setDamping(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:setDamping",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_setDamping'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotarySpring_getRestAngle(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotarySpring* 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.PhysicsJointRotarySpring",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotarySpring*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getRestAngle'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getRestAngle'", nullptr); - return 0; - } - double ret = cobj->getRestAngle(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:getRestAngle",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_getRestAngle'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotarySpring_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointRotarySpring",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 4) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - double arg2; - double arg3; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointRotarySpring:construct"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointRotarySpring:construct"); - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointRotarySpring:construct"); - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsJointRotarySpring:construct"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_construct'", nullptr); - return 0; - } - cocos2d::PhysicsJointRotarySpring* ret = cocos2d::PhysicsJointRotarySpring::construct(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsJointRotarySpring",(cocos2d::PhysicsJointRotarySpring*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointRotarySpring:construct",argc, 4); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotarySpring_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointRotarySpring_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointRotarySpring)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointRotarySpring(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointRotarySpring"); - tolua_cclass(tolua_S,"PhysicsJointRotarySpring","cc.PhysicsJointRotarySpring","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointRotarySpring"); - tolua_function(tolua_S,"getDamping",lua_cocos2dx_physics_PhysicsJointRotarySpring_getDamping); - tolua_function(tolua_S,"setRestAngle",lua_cocos2dx_physics_PhysicsJointRotarySpring_setRestAngle); - tolua_function(tolua_S,"getStiffness",lua_cocos2dx_physics_PhysicsJointRotarySpring_getStiffness); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointRotarySpring_createConstraints); - tolua_function(tolua_S,"setStiffness",lua_cocos2dx_physics_PhysicsJointRotarySpring_setStiffness); - tolua_function(tolua_S,"setDamping",lua_cocos2dx_physics_PhysicsJointRotarySpring_setDamping); - tolua_function(tolua_S,"getRestAngle",lua_cocos2dx_physics_PhysicsJointRotarySpring_getRestAngle); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointRotarySpring_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointRotarySpring).name(); - g_luaType[typeName] = "cc.PhysicsJointRotarySpring"; - g_typeCast["PhysicsJointRotarySpring"] = "cc.PhysicsJointRotarySpring"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMax(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotaryLimit* 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.PhysicsJointRotaryLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotaryLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMax'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMax'", nullptr); - return 0; - } - double ret = cobj->getMax(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:getMax",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMax'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotaryLimit_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotaryLimit* 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.PhysicsJointRotaryLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotaryLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotaryLimit* 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.PhysicsJointRotaryLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotaryLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotaryLimit:setMin"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMin'", nullptr); - return 0; - } - cobj->setMin(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:setMin",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMax(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotaryLimit* 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.PhysicsJointRotaryLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotaryLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMax'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotaryLimit:setMax"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMax'", nullptr); - return 0; - } - cobj->setMax(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:setMax",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMax'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRotaryLimit* 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.PhysicsJointRotaryLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRotaryLimit*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMin'", nullptr); - return 0; - } - double ret = cobj->getMin(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:getMin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMin'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRotaryLimit_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointRotaryLimit",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 2) - { - cocos2d::PhysicsBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointRotaryLimit:construct"); - if (!ok) { break; } - cocos2d::PhysicsBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointRotaryLimit:construct"); - if (!ok) { break; } - cocos2d::PhysicsJointRotaryLimit* ret = cocos2d::PhysicsJointRotaryLimit::construct(arg0, arg1); - object_to_luaval(tolua_S, "cc.PhysicsJointRotaryLimit",(cocos2d::PhysicsJointRotaryLimit*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 4) - { - cocos2d::PhysicsBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointRotaryLimit:construct"); - if (!ok) { break; } - cocos2d::PhysicsBody* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointRotaryLimit:construct"); - if (!ok) { break; } - double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointRotaryLimit:construct"); - if (!ok) { break; } - double arg3; - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsJointRotaryLimit:construct"); - if (!ok) { break; } - cocos2d::PhysicsJointRotaryLimit* ret = cocos2d::PhysicsJointRotaryLimit::construct(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsJointRotaryLimit",(cocos2d::PhysicsJointRotaryLimit*)ret); - return 1; - } - } while (0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d", "cc.PhysicsJointRotaryLimit:construct",argc, 4); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRotaryLimit_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointRotaryLimit_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointRotaryLimit)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointRotaryLimit(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointRotaryLimit"); - tolua_cclass(tolua_S,"PhysicsJointRotaryLimit","cc.PhysicsJointRotaryLimit","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointRotaryLimit"); - tolua_function(tolua_S,"getMax",lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMax); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointRotaryLimit_createConstraints); - tolua_function(tolua_S,"setMin",lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMin); - tolua_function(tolua_S,"setMax",lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMax); - tolua_function(tolua_S,"getMin",lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMin); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointRotaryLimit_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointRotaryLimit).name(); - g_luaType[typeName] = "cc.PhysicsJointRotaryLimit"; - g_typeCast["PhysicsJointRotaryLimit"] = "cc.PhysicsJointRotaryLimit"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointRatchet_getAngle(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRatchet* 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.PhysicsJointRatchet",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRatchet*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getAngle'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getAngle'", nullptr); - return 0; - } - double ret = cobj->getAngle(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:getAngle",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getAngle'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRatchet_setAngle(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRatchet* 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.PhysicsJointRatchet",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRatchet*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setAngle'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRatchet:setAngle"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setAngle'", nullptr); - return 0; - } - cobj->setAngle(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:setAngle",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setAngle'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRatchet_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRatchet* 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.PhysicsJointRatchet",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRatchet*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRatchet_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRatchet_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRatchet_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRatchet_setPhase(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRatchet* 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.PhysicsJointRatchet",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRatchet*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setPhase'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRatchet:setPhase"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setPhase'", nullptr); - return 0; - } - cobj->setPhase(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:setPhase",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setPhase'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRatchet_getPhase(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRatchet* 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.PhysicsJointRatchet",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRatchet*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getPhase'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getPhase'", nullptr); - return 0; - } - double ret = cobj->getPhase(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:getPhase",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getPhase'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRatchet_setRatchet(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRatchet* 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.PhysicsJointRatchet",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRatchet*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setRatchet'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRatchet:setRatchet"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setRatchet'", nullptr); - return 0; - } - cobj->setRatchet(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:setRatchet",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRatchet_setRatchet'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRatchet_getRatchet(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointRatchet* 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.PhysicsJointRatchet",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointRatchet*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getRatchet'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getRatchet'", nullptr); - return 0; - } - double ret = cobj->getRatchet(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:getRatchet",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRatchet_getRatchet'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointRatchet_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointRatchet",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 4) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - double arg2; - double arg3; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointRatchet:construct"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointRatchet:construct"); - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointRatchet:construct"); - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsJointRatchet:construct"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointRatchet_construct'", nullptr); - return 0; - } - cocos2d::PhysicsJointRatchet* ret = cocos2d::PhysicsJointRatchet::construct(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsJointRatchet",(cocos2d::PhysicsJointRatchet*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointRatchet:construct",argc, 4); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointRatchet_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointRatchet_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointRatchet)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointRatchet(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointRatchet"); - tolua_cclass(tolua_S,"PhysicsJointRatchet","cc.PhysicsJointRatchet","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointRatchet"); - tolua_function(tolua_S,"getAngle",lua_cocos2dx_physics_PhysicsJointRatchet_getAngle); - tolua_function(tolua_S,"setAngle",lua_cocos2dx_physics_PhysicsJointRatchet_setAngle); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointRatchet_createConstraints); - tolua_function(tolua_S,"setPhase",lua_cocos2dx_physics_PhysicsJointRatchet_setPhase); - tolua_function(tolua_S,"getPhase",lua_cocos2dx_physics_PhysicsJointRatchet_getPhase); - tolua_function(tolua_S,"setRatchet",lua_cocos2dx_physics_PhysicsJointRatchet_setRatchet); - tolua_function(tolua_S,"getRatchet",lua_cocos2dx_physics_PhysicsJointRatchet_getRatchet); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointRatchet_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointRatchet).name(); - g_luaType[typeName] = "cc.PhysicsJointRatchet"; - g_typeCast["PhysicsJointRatchet"] = "cc.PhysicsJointRatchet"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointGear_setRatio(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGear* 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.PhysicsJointGear",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGear*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGear_setRatio'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointGear:setRatio"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGear_setRatio'", nullptr); - return 0; - } - cobj->setRatio(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:setRatio",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGear_setRatio'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGear_getPhase(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGear* 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.PhysicsJointGear",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGear*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGear_getPhase'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGear_getPhase'", nullptr); - return 0; - } - double ret = cobj->getPhase(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:getPhase",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGear_getPhase'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGear_setPhase(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGear* 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.PhysicsJointGear",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGear*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGear_setPhase'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointGear:setPhase"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGear_setPhase'", nullptr); - return 0; - } - cobj->setPhase(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:setPhase",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGear_setPhase'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGear_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGear* 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.PhysicsJointGear",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGear*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGear_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGear_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGear_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGear_getRatio(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointGear* 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.PhysicsJointGear",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointGear*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointGear_getRatio'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGear_getRatio'", nullptr); - return 0; - } - double ret = cobj->getRatio(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:getRatio",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGear_getRatio'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointGear_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointGear",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 4) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - double arg2; - double arg3; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointGear:construct"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointGear:construct"); - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointGear:construct"); - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsJointGear:construct"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointGear_construct'", nullptr); - return 0; - } - cocos2d::PhysicsJointGear* ret = cocos2d::PhysicsJointGear::construct(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.PhysicsJointGear",(cocos2d::PhysicsJointGear*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointGear:construct",argc, 4); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointGear_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointGear_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointGear)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointGear(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointGear"); - tolua_cclass(tolua_S,"PhysicsJointGear","cc.PhysicsJointGear","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointGear"); - tolua_function(tolua_S,"setRatio",lua_cocos2dx_physics_PhysicsJointGear_setRatio); - tolua_function(tolua_S,"getPhase",lua_cocos2dx_physics_PhysicsJointGear_getPhase); - tolua_function(tolua_S,"setPhase",lua_cocos2dx_physics_PhysicsJointGear_setPhase); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointGear_createConstraints); - tolua_function(tolua_S,"getRatio",lua_cocos2dx_physics_PhysicsJointGear_getRatio); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointGear_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointGear).name(); - g_luaType[typeName] = "cc.PhysicsJointGear"; - g_typeCast["PhysicsJointGear"] = "cc.PhysicsJointGear"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsJointMotor_setRate(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointMotor* 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.PhysicsJointMotor",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointMotor*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointMotor_setRate'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointMotor:setRate"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointMotor_setRate'", nullptr); - return 0; - } - cobj->setRate(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointMotor:setRate",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointMotor_setRate'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointMotor_getRate(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointMotor* 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.PhysicsJointMotor",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointMotor*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointMotor_getRate'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointMotor_getRate'", nullptr); - return 0; - } - double ret = cobj->getRate(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointMotor:getRate",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointMotor_getRate'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointMotor_createConstraints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsJointMotor* 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.PhysicsJointMotor",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsJointMotor*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsJointMotor_createConstraints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointMotor_createConstraints'", nullptr); - return 0; - } - bool ret = cobj->createConstraints(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointMotor:createConstraints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointMotor_createConstraints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsJointMotor_construct(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.PhysicsJointMotor",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 3) - { - cocos2d::PhysicsBody* arg0; - cocos2d::PhysicsBody* arg1; - double arg2; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsJointMotor:construct"); - ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1, "cc.PhysicsJointMotor:construct"); - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointMotor:construct"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsJointMotor_construct'", nullptr); - return 0; - } - cocos2d::PhysicsJointMotor* ret = cocos2d::PhysicsJointMotor::construct(arg0, arg1, arg2); - object_to_luaval(tolua_S, "cc.PhysicsJointMotor",(cocos2d::PhysicsJointMotor*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointMotor:construct",argc, 3); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsJointMotor_construct'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_physics_PhysicsJointMotor_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsJointMotor)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsJointMotor(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsJointMotor"); - tolua_cclass(tolua_S,"PhysicsJointMotor","cc.PhysicsJointMotor","cc.PhysicsJoint",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsJointMotor"); - tolua_function(tolua_S,"setRate",lua_cocos2dx_physics_PhysicsJointMotor_setRate); - tolua_function(tolua_S,"getRate",lua_cocos2dx_physics_PhysicsJointMotor_getRate); - tolua_function(tolua_S,"createConstraints",lua_cocos2dx_physics_PhysicsJointMotor_createConstraints); - tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointMotor_construct); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsJointMotor).name(); - g_luaType[typeName] = "cc.PhysicsJointMotor"; - g_typeCast["PhysicsJointMotor"] = "cc.PhysicsJointMotor"; - return 1; -} - -int lua_cocos2dx_physics_PhysicsWorld_setGravity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setGravity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsWorld:setGravity"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setGravity'", nullptr); - return 0; - } - cobj->setGravity(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setGravity",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setGravity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getAllBodies(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getAllBodies'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getAllBodies'", nullptr); - return 0; - } - const cocos2d::Vector& ret = cobj->getAllBodies(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getAllBodies",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getAllBodies'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_setFixedUpdateRate(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setFixedUpdateRate'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:setFixedUpdateRate"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setFixedUpdateRate'", nullptr); - return 0; - } - cobj->setFixedUpdateRate(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setFixedUpdateRate",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setFixedUpdateRate'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_setSubsteps(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setSubsteps'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:setSubsteps"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setSubsteps'", nullptr); - return 0; - } - cobj->setSubsteps(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setSubsteps",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setSubsteps'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_setAutoStep(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setAutoStep'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsWorld:setAutoStep"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setAutoStep'", nullptr); - return 0; - } - cobj->setAutoStep(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setAutoStep",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setAutoStep'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_addJoint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_addJoint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::PhysicsJoint* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsJoint",&arg0, "cc.PhysicsWorld:addJoint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_addJoint'", nullptr); - return 0; - } - cobj->addJoint(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:addJoint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_addJoint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_removeAllJoints(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_removeAllJoints'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_removeAllJoints'", nullptr); - return 0; - } - cobj->removeAllJoints(); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsWorld:removeAllJoints"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_removeAllJoints'", nullptr); - return 0; - } - cobj->removeAllJoints(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:removeAllJoints",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_removeAllJoints'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getDebugDrawMask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getDebugDrawMask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getDebugDrawMask'", nullptr); - return 0; - } - int ret = cobj->getDebugDrawMask(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getDebugDrawMask",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getDebugDrawMask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_setPreUpdateCallback(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setPreUpdateCallback'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - std::function arg0; - - do { - // Lambda binding for lua is not supported. - assert(false); - } while(0) - ; - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setPreUpdateCallback'", nullptr); - return 0; - } - cobj->setPreUpdateCallback(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setPreUpdateCallback",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setPreUpdateCallback'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_isAutoStep(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_isAutoStep'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_isAutoStep'", nullptr); - return 0; - } - bool ret = cobj->isAutoStep(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:isAutoStep",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_isAutoStep'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_setPostUpdateCallback(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setPostUpdateCallback'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - std::function arg0; - - do { - // Lambda binding for lua is not supported. - assert(false); - } while(0) - ; - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setPostUpdateCallback'", nullptr); - return 0; - } - cobj->setPostUpdateCallback(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setPostUpdateCallback",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setPostUpdateCallback'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_removeBody(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_removeBody'", nullptr); - return 0; - } -#endif - argc = lua_gettop(tolua_S)-1; - do{ - if (argc == 1) { - int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:removeBody"); - - if (!ok) { break; } - cobj->removeBody(arg0); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 1) { - cocos2d::PhysicsBody* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0, "cc.PhysicsWorld:removeBody"); - - if (!ok) { break; } - cobj->removeBody(arg0); - lua_settop(tolua_S, 1); - return 1; - } - }while(0); - ok = true; - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:removeBody",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_removeBody'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_removeJoint(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_removeJoint'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::PhysicsJoint* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsJoint",&arg0, "cc.PhysicsWorld:removeJoint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_removeJoint'", nullptr); - return 0; - } - cobj->removeJoint(arg0); - lua_settop(tolua_S, 1); - return 1; - } - if (argc == 2) - { - cocos2d::PhysicsJoint* arg0; - bool arg1; - - ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsJoint",&arg0, "cc.PhysicsWorld:removeJoint"); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.PhysicsWorld:removeJoint"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_removeJoint'", nullptr); - return 0; - } - cobj->removeJoint(arg0, arg1); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:removeJoint",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_removeJoint'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getShapes(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getShapes'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsWorld:getShapes"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getShapes'", nullptr); - return 0; - } - cocos2d::Vector ret = cobj->getShapes(arg0); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getShapes",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getShapes'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_step(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_step'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsWorld:step"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_step'", nullptr); - return 0; - } - cobj->step(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:step",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_step'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_setDebugDrawMask(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setDebugDrawMask'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:setDebugDrawMask"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setDebugDrawMask'", nullptr); - return 0; - } - cobj->setDebugDrawMask(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setDebugDrawMask",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setDebugDrawMask'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getGravity(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getGravity'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getGravity'", nullptr); - return 0; - } - cocos2d::Vec2 ret = cobj->getGravity(); - vec2_to_luaval(tolua_S, ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getGravity",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getGravity'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_setUpdateRate(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setUpdateRate'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:setUpdateRate"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setUpdateRate'", nullptr); - return 0; - } - cobj->setUpdateRate(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setUpdateRate",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setUpdateRate'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getFixedUpdateRate(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getFixedUpdateRate'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getFixedUpdateRate'", nullptr); - return 0; - } - int ret = cobj->getFixedUpdateRate(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getFixedUpdateRate",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getFixedUpdateRate'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getSubsteps(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getSubsteps'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getSubsteps'", nullptr); - return 0; - } - int ret = cobj->getSubsteps(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getSubsteps",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getSubsteps'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getSpeed(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getSpeed'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getSpeed'", nullptr); - return 0; - } - double ret = cobj->getSpeed(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getSpeed",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getSpeed'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getUpdateRate(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getUpdateRate'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getUpdateRate'", nullptr); - return 0; - } - int ret = cobj->getUpdateRate(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getUpdateRate",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getUpdateRate'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_removeAllBodies(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_removeAllBodies'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_removeAllBodies'", nullptr); - return 0; - } - cobj->removeAllBodies(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:removeAllBodies",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_removeAllBodies'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_setSpeed(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_setSpeed'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsWorld:setSpeed"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_setSpeed'", nullptr); - return 0; - } - cobj->setSpeed(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setSpeed",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_setSpeed'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getShape(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getShape'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vec2 arg0; - - ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsWorld:getShape"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getShape'", nullptr); - return 0; - } - cocos2d::PhysicsShape* ret = cobj->getShape(arg0); - object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getShape",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getShape'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_physics_PhysicsWorld_getBody(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::PhysicsWorld* 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.PhysicsWorld",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::PhysicsWorld*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_physics_PhysicsWorld_getBody'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:getBody"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_physics_PhysicsWorld_getBody'", nullptr); - return 0; - } - cocos2d::PhysicsBody* ret = cobj->getBody(arg0); - object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getBody",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_physics_PhysicsWorld_getBody'.",&tolua_err); -#endif - - return 0; -} -static int lua_cocos2dx_physics_PhysicsWorld_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (PhysicsWorld)"); - return 0; -} - -int lua_register_cocos2dx_physics_PhysicsWorld(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.PhysicsWorld"); - tolua_cclass(tolua_S,"PhysicsWorld","cc.PhysicsWorld","",nullptr); - - tolua_beginmodule(tolua_S,"PhysicsWorld"); - tolua_function(tolua_S,"setGravity",lua_cocos2dx_physics_PhysicsWorld_setGravity); - tolua_function(tolua_S,"getAllBodies",lua_cocos2dx_physics_PhysicsWorld_getAllBodies); - tolua_function(tolua_S,"setFixedUpdateRate",lua_cocos2dx_physics_PhysicsWorld_setFixedUpdateRate); - tolua_function(tolua_S,"setSubsteps",lua_cocos2dx_physics_PhysicsWorld_setSubsteps); - tolua_function(tolua_S,"setAutoStep",lua_cocos2dx_physics_PhysicsWorld_setAutoStep); - tolua_function(tolua_S,"addJoint",lua_cocos2dx_physics_PhysicsWorld_addJoint); - tolua_function(tolua_S,"removeAllJoints",lua_cocos2dx_physics_PhysicsWorld_removeAllJoints); - tolua_function(tolua_S,"getDebugDrawMask",lua_cocos2dx_physics_PhysicsWorld_getDebugDrawMask); - tolua_function(tolua_S,"setPreUpdateCallback",lua_cocos2dx_physics_PhysicsWorld_setPreUpdateCallback); - tolua_function(tolua_S,"isAutoStep",lua_cocos2dx_physics_PhysicsWorld_isAutoStep); - tolua_function(tolua_S,"setPostUpdateCallback",lua_cocos2dx_physics_PhysicsWorld_setPostUpdateCallback); - tolua_function(tolua_S,"removeBody",lua_cocos2dx_physics_PhysicsWorld_removeBody); - tolua_function(tolua_S,"removeJoint",lua_cocos2dx_physics_PhysicsWorld_removeJoint); - tolua_function(tolua_S,"getShapes",lua_cocos2dx_physics_PhysicsWorld_getShapes); - tolua_function(tolua_S,"step",lua_cocos2dx_physics_PhysicsWorld_step); - tolua_function(tolua_S,"setDebugDrawMask",lua_cocos2dx_physics_PhysicsWorld_setDebugDrawMask); - tolua_function(tolua_S,"getGravity",lua_cocos2dx_physics_PhysicsWorld_getGravity); - tolua_function(tolua_S,"setUpdateRate",lua_cocos2dx_physics_PhysicsWorld_setUpdateRate); - tolua_function(tolua_S,"getFixedUpdateRate",lua_cocos2dx_physics_PhysicsWorld_getFixedUpdateRate); - tolua_function(tolua_S,"getSubsteps",lua_cocos2dx_physics_PhysicsWorld_getSubsteps); - tolua_function(tolua_S,"getSpeed",lua_cocos2dx_physics_PhysicsWorld_getSpeed); - tolua_function(tolua_S,"getUpdateRate",lua_cocos2dx_physics_PhysicsWorld_getUpdateRate); - tolua_function(tolua_S,"removeAllBodies",lua_cocos2dx_physics_PhysicsWorld_removeAllBodies); - tolua_function(tolua_S,"setSpeed",lua_cocos2dx_physics_PhysicsWorld_setSpeed); - tolua_function(tolua_S,"getShape",lua_cocos2dx_physics_PhysicsWorld_getShape); - tolua_function(tolua_S,"getBody",lua_cocos2dx_physics_PhysicsWorld_getBody); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocos2d::PhysicsWorld).name(); - g_luaType[typeName] = "cc.PhysicsWorld"; - g_typeCast["PhysicsWorld"] = "cc.PhysicsWorld"; - return 1; -} TOLUA_API int register_all_cocos2dx_physics(lua_State* tolua_S) { tolua_open(tolua_S); @@ -12743,35 +10,6 @@ TOLUA_API int register_all_cocos2dx_physics(lua_State* tolua_S) tolua_module(tolua_S,"cc",0); tolua_beginmodule(tolua_S,"cc"); - lua_register_cocos2dx_physics_PhysicsBody(tolua_S); - lua_register_cocos2dx_physics_PhysicsWorld(tolua_S); - lua_register_cocos2dx_physics_PhysicsJoint(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointLimit(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointFixed(tolua_S); - lua_register_cocos2dx_physics_EventListenerPhysicsContact(tolua_S); - lua_register_cocos2dx_physics_EventListenerPhysicsContactWithGroup(tolua_S); - lua_register_cocos2dx_physics_PhysicsShape(tolua_S); - lua_register_cocos2dx_physics_PhysicsShapePolygon(tolua_S); - lua_register_cocos2dx_physics_PhysicsShapeBox(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointMotor(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointRatchet(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointDistance(tolua_S); - lua_register_cocos2dx_physics_PhysicsShapeCircle(tolua_S); - lua_register_cocos2dx_physics_PhysicsShapeEdgePolygon(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointPin(tolua_S); - lua_register_cocos2dx_physics_PhysicsContactPreSolve(tolua_S); - lua_register_cocos2dx_physics_PhysicsShapeEdgeChain(tolua_S); - lua_register_cocos2dx_physics_PhysicsShapeEdgeSegment(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointGear(tolua_S); - lua_register_cocos2dx_physics_PhysicsContact(tolua_S); - lua_register_cocos2dx_physics_EventListenerPhysicsContactWithBodies(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointRotarySpring(tolua_S); - lua_register_cocos2dx_physics_PhysicsContactPostSolve(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointGroove(tolua_S); - lua_register_cocos2dx_physics_PhysicsShapeEdgeBox(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointRotaryLimit(tolua_S); - lua_register_cocos2dx_physics_PhysicsJointSpring(tolua_S); - lua_register_cocos2dx_physics_EventListenerPhysicsContactWithShapes(tolua_S); tolua_endmodule(tolua_S); return 1; diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.hpp index b69e71c60b..04c229ab7a 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.hpp @@ -13,274 +13,5 @@ extern "C" { int register_all_cocos2dx_physics(lua_State* tolua_S); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #endif // __cocos2dx_physics_h__ #endif //#if CC_USE_PHYSICS diff --git a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj b/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj deleted file mode 100644 index 28d5f83932..0000000000 --- a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1817 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 150906F019D556C5002C4D97 /* lua_cocos2dx_audioengine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3E2BDB0319C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.cpp */; }; - 150906F119D556C8002C4D97 /* lua_cocos2dx_audioengine_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 3E2BDB0419C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.hpp */; }; - 150906F219D556CE002C4D97 /* lua_cocos2dx_audioengine_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3E2BDB0819C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.cpp */; }; - 150906F319D556D1002C4D97 /* lua_cocos2dx_audioengine_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E2BDB0919C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.h */; }; - 150983D01B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983CE1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp */; }; - 150983D11B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983CE1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp */; }; - 150983D21B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 150983CF1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp */; }; - 150983D31B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 150983CF1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp */; }; - 150983D71B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983D51B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp */; }; - 150983D81B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983D51B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp */; }; - 150983D91B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 150983D61B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h */; }; - 150983DA1B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 150983D61B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h */; }; - 150983DD1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983DB1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp */; }; - 150983DE1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983DB1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp */; }; - 150983DF1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 150983DC1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h */; }; - 150983E01B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 150983DC1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h */; }; - 15415A7019A71768004F1E71 /* lua_cocos2dx_extension_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */; }; - 15415A7119A71782004F1E71 /* lua_cocos2dx_extension_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */; }; - 15415A7519A718FB004F1E71 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */; }; - 15415A7619A718FB004F1E71 /* lua_cocos2dx_ui_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */; }; - 15415A7819A718FB004F1E71 /* lua_cocos2dx_studio_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */; }; - 15415AA519A71A53004F1E71 /* auxiliar.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8719A71A53004F1E71 /* auxiliar.c */; }; - 15415AA619A71A53004F1E71 /* auxiliar.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8719A71A53004F1E71 /* auxiliar.c */; }; - 15415AA719A71A53004F1E71 /* auxiliar.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8819A71A53004F1E71 /* auxiliar.h */; }; - 15415AA819A71A53004F1E71 /* auxiliar.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8819A71A53004F1E71 /* auxiliar.h */; }; - 15415AA919A71A53004F1E71 /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8919A71A53004F1E71 /* buffer.c */; }; - 15415AAA19A71A53004F1E71 /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8919A71A53004F1E71 /* buffer.c */; }; - 15415AAB19A71A53004F1E71 /* buffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8A19A71A53004F1E71 /* buffer.h */; }; - 15415AAC19A71A53004F1E71 /* buffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8A19A71A53004F1E71 /* buffer.h */; }; - 15415AAD19A71A53004F1E71 /* except.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8B19A71A53004F1E71 /* except.c */; }; - 15415AAE19A71A53004F1E71 /* except.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8B19A71A53004F1E71 /* except.c */; }; - 15415AAF19A71A53004F1E71 /* except.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8C19A71A53004F1E71 /* except.h */; }; - 15415AB019A71A53004F1E71 /* except.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8C19A71A53004F1E71 /* except.h */; }; - 15415AB119A71A53004F1E71 /* inet.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8D19A71A53004F1E71 /* inet.c */; }; - 15415AB219A71A53004F1E71 /* inet.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8D19A71A53004F1E71 /* inet.c */; }; - 15415AB319A71A53004F1E71 /* inet.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8E19A71A53004F1E71 /* inet.h */; }; - 15415AB419A71A53004F1E71 /* inet.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8E19A71A53004F1E71 /* inet.h */; }; - 15415AB519A71A53004F1E71 /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8F19A71A53004F1E71 /* io.c */; }; - 15415AB619A71A53004F1E71 /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8F19A71A53004F1E71 /* io.c */; }; - 15415AB719A71A53004F1E71 /* io.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9019A71A53004F1E71 /* io.h */; }; - 15415AB819A71A53004F1E71 /* io.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9019A71A53004F1E71 /* io.h */; }; - 15415AB919A71A53004F1E71 /* luasocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9119A71A53004F1E71 /* luasocket.c */; }; - 15415ABA19A71A53004F1E71 /* luasocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9119A71A53004F1E71 /* luasocket.c */; }; - 15415ABB19A71A53004F1E71 /* luasocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9219A71A53004F1E71 /* luasocket.h */; }; - 15415ABC19A71A53004F1E71 /* luasocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9219A71A53004F1E71 /* luasocket.h */; }; - 15415ABD19A71A53004F1E71 /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9319A71A53004F1E71 /* mime.c */; }; - 15415ABE19A71A53004F1E71 /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9319A71A53004F1E71 /* mime.c */; }; - 15415ABF19A71A53004F1E71 /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9419A71A53004F1E71 /* mime.h */; }; - 15415AC019A71A53004F1E71 /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9419A71A53004F1E71 /* mime.h */; }; - 15415AC119A71A53004F1E71 /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9519A71A53004F1E71 /* options.c */; }; - 15415AC219A71A53004F1E71 /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9519A71A53004F1E71 /* options.c */; }; - 15415AC319A71A53004F1E71 /* options.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9619A71A53004F1E71 /* options.h */; }; - 15415AC419A71A53004F1E71 /* options.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9619A71A53004F1E71 /* options.h */; }; - 15415AC519A71A53004F1E71 /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9719A71A53004F1E71 /* select.c */; }; - 15415AC619A71A53004F1E71 /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9719A71A53004F1E71 /* select.c */; }; - 15415AC719A71A53004F1E71 /* select.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9819A71A53004F1E71 /* select.h */; }; - 15415AC819A71A53004F1E71 /* select.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9819A71A53004F1E71 /* select.h */; }; - 15415AC919A71A53004F1E71 /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9919A71A53004F1E71 /* serial.c */; }; - 15415ACA19A71A53004F1E71 /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9919A71A53004F1E71 /* serial.c */; }; - 15415ACB19A71A53004F1E71 /* socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9A19A71A53004F1E71 /* socket.h */; }; - 15415ACC19A71A53004F1E71 /* socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9A19A71A53004F1E71 /* socket.h */; }; - 15415ACD19A71A53004F1E71 /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9B19A71A53004F1E71 /* tcp.c */; }; - 15415ACE19A71A53004F1E71 /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9B19A71A53004F1E71 /* tcp.c */; }; - 15415ACF19A71A53004F1E71 /* tcp.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9C19A71A53004F1E71 /* tcp.h */; }; - 15415AD019A71A53004F1E71 /* tcp.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9C19A71A53004F1E71 /* tcp.h */; }; - 15415AD119A71A53004F1E71 /* timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9D19A71A53004F1E71 /* timeout.c */; }; - 15415AD219A71A53004F1E71 /* timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9D19A71A53004F1E71 /* timeout.c */; }; - 15415AD319A71A53004F1E71 /* timeout.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9E19A71A53004F1E71 /* timeout.h */; }; - 15415AD419A71A53004F1E71 /* timeout.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9E19A71A53004F1E71 /* timeout.h */; }; - 15415AD519A71A53004F1E71 /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9F19A71A53004F1E71 /* udp.c */; }; - 15415AD619A71A53004F1E71 /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9F19A71A53004F1E71 /* udp.c */; }; - 15415AD719A71A53004F1E71 /* udp.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA019A71A53004F1E71 /* udp.h */; }; - 15415AD819A71A53004F1E71 /* udp.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA019A71A53004F1E71 /* udp.h */; }; - 15415AD919A71A53004F1E71 /* unix.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415AA119A71A53004F1E71 /* unix.c */; }; - 15415ADA19A71A53004F1E71 /* unix.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415AA119A71A53004F1E71 /* unix.c */; }; - 15415ADB19A71A53004F1E71 /* unix.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA219A71A53004F1E71 /* unix.h */; }; - 15415ADC19A71A53004F1E71 /* unix.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA219A71A53004F1E71 /* unix.h */; }; - 15415ADD19A71A53004F1E71 /* usocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415AA319A71A53004F1E71 /* usocket.c */; }; - 15415ADE19A71A53004F1E71 /* usocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415AA319A71A53004F1E71 /* usocket.c */; }; - 15415ADF19A71A53004F1E71 /* usocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA419A71A53004F1E71 /* usocket.h */; }; - 15415AE019A71A53004F1E71 /* usocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA419A71A53004F1E71 /* usocket.h */; }; - 155C7DEE19A71BFC00F08B25 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */; }; - 155C7DEF19A71C0900F08B25 /* lua_cocos2dx_ui_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */; }; - 155C7DF119A71C2300F08B25 /* lua_cocos2dx_studio_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */; }; - 155C7DF419A71C3700F08B25 /* lua_cocos2dx_3d_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 158C128619A0FA1300781A76 /* lua_cocos2dx_3d_manual.h */; }; - 155C7DF519A71C3900F08B25 /* lua_cocos2dx_3d_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 158C128619A0FA1300781A76 /* lua_cocos2dx_3d_manual.h */; }; - 155C7DF619A71C3E00F08B25 /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */; }; - 155C7DF719A71C4000F08B25 /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */; }; - 155C7DF819A71C4400F08B25 /* lua_cocos2dx_cocosdenshion_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */; }; - 155C7DF919A71C4500F08B25 /* lua_cocos2dx_cocosdenshion_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */; }; - 155C7DFA19A71C4C00F08B25 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */; }; - 155C7DFB19A71C4E00F08B25 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */; }; - 155C7DFC19A71C5300F08B25 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */; }; - 155C7DFD19A71C5400F08B25 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */; }; - 155C7E0819A71C7B00F08B25 /* lua_cocos2dx_extension_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */; }; - 155C7E0919A71C8500F08B25 /* lua_cocos2dx_extension_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */; }; - 155C7E0A19A71C8B00F08B25 /* lua_cocos2dx_network_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */; }; - 155C7E0B19A71C8D00F08B25 /* lua_cocos2dx_network_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */; }; - 155C7E0C19A71C9000F08B25 /* lua_cocos2dx_network_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */; }; - 155C7E0D19A71C9300F08B25 /* lua_cocos2dx_network_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */; }; - 155C7E0E19A71C9600F08B25 /* lua_extensions.c in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD011986526C00A46ACC /* lua_extensions.c */; }; - 155C7E0F19A71C9800F08B25 /* lua_extensions.c in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD011986526C00A46ACC /* lua_extensions.c */; }; - 155C7E1019A71C9D00F08B25 /* lua_extensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD021986526C00A46ACC /* lua_extensions.h */; }; - 155C7E1119A71C9F00F08B25 /* lua_extensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD021986526C00A46ACC /* lua_extensions.h */; }; - 155C7E1219A71CA200F08B25 /* Lua_web_socket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */; }; - 155C7E1319A71CA400F08B25 /* Lua_web_socket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */; }; - 155C7E1419A71CA800F08B25 /* Lua_web_socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD041986526C00A46ACC /* Lua_web_socket.h */; }; - 155C7E1519A71CAA00F08B25 /* Lua_web_socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD041986526C00A46ACC /* Lua_web_socket.h */; }; - 155C7E1619A71CAD00F08B25 /* lua_xml_http_request.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */; }; - 155C7E1719A71CAF00F08B25 /* lua_xml_http_request.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */; }; - 155C7E1819A71CB300F08B25 /* lua_xml_http_request.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */; }; - 155C7E1919A71CB500F08B25 /* lua_xml_http_request.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */; }; - 155C7E1C19A71CC200F08B25 /* lua_cocos2dx_spine_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */; }; - 155C7E1D19A71CC300F08B25 /* lua_cocos2dx_spine_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */; }; - 155C7E2019A71CCC00F08B25 /* LuaSkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */; }; - 155C7E2119A71CCE00F08B25 /* LuaSkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */; }; - 155C7E2219A71CD300F08B25 /* lua_cocos2dx_experimental_video_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */; }; - 155C7E2319A71CD500F08B25 /* lua_cocos2dx_experimental_video_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */; }; - 155C7E2419A71CD800F08B25 /* lua_cocos2dx_experimental_video_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */; }; - 155C7E2519A71CDA00F08B25 /* lua_cocos2dx_experimental_video_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */; }; - 155C7E2619A71CDD00F08B25 /* lua_cocos2dx_ui_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */; }; - 155C7E2719A71CDE00F08B25 /* lua_cocos2dx_ui_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */; }; - 155C7E2819A71CE600F08B25 /* lua_cocos2dx_ui_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */; }; - 155C7E2919A71CE800F08B25 /* lua_cocos2dx_ui_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */; }; - 1595523A1A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 159552381A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp */; }; - 1595523B1A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 159552381A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp */; }; - 1595523C1A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 159552391A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp */; }; - 1595523D1A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 159552391A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp */; }; - 159552401A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1595523E1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp */; }; - 159552411A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1595523E1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp */; }; - 159552421A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1595523F1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp */; }; - 159552431A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1595523F1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp */; }; - 15A561E71B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15A561E41B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp */; }; - 15A561E81B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15A561E41B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp */; }; - 15A561EE1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15A561EB1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h */; }; - 15A561EF1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15A561EB1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h */; }; - 15AC69D519876E9300D17520 /* lua_cocos2dx_physics_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */; }; - 15AC69D619876EA200D17520 /* lua_cocos2dx_physics_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */; }; - 15AC69D91987710400D17520 /* tolua_event.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */; }; - 15AC69DA1987710400D17520 /* tolua_is.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */; }; - 15AC69DB1987710400D17520 /* tolua_map.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */; }; - 15AC69DC1987710400D17520 /* tolua_push.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */; }; - 15AC69DD1987710400D17520 /* tolua_to.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */; }; - 15AC69DE1987711400D17520 /* lauxlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E618CD8F470087CE3A /* lauxlib.h */; }; - 15AC69DF1987711400D17520 /* lua.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E718CD8F470087CE3A /* lua.h */; }; - 15AC69E01987711400D17520 /* luaconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E818CD8F470087CE3A /* luaconf.h */; }; - 15AC69E11987711400D17520 /* lualib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E918CD8F470087CE3A /* lualib.h */; }; - 15AC69E21987712500D17520 /* tolua_event.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */; }; - 15AC69E31987712500D17520 /* tolua++.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */; }; - 15AC69E4198771FF00D17520 /* libluajit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA1F618CD8F5F0087CE3A /* libluajit.a */; }; - 15B5754F1A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15B5754D1A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp */; }; - 15B575501A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15B5754D1A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp */; }; - 15B575511A6F4D1500041C20 /* lua-cocos-studio-conversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 15B5754E1A6F4D1500041C20 /* lua-cocos-studio-conversions.h */; }; - 15B575521A6F4D1500041C20 /* lua-cocos-studio-conversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 15B5754E1A6F4D1500041C20 /* lua-cocos-studio-conversions.h */; }; - 15C1C2CD1987495500A46ACC /* lua_cocos2dx_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */; }; - 15C1C2CF1987498B00A46ACC /* lua_cocos2dx_deprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */; }; - 15C1C2D01987498B00A46ACC /* lua_cocos2dx_experimental_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */; }; - 15C1C2D11987498B00A46ACC /* lua_cocos2dx_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */; }; - 15C1C2D21987498B00A46ACC /* lua_cocos2dx_physics_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */; }; - 15C1C2D31987498B00A46ACC /* LuaScriptHandlerMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */; }; - 15C1C2D41987499F00A46ACC /* lua_cocos2dx_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */; }; - 15C1C2D6198749BC00A46ACC /* lua_cocos2dx_deprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */; }; - 15C1C2D7198749BC00A46ACC /* lua_cocos2dx_experimental_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */; }; - 15C1C2D8198749BC00A46ACC /* lua_cocos2dx_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */; }; - 15C1C2D9198749BC00A46ACC /* lua_cocos2dx_physics_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */; }; - 15C1C2DA198749BC00A46ACC /* LuaScriptHandlerMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */; }; - 15C1C2DB19874B3D00A46ACC /* xxtea.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1540AF55193EC30500717D8E /* xxtea.cpp */; }; - 15C1C2DC19874B4400A46ACC /* xxtea.h in Headers */ = {isa = PBXBuildFile; fileRef = 1540AF56193EC30500717D8E /* xxtea.h */; }; - 15C1C2DD19874B8800A46ACC /* CCLuaBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */; }; - 15C1C2DE19874B8800A46ACC /* CCLuaEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */; }; - 15C1C2DF19874B8800A46ACC /* CCLuaStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76418BC45C200215002 /* CCLuaStack.cpp */; }; - 15C1C2E019874B8800A46ACC /* CCLuaValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76618BC45C200215002 /* CCLuaValue.cpp */; }; - 15C1C2E119874B8800A46ACC /* Cocos2dxLuaLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */; }; - 15C1C2E219874BA100A46ACC /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; }; - 15C1C2E419874C7C00A46ACC /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; }; - 15C1C2E519874C9200A46ACC /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; }; - 15C1C2E719874CBE00A46ACC /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; }; - 15C1C2E819874CBE00A46ACC /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; }; - 15C1C2E919874CBE00A46ACC /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; }; - 15C1C2EA19874CBE00A46ACC /* CCLuaValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76718BC45C200215002 /* CCLuaValue.h */; }; - 15C1C2EB19874CBE00A46ACC /* Cocos2dxLuaLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */; }; - 15C1C2EC19874CBE00A46ACC /* LuaBasicConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */; }; - 15C1C2ED19874CBE00A46ACC /* CCLuaObjcBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */; }; - 15C1C2EE19874CBE00A46ACC /* tolua_fix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE7B418BC45C200215002 /* tolua_fix.h */; }; - 15C9A10E1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C9A10C1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.cpp */; }; - 15C9A10F1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C9A10D1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.hpp */; }; - 15C9A1121AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C9A1101AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.cpp */; }; - 15C9A1131AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C9A1111AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.hpp */; }; - 15EFA1F71989E582000C57D3 /* lua_cocos2dx_experimental_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */; }; - 15EFA5D9198B2DAA000C57D3 /* libluajit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA1F318CD8F540087CE3A /* libluajit.a */; }; - 15EFA618198B2E2B000C57D3 /* lua_cocos2dx_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */; }; - 15EFA619198B2E2B000C57D3 /* lua_cocos2dx_physics_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */; }; - 15EFA622198B2E74000C57D3 /* lua_cocos2dx_experimental_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */; }; - 15EFA623198B2E74000C57D3 /* lua_cocos2dx_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */; }; - 15EFA624198B2E74000C57D3 /* lua_cocos2dx_physics_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */; }; - 15EFA626198B31FB000C57D3 /* lua_cocos2dx_deprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */; }; - 15EFA627198B31FB000C57D3 /* lua_cocos2dx_experimental_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */; }; - 15EFA628198B31FB000C57D3 /* lua_cocos2dx_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */; }; - 15EFA629198B31FB000C57D3 /* lua_cocos2dx_physics_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */; }; - 15EFA62A198B31FB000C57D3 /* LuaScriptHandlerMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */; }; - 15EFA62C198B3220000C57D3 /* lua_cocos2dx_deprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */; }; - 15EFA62D198B3220000C57D3 /* lua_cocos2dx_experimental_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */; }; - 15EFA62E198B3220000C57D3 /* lua_cocos2dx_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */; }; - 15EFA62F198B3220000C57D3 /* lua_cocos2dx_physics_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */; }; - 15EFA630198B3220000C57D3 /* LuaScriptHandlerMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */; }; - 15EFA632198B328B000C57D3 /* CCLuaBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */; }; - 15EFA633198B328B000C57D3 /* CCLuaEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */; }; - 15EFA634198B328B000C57D3 /* CCLuaStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76418BC45C200215002 /* CCLuaStack.cpp */; }; - 15EFA635198B328B000C57D3 /* CCLuaValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76618BC45C200215002 /* CCLuaValue.cpp */; }; - 15EFA636198B328B000C57D3 /* Cocos2dxLuaLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */; }; - 15EFA637198B328B000C57D3 /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; }; - 15EFA638198B328B000C57D3 /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; }; - 15EFA639198B328B000C57D3 /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; }; - 15EFA63B198B32BB000C57D3 /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; }; - 15EFA63C198B32BB000C57D3 /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; }; - 15EFA63D198B32BB000C57D3 /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; }; - 15EFA63E198B32BB000C57D3 /* CCLuaValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76718BC45C200215002 /* CCLuaValue.h */; }; - 15EFA63F198B32BB000C57D3 /* Cocos2dxLuaLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */; }; - 15EFA640198B32BB000C57D3 /* LuaBasicConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */; }; - 15EFA641198B32BB000C57D3 /* CCLuaObjcBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */; }; - 15EFA642198B32BB000C57D3 /* tolua_fix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE7B418BC45C200215002 /* tolua_fix.h */; }; - 15EFA644198B32D5000C57D3 /* xxtea.h in Headers */ = {isa = PBXBuildFile; fileRef = 1540AF56193EC30500717D8E /* xxtea.h */; }; - 15EFA645198B32DB000C57D3 /* xxtea.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1540AF55193EC30500717D8E /* xxtea.cpp */; }; - 15EFA646198B3311000C57D3 /* tolua_event.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */; }; - 15EFA647198B3311000C57D3 /* tolua_is.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */; }; - 15EFA648198B3311000C57D3 /* tolua_map.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */; }; - 15EFA649198B3311000C57D3 /* tolua_push.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */; }; - 15EFA64A198B3311000C57D3 /* tolua_to.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */; }; - 15EFA64B198B3320000C57D3 /* tolua_event.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */; }; - 15EFA64C198B3320000C57D3 /* tolua++.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */; }; - 15EFA64D198B3342000C57D3 /* lauxlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E618CD8F470087CE3A /* lauxlib.h */; }; - 15EFA64E198B3342000C57D3 /* lua.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E718CD8F470087CE3A /* lua.h */; }; - 15EFA64F198B3342000C57D3 /* luaconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E818CD8F470087CE3A /* luaconf.h */; }; - 15EFA650198B3342000C57D3 /* lualib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E918CD8F470087CE3A /* lualib.h */; }; - 3E2BDB0519C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3E2BDB0319C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.cpp */; }; - 3E2BDB0619C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 3E2BDB0419C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.hpp */; }; - 3E2BDB0A19C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3E2BDB0819C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.cpp */; }; - 3E2BDB0B19C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E2BDB0919C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.h */; }; - 46624644222678D70008FC75 /* CCDictionary.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624633222678D70008FC75 /* CCDictionary.h */; }; - 46624645222678D70008FC75 /* CCDictionary.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624633222678D70008FC75 /* CCDictionary.h */; }; - 46624646222678D70008FC75 /* CCDouble.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624634222678D70008FC75 /* CCDouble.h */; }; - 46624647222678D70008FC75 /* CCDouble.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624634222678D70008FC75 /* CCDouble.h */; }; - 46624648222678D70008FC75 /* CCBool.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624635222678D70008FC75 /* CCBool.h */; }; - 46624649222678D70008FC75 /* CCBool.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624635222678D70008FC75 /* CCBool.h */; }; - 4662464A222678D70008FC75 /* CCSet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46624637222678D70008FC75 /* CCSet.cpp */; }; - 4662464B222678D70008FC75 /* CCSet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46624637222678D70008FC75 /* CCSet.cpp */; }; - 4662464C222678D70008FC75 /* CCDeprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624638222678D70008FC75 /* CCDeprecated.h */; }; - 4662464D222678D70008FC75 /* CCDeprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624638222678D70008FC75 /* CCDeprecated.h */; }; - 4662464E222678D70008FC75 /* CCNotificationCenter.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624639222678D70008FC75 /* CCNotificationCenter.h */; }; - 4662464F222678D70008FC75 /* CCNotificationCenter.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624639222678D70008FC75 /* CCNotificationCenter.h */; }; - 46624650222678D70008FC75 /* CCString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4662463A222678D70008FC75 /* CCString.cpp */; }; - 46624651222678D70008FC75 /* CCString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4662463A222678D70008FC75 /* CCString.cpp */; }; - 46624652222678D70008FC75 /* CCString.h in Headers */ = {isa = PBXBuildFile; fileRef = 4662463B222678D70008FC75 /* CCString.h */; }; - 46624653222678D70008FC75 /* CCString.h in Headers */ = {isa = PBXBuildFile; fileRef = 4662463B222678D70008FC75 /* CCString.h */; }; - 46624654222678D70008FC75 /* CCFloat.h in Headers */ = {isa = PBXBuildFile; fileRef = 4662463C222678D70008FC75 /* CCFloat.h */; }; - 46624655222678D70008FC75 /* CCFloat.h in Headers */ = {isa = PBXBuildFile; fileRef = 4662463C222678D70008FC75 /* CCFloat.h */; }; - 46624656222678D70008FC75 /* CCDictionary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4662463D222678D70008FC75 /* CCDictionary.cpp */; }; - 46624657222678D70008FC75 /* CCDictionary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4662463D222678D70008FC75 /* CCDictionary.cpp */; }; - 46624658222678D70008FC75 /* CCSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 4662463E222678D70008FC75 /* CCSet.h */; }; - 46624659222678D70008FC75 /* CCSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 4662463E222678D70008FC75 /* CCSet.h */; }; - 4662465A222678D70008FC75 /* CCDeprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4662463F222678D70008FC75 /* CCDeprecated.cpp */; }; - 4662465B222678D70008FC75 /* CCDeprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4662463F222678D70008FC75 /* CCDeprecated.cpp */; }; - 4662465C222678D70008FC75 /* CCNotificationCenter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46624640222678D70008FC75 /* CCNotificationCenter.cpp */; }; - 4662465D222678D70008FC75 /* CCNotificationCenter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46624640222678D70008FC75 /* CCNotificationCenter.cpp */; }; - 4662465E222678D70008FC75 /* CCInteger.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624641222678D70008FC75 /* CCInteger.h */; }; - 4662465F222678D70008FC75 /* CCInteger.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624641222678D70008FC75 /* CCInteger.h */; }; - 46624660222678D70008FC75 /* CCArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46624642222678D70008FC75 /* CCArray.cpp */; }; - 46624661222678D70008FC75 /* CCArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46624642222678D70008FC75 /* CCArray.cpp */; }; - 46624662222678D70008FC75 /* CCArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624643222678D70008FC75 /* CCArray.h */; }; - 46624663222678D70008FC75 /* CCArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624643222678D70008FC75 /* CCArray.h */; }; - 46624666222679D70008FC75 /* CCDataVisitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46624664222679D60008FC75 /* CCDataVisitor.cpp */; }; - 46624667222679D70008FC75 /* CCDataVisitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46624664222679D60008FC75 /* CCDataVisitor.cpp */; }; - 46624668222679D70008FC75 /* CCDataVisitor.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624665222679D60008FC75 /* CCDataVisitor.h */; }; - 46624669222679D70008FC75 /* CCDataVisitor.h in Headers */ = {isa = PBXBuildFile; fileRef = 46624665222679D60008FC75 /* CCDataVisitor.h */; }; - 4662466C2227720E0008FC75 /* lua_cocos2dx_cocosdenshion_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4662466B2227720E0008FC75 /* lua_cocos2dx_cocosdenshion_auto.cpp */; }; - 4662466D2227720E0008FC75 /* lua_cocos2dx_cocosdenshion_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4662466B2227720E0008FC75 /* lua_cocos2dx_cocosdenshion_auto.cpp */; }; - 507B42BD1C31FA0C0067B53E /* lua_module_register.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ADD1C0D21C196B9500733781 /* lua_module_register.cpp */; }; - 507B42BE1C31FA0C0067B53E /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9719A71A53004F1E71 /* select.c */; }; - 507B42C01C31FA0C0067B53E /* tolua_event.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */; }; - 507B42C11C31FA0C0067B53E /* lua_cocos2dx_audioengine_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3E2BDB0819C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.cpp */; }; - 507B42C21C31FA0C0067B53E /* auxiliar.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8719A71A53004F1E71 /* auxiliar.c */; }; - 507B42C31C31FA0C0067B53E /* lua-cocos-studio-conversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15B5754D1A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp */; }; - 507B42C41C31FA0C0067B53E /* tolua_is.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */; }; - 507B42C51C31FA0C0067B53E /* tolua_map.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */; }; - 507B42C61C31FA0C0067B53E /* tolua_push.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */; }; - 507B42C71C31FA0C0067B53E /* tolua_to.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */; }; - 507B42C81C31FA0C0067B53E /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9519A71A53004F1E71 /* options.c */; }; - 507B42C91C31FA0C0067B53E /* xxtea.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1540AF55193EC30500717D8E /* xxtea.cpp */; }; - 507B42CA1C31FA0C0067B53E /* CCLuaBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */; }; - 507B42CB1C31FA0C0067B53E /* lua_cocos2dx_navmesh_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983CE1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp */; }; - 507B42CC1C31FA0C0067B53E /* CCLuaEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */; }; - 507B42CD1C31FA0C0067B53E /* lua_cocos2dx_experimental_video_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */; }; - 507B42CE1C31FA0C0067B53E /* CCLuaStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76418BC45C200215002 /* CCLuaStack.cpp */; }; - 507B42CF1C31FA0C0067B53E /* CCLuaValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76618BC45C200215002 /* CCLuaValue.cpp */; }; - 507B42D01C31FA0C0067B53E /* Cocos2dxLuaLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */; }; - 507B42D21C31FA0C0067B53E /* lua_cocos2dx_navmesh_conversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983DB1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp */; }; - 507B42D31C31FA0C0067B53E /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; }; - 507B42D41C31FA0C0067B53E /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; }; - 507B42D51C31FA0C0067B53E /* lua_xml_http_request.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */; }; - 507B42D61C31FA0C0067B53E /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9B19A71A53004F1E71 /* tcp.c */; }; - 507B42D71C31FA0C0067B53E /* timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9D19A71A53004F1E71 /* timeout.c */; }; - 507B42D81C31FA0C0067B53E /* luasocket_scripts.c in Sources */ = {isa = PBXBuildFile; fileRef = F4FE0D5519ECD00100B8B12B /* luasocket_scripts.c */; }; - 507B42D91C31FA0C0067B53E /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; }; - 507B42DC1C31FA0C0067B53E /* lua_cocos2dx_csloader_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 159552381A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp */; }; - 507B42DD1C31FA0C0067B53E /* lua_cocos2dx_experimental_webview_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C9A1101AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.cpp */; }; - 507B42E11C31FA0C0067B53E /* lua_cocos2dx_deprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */; }; - 507B42E21C31FA0C0067B53E /* lua_cocos2dx_experimental_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */; }; - 507B42E41C31FA0C0067B53E /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9319A71A53004F1E71 /* mime.c */; }; - 507B42E51C31FA0C0067B53E /* unix.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415AA119A71A53004F1E71 /* unix.c */; }; - 507B42E71C31FA0C0067B53E /* usocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415AA319A71A53004F1E71 /* usocket.c */; }; - 507B42E91C31FA0C0067B53E /* lua_cocos2dx_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */; }; - 507B42EA1C31FA0C0067B53E /* lua_extensions.c in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD011986526C00A46ACC /* lua_extensions.c */; }; - 507B42EB1C31FA0C0067B53E /* CCComponentLua.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BA0CBB5C1BB0756F00003364 /* CCComponentLua.cpp */; }; - 507B42EC1C31FA0C0067B53E /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9F19A71A53004F1E71 /* udp.c */; }; - 507B42ED1C31FA0C0067B53E /* luasocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9119A71A53004F1E71 /* luasocket.c */; }; - 507B42EF1C31FA0C0067B53E /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A9919A71A53004F1E71 /* serial.c */; }; - 507B42F11C31FA0C0067B53E /* CustomGUIReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 566F015D19B5EB0F00FCA620 /* CustomGUIReader.cpp */; }; - 507B42F21C31FA0C0067B53E /* lua_cocos2dx_studio_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */; }; - 507B42F31C31FA0C0067B53E /* lua_cocos2dx_audioengine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3E2BDB0319C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.cpp */; }; - 507B42F41C31FA0C0067B53E /* lua_cocos2dx_network_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */; }; - 507B42F51C31FA0C0067B53E /* except.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8B19A71A53004F1E71 /* except.c */; }; - 507B42F61C31FA0C0067B53E /* lua_cocos2dx_experimental_webview_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C9A10C1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.cpp */; }; - 507B42F71C31FA0C0067B53E /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8919A71A53004F1E71 /* buffer.c */; }; - 507B42F81C31FA0C0067B53E /* lua_cocos2dx_experimental_video_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */; }; - 507B42F91C31FA0C0067B53E /* lua_cocos2dx_navmesh_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 150983D51B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp */; }; - 507B42FA1C31FA0C0067B53E /* lua_cocos2dx_coco_studio_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */; }; - 507B42FB1C31FA0C0067B53E /* lua_cocos2dx_ui_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */; }; - 507B42FC1C31FA0C0067B53E /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8F19A71A53004F1E71 /* io.c */; }; - 507B42FD1C31FA0C0067B53E /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */; }; - 507B42FE1C31FA0C0067B53E /* lua_cocos2dx_ui_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */; }; - 507B43001C31FA0C0067B53E /* lua_cocos2dx_extension_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */; }; - 507B43011C31FA0C0067B53E /* lua_cocos2dx_physics_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */; }; - 507B43021C31FA0C0067B53E /* LuaScriptHandlerMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */; }; - 507B43041C31FA0C0067B53E /* lua_cocos2dx_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */; }; - 507B43051C31FA0C0067B53E /* lua_cocos2dx_physics_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */; }; - 507B43061C31FA0C0067B53E /* inet.c in Sources */ = {isa = PBXBuildFile; fileRef = 15415A8D19A71A53004F1E71 /* inet.c */; }; - 507B43071C31FA0C0067B53E /* lua_cocos2dx_csloader_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1595523E1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp */; }; - 507B43081C31FA0C0067B53E /* Lua_web_socket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */; }; - 507B430A1C31FA0C0067B53E /* libluajit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA1F318CD8F540087CE3A /* libluajit.a */; }; - 507B430C1C31FA0C0067B53E /* lua_cocos2dx_navmesh_conversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 150983DC1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h */; }; - 507B430D1C31FA0C0067B53E /* lauxlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E618CD8F470087CE3A /* lauxlib.h */; }; - 507B430E1C31FA0C0067B53E /* auxiliar.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8819A71A53004F1E71 /* auxiliar.h */; }; - 507B430F1C31FA0C0067B53E /* lua_extensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD021986526C00A46ACC /* lua_extensions.h */; }; - 507B43101C31FA0C0067B53E /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9419A71A53004F1E71 /* mime.h */; }; - 507B43111C31FA0C0067B53E /* lua.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E718CD8F470087CE3A /* lua.h */; }; - 507B43121C31FA0C0067B53E /* udp.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA019A71A53004F1E71 /* udp.h */; }; - 507B43131C31FA0C0067B53E /* luaconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E818CD8F470087CE3A /* luaconf.h */; }; - 507B43141C31FA0C0067B53E /* unix.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA219A71A53004F1E71 /* unix.h */; }; - 507B43151C31FA0C0067B53E /* lua_cocos2dx_3d_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 158C128619A0FA1300781A76 /* lua_cocos2dx_3d_manual.h */; }; - 507B43161C31FA0C0067B53E /* luasocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9219A71A53004F1E71 /* luasocket.h */; }; - 507B43171C31FA0C0067B53E /* lua_cocos2dx_csloader_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1595523F1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp */; }; - 507B43181C31FA0C0067B53E /* lua_cocos2dx_experimental_video_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */; }; - 507B43191C31FA0C0067B53E /* tcp.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9C19A71A53004F1E71 /* tcp.h */; }; - 507B431A1C31FA0C0067B53E /* CCComponentLua.h in Headers */ = {isa = PBXBuildFile; fileRef = BA0CBB5D1BB0756F00003364 /* CCComponentLua.h */; }; - 507B431B1C31FA0C0067B53E /* buffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8A19A71A53004F1E71 /* buffer.h */; }; - 507B431C1C31FA0C0067B53E /* lualib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E918CD8F470087CE3A /* lualib.h */; }; - 507B431D1C31FA0C0067B53E /* Lua_web_socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD041986526C00A46ACC /* Lua_web_socket.h */; }; - 507B431E1C31FA0C0067B53E /* tolua_event.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */; }; - 507B431F1C31FA0C0067B53E /* lua_cocos2dx_physics3d_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15A561EB1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h */; }; - 507B43201C31FA0C0067B53E /* tolua++.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */; }; - 507B43211C31FA0C0067B53E /* lua_cocos2dx_cocosdenshion_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */; }; - 507B43221C31FA0C0067B53E /* except.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8C19A71A53004F1E71 /* except.h */; }; - 507B43231C31FA0C0067B53E /* lua_cocos2dx_audioengine_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E2BDB0919C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.h */; }; - 507B43251C31FA0C0067B53E /* socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9A19A71A53004F1E71 /* socket.h */; }; - 507B43261C31FA0C0067B53E /* usocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415AA419A71A53004F1E71 /* usocket.h */; }; - 507B43271C31FA0C0067B53E /* options.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9619A71A53004F1E71 /* options.h */; }; - 507B43281C31FA0C0067B53E /* xxtea.h in Headers */ = {isa = PBXBuildFile; fileRef = 1540AF56193EC30500717D8E /* xxtea.h */; }; - 507B43291C31FA0C0067B53E /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; }; - 507B432A1C31FA0C0067B53E /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; }; - 507B432B1C31FA0C0067B53E /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; }; - 507B432C1C31FA0C0067B53E /* lua-cocos-studio-conversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 15B5754E1A6F4D1500041C20 /* lua-cocos-studio-conversions.h */; }; - 507B432D1C31FA0C0067B53E /* CCLuaValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76718BC45C200215002 /* CCLuaValue.h */; }; - 507B432E1C31FA0C0067B53E /* lua_cocos2dx_network_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */; }; - 507B432F1C31FA0C0067B53E /* Cocos2dxLuaLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */; }; - 507B43301C31FA0C0067B53E /* LuaBasicConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */; }; - 507B43311C31FA0C0067B53E /* lua_cocos2dx_navmesh_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 150983CF1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp */; }; - 507B43321C31FA0C0067B53E /* inet.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A8E19A71A53004F1E71 /* inet.h */; }; - 507B43331C31FA0C0067B53E /* CCLuaObjcBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */; }; - 507B43341C31FA0C0067B53E /* tolua_fix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE7B418BC45C200215002 /* tolua_fix.h */; }; - 507B43351C31FA0C0067B53E /* LuaSkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */; }; - 507B43361C31FA0C0067B53E /* lua_cocos2dx_csloader_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 159552391A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp */; }; - 507B43371C31FA0C0067B53E /* io.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9019A71A53004F1E71 /* io.h */; }; - 507B43381C31FA0C0067B53E /* CustomGUIReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 566F015E19B5EB0F00FCA620 /* CustomGUIReader.h */; }; - 507B433A1C31FA0C0067B53E /* timeout.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9E19A71A53004F1E71 /* timeout.h */; }; - 507B433B1C31FA0C0067B53E /* lua_cocos2dx_deprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */; }; - 507B433C1C31FA0C0067B53E /* lua_cocos2dx_ui_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */; }; - 507B433D1C31FA0C0067B53E /* lua_cocos2dx_experimental_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */; }; - 507B433E1C31FA0C0067B53E /* lua_cocos2dx_experimental_webview_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C9A1111AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.hpp */; }; - 507B433F1C31FA0C0067B53E /* lua_cocos2dx_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */; }; - 507B43401C31FA0C0067B53E /* lua_cocos2dx_experimental_webview_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C9A10D1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.hpp */; }; - 507B43411C31FA0C0067B53E /* lua_cocos2dx_navmesh_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 150983D61B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h */; }; - 507B43421C31FA0C0067B53E /* lua_cocos2dx_physics_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */; }; - 507B43431C31FA0C0067B53E /* lua_cocos2dx_extension_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */; }; - 507B43441C31FA0C0067B53E /* lua_xml_http_request.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */; }; - 507B43451C31FA0C0067B53E /* lua_cocos2dx_coco_studio_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */; }; - 507B43461C31FA0C0067B53E /* LuaScriptHandlerMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */; }; - 507B43471C31FA0C0067B53E /* lua_cocos2dx_experimental_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */; }; - 507B43481C31FA0C0067B53E /* lua_cocos2dx_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */; }; - 507B434A1C31FA0C0067B53E /* lua_cocos2dx_physics3d_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15A561E41B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp */; }; - 507B434B1C31FA0C0067B53E /* select.h in Headers */ = {isa = PBXBuildFile; fileRef = 15415A9819A71A53004F1E71 /* select.h */; }; - 507B434C1C31FA0C0067B53E /* lua_cocos2dx_spine_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */; }; - 507B434D1C31FA0C0067B53E /* lua_cocos2dx_physics_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */; }; - 507B434E1C31FA0C0067B53E /* lua_cocos2dx_audioengine_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 3E2BDB0419C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.hpp */; }; - 507B434F1C31FA0C0067B53E /* luasocket_scripts.h in Headers */ = {isa = PBXBuildFile; fileRef = F4FE0D5619ECD00100B8B12B /* luasocket_scripts.h */; }; - 566F015F19B5EB0F00FCA620 /* CustomGUIReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 566F015D19B5EB0F00FCA620 /* CustomGUIReader.cpp */; }; - 566F016019B5EB0F00FCA620 /* CustomGUIReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 566F015D19B5EB0F00FCA620 /* CustomGUIReader.cpp */; }; - 566F016119B5EB0F00FCA620 /* CustomGUIReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 566F015E19B5EB0F00FCA620 /* CustomGUIReader.h */; }; - 566F016219B5EB0F00FCA620 /* CustomGUIReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 566F015E19B5EB0F00FCA620 /* CustomGUIReader.h */; }; - ADAC23ED1C2044A60049A6A2 /* lua_module_register.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ADD1C0D21C196B9500733781 /* lua_module_register.cpp */; }; - ADD1C0D51C196B9500733781 /* lua_module_register.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ADD1C0D21C196B9500733781 /* lua_module_register.cpp */; }; - ADD1C0D61C196B9500733781 /* lua_module_register.h in Headers */ = {isa = PBXBuildFile; fileRef = ADD1C0D31C196B9500733781 /* lua_module_register.h */; }; - ADD1C0D71C196B9500733781 /* Lua-BindingsExport.h in Headers */ = {isa = PBXBuildFile; fileRef = ADD1C0D41C196B9500733781 /* Lua-BindingsExport.h */; }; - BA0CBB5E1BB0756F00003364 /* CCComponentLua.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BA0CBB5C1BB0756F00003364 /* CCComponentLua.cpp */; }; - BA0CBB5F1BB0756F00003364 /* CCComponentLua.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BA0CBB5C1BB0756F00003364 /* CCComponentLua.cpp */; }; - BA0CBB601BB0756F00003364 /* CCComponentLua.h in Headers */ = {isa = PBXBuildFile; fileRef = BA0CBB5D1BB0756F00003364 /* CCComponentLua.h */; }; - BA0CBB611BB0756F00003364 /* CCComponentLua.h in Headers */ = {isa = PBXBuildFile; fileRef = BA0CBB5D1BB0756F00003364 /* CCComponentLua.h */; }; - ED1AA90B215DF5F3004ABA9F /* lua_downloader.h in Headers */ = {isa = PBXBuildFile; fileRef = ED1AA909215DF5F3004ABA9F /* lua_downloader.h */; }; - ED1AA90C215DF5F3004ABA9F /* lua_downloader.h in Headers */ = {isa = PBXBuildFile; fileRef = ED1AA909215DF5F3004ABA9F /* lua_downloader.h */; }; - ED1AA90D215DF5F3004ABA9F /* lua_downloader.h in Headers */ = {isa = PBXBuildFile; fileRef = ED1AA909215DF5F3004ABA9F /* lua_downloader.h */; }; - ED1AA90E215DF5F3004ABA9F /* lua_downloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ED1AA90A215DF5F3004ABA9F /* lua_downloader.cpp */; }; - ED1AA90F215DF5F3004ABA9F /* lua_downloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ED1AA90A215DF5F3004ABA9F /* lua_downloader.cpp */; }; - ED1AA910215DF5F3004ABA9F /* lua_downloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ED1AA90A215DF5F3004ABA9F /* lua_downloader.cpp */; }; - F4FE0D5719ECD00100B8B12B /* luasocket_scripts.c in Sources */ = {isa = PBXBuildFile; fileRef = F4FE0D5519ECD00100B8B12B /* luasocket_scripts.c */; }; - F4FE0D5819ECD00100B8B12B /* luasocket_scripts.c in Sources */ = {isa = PBXBuildFile; fileRef = F4FE0D5519ECD00100B8B12B /* luasocket_scripts.c */; }; - F4FE0D5919ECD00100B8B12B /* luasocket_scripts.h in Headers */ = {isa = PBXBuildFile; fileRef = F4FE0D5619ECD00100B8B12B /* luasocket_scripts.h */; }; - F4FE0D5A19ECD00100B8B12B /* luasocket_scripts.h in Headers */ = {isa = PBXBuildFile; fileRef = F4FE0D5619ECD00100B8B12B /* luasocket_scripts.h */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 150983CE1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_navmesh_auto.cpp; sourceTree = ""; }; - 150983CF1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_navmesh_auto.hpp; sourceTree = ""; }; - 150983D51B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lua_cocos2dx_navmesh_manual.cpp; path = navmesh/lua_cocos2dx_navmesh_manual.cpp; sourceTree = ""; }; - 150983D61B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lua_cocos2dx_navmesh_manual.h; path = navmesh/lua_cocos2dx_navmesh_manual.h; sourceTree = ""; }; - 150983DB1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lua_cocos2dx_navmesh_conversions.cpp; path = navmesh/lua_cocos2dx_navmesh_conversions.cpp; sourceTree = ""; }; - 150983DC1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lua_cocos2dx_navmesh_conversions.h; path = navmesh/lua_cocos2dx_navmesh_conversions.h; sourceTree = ""; }; - 1516227F19A0F3E3006099B8 /* lua_cocos2dx_3d_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_3d_auto.cpp; sourceTree = ""; }; - 1516228019A0F3E3006099B8 /* lua_cocos2dx_3d_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_3d_auto.hpp; sourceTree = ""; }; - 1540AF55193EC30500717D8E /* xxtea.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xxtea.cpp; sourceTree = ""; }; - 1540AF56193EC30500717D8E /* xxtea.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xxtea.h; sourceTree = ""; }; - 15415A8719A71A53004F1E71 /* auxiliar.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = auxiliar.c; sourceTree = ""; }; - 15415A8819A71A53004F1E71 /* auxiliar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = auxiliar.h; sourceTree = ""; }; - 15415A8919A71A53004F1E71 /* buffer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = buffer.c; sourceTree = ""; }; - 15415A8A19A71A53004F1E71 /* buffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = buffer.h; sourceTree = ""; }; - 15415A8B19A71A53004F1E71 /* except.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = except.c; sourceTree = ""; }; - 15415A8C19A71A53004F1E71 /* except.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = except.h; sourceTree = ""; }; - 15415A8D19A71A53004F1E71 /* inet.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = inet.c; sourceTree = ""; }; - 15415A8E19A71A53004F1E71 /* inet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = inet.h; sourceTree = ""; }; - 15415A8F19A71A53004F1E71 /* io.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = io.c; sourceTree = ""; }; - 15415A9019A71A53004F1E71 /* io.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = io.h; sourceTree = ""; }; - 15415A9119A71A53004F1E71 /* luasocket.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = luasocket.c; sourceTree = ""; }; - 15415A9219A71A53004F1E71 /* luasocket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = luasocket.h; sourceTree = ""; }; - 15415A9319A71A53004F1E71 /* mime.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mime.c; sourceTree = ""; }; - 15415A9419A71A53004F1E71 /* mime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mime.h; sourceTree = ""; }; - 15415A9519A71A53004F1E71 /* options.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = options.c; sourceTree = ""; }; - 15415A9619A71A53004F1E71 /* options.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = options.h; sourceTree = ""; }; - 15415A9719A71A53004F1E71 /* select.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = select.c; sourceTree = ""; }; - 15415A9819A71A53004F1E71 /* select.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = select.h; sourceTree = ""; }; - 15415A9919A71A53004F1E71 /* serial.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = serial.c; sourceTree = ""; }; - 15415A9A19A71A53004F1E71 /* socket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = socket.h; sourceTree = ""; }; - 15415A9B19A71A53004F1E71 /* tcp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tcp.c; sourceTree = ""; }; - 15415A9C19A71A53004F1E71 /* tcp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tcp.h; sourceTree = ""; }; - 15415A9D19A71A53004F1E71 /* timeout.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = timeout.c; sourceTree = ""; }; - 15415A9E19A71A53004F1E71 /* timeout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = timeout.h; sourceTree = ""; }; - 15415A9F19A71A53004F1E71 /* udp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = udp.c; sourceTree = ""; }; - 15415AA019A71A53004F1E71 /* udp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = udp.h; sourceTree = ""; }; - 15415AA119A71A53004F1E71 /* unix.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = unix.c; sourceTree = ""; }; - 15415AA219A71A53004F1E71 /* unix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unix.h; sourceTree = ""; }; - 15415AA319A71A53004F1E71 /* usocket.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = usocket.c; sourceTree = ""; }; - 15415AA419A71A53004F1E71 /* usocket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = usocket.h; sourceTree = ""; }; - 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_cocosdenshion_manual.cpp; sourceTree = ""; }; - 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_cocosdenshion_manual.h; sourceTree = ""; }; - 15622967197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_auto.cpp; sourceTree = ""; }; - 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_auto.hpp; sourceTree = ""; }; - 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_video_auto.cpp; sourceTree = ""; }; - 156EADF21977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_video_auto.hpp; sourceTree = ""; }; - 158C128519A0FA1300781A76 /* lua_cocos2dx_3d_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_3d_manual.cpp; sourceTree = ""; }; - 158C128619A0FA1300781A76 /* lua_cocos2dx_3d_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_3d_manual.h; sourceTree = ""; }; - 159552381A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_csloader_auto.cpp; sourceTree = ""; }; - 159552391A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_csloader_auto.hpp; sourceTree = ""; }; - 1595523E1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_csloader_manual.cpp; sourceTree = ""; }; - 1595523F1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_csloader_manual.hpp; sourceTree = ""; }; - 15A561E31B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_physics3d_auto.cpp; sourceTree = ""; }; - 15A561E41B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_physics3d_auto.hpp; sourceTree = ""; }; - 15A561EA1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lua_cocos2dx_physics3d_manual.cpp; path = physics3d/lua_cocos2dx_physics3d_manual.cpp; sourceTree = ""; }; - 15A561EB1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lua_cocos2dx_physics3d_manual.h; path = physics3d/lua_cocos2dx_physics3d_manual.h; sourceTree = ""; }; - 15B5754D1A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "lua-cocos-studio-conversions.cpp"; sourceTree = ""; }; - 15B5754E1A6F4D1500041C20 /* lua-cocos-studio-conversions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "lua-cocos-studio-conversions.h"; sourceTree = ""; }; - 15C1BCC319864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_cocosdenshion_auto.hpp; sourceTree = ""; }; - 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_deprecated.cpp; sourceTree = ""; }; - 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_deprecated.h; sourceTree = ""; }; - 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_manual.cpp; sourceTree = ""; }; - 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_manual.hpp; sourceTree = ""; }; - 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_manual.cpp; sourceTree = ""; }; - 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_manual.hpp; sourceTree = ""; }; - 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_physics_manual.cpp; sourceTree = ""; }; - 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_physics_manual.hpp; sourceTree = ""; }; - 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaScriptHandlerMgr.cpp; sourceTree = ""; }; - 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaScriptHandlerMgr.h; sourceTree = ""; }; - 15C1BCFE1986526C00A46ACC /* lua_cocos2dx_extension_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_extension_manual.cpp; sourceTree = ""; }; - 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_extension_manual.h; sourceTree = ""; }; - 15C1BD011986526C00A46ACC /* lua_extensions.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lua_extensions.c; sourceTree = ""; }; - 15C1BD021986526C00A46ACC /* lua_extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_extensions.h; sourceTree = ""; }; - 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Lua_web_socket.cpp; sourceTree = ""; }; - 15C1BD041986526C00A46ACC /* Lua_web_socket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Lua_web_socket.h; sourceTree = ""; }; - 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_xml_http_request.cpp; sourceTree = ""; }; - 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_xml_http_request.h; sourceTree = ""; }; - 15C1BD151986526C00A46ACC /* lua_cocos2dx_spine_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_spine_manual.cpp; sourceTree = ""; }; - 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_spine_manual.hpp; sourceTree = ""; }; - 15C1BD171986526C00A46ACC /* LuaSkeletonAnimation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaSkeletonAnimation.cpp; sourceTree = ""; }; - 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaSkeletonAnimation.h; sourceTree = ""; }; - 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_ui_manual.cpp; sourceTree = ""; }; - 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_ui_manual.hpp; sourceTree = ""; }; - 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_video_manual.cpp; sourceTree = ""; }; - 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_video_manual.hpp; sourceTree = ""; }; - 15C1C2CC198748D200A46ACC /* libluacocos2d Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocos2d Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 15C9A10C1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_webview_auto.cpp; sourceTree = ""; }; - 15C9A10D1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_webview_auto.hpp; sourceTree = ""; }; - 15C9A1101AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_webview_manual.cpp; sourceTree = ""; }; - 15C9A1111AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_webview_manual.hpp; sourceTree = ""; }; - 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_coco_studio_manual.cpp; sourceTree = ""; }; - 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_coco_studio_manual.hpp; sourceTree = ""; }; - 15EFA616198B2DAA000C57D3 /* libluacocos2d iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocos2d iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_network_manual.cpp; sourceTree = ""; }; - 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_network_manual.h; sourceTree = ""; }; - 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tolua_fix.cpp; sourceTree = ""; }; - 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = lua_cocos2dx_auto.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_auto.hpp; sourceTree = ""; }; - 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_extension_auto.cpp; sourceTree = ""; }; - 1AACE74D18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_extension_auto.hpp; sourceTree = ""; }; - 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_physics_auto.cpp; sourceTree = ""; }; - 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_physics_auto.hpp; sourceTree = ""; }; - 1AACE75518BC45C200215002 /* lua_cocos2dx_spine_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_spine_auto.cpp; sourceTree = ""; }; - 1AACE75618BC45C200215002 /* lua_cocos2dx_spine_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_spine_auto.hpp; sourceTree = ""; }; - 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_studio_auto.cpp; sourceTree = ""; }; - 1AACE75918BC45C200215002 /* lua_cocos2dx_studio_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_studio_auto.hpp; sourceTree = ""; }; - 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCLuaBridge.cpp; sourceTree = ""; }; - 1AACE76118BC45C200215002 /* CCLuaBridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLuaBridge.h; sourceTree = ""; }; - 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCLuaEngine.cpp; sourceTree = ""; }; - 1AACE76318BC45C200215002 /* CCLuaEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLuaEngine.h; sourceTree = ""; }; - 1AACE76418BC45C200215002 /* CCLuaStack.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCLuaStack.cpp; sourceTree = ""; }; - 1AACE76518BC45C200215002 /* CCLuaStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLuaStack.h; sourceTree = ""; }; - 1AACE76618BC45C200215002 /* CCLuaValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCLuaValue.cpp; sourceTree = ""; }; - 1AACE76718BC45C200215002 /* CCLuaValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLuaValue.h; sourceTree = ""; }; - 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Cocos2dxLuaLoader.cpp; sourceTree = ""; }; - 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cocos2dxLuaLoader.h; sourceTree = ""; }; - 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaBasicConversions.cpp; sourceTree = ""; }; - 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaBasicConversions.h; sourceTree = ""; }; - 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLuaObjcBridge.h; sourceTree = ""; }; - 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CCLuaObjcBridge.mm; sourceTree = ""; }; - 1AACE7B418BC45C200215002 /* tolua_fix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tolua_fix.h; sourceTree = ""; }; - 1ABCA1E618CD8F470087CE3A /* lauxlib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lauxlib.h; sourceTree = ""; }; - 1ABCA1E718CD8F470087CE3A /* lua.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua.h; sourceTree = ""; }; - 1ABCA1E818CD8F470087CE3A /* luaconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = luaconf.h; sourceTree = ""; }; - 1ABCA1E918CD8F470087CE3A /* lualib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lualib.h; sourceTree = ""; }; - 1ABCA1F318CD8F540087CE3A /* libluajit.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libluajit.a; sourceTree = ""; }; - 1ABCA1F618CD8F5F0087CE3A /* libluajit.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libluajit.a; sourceTree = ""; }; - 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tolua_event.c; path = ../../../../external/lua/tolua/tolua_event.c; sourceTree = ""; }; - 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = tolua_event.h; path = ../../../../external/lua/tolua/tolua_event.h; sourceTree = ""; }; - 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tolua_is.c; path = ../../../../external/lua/tolua/tolua_is.c; sourceTree = ""; }; - 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tolua_map.c; path = ../../../../external/lua/tolua/tolua_map.c; sourceTree = ""; }; - 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tolua_push.c; path = ../../../../external/lua/tolua/tolua_push.c; sourceTree = ""; }; - 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tolua_to.c; path = ../../../../external/lua/tolua/tolua_to.c; sourceTree = ""; }; - 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "tolua++.h"; path = "../../../../external/lua/tolua/tolua++.h"; sourceTree = ""; }; - 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_ui_auto.cpp; sourceTree = ""; }; - 2905FACF18CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_ui_auto.hpp; sourceTree = ""; }; - 3E2BDB0319C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_audioengine_auto.cpp; sourceTree = ""; }; - 3E2BDB0419C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_audioengine_auto.hpp; sourceTree = ""; }; - 3E2BDB0819C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_audioengine_manual.cpp; sourceTree = ""; }; - 3E2BDB0919C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_audioengine_manual.h; sourceTree = ""; }; - 46624633222678D70008FC75 /* CCDictionary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDictionary.h; sourceTree = ""; }; - 46624634222678D70008FC75 /* CCDouble.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDouble.h; sourceTree = ""; }; - 46624635222678D70008FC75 /* CCBool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBool.h; sourceTree = ""; }; - 46624636222678D70008FC75 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; }; - 46624637222678D70008FC75 /* CCSet.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCSet.cpp; sourceTree = ""; }; - 46624638222678D70008FC75 /* CCDeprecated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDeprecated.h; sourceTree = ""; }; - 46624639222678D70008FC75 /* CCNotificationCenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCNotificationCenter.h; sourceTree = ""; }; - 4662463A222678D70008FC75 /* CCString.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCString.cpp; sourceTree = ""; }; - 4662463B222678D70008FC75 /* CCString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCString.h; sourceTree = ""; }; - 4662463C222678D70008FC75 /* CCFloat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCFloat.h; sourceTree = ""; }; - 4662463D222678D70008FC75 /* CCDictionary.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCDictionary.cpp; sourceTree = ""; }; - 4662463E222678D70008FC75 /* CCSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSet.h; sourceTree = ""; }; - 4662463F222678D70008FC75 /* CCDeprecated.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCDeprecated.cpp; sourceTree = ""; }; - 46624640222678D70008FC75 /* CCNotificationCenter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCNotificationCenter.cpp; sourceTree = ""; }; - 46624641222678D70008FC75 /* CCInteger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCInteger.h; sourceTree = ""; }; - 46624642222678D70008FC75 /* CCArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCArray.cpp; sourceTree = ""; }; - 46624643222678D70008FC75 /* CCArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCArray.h; sourceTree = ""; }; - 46624664222679D60008FC75 /* CCDataVisitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCDataVisitor.cpp; sourceTree = ""; }; - 46624665222679D60008FC75 /* CCDataVisitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDataVisitor.h; sourceTree = ""; }; - 4662466B2227720E0008FC75 /* lua_cocos2dx_cocosdenshion_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_cocosdenshion_auto.cpp; sourceTree = ""; }; - 507B43531C31FA0C0067B53E /* libluacocos2d tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocos2d tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 566F015D19B5EB0F00FCA620 /* CustomGUIReader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CustomGUIReader.cpp; sourceTree = ""; }; - 566F015E19B5EB0F00FCA620 /* CustomGUIReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CustomGUIReader.h; sourceTree = ""; }; - ADD1C0D21C196B9500733781 /* lua_module_register.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_module_register.cpp; sourceTree = ""; }; - ADD1C0D31C196B9500733781 /* lua_module_register.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_module_register.h; sourceTree = ""; }; - ADD1C0D41C196B9500733781 /* Lua-BindingsExport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Lua-BindingsExport.h"; sourceTree = ""; }; - BA0CBB5C1BB0756F00003364 /* CCComponentLua.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCComponentLua.cpp; sourceTree = ""; }; - BA0CBB5D1BB0756F00003364 /* CCComponentLua.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCComponentLua.h; sourceTree = ""; }; - C0D9BAFA1974D30000EC35BB /* liblua.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = liblua.a; path = ../../../../external/lua/lua/prebuilt/ios/liblua.a; sourceTree = ""; }; - ED1AA909215DF5F3004ABA9F /* lua_downloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_downloader.h; sourceTree = ""; }; - ED1AA90A215DF5F3004ABA9F /* lua_downloader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_downloader.cpp; sourceTree = ""; }; - F4FE0D5519ECD00100B8B12B /* luasocket_scripts.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = luasocket_scripts.c; sourceTree = ""; }; - F4FE0D5619ECD00100B8B12B /* luasocket_scripts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = luasocket_scripts.h; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 15C1C28E198748D200A46ACC /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 15AC69E4198771FF00D17520 /* libluajit.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 15EFA5D7198B2DAA000C57D3 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 15EFA5D9198B2DAA000C57D3 /* libluajit.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 507B43091C31FA0C0067B53E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 507B430A1C31FA0C0067B53E /* libluajit.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 150983D41B1C3F2D007F3818 /* navmesh */ = { - isa = PBXGroup; - children = ( - 150983DB1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp */, - 150983DC1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h */, - 150983D51B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp */, - 150983D61B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h */, - ); - name = navmesh; - sourceTree = ""; - }; - 1540AF54193EC30500717D8E /* xxtea */ = { - isa = PBXGroup; - children = ( - 1540AF55193EC30500717D8E /* xxtea.cpp */, - 1540AF56193EC30500717D8E /* xxtea.h */, - ); - name = xxtea; - path = ../../../../external/xxtea; - sourceTree = ""; - }; - 15427D41198F73F700DC375D /* cocosdenshion */ = { - isa = PBXGroup; - children = ( - 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */, - 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */, - ); - path = cocosdenshion; - sourceTree = ""; - }; - 1551A334158F2AB200E66CFE = { - isa = PBXGroup; - children = ( - C0D9BAFA1974D30000EC35BB /* liblua.a */, - 46624632222678D70008FC75 /* deprecated */, - 1ABCA1E218CD8F230087CE3A /* external */, - 1AACE74818BC45C200215002 /* auto */, - 1AACE75B18BC45C200215002 /* manual */, - 15C1C2CC198748D200A46ACC /* libluacocos2d Mac.a */, - 15EFA616198B2DAA000C57D3 /* libluacocos2d iOS.a */, - 507B43531C31FA0C0067B53E /* libluacocos2d tvOS.a */, - ); - sourceTree = ""; - }; - 158C128419A0FA1300781A76 /* 3d */ = { - isa = PBXGroup; - children = ( - 158C128519A0FA1300781A76 /* lua_cocos2dx_3d_manual.cpp */, - 158C128619A0FA1300781A76 /* lua_cocos2dx_3d_manual.h */, - ); - path = 3d; - sourceTree = ""; - }; - 15A561E91B00A3D0005D4720 /* physics3d */ = { - isa = PBXGroup; - children = ( - 15A561EA1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.cpp */, - 15A561EB1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h */, - ); - name = physics3d; - sourceTree = ""; - }; - 15C1BCD21986525900A46ACC /* cocos2d */ = { - isa = PBXGroup; - children = ( - 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */, - 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */, - 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */, - 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */, - 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */, - 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */, - 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */, - 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */, - 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */, - 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */, - ); - path = cocos2d; - sourceTree = ""; - }; - 15C1BCFD1986526C00A46ACC /* extension */ = { - isa = PBXGroup; - children = ( - 15C1BCFE1986526C00A46ACC /* lua_cocos2dx_extension_manual.cpp */, - 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */, - ); - path = extension; - sourceTree = ""; - }; - 15C1BD001986526C00A46ACC /* network */ = { - isa = PBXGroup; - children = ( - ED1AA90A215DF5F3004ABA9F /* lua_downloader.cpp */, - ED1AA909215DF5F3004ABA9F /* lua_downloader.h */, - 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */, - 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */, - 15C1BD011986526C00A46ACC /* lua_extensions.c */, - 15C1BD021986526C00A46ACC /* lua_extensions.h */, - 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */, - 15C1BD041986526C00A46ACC /* Lua_web_socket.h */, - 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */, - 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */, - ); - path = network; - sourceTree = ""; - }; - 15C1BD141986526C00A46ACC /* spine */ = { - isa = PBXGroup; - children = ( - 15C1BD151986526C00A46ACC /* lua_cocos2dx_spine_manual.cpp */, - 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */, - 15C1BD171986526C00A46ACC /* LuaSkeletonAnimation.cpp */, - 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */, - ); - path = spine; - sourceTree = ""; - }; - 15C1BD191986526C00A46ACC /* ui */ = { - isa = PBXGroup; - children = ( - 15C9A1101AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.cpp */, - 15C9A1111AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.hpp */, - 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */, - 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */, - 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */, - 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */, - ); - path = ui; - sourceTree = ""; - }; - 15EFA400198B2AB2000C57D3 /* cocostudio */ = { - isa = PBXGroup; - children = ( - 15B5754D1A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp */, - 15B5754E1A6F4D1500041C20 /* lua-cocos-studio-conversions.h */, - 1595523E1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp */, - 1595523F1A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp */, - 566F015D19B5EB0F00FCA620 /* CustomGUIReader.cpp */, - 566F015E19B5EB0F00FCA620 /* CustomGUIReader.h */, - 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */, - 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */, - ); - path = cocostudio; - sourceTree = ""; - }; - 1AACE74818BC45C200215002 /* auto */ = { - isa = PBXGroup; - children = ( - 150983CE1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp */, - 150983CF1B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp */, - 15A561E31B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.cpp */, - 15A561E41B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp */, - 15C9A10C1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.cpp */, - 15C9A10D1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.hpp */, - 159552381A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp */, - 159552391A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp */, - 3E2BDB0319C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.cpp */, - 3E2BDB0419C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.hpp */, - 1516227F19A0F3E3006099B8 /* lua_cocos2dx_3d_auto.cpp */, - 1516228019A0F3E3006099B8 /* lua_cocos2dx_3d_auto.hpp */, - 15C1BCC319864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.hpp */, - 4662466B2227720E0008FC75 /* lua_cocos2dx_cocosdenshion_auto.cpp */, - 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */, - 156EADF21977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp */, - 15622967197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp */, - 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */, - 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */, - 2905FACF18CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp */, - 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */, - 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */, - 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */, - 1AACE74D18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp */, - 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */, - 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */, - 1AACE75518BC45C200215002 /* lua_cocos2dx_spine_auto.cpp */, - 1AACE75618BC45C200215002 /* lua_cocos2dx_spine_auto.hpp */, - 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */, - 1AACE75918BC45C200215002 /* lua_cocos2dx_studio_auto.hpp */, - ); - name = auto; - path = ../auto; - sourceTree = ""; - }; - 1AACE75B18BC45C200215002 /* manual */ = { - isa = PBXGroup; - children = ( - 150983D41B1C3F2D007F3818 /* navmesh */, - 15A561E91B00A3D0005D4720 /* physics3d */, - 3E2BDB0719C5E6100055CDCD /* audioengine */, - 158C128419A0FA1300781A76 /* 3d */, - 15427D41198F73F700DC375D /* cocosdenshion */, - 15EFA400198B2AB2000C57D3 /* cocostudio */, - 15C1BCFD1986526C00A46ACC /* extension */, - 15C1BD001986526C00A46ACC /* network */, - 15C1BD141986526C00A46ACC /* spine */, - 15C1BD191986526C00A46ACC /* ui */, - 15C1BCD21986525900A46ACC /* cocos2d */, - ADD1C0D21C196B9500733781 /* lua_module_register.cpp */, - ADD1C0D31C196B9500733781 /* lua_module_register.h */, - ADD1C0D41C196B9500733781 /* Lua-BindingsExport.h */, - 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */, - 1AACE76118BC45C200215002 /* CCLuaBridge.h */, - 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */, - 1AACE76318BC45C200215002 /* CCLuaEngine.h */, - 1AACE76418BC45C200215002 /* CCLuaStack.cpp */, - 1AACE76518BC45C200215002 /* CCLuaStack.h */, - 1AACE76618BC45C200215002 /* CCLuaValue.cpp */, - 1AACE76718BC45C200215002 /* CCLuaValue.h */, - 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */, - 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */, - BA0CBB5C1BB0756F00003364 /* CCComponentLua.cpp */, - BA0CBB5D1BB0756F00003364 /* CCComponentLua.h */, - 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */, - 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */, - 1AACE78618BC45C200215002 /* platform */, - 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */, - 1AACE7B418BC45C200215002 /* tolua_fix.h */, - ); - name = manual; - path = ../manual; - sourceTree = ""; - }; - 1AACE78618BC45C200215002 /* platform */ = { - isa = PBXGroup; - children = ( - 1AACE78D18BC45C200215002 /* ios */, - ); - path = platform; - sourceTree = ""; - }; - 1AACE78D18BC45C200215002 /* ios */ = { - isa = PBXGroup; - children = ( - 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */, - 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */, - ); - path = ios; - sourceTree = ""; - }; - 1ABCA1E218CD8F230087CE3A /* external */ = { - isa = PBXGroup; - children = ( - 1ABCA1E318CD8F2D0087CE3A /* luajit */, - 1ABCA20E18CD8F7D0087CE3A /* luasocket */, - 1ABCA1E418CD8F330087CE3A /* tolua */, - 1540AF54193EC30500717D8E /* xxtea */, - ); - name = external; - sourceTree = ""; - }; - 1ABCA1E318CD8F2D0087CE3A /* luajit */ = { - isa = PBXGroup; - children = ( - 1ABCA1E518CD8F470087CE3A /* include */, - 1ABCA1F218CD8F540087CE3A /* ios */, - 1ABCA1F518CD8F5F0087CE3A /* mac */, - ); - name = luajit; - sourceTree = ""; - }; - 1ABCA1E418CD8F330087CE3A /* tolua */ = { - isa = PBXGroup; - children = ( - 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */, - 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */, - 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */, - 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */, - 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */, - 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */, - 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */, - ); - name = tolua; - sourceTree = ""; - }; - 1ABCA1E518CD8F470087CE3A /* include */ = { - isa = PBXGroup; - children = ( - 1ABCA1E618CD8F470087CE3A /* lauxlib.h */, - 1ABCA1E718CD8F470087CE3A /* lua.h */, - 1ABCA1E818CD8F470087CE3A /* luaconf.h */, - 1ABCA1E918CD8F470087CE3A /* lualib.h */, - ); - name = include; - path = ../../../../external/lua/luajit/include; - sourceTree = ""; - }; - 1ABCA1F218CD8F540087CE3A /* ios */ = { - isa = PBXGroup; - children = ( - 1ABCA1F318CD8F540087CE3A /* libluajit.a */, - ); - name = ios; - path = ../../../../external/lua/luajit/prebuilt/ios; - sourceTree = ""; - }; - 1ABCA1F518CD8F5F0087CE3A /* mac */ = { - isa = PBXGroup; - children = ( - 1ABCA1F618CD8F5F0087CE3A /* libluajit.a */, - ); - name = mac; - path = ../../../../external/lua/luajit/prebuilt/mac; - sourceTree = ""; - }; - 1ABCA20E18CD8F7D0087CE3A /* luasocket */ = { - isa = PBXGroup; - children = ( - 15415A8719A71A53004F1E71 /* auxiliar.c */, - 15415A8819A71A53004F1E71 /* auxiliar.h */, - 15415A8919A71A53004F1E71 /* buffer.c */, - 15415A8A19A71A53004F1E71 /* buffer.h */, - 15415A8B19A71A53004F1E71 /* except.c */, - 15415A8C19A71A53004F1E71 /* except.h */, - 15415A8D19A71A53004F1E71 /* inet.c */, - 15415A8E19A71A53004F1E71 /* inet.h */, - 15415A8F19A71A53004F1E71 /* io.c */, - 15415A9019A71A53004F1E71 /* io.h */, - F4FE0D5519ECD00100B8B12B /* luasocket_scripts.c */, - F4FE0D5619ECD00100B8B12B /* luasocket_scripts.h */, - 15415A9119A71A53004F1E71 /* luasocket.c */, - 15415A9219A71A53004F1E71 /* luasocket.h */, - 15415A9319A71A53004F1E71 /* mime.c */, - 15415A9419A71A53004F1E71 /* mime.h */, - 15415A9519A71A53004F1E71 /* options.c */, - 15415A9619A71A53004F1E71 /* options.h */, - 15415A9719A71A53004F1E71 /* select.c */, - 15415A9819A71A53004F1E71 /* select.h */, - 15415A9919A71A53004F1E71 /* serial.c */, - 15415A9A19A71A53004F1E71 /* socket.h */, - 15415A9B19A71A53004F1E71 /* tcp.c */, - 15415A9C19A71A53004F1E71 /* tcp.h */, - 15415A9D19A71A53004F1E71 /* timeout.c */, - 15415A9E19A71A53004F1E71 /* timeout.h */, - 15415A9F19A71A53004F1E71 /* udp.c */, - 15415AA019A71A53004F1E71 /* udp.h */, - 15415AA119A71A53004F1E71 /* unix.c */, - 15415AA219A71A53004F1E71 /* unix.h */, - 15415AA319A71A53004F1E71 /* usocket.c */, - 15415AA419A71A53004F1E71 /* usocket.h */, - ); - name = luasocket; - path = ../../../../external/lua/luasocket; - sourceTree = ""; - }; - 3E2BDB0719C5E6100055CDCD /* audioengine */ = { - isa = PBXGroup; - children = ( - 3E2BDB0819C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.cpp */, - 3E2BDB0919C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.h */, - ); - path = audioengine; - sourceTree = ""; - }; - 46624632222678D70008FC75 /* deprecated */ = { - isa = PBXGroup; - children = ( - 46624633222678D70008FC75 /* CCDictionary.h */, - 46624634222678D70008FC75 /* CCDouble.h */, - 46624664222679D60008FC75 /* CCDataVisitor.cpp */, - 46624665222679D60008FC75 /* CCDataVisitor.h */, - 46624635222678D70008FC75 /* CCBool.h */, - 46624636222678D70008FC75 /* CMakeLists.txt */, - 46624637222678D70008FC75 /* CCSet.cpp */, - 46624638222678D70008FC75 /* CCDeprecated.h */, - 46624639222678D70008FC75 /* CCNotificationCenter.h */, - 4662463A222678D70008FC75 /* CCString.cpp */, - 4662463B222678D70008FC75 /* CCString.h */, - 4662463C222678D70008FC75 /* CCFloat.h */, - 4662463D222678D70008FC75 /* CCDictionary.cpp */, - 4662463E222678D70008FC75 /* CCSet.h */, - 4662463F222678D70008FC75 /* CCDeprecated.cpp */, - 46624640222678D70008FC75 /* CCNotificationCenter.cpp */, - 46624641222678D70008FC75 /* CCInteger.h */, - 46624642222678D70008FC75 /* CCArray.cpp */, - 46624643222678D70008FC75 /* CCArray.h */, - ); - name = deprecated; - path = ../../deprecated; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 15C1C290198748D200A46ACC /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 46624668222679D70008FC75 /* CCDataVisitor.h in Headers */, - 15EFA1F71989E582000C57D3 /* lua_cocos2dx_experimental_auto.hpp in Headers */, - 46624646222678D70008FC75 /* CCDouble.h in Headers */, - 15415AA719A71A53004F1E71 /* auxiliar.h in Headers */, - 155C7E1019A71C9D00F08B25 /* lua_extensions.h in Headers */, - 15A561E71B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp in Headers */, - 15415ABF19A71A53004F1E71 /* mime.h in Headers */, - 15AC69E21987712500D17520 /* tolua_event.h in Headers */, - 15415AD719A71A53004F1E71 /* udp.h in Headers */, - 15AC69E31987712500D17520 /* tolua++.h in Headers */, - 15415ADB19A71A53004F1E71 /* unix.h in Headers */, - 155C7DF419A71C3700F08B25 /* lua_cocos2dx_3d_manual.h in Headers */, - 4662464C222678D70008FC75 /* CCDeprecated.h in Headers */, - 15415ABB19A71A53004F1E71 /* luasocket.h in Headers */, - 46624652222678D70008FC75 /* CCString.h in Headers */, - 159552421A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp in Headers */, - 155C7E2419A71CD800F08B25 /* lua_cocos2dx_experimental_video_manual.hpp in Headers */, - 15415ACF19A71A53004F1E71 /* tcp.h in Headers */, - 15415AAB19A71A53004F1E71 /* buffer.h in Headers */, - 46624654222678D70008FC75 /* CCFloat.h in Headers */, - 15AC69DE1987711400D17520 /* lauxlib.h in Headers */, - 46624648222678D70008FC75 /* CCBool.h in Headers */, - 155C7E1419A71CA800F08B25 /* Lua_web_socket.h in Headers */, - ADD1C0D61C196B9500733781 /* lua_module_register.h in Headers */, - 15AC69DF1987711400D17520 /* lua.h in Headers */, - 46624662222678D70008FC75 /* CCArray.h in Headers */, - 46624644222678D70008FC75 /* CCDictionary.h in Headers */, - 15AC69E01987711400D17520 /* luaconf.h in Headers */, - 155C7DF819A71C4400F08B25 /* lua_cocos2dx_cocosdenshion_manual.h in Headers */, - 15415AAF19A71A53004F1E71 /* except.h in Headers */, - 150906F319D556D1002C4D97 /* lua_cocos2dx_audioengine_manual.h in Headers */, - ED1AA90B215DF5F3004ABA9F /* lua_downloader.h in Headers */, - 15415ACB19A71A53004F1E71 /* socket.h in Headers */, - 15415ADF19A71A53004F1E71 /* usocket.h in Headers */, - 15415AC319A71A53004F1E71 /* options.h in Headers */, - 15AC69E11987711400D17520 /* lualib.h in Headers */, - 15C1C2E719874CBE00A46ACC /* CCLuaBridge.h in Headers */, - 15C1C2E819874CBE00A46ACC /* CCLuaEngine.h in Headers */, - 4662464E222678D70008FC75 /* CCNotificationCenter.h in Headers */, - 15C1C2E919874CBE00A46ACC /* CCLuaStack.h in Headers */, - 15B575511A6F4D1500041C20 /* lua-cocos-studio-conversions.h in Headers */, - 15C1C2EA19874CBE00A46ACC /* CCLuaValue.h in Headers */, - 155C7E0C19A71C9000F08B25 /* lua_cocos2dx_network_manual.h in Headers */, - 15C1C2EB19874CBE00A46ACC /* Cocos2dxLuaLoader.h in Headers */, - 15C1C2EC19874CBE00A46ACC /* LuaBasicConversions.h in Headers */, - 15415AB319A71A53004F1E71 /* inet.h in Headers */, - 15C1C2ED19874CBE00A46ACC /* CCLuaObjcBridge.h in Headers */, - 15C1C2EE19874CBE00A46ACC /* tolua_fix.h in Headers */, - 155C7E2019A71CCC00F08B25 /* LuaSkeletonAnimation.h in Headers */, - 150983D91B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h in Headers */, - 1595523C1A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp in Headers */, - 15415AB719A71A53004F1E71 /* io.h in Headers */, - 46624658222678D70008FC75 /* CCSet.h in Headers */, - 150983DF1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h in Headers */, - 566F016119B5EB0F00FCA620 /* CustomGUIReader.h in Headers */, - 15C1C2DC19874B4400A46ACC /* xxtea.h in Headers */, - 15415AD319A71A53004F1E71 /* timeout.h in Headers */, - 15A561EE1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h in Headers */, - ADD1C0D71C196B9500733781 /* Lua-BindingsExport.h in Headers */, - 155C7E2819A71CE600F08B25 /* lua_cocos2dx_ui_manual.hpp in Headers */, - 15C1C2D6198749BC00A46ACC /* lua_cocos2dx_deprecated.h in Headers */, - 4662465E222678D70008FC75 /* CCInteger.h in Headers */, - 15C1C2D7198749BC00A46ACC /* lua_cocos2dx_experimental_manual.hpp in Headers */, - 15C1C2D8198749BC00A46ACC /* lua_cocos2dx_manual.hpp in Headers */, - 155C7E0819A71C7B00F08B25 /* lua_cocos2dx_extension_manual.h in Headers */, - 155C7E1819A71CB300F08B25 /* lua_xml_http_request.h in Headers */, - 150983D21B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp in Headers */, - 155C7DFC19A71C5300F08B25 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */, - 15C1C2D9198749BC00A46ACC /* lua_cocos2dx_physics_manual.hpp in Headers */, - 15C1C2DA198749BC00A46ACC /* LuaScriptHandlerMgr.h in Headers */, - 15AC69D619876EA200D17520 /* lua_cocos2dx_physics_auto.hpp in Headers */, - 15415AC719A71A53004F1E71 /* select.h in Headers */, - 155C7E1C19A71CC200F08B25 /* lua_cocos2dx_spine_manual.hpp in Headers */, - BA0CBB601BB0756F00003364 /* CCComponentLua.h in Headers */, - 15C1C2D41987499F00A46ACC /* lua_cocos2dx_auto.hpp in Headers */, - 150906F119D556C8002C4D97 /* lua_cocos2dx_audioengine_auto.hpp in Headers */, - F4FE0D5919ECD00100B8B12B /* luasocket_scripts.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 15EFA5DA198B2DAA000C57D3 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 46624669222679D70008FC75 /* CCDataVisitor.h in Headers */, - 150983E01B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.h in Headers */, - 46624647222678D70008FC75 /* CCDouble.h in Headers */, - 15EFA64D198B3342000C57D3 /* lauxlib.h in Headers */, - 15415AA819A71A53004F1E71 /* auxiliar.h in Headers */, - 155C7E1119A71C9F00F08B25 /* lua_extensions.h in Headers */, - 15415AC019A71A53004F1E71 /* mime.h in Headers */, - 15EFA64E198B3342000C57D3 /* lua.h in Headers */, - 15415AD819A71A53004F1E71 /* udp.h in Headers */, - 15EFA64F198B3342000C57D3 /* luaconf.h in Headers */, - 15415ADC19A71A53004F1E71 /* unix.h in Headers */, - 155C7DF519A71C3900F08B25 /* lua_cocos2dx_3d_manual.h in Headers */, - 4662464D222678D70008FC75 /* CCDeprecated.h in Headers */, - 15415ABC19A71A53004F1E71 /* luasocket.h in Headers */, - 46624653222678D70008FC75 /* CCString.h in Headers */, - 159552431A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.hpp in Headers */, - 155C7E2519A71CDA00F08B25 /* lua_cocos2dx_experimental_video_manual.hpp in Headers */, - 15415AD019A71A53004F1E71 /* tcp.h in Headers */, - BA0CBB611BB0756F00003364 /* CCComponentLua.h in Headers */, - 46624655222678D70008FC75 /* CCFloat.h in Headers */, - 15415AAC19A71A53004F1E71 /* buffer.h in Headers */, - 46624649222678D70008FC75 /* CCBool.h in Headers */, - 15EFA650198B3342000C57D3 /* lualib.h in Headers */, - 155C7E1519A71CAA00F08B25 /* Lua_web_socket.h in Headers */, - 15EFA64B198B3320000C57D3 /* tolua_event.h in Headers */, - 46624663222678D70008FC75 /* CCArray.h in Headers */, - 46624645222678D70008FC75 /* CCDictionary.h in Headers */, - 15A561EF1B00A3F1005D4720 /* lua_cocos2dx_physics3d_manual.h in Headers */, - 15EFA64C198B3320000C57D3 /* tolua++.h in Headers */, - 155C7DF919A71C4500F08B25 /* lua_cocos2dx_cocosdenshion_manual.h in Headers */, - 15415AB019A71A53004F1E71 /* except.h in Headers */, - ED1AA90C215DF5F3004ABA9F /* lua_downloader.h in Headers */, - 3E2BDB0B19C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.h in Headers */, - 15415ACC19A71A53004F1E71 /* socket.h in Headers */, - 15415AE019A71A53004F1E71 /* usocket.h in Headers */, - 15415AC419A71A53004F1E71 /* options.h in Headers */, - 15EFA644198B32D5000C57D3 /* xxtea.h in Headers */, - 15EFA63B198B32BB000C57D3 /* CCLuaBridge.h in Headers */, - 4662464F222678D70008FC75 /* CCNotificationCenter.h in Headers */, - 15EFA63C198B32BB000C57D3 /* CCLuaEngine.h in Headers */, - 15EFA63D198B32BB000C57D3 /* CCLuaStack.h in Headers */, - 15B575521A6F4D1500041C20 /* lua-cocos-studio-conversions.h in Headers */, - 15EFA63E198B32BB000C57D3 /* CCLuaValue.h in Headers */, - 155C7E0D19A71C9300F08B25 /* lua_cocos2dx_network_manual.h in Headers */, - 15EFA63F198B32BB000C57D3 /* Cocos2dxLuaLoader.h in Headers */, - 15EFA640198B32BB000C57D3 /* LuaBasicConversions.h in Headers */, - 150983D31B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.hpp in Headers */, - 15415AB419A71A53004F1E71 /* inet.h in Headers */, - 15EFA641198B32BB000C57D3 /* CCLuaObjcBridge.h in Headers */, - 15EFA642198B32BB000C57D3 /* tolua_fix.h in Headers */, - 155C7E2119A71CCE00F08B25 /* LuaSkeletonAnimation.h in Headers */, - 1595523D1A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.hpp in Headers */, - 46624659222678D70008FC75 /* CCSet.h in Headers */, - 15415AB819A71A53004F1E71 /* io.h in Headers */, - 566F016219B5EB0F00FCA620 /* CustomGUIReader.h in Headers */, - 15415AD419A71A53004F1E71 /* timeout.h in Headers */, - 15EFA62C198B3220000C57D3 /* lua_cocos2dx_deprecated.h in Headers */, - 155C7E2919A71CE800F08B25 /* lua_cocos2dx_ui_manual.hpp in Headers */, - 15EFA62D198B3220000C57D3 /* lua_cocos2dx_experimental_manual.hpp in Headers */, - 15C9A1131AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.hpp in Headers */, - 15EFA62E198B3220000C57D3 /* lua_cocos2dx_manual.hpp in Headers */, - 4662465F222678D70008FC75 /* CCInteger.h in Headers */, - 15C9A10F1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.hpp in Headers */, - 150983DA1B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.h in Headers */, - 15EFA62F198B3220000C57D3 /* lua_cocos2dx_physics_manual.hpp in Headers */, - 155C7E0919A71C8500F08B25 /* lua_cocos2dx_extension_manual.h in Headers */, - 155C7E1919A71CB500F08B25 /* lua_xml_http_request.h in Headers */, - 155C7DFD19A71C5400F08B25 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */, - 15EFA630198B3220000C57D3 /* LuaScriptHandlerMgr.h in Headers */, - 15EFA622198B2E74000C57D3 /* lua_cocos2dx_experimental_auto.hpp in Headers */, - 15EFA623198B2E74000C57D3 /* lua_cocos2dx_auto.hpp in Headers */, - 15A561E81B00A09A005D4720 /* lua_cocos2dx_physics3d_auto.hpp in Headers */, - 15415AC819A71A53004F1E71 /* select.h in Headers */, - 155C7E1D19A71CC300F08B25 /* lua_cocos2dx_spine_manual.hpp in Headers */, - 15EFA624198B2E74000C57D3 /* lua_cocos2dx_physics_auto.hpp in Headers */, - 3E2BDB0619C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.hpp in Headers */, - F4FE0D5A19ECD00100B8B12B /* luasocket_scripts.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 507B430B1C31FA0C0067B53E /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 507B430C1C31FA0C0067B53E /* lua_cocos2dx_navmesh_conversions.h in Headers */, - 507B430D1C31FA0C0067B53E /* lauxlib.h in Headers */, - 507B430E1C31FA0C0067B53E /* auxiliar.h in Headers */, - 507B430F1C31FA0C0067B53E /* lua_extensions.h in Headers */, - 507B43101C31FA0C0067B53E /* mime.h in Headers */, - 507B43111C31FA0C0067B53E /* lua.h in Headers */, - 507B43121C31FA0C0067B53E /* udp.h in Headers */, - 507B43131C31FA0C0067B53E /* luaconf.h in Headers */, - 507B43141C31FA0C0067B53E /* unix.h in Headers */, - 507B43151C31FA0C0067B53E /* lua_cocos2dx_3d_manual.h in Headers */, - 507B43161C31FA0C0067B53E /* luasocket.h in Headers */, - 507B43171C31FA0C0067B53E /* lua_cocos2dx_csloader_manual.hpp in Headers */, - 507B43181C31FA0C0067B53E /* lua_cocos2dx_experimental_video_manual.hpp in Headers */, - 507B43191C31FA0C0067B53E /* tcp.h in Headers */, - 507B431A1C31FA0C0067B53E /* CCComponentLua.h in Headers */, - 507B431B1C31FA0C0067B53E /* buffer.h in Headers */, - 507B431C1C31FA0C0067B53E /* lualib.h in Headers */, - 507B431D1C31FA0C0067B53E /* Lua_web_socket.h in Headers */, - 507B431E1C31FA0C0067B53E /* tolua_event.h in Headers */, - 507B431F1C31FA0C0067B53E /* lua_cocos2dx_physics3d_manual.h in Headers */, - 507B43201C31FA0C0067B53E /* tolua++.h in Headers */, - 507B43211C31FA0C0067B53E /* lua_cocos2dx_cocosdenshion_manual.h in Headers */, - 507B43221C31FA0C0067B53E /* except.h in Headers */, - ED1AA90D215DF5F3004ABA9F /* lua_downloader.h in Headers */, - 507B43231C31FA0C0067B53E /* lua_cocos2dx_audioengine_manual.h in Headers */, - 507B43251C31FA0C0067B53E /* socket.h in Headers */, - 507B43261C31FA0C0067B53E /* usocket.h in Headers */, - 507B43271C31FA0C0067B53E /* options.h in Headers */, - 507B43281C31FA0C0067B53E /* xxtea.h in Headers */, - 507B43291C31FA0C0067B53E /* CCLuaBridge.h in Headers */, - 507B432A1C31FA0C0067B53E /* CCLuaEngine.h in Headers */, - 507B432B1C31FA0C0067B53E /* CCLuaStack.h in Headers */, - 507B432C1C31FA0C0067B53E /* lua-cocos-studio-conversions.h in Headers */, - 507B432D1C31FA0C0067B53E /* CCLuaValue.h in Headers */, - 507B432E1C31FA0C0067B53E /* lua_cocos2dx_network_manual.h in Headers */, - 507B432F1C31FA0C0067B53E /* Cocos2dxLuaLoader.h in Headers */, - 507B43301C31FA0C0067B53E /* LuaBasicConversions.h in Headers */, - 507B43311C31FA0C0067B53E /* lua_cocos2dx_navmesh_auto.hpp in Headers */, - 507B43321C31FA0C0067B53E /* inet.h in Headers */, - 507B43331C31FA0C0067B53E /* CCLuaObjcBridge.h in Headers */, - 507B43341C31FA0C0067B53E /* tolua_fix.h in Headers */, - 507B43351C31FA0C0067B53E /* LuaSkeletonAnimation.h in Headers */, - 507B43361C31FA0C0067B53E /* lua_cocos2dx_csloader_auto.hpp in Headers */, - 507B43371C31FA0C0067B53E /* io.h in Headers */, - 507B43381C31FA0C0067B53E /* CustomGUIReader.h in Headers */, - 507B433A1C31FA0C0067B53E /* timeout.h in Headers */, - 507B433B1C31FA0C0067B53E /* lua_cocos2dx_deprecated.h in Headers */, - 507B433C1C31FA0C0067B53E /* lua_cocos2dx_ui_manual.hpp in Headers */, - 507B433D1C31FA0C0067B53E /* lua_cocos2dx_experimental_manual.hpp in Headers */, - 507B433E1C31FA0C0067B53E /* lua_cocos2dx_experimental_webview_manual.hpp in Headers */, - 507B433F1C31FA0C0067B53E /* lua_cocos2dx_manual.hpp in Headers */, - 507B43401C31FA0C0067B53E /* lua_cocos2dx_experimental_webview_auto.hpp in Headers */, - 507B43411C31FA0C0067B53E /* lua_cocos2dx_navmesh_manual.h in Headers */, - 507B43421C31FA0C0067B53E /* lua_cocos2dx_physics_manual.hpp in Headers */, - 507B43431C31FA0C0067B53E /* lua_cocos2dx_extension_manual.h in Headers */, - 507B43441C31FA0C0067B53E /* lua_xml_http_request.h in Headers */, - 507B43451C31FA0C0067B53E /* lua_cocos2dx_coco_studio_manual.hpp in Headers */, - 507B43461C31FA0C0067B53E /* LuaScriptHandlerMgr.h in Headers */, - 507B43471C31FA0C0067B53E /* lua_cocos2dx_experimental_auto.hpp in Headers */, - 507B43481C31FA0C0067B53E /* lua_cocos2dx_auto.hpp in Headers */, - 507B434A1C31FA0C0067B53E /* lua_cocos2dx_physics3d_auto.hpp in Headers */, - 507B434B1C31FA0C0067B53E /* select.h in Headers */, - 507B434C1C31FA0C0067B53E /* lua_cocos2dx_spine_manual.hpp in Headers */, - 507B434D1C31FA0C0067B53E /* lua_cocos2dx_physics_auto.hpp in Headers */, - 507B434E1C31FA0C0067B53E /* lua_cocos2dx_audioengine_auto.hpp in Headers */, - 507B434F1C31FA0C0067B53E /* luasocket_scripts.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 15C1C255198748D200A46ACC /* libluacocos2d Mac */ = { - isa = PBXNativeTarget; - buildConfigurationList = 15C1C2C9198748D200A46ACC /* Build configuration list for PBXNativeTarget "libluacocos2d Mac" */; - buildPhases = ( - 15C1C256198748D200A46ACC /* Sources */, - 15C1C28E198748D200A46ACC /* Frameworks */, - 15C1C290198748D200A46ACC /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "libluacocos2d Mac"; - productName = cocos2dx; - productReference = 15C1C2CC198748D200A46ACC /* libluacocos2d Mac.a */; - productType = "com.apple.product-type.library.static"; - }; - 15EFA59E198B2DAA000C57D3 /* libluacocos2d iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 15EFA613198B2DAA000C57D3 /* Build configuration list for PBXNativeTarget "libluacocos2d iOS" */; - buildPhases = ( - 15EFA59F198B2DAA000C57D3 /* Sources */, - 15EFA5D7198B2DAA000C57D3 /* Frameworks */, - 15EFA5DA198B2DAA000C57D3 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "libluacocos2d iOS"; - productName = cocos2dx; - productReference = 15EFA616198B2DAA000C57D3 /* libluacocos2d iOS.a */; - productType = "com.apple.product-type.library.static"; - }; - 507B42BB1C31FA0C0067B53E /* libluacocos2d tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 507B43501C31FA0C0067B53E /* Build configuration list for PBXNativeTarget "libluacocos2d tvOS" */; - buildPhases = ( - 507B42BC1C31FA0C0067B53E /* Sources */, - 507B43091C31FA0C0067B53E /* Frameworks */, - 507B430B1C31FA0C0067B53E /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "libluacocos2d tvOS"; - productName = cocos2dx; - productReference = 507B43531C31FA0C0067B53E /* libluacocos2d tvOS.a */; - productType = "com.apple.product-type.library.static"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 1551A336158F2AB200E66CFE /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0600; - ORGANIZATIONNAME = ""; - }; - buildConfigurationList = 1551A339158F2AB200E66CFE /* Build configuration list for PBXProject "cocos2d_lua_bindings" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 1551A334158F2AB200E66CFE; - productRefGroup = 1551A334158F2AB200E66CFE; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 15C1C255198748D200A46ACC /* libluacocos2d Mac */, - 15EFA59E198B2DAA000C57D3 /* libluacocos2d iOS */, - 507B42BB1C31FA0C0067B53E /* libluacocos2d tvOS */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 15C1C256198748D200A46ACC /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4662464A222678D70008FC75 /* CCSet.cpp in Sources */, - 46624660222678D70008FC75 /* CCArray.cpp in Sources */, - 4662465C222678D70008FC75 /* CCNotificationCenter.cpp in Sources */, - 150906F219D556CE002C4D97 /* lua_cocos2dx_audioengine_manual.cpp in Sources */, - 15415A7519A718FB004F1E71 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */, - 150983DD1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp in Sources */, - 15B5754F1A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp in Sources */, - 15415A7619A718FB004F1E71 /* lua_cocos2dx_ui_auto.cpp in Sources */, - 4662465A222678D70008FC75 /* CCDeprecated.cpp in Sources */, - 46624666222679D70008FC75 /* CCDataVisitor.cpp in Sources */, - 15415A7819A718FB004F1E71 /* lua_cocos2dx_studio_auto.cpp in Sources */, - 15AC69D91987710400D17520 /* tolua_event.c in Sources */, - 15AC69DA1987710400D17520 /* tolua_is.c in Sources */, - 15415ACD19A71A53004F1E71 /* tcp.c in Sources */, - 15AC69DB1987710400D17520 /* tolua_map.c in Sources */, - ADD1C0D51C196B9500733781 /* lua_module_register.cpp in Sources */, - 15415AD519A71A53004F1E71 /* udp.c in Sources */, - 150983D01B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp in Sources */, - ED1AA90E215DF5F3004ABA9F /* lua_downloader.cpp in Sources */, - 15415ADD19A71A53004F1E71 /* usocket.c in Sources */, - 15AC69DC1987710400D17520 /* tolua_push.c in Sources */, - 15AC69DD1987710400D17520 /* tolua_to.c in Sources */, - 15415AAD19A71A53004F1E71 /* except.c in Sources */, - 15415ABD19A71A53004F1E71 /* mime.c in Sources */, - 15C1C2E519874C9200A46ACC /* CCLuaObjcBridge.mm in Sources */, - 155C7E1619A71CAD00F08B25 /* lua_xml_http_request.cpp in Sources */, - 15C1C2E419874C7C00A46ACC /* tolua_fix.cpp in Sources */, - 15C1C2E219874BA100A46ACC /* LuaBasicConversions.cpp in Sources */, - F4FE0D5719ECD00100B8B12B /* luasocket_scripts.c in Sources */, - 4662466C2227720E0008FC75 /* lua_cocos2dx_cocosdenshion_auto.cpp in Sources */, - 15415AC519A71A53004F1E71 /* select.c in Sources */, - 1595523A1A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp in Sources */, - 15415AD919A71A53004F1E71 /* unix.c in Sources */, - 15C1C2DD19874B8800A46ACC /* CCLuaBridge.cpp in Sources */, - 15C1C2DE19874B8800A46ACC /* CCLuaEngine.cpp in Sources */, - 15415AC919A71A53004F1E71 /* serial.c in Sources */, - BA0CBB5E1BB0756F00003364 /* CCComponentLua.cpp in Sources */, - 15C1C2DF19874B8800A46ACC /* CCLuaStack.cpp in Sources */, - 15C1C2E019874B8800A46ACC /* CCLuaValue.cpp in Sources */, - 15415AB119A71A53004F1E71 /* inet.c in Sources */, - 15C1C2E119874B8800A46ACC /* Cocos2dxLuaLoader.cpp in Sources */, - 15C1C2DB19874B3D00A46ACC /* xxtea.cpp in Sources */, - 155C7E0E19A71C9600F08B25 /* lua_extensions.c in Sources */, - 15AC69D519876E9300D17520 /* lua_cocos2dx_physics_auto.cpp in Sources */, - 15415AB519A71A53004F1E71 /* io.c in Sources */, - 566F015F19B5EB0F00FCA620 /* CustomGUIReader.cpp in Sources */, - 15415AC119A71A53004F1E71 /* options.c in Sources */, - 150906F019D556C5002C4D97 /* lua_cocos2dx_audioengine_auto.cpp in Sources */, - 155C7E0A19A71C8B00F08B25 /* lua_cocos2dx_network_manual.cpp in Sources */, - 15415AD119A71A53004F1E71 /* timeout.c in Sources */, - 15C1C2CF1987498B00A46ACC /* lua_cocos2dx_deprecated.cpp in Sources */, - 155C7E2219A71CD300F08B25 /* lua_cocos2dx_experimental_video_manual.cpp in Sources */, - 155C7DFA19A71C4C00F08B25 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */, - 155C7E2619A71CDD00F08B25 /* lua_cocos2dx_ui_manual.cpp in Sources */, - 150983D71B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp in Sources */, - 15415A7019A71768004F1E71 /* lua_cocos2dx_extension_auto.cpp in Sources */, - 155C7DF619A71C3E00F08B25 /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */, - 15415AA519A71A53004F1E71 /* auxiliar.c in Sources */, - 15C1C2D01987498B00A46ACC /* lua_cocos2dx_experimental_manual.cpp in Sources */, - 46624656222678D70008FC75 /* CCDictionary.cpp in Sources */, - 15C1C2D11987498B00A46ACC /* lua_cocos2dx_manual.cpp in Sources */, - 15C1C2D21987498B00A46ACC /* lua_cocos2dx_physics_manual.cpp in Sources */, - 15C1C2D31987498B00A46ACC /* LuaScriptHandlerMgr.cpp in Sources */, - 46624650222678D70008FC75 /* CCString.cpp in Sources */, - 15415AA919A71A53004F1E71 /* buffer.c in Sources */, - 15C1C2CD1987495500A46ACC /* lua_cocos2dx_auto.cpp in Sources */, - 15415AB919A71A53004F1E71 /* luasocket.c in Sources */, - 159552401A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp in Sources */, - 155C7E1219A71CA200F08B25 /* Lua_web_socket.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 15EFA59F198B2DAA000C57D3 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ADAC23ED1C2044A60049A6A2 /* lua_module_register.cpp in Sources */, - 15415AC619A71A53004F1E71 /* select.c in Sources */, - 4662464B222678D70008FC75 /* CCSet.cpp in Sources */, - 15EFA646198B3311000C57D3 /* tolua_event.c in Sources */, - 3E2BDB0A19C5E6100055CDCD /* lua_cocos2dx_audioengine_manual.cpp in Sources */, - 15415AA619A71A53004F1E71 /* auxiliar.c in Sources */, - 15B575501A6F4D1500041C20 /* lua-cocos-studio-conversions.cpp in Sources */, - 15EFA647198B3311000C57D3 /* tolua_is.c in Sources */, - 15EFA648198B3311000C57D3 /* tolua_map.c in Sources */, - 15EFA649198B3311000C57D3 /* tolua_push.c in Sources */, - 15EFA64A198B3311000C57D3 /* tolua_to.c in Sources */, - 15415AC219A71A53004F1E71 /* options.c in Sources */, - 15EFA645198B32DB000C57D3 /* xxtea.cpp in Sources */, - 15EFA632198B328B000C57D3 /* CCLuaBridge.cpp in Sources */, - 150983D11B1C0554007F3818 /* lua_cocos2dx_navmesh_auto.cpp in Sources */, - 15EFA633198B328B000C57D3 /* CCLuaEngine.cpp in Sources */, - 155C7DEE19A71BFC00F08B25 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */, - 15EFA634198B328B000C57D3 /* CCLuaStack.cpp in Sources */, - 15EFA635198B328B000C57D3 /* CCLuaValue.cpp in Sources */, - 15EFA636198B328B000C57D3 /* Cocos2dxLuaLoader.cpp in Sources */, - 150983DE1B1C4860007F3818 /* lua_cocos2dx_navmesh_conversions.cpp in Sources */, - 15EFA637198B328B000C57D3 /* LuaBasicConversions.cpp in Sources */, - 15EFA638198B328B000C57D3 /* CCLuaObjcBridge.mm in Sources */, - 155C7E1719A71CAF00F08B25 /* lua_xml_http_request.cpp in Sources */, - 15415ACE19A71A53004F1E71 /* tcp.c in Sources */, - 15415AD219A71A53004F1E71 /* timeout.c in Sources */, - F4FE0D5819ECD00100B8B12B /* luasocket_scripts.c in Sources */, - 15EFA639198B328B000C57D3 /* tolua_fix.cpp in Sources */, - 1595523B1A25E1C5001E9FC9 /* lua_cocos2dx_csloader_auto.cpp in Sources */, - 15C9A1121AE4973400C15443 /* lua_cocos2dx_experimental_webview_manual.cpp in Sources */, - 46624651222678D70008FC75 /* CCString.cpp in Sources */, - 15EFA626198B31FB000C57D3 /* lua_cocos2dx_deprecated.cpp in Sources */, - 15EFA627198B31FB000C57D3 /* lua_cocos2dx_experimental_manual.cpp in Sources */, - 15415ABE19A71A53004F1E71 /* mime.c in Sources */, - 15415ADA19A71A53004F1E71 /* unix.c in Sources */, - 15415ADE19A71A53004F1E71 /* usocket.c in Sources */, - 15EFA628198B31FB000C57D3 /* lua_cocos2dx_manual.cpp in Sources */, - 155C7E0F19A71C9800F08B25 /* lua_extensions.c in Sources */, - BA0CBB5F1BB0756F00003364 /* CCComponentLua.cpp in Sources */, - 15415AD619A71A53004F1E71 /* udp.c in Sources */, - 4662465D222678D70008FC75 /* CCNotificationCenter.cpp in Sources */, - 15415ABA19A71A53004F1E71 /* luasocket.c in Sources */, - 15415ACA19A71A53004F1E71 /* serial.c in Sources */, - 566F016019B5EB0F00FCA620 /* CustomGUIReader.cpp in Sources */, - 155C7DF119A71C2300F08B25 /* lua_cocos2dx_studio_auto.cpp in Sources */, - 3E2BDB0519C5E5FE0055CDCD /* lua_cocos2dx_audioengine_auto.cpp in Sources */, - 155C7E0B19A71C8D00F08B25 /* lua_cocos2dx_network_manual.cpp in Sources */, - 15415AAE19A71A53004F1E71 /* except.c in Sources */, - 15C9A10E1AE4972500C15443 /* lua_cocos2dx_experimental_webview_auto.cpp in Sources */, - 15415AAA19A71A53004F1E71 /* buffer.c in Sources */, - 155C7E2319A71CD500F08B25 /* lua_cocos2dx_experimental_video_manual.cpp in Sources */, - 150983D81B1C3F3E007F3818 /* lua_cocos2dx_navmesh_manual.cpp in Sources */, - 155C7DFB19A71C4E00F08B25 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */, - 46624657222678D70008FC75 /* CCDictionary.cpp in Sources */, - 46624661222678D70008FC75 /* CCArray.cpp in Sources */, - 155C7E2719A71CDE00F08B25 /* lua_cocos2dx_ui_manual.cpp in Sources */, - 15415AB619A71A53004F1E71 /* io.c in Sources */, - 155C7DF719A71C4000F08B25 /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */, - 155C7DEF19A71C0900F08B25 /* lua_cocos2dx_ui_auto.cpp in Sources */, - 46624667222679D70008FC75 /* CCDataVisitor.cpp in Sources */, - 15415A7119A71782004F1E71 /* lua_cocos2dx_extension_auto.cpp in Sources */, - 15EFA629198B31FB000C57D3 /* lua_cocos2dx_physics_manual.cpp in Sources */, - 15EFA62A198B31FB000C57D3 /* LuaScriptHandlerMgr.cpp in Sources */, - 4662465B222678D70008FC75 /* CCDeprecated.cpp in Sources */, - ED1AA90F215DF5F3004ABA9F /* lua_downloader.cpp in Sources */, - 15EFA618198B2E2B000C57D3 /* lua_cocos2dx_auto.cpp in Sources */, - 4662466D2227720E0008FC75 /* lua_cocos2dx_cocosdenshion_auto.cpp in Sources */, - 15EFA619198B2E2B000C57D3 /* lua_cocos2dx_physics_auto.cpp in Sources */, - 15415AB219A71A53004F1E71 /* inet.c in Sources */, - 159552411A25E4B8001E9FC9 /* lua_cocos2dx_csloader_manual.cpp in Sources */, - 155C7E1319A71CA400F08B25 /* Lua_web_socket.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 507B42BC1C31FA0C0067B53E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 507B42BD1C31FA0C0067B53E /* lua_module_register.cpp in Sources */, - 507B42BE1C31FA0C0067B53E /* select.c in Sources */, - 507B42C01C31FA0C0067B53E /* tolua_event.c in Sources */, - 507B42C11C31FA0C0067B53E /* lua_cocos2dx_audioengine_manual.cpp in Sources */, - 507B42C21C31FA0C0067B53E /* auxiliar.c in Sources */, - 507B42C31C31FA0C0067B53E /* lua-cocos-studio-conversions.cpp in Sources */, - 507B42C41C31FA0C0067B53E /* tolua_is.c in Sources */, - 507B42C51C31FA0C0067B53E /* tolua_map.c in Sources */, - 507B42C61C31FA0C0067B53E /* tolua_push.c in Sources */, - 507B42C71C31FA0C0067B53E /* tolua_to.c in Sources */, - 507B42C81C31FA0C0067B53E /* options.c in Sources */, - 507B42C91C31FA0C0067B53E /* xxtea.cpp in Sources */, - 507B42CA1C31FA0C0067B53E /* CCLuaBridge.cpp in Sources */, - 507B42CB1C31FA0C0067B53E /* lua_cocos2dx_navmesh_auto.cpp in Sources */, - 507B42CC1C31FA0C0067B53E /* CCLuaEngine.cpp in Sources */, - 507B42CD1C31FA0C0067B53E /* lua_cocos2dx_experimental_video_auto.cpp in Sources */, - 507B42CE1C31FA0C0067B53E /* CCLuaStack.cpp in Sources */, - 507B42CF1C31FA0C0067B53E /* CCLuaValue.cpp in Sources */, - 507B42D01C31FA0C0067B53E /* Cocos2dxLuaLoader.cpp in Sources */, - 507B42D21C31FA0C0067B53E /* lua_cocos2dx_navmesh_conversions.cpp in Sources */, - 507B42D31C31FA0C0067B53E /* LuaBasicConversions.cpp in Sources */, - 507B42D41C31FA0C0067B53E /* CCLuaObjcBridge.mm in Sources */, - 507B42D51C31FA0C0067B53E /* lua_xml_http_request.cpp in Sources */, - 507B42D61C31FA0C0067B53E /* tcp.c in Sources */, - 507B42D71C31FA0C0067B53E /* timeout.c in Sources */, - 507B42D81C31FA0C0067B53E /* luasocket_scripts.c in Sources */, - 507B42D91C31FA0C0067B53E /* tolua_fix.cpp in Sources */, - 507B42DC1C31FA0C0067B53E /* lua_cocos2dx_csloader_auto.cpp in Sources */, - 507B42DD1C31FA0C0067B53E /* lua_cocos2dx_experimental_webview_manual.cpp in Sources */, - 507B42E11C31FA0C0067B53E /* lua_cocos2dx_deprecated.cpp in Sources */, - 507B42E21C31FA0C0067B53E /* lua_cocos2dx_experimental_manual.cpp in Sources */, - 507B42E41C31FA0C0067B53E /* mime.c in Sources */, - 507B42E51C31FA0C0067B53E /* unix.c in Sources */, - 507B42E71C31FA0C0067B53E /* usocket.c in Sources */, - 507B42E91C31FA0C0067B53E /* lua_cocos2dx_manual.cpp in Sources */, - 507B42EA1C31FA0C0067B53E /* lua_extensions.c in Sources */, - 507B42EB1C31FA0C0067B53E /* CCComponentLua.cpp in Sources */, - 507B42EC1C31FA0C0067B53E /* udp.c in Sources */, - 507B42ED1C31FA0C0067B53E /* luasocket.c in Sources */, - 507B42EF1C31FA0C0067B53E /* serial.c in Sources */, - 507B42F11C31FA0C0067B53E /* CustomGUIReader.cpp in Sources */, - 507B42F21C31FA0C0067B53E /* lua_cocos2dx_studio_auto.cpp in Sources */, - 507B42F31C31FA0C0067B53E /* lua_cocos2dx_audioengine_auto.cpp in Sources */, - 507B42F41C31FA0C0067B53E /* lua_cocos2dx_network_manual.cpp in Sources */, - 507B42F51C31FA0C0067B53E /* except.c in Sources */, - 507B42F61C31FA0C0067B53E /* lua_cocos2dx_experimental_webview_auto.cpp in Sources */, - 507B42F71C31FA0C0067B53E /* buffer.c in Sources */, - 507B42F81C31FA0C0067B53E /* lua_cocos2dx_experimental_video_manual.cpp in Sources */, - 507B42F91C31FA0C0067B53E /* lua_cocos2dx_navmesh_manual.cpp in Sources */, - 507B42FA1C31FA0C0067B53E /* lua_cocos2dx_coco_studio_manual.cpp in Sources */, - 507B42FB1C31FA0C0067B53E /* lua_cocos2dx_ui_manual.cpp in Sources */, - 507B42FC1C31FA0C0067B53E /* io.c in Sources */, - 507B42FD1C31FA0C0067B53E /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */, - 507B42FE1C31FA0C0067B53E /* lua_cocos2dx_ui_auto.cpp in Sources */, - 507B43001C31FA0C0067B53E /* lua_cocos2dx_extension_auto.cpp in Sources */, - 507B43011C31FA0C0067B53E /* lua_cocos2dx_physics_manual.cpp in Sources */, - 507B43021C31FA0C0067B53E /* LuaScriptHandlerMgr.cpp in Sources */, - ED1AA910215DF5F3004ABA9F /* lua_downloader.cpp in Sources */, - 507B43041C31FA0C0067B53E /* lua_cocos2dx_auto.cpp in Sources */, - 507B43051C31FA0C0067B53E /* lua_cocos2dx_physics_auto.cpp in Sources */, - 507B43061C31FA0C0067B53E /* inet.c in Sources */, - 507B43071C31FA0C0067B53E /* lua_cocos2dx_csloader_manual.cpp in Sources */, - 507B43081C31FA0C0067B53E /* Lua_web_socket.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 1551A34A158F2AB200E66CFE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "COCOS2D_DEBUG=1", - USE_FILE32API, - "CC_ENABLE_CHIPMUNK_INTEGRATION=1", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = YES; - GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; - GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES; - GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; - GCC_WARN_SHADOW = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../../../.. $(SRCROOT)/../../.. $(SRCROOT)/../../../base $(SRCROOT)/../../../3d $(SRCROOT)/../../../2d $(SRCROOT)/../../../deprecated $(SRCROOT)/../../../physics $(SRCROOT)/../../../2d/platform $(SRCROOT)/../../../audio/include $(SRCROOT)/../../../editor-support $(SRCROOT)/../../../editor-support/spine $(SRCROOT)/../../../editor-support/cocostudio $(SRCROOT)/../../../editor-support/cocosbuilder $(SRCROOT)/../../../ui $(SRCROOT)/../../../storage $(SRCROOT)/../../../../extensions $(SRCROOT)/../../../../external $(SRCROOT)/../../../../external/chipmunk/include $(SRCROOT)/../../../../external/lua $(SRCROOT)/../../../../external/lua/luajit/include $(SRCROOT)/../../../../external/lua/tolua $(SRCROOT)/../../../editor-support/cocostudio/ActionTimeline $(SRCROOT)/../../../physics3d $(SRCROOT)/../../../navmesh $(SRCROOT)/../../../../external/bullet/include/bullet $(SRCROOT)/../../../../external/bullet/include"; - }; - name = Debug; - }; - 1551A34B158F2AB200E66CFE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_PREPROCESSOR_DEFINITIONS = ( - "CC_ENABLE_CHIPMUNK_INTEGRATION=1", - NDEBUG, - USE_FILE32API, - ); - GCC_SYMBOLS_PRIVATE_EXTERN = YES; - GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; - GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES; - GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; - GCC_WARN_SHADOW = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../../../.. $(SRCROOT)/../../.. $(SRCROOT)/../../../base $(SRCROOT)/../../../3d $(SRCROOT)/../../../2d $(SRCROOT)/../../../deprecated $(SRCROOT)/../../../physics $(SRCROOT)/../../../2d/platform $(SRCROOT)/../../../audio/include $(SRCROOT)/../../../editor-support $(SRCROOT)/../../../editor-support/spine $(SRCROOT)/../../../editor-support/cocostudio $(SRCROOT)/../../../editor-support/cocosbuilder $(SRCROOT)/../../../ui $(SRCROOT)/../../../storage $(SRCROOT)/../../../../extensions $(SRCROOT)/../../../../external $(SRCROOT)/../../../../external/chipmunk/include $(SRCROOT)/../../../../external/lua $(SRCROOT)/../../../../external/lua/luajit/include $(SRCROOT)/../../../../external/lua/tolua $(SRCROOT)/../../../editor-support/cocostudio/ActionTimeline $(SRCROOT)/../../../physics3d $(SRCROOT)/../../../navmesh $(SRCROOT)/../../../../external/bullet/include/bullet $(SRCROOT)/../../../../external/bullet/include"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 15C1C2CA198748D200A46ACC /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - COMBINE_HIDPI_IMAGES = YES; - EXECUTABLE_PREFIX = ""; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - CC_TARGET_OS_MAC, - CC_KEYBOARD_SUPPORT, - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - ); - IPHONEOS_DEPLOYMENT_TARGET = 5.0; - LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/mac"; - PRODUCT_NAME = "libluacocos2d Mac"; - TARGETED_DEVICE_FAMILY = "1,2"; - USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac $(SRCROOT)/../../../../external/curl/include/mac"; - }; - name = Debug; - }; - 15C1C2CB198748D200A46ACC /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - COMBINE_HIDPI_IMAGES = YES; - EXECUTABLE_PREFIX = ""; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - CC_TARGET_OS_MAC, - CC_KEYBOARD_SUPPORT, - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - ); - IPHONEOS_DEPLOYMENT_TARGET = 5.0; - LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/mac"; - PRODUCT_NAME = "libluacocos2d Mac"; - TARGETED_DEVICE_FAMILY = "1,2"; - USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac $(SRCROOT)/../../../../external/curl/include/mac"; - }; - name = Release; - }; - 15EFA614198B2DAA000C57D3 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - ENABLE_BITCODE = NO; - EXECUTABLE_PREFIX = ""; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - CC_TARGET_OS_IPHONE, - ); - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/ios"; - PRODUCT_NAME = "libluacocos2d iOS"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios $(SRCROOT)/../../../../external/curl/include/ios"; - }; - name = Debug; - }; - 15EFA615198B2DAA000C57D3 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - ENABLE_BITCODE = NO; - EXECUTABLE_PREFIX = ""; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - CC_TARGET_OS_IPHONE, - ); - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/ios"; - PRODUCT_NAME = "libluacocos2d iOS"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios $(SRCROOT)/../../../../external/curl/include/ios"; - }; - name = Release; - }; - 507B43511C31FA0C0067B53E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - EXECUTABLE_PREFIX = ""; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - CC_TARGET_OS_TVOS, - ); - LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/ios"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios $(SRCROOT)/../../../../external/curl/include/ios"; - }; - name = Debug; - }; - 507B43521C31FA0C0067B53E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - EXECUTABLE_PREFIX = ""; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - CC_TARGET_OS_TVOS, - ); - LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/ios"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios $(SRCROOT)/../../../../external/curl/include/ios"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1551A339158F2AB200E66CFE /* Build configuration list for PBXProject "cocos2d_lua_bindings" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1551A34A158F2AB200E66CFE /* Debug */, - 1551A34B158F2AB200E66CFE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 15C1C2C9198748D200A46ACC /* Build configuration list for PBXNativeTarget "libluacocos2d Mac" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 15C1C2CA198748D200A46ACC /* Debug */, - 15C1C2CB198748D200A46ACC /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 15EFA613198B2DAA000C57D3 /* Build configuration list for PBXNativeTarget "libluacocos2d iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 15EFA614198B2DAA000C57D3 /* Debug */, - 15EFA615198B2DAA000C57D3 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 507B43501C31FA0C0067B53E /* Build configuration list for PBXNativeTarget "libluacocos2d tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 507B43511C31FA0C0067B53E /* Debug */, - 507B43521C31FA0C0067B53E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 1551A336158F2AB200E66CFE /* Project object */; -} diff --git a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d Mac.xcscheme b/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d Mac.xcscheme deleted file mode 100644 index 71186c79ca..0000000000 --- a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d Mac.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d iOS.xcscheme b/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d iOS.xcscheme deleted file mode 100644 index 6806f5c43d..0000000000 --- a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d iOS.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d tvOS.xcscheme b/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d tvOS.xcscheme deleted file mode 100644 index eda716a18c..0000000000 --- a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/libluacocos2d tvOS.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/cpp-template-default/proj.ios_mac/HelloCpp.xcodeproj/project.pbxproj b/templates/cpp-template-default/proj.ios_mac/HelloCpp.xcodeproj/project.pbxproj deleted file mode 100644 index 1d04b74114..0000000000 --- a/templates/cpp-template-default/proj.ios_mac/HelloCpp.xcodeproj/project.pbxproj +++ /dev/null @@ -1,700 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 1A88B2641FC3D9C9005C14AE /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1A88B2631FC3D9C9005C14AE /* Images.xcassets */; }; - 1AC6FB21180E996B004C840B /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2d Mac.a */; }; - 1AC6FB30180E99EB004C840B /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2d iOS.a */; }; - 1AF87B781F6F77F7007BE51C /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AF87B481F6F77D6007BE51C /* AppController.mm */; }; - 1AF87B881F6F781D007BE51C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1AF87B591F6F77D6007BE51C /* LaunchScreen.storyboard */; }; - 1AF87B891F6F781D007BE51C /* LaunchScreenBackground.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AF87B5A1F6F77D6007BE51C /* LaunchScreenBackground.png */; }; - 1AF87B8A1F6F7822007BE51C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1AF87B5B1F6F77D6007BE51C /* main.m */; }; - 1AF87B8B1F6F782A007BE51C /* RootViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AF87B5E1F6F77D6007BE51C /* RootViewController.mm */; }; - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; - 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; }; - 294D0D641D0D56D500F7F5D4 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 294D0D631D0D56D500F7F5D4 /* CoreText.framework */; }; - 3EACC98F19EE6D4300EB3C5E /* res in Resources */ = {isa = PBXBuildFile; fileRef = 3EACC98E19EE6D4300EB3C5E /* res */; }; - 3EACC99019EE6D4300EB3C5E /* res in Resources */ = {isa = PBXBuildFile; fileRef = 3EACC98E19EE6D4300EB3C5E /* res */; }; - 406B584721F06D6E000624D6 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 406B584621F06D6E000624D6 /* Metal.framework */; }; - 406B584921F06D78000624D6 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 406B584821F06D78000624D6 /* Metal.framework */; }; - 46880B7B19C43A67006E1F66 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7619C43A67006E1F66 /* CloseNormal.png */; }; - 46880B7C19C43A67006E1F66 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7619C43A67006E1F66 /* CloseNormal.png */; }; - 46880B7D19C43A67006E1F66 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7719C43A67006E1F66 /* CloseSelected.png */; }; - 46880B7E19C43A67006E1F66 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7719C43A67006E1F66 /* CloseSelected.png */; }; - 46880B8119C43A67006E1F66 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7A19C43A67006E1F66 /* HelloWorld.png */; }; - 46880B8219C43A67006E1F66 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7A19C43A67006E1F66 /* HelloWorld.png */; }; - 46880B8819C43A87006E1F66 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8419C43A87006E1F66 /* AppDelegate.cpp */; }; - 46880B8919C43A87006E1F66 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8419C43A87006E1F66 /* AppDelegate.cpp */; }; - 46880B8A19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */; }; - 46880B8B19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */; }; - 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 503AE0F617EB97AB00D1A890 /* Icon.icns */; }; - 503AE10517EB98FF00D1A890 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 503AE10317EB98FF00D1A890 /* main.cpp */; }; - 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; - 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; - 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB412928DE900B8313A /* libz.dylib */; }; - 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF1C47EA1293683800B63C5D /* QuartzCore.framework */; }; - 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620B132DFF330009C878 /* OpenAL.framework */; }; - 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620D132DFF430009C878 /* AVFoundation.framework */; }; - 5087E76B17EB910900C73F5D /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620F132DFF4E0009C878 /* AudioToolbox.framework */; }; - 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5087E78817EB974C00C73F5D /* AppKit.framework */; }; - 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5087E78A17EB975400C73F5D /* OpenGL.framework */; }; - 521A8EA919F11F5000D177D7 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 521A8EA819F11F5000D177D7 /* fonts */; }; - 521A8EAA19F11F5000D177D7 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 521A8EA819F11F5000D177D7 /* fonts */; }; - 52B47A471A53D09C004E4C60 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52B47A461A53D09B004E4C60 /* Security.framework */; }; - 8262943E1AAF051F00CB7CF7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8262943D1AAF051F00CB7CF7 /* Security.framework */; }; - BF171245129291EC00B8313A /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB012928DE900B8313A /* OpenGLES.framework */; }; - BF1712471292920000B8313A /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB412928DE900B8313A /* libz.dylib */; }; - BF1C47F01293687400B63C5D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF1C47EA1293683800B63C5D /* QuartzCore.framework */; }; - D44C620C132DFF330009C878 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620B132DFF330009C878 /* OpenAL.framework */; }; - D44C620E132DFF430009C878 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620D132DFF430009C878 /* AVFoundation.framework */; }; - D44C6210132DFF4E0009C878 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620F132DFF4E0009C878 /* AudioToolbox.framework */; }; - D6B0611B1803AB670077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B0611A1803AB670077942B /* CoreMotion.framework */; }; - ED545A7C1B68A1F400C3958E /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = ED545A7B1B68A1F400C3958E /* libiconv.dylib */; }; - ED545A7E1B68A1FA00C3958E /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = ED545A7D1B68A1FA00C3958E /* libiconv.dylib */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 1A7533E21F6F75F6007E8E6F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 507B40FD1C31BDD30067B53E; - remoteInfo = "libcocos2d tvOS"; - }; - 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 1551A33F158F2AB200E66CFE; - remoteInfo = "cocos2dx Mac"; - }; - 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = A07A4D641783777C0073F6A7; - remoteInfo = "cocos2dx iOS"; - }; - 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1551A33E158F2AB200E66CFE; - remoteInfo = "cocos2dx Mac"; - }; - 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4C241783777C0073F6A7; - remoteInfo = "cocos2dx iOS"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 1A88B2631FC3D9C9005C14AE /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; - 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; - 1AF87B471F6F77D6007BE51C /* AppController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = ""; }; - 1AF87B481F6F77D6007BE51C /* AppController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = AppController.mm; sourceTree = ""; }; - 1AF87B581F6F77D6007BE51C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 1AF87B591F6F77D6007BE51C /* LaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = ""; }; - 1AF87B5A1F6F77D6007BE51C /* LaunchScreenBackground.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = LaunchScreenBackground.png; sourceTree = ""; }; - 1AF87B5B1F6F77D6007BE51C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 1AF87B5C1F6F77D6007BE51C /* Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = ""; }; - 1AF87B5D1F6F77D6007BE51C /* RootViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RootViewController.h; sourceTree = ""; }; - 1AF87B5E1F6F77D6007BE51C /* RootViewController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RootViewController.mm; sourceTree = ""; }; - 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 1D6058910D05DD3D006BFB54 /* HelloCpp-mobile.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "HelloCpp-mobile.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 294D0D631D0D56D500F7F5D4 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework; sourceTree = DEVELOPER_DIR; }; - 3EACC98E19EE6D4300EB3C5E /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; path = res; sourceTree = ""; }; - 406B584621F06D6E000624D6 /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; }; - 406B584821F06D78000624D6 /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/Metal.framework; sourceTree = DEVELOPER_DIR; }; - 46880B7619C43A67006E1F66 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; - 46880B7719C43A67006E1F66 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; - 46880B7A19C43A67006E1F66 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; - 46880B8419C43A87006E1F66 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AppDelegate.cpp; sourceTree = ""; }; - 46880B8519C43A87006E1F66 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HelloWorldScene.cpp; sourceTree = ""; }; - 46880B8719C43A87006E1F66 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HelloWorldScene.h; sourceTree = ""; }; - 503AE0F617EB97AB00D1A890 /* Icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Icon.icns; sourceTree = ""; }; - 503AE0F717EB97AB00D1A890 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 503AE10317EB98FF00D1A890 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = mac/main.cpp; sourceTree = ""; }; - 503AE10417EB98FF00D1A890 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Prefix.pch; path = mac/Prefix.pch; sourceTree = ""; }; - 503AE11117EB99EE00D1A890 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; }; - 503AE11A17EB9C5A00D1A890 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; }; - 5087E76F17EB910900C73F5D /* HelloCpp-desktop.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "HelloCpp-desktop.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 5087E78817EB974C00C73F5D /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; - 5087E78A17EB975400C73F5D /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = System/Library/Frameworks/OpenGL.framework; sourceTree = SDKROOT; }; - 521A8EA819F11F5000D177D7 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; - 52B47A461A53D09B004E4C60 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; }; - 8262943D1AAF051F00CB7CF7 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; - BF170DB012928DE900B8313A /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; - BF170DB412928DE900B8313A /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; - BF1C47EA1293683800B63C5D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; - D44C620B132DFF330009C878 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; }; - D44C620D132DFF430009C878 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; - D44C620F132DFF4E0009C878 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; - D6B0611A1803AB670077942B /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework; sourceTree = DEVELOPER_DIR; }; - ED545A7B1B68A1F400C3958E /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libiconv.dylib; sourceTree = DEVELOPER_DIR; }; - ED545A7D1B68A1FA00C3958E /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = usr/lib/libiconv.dylib; sourceTree = SDKROOT; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 406B584921F06D78000624D6 /* Metal.framework in Frameworks */, - 294D0D641D0D56D500F7F5D4 /* CoreText.framework in Frameworks */, - ED545A7C1B68A1F400C3958E /* libiconv.dylib in Frameworks */, - 52B47A471A53D09C004E4C60 /* Security.framework in Frameworks */, - 1AC6FB30180E99EB004C840B /* libcocos2d iOS.a in Frameworks */, - D6B0611B1803AB670077942B /* CoreMotion.framework in Frameworks */, - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, - 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */, - BF171245129291EC00B8313A /* OpenGLES.framework in Frameworks */, - BF1712471292920000B8313A /* libz.dylib in Frameworks */, - BF1C47F01293687400B63C5D /* QuartzCore.framework in Frameworks */, - D44C620C132DFF330009C878 /* OpenAL.framework in Frameworks */, - D44C620E132DFF430009C878 /* AVFoundation.framework in Frameworks */, - D44C6210132DFF4E0009C878 /* AudioToolbox.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 5087E75C17EB910900C73F5D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 406B584721F06D6E000624D6 /* Metal.framework in Frameworks */, - ED545A7E1B68A1FA00C3958E /* libiconv.dylib in Frameworks */, - 1AC6FB21180E996B004C840B /* libcocos2d Mac.a in Frameworks */, - 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, - 8262943E1AAF051F00CB7CF7 /* Security.framework in Frameworks */, - 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, - 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, - 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, - 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, - 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, - 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, - 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, - 5087E76B17EB910900C73F5D /* AudioToolbox.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 1D6058910D05DD3D006BFB54 /* HelloCpp-mobile.app */, - 5087E76F17EB910900C73F5D /* HelloCpp-desktop.app */, - ); - name = Products; - sourceTree = ""; - }; - 1AC6FAE6180E9839004C840B /* Products */ = { - isa = PBXGroup; - children = ( - 1AC6FAF9180E9839004C840B /* libcocos2d Mac.a */, - 1AC6FB07180E9839004C840B /* libcocos2d iOS.a */, - 1A7533E31F6F75F6007E8E6F /* libcocos2d tvOS.a */, - ); - name = Products; - sourceTree = ""; - }; - 1AF87B461F6F77D6007BE51C /* ios */ = { - isa = PBXGroup; - children = ( - 1A88B2631FC3D9C9005C14AE /* Images.xcassets */, - 1AF87B471F6F77D6007BE51C /* AppController.h */, - 1AF87B481F6F77D6007BE51C /* AppController.mm */, - 1AF87B581F6F77D6007BE51C /* Info.plist */, - 1AF87B591F6F77D6007BE51C /* LaunchScreen.storyboard */, - 1AF87B5A1F6F77D6007BE51C /* LaunchScreenBackground.png */, - 1AF87B5B1F6F77D6007BE51C /* main.m */, - 1AF87B5C1F6F77D6007BE51C /* Prefix.pch */, - 1AF87B5D1F6F77D6007BE51C /* RootViewController.h */, - 1AF87B5E1F6F77D6007BE51C /* RootViewController.mm */, - ); - path = ios; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { - isa = PBXGroup; - children = ( - 46880B8319C43A87006E1F66 /* Classes */, - 46880B7519C43A67006E1F66 /* Resources */, - 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 1AF87B461F6F77D6007BE51C /* ios */, - 503AE10617EB990700D1A890 /* mac */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = CustomTemplate; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - 406B584621F06D6E000624D6 /* Metal.framework */, - 406B584821F06D78000624D6 /* Metal.framework */, - 294D0D631D0D56D500F7F5D4 /* CoreText.framework */, - ED545A7D1B68A1FA00C3958E /* libiconv.dylib */, - ED545A7B1B68A1F400C3958E /* libiconv.dylib */, - 8262943D1AAF051F00CB7CF7 /* Security.framework */, - 52B47A461A53D09B004E4C60 /* Security.framework */, - D6B0611A1803AB670077942B /* CoreMotion.framework */, - 503AE11A17EB9C5A00D1A890 /* IOKit.framework */, - 503AE11117EB99EE00D1A890 /* libcurl.dylib */, - 5087E78A17EB975400C73F5D /* OpenGL.framework */, - 5087E78817EB974C00C73F5D /* AppKit.framework */, - 1ACB3243164770DE00914215 /* libcurl.a */, - BF170DB412928DE900B8313A /* libz.dylib */, - D44C620F132DFF4E0009C878 /* AudioToolbox.framework */, - D44C620D132DFF430009C878 /* AVFoundation.framework */, - 288765A40DF7441C002DB57D /* CoreGraphics.framework */, - 1D30AB110D05D00D00671497 /* Foundation.framework */, - D44C620B132DFF330009C878 /* OpenAL.framework */, - BF170DB012928DE900B8313A /* OpenGLES.framework */, - BF1C47EA1293683800B63C5D /* QuartzCore.framework */, - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 46880B7519C43A67006E1F66 /* Resources */ = { - isa = PBXGroup; - children = ( - 521A8EA819F11F5000D177D7 /* fonts */, - 3EACC98E19EE6D4300EB3C5E /* res */, - 46880B7619C43A67006E1F66 /* CloseNormal.png */, - 46880B7719C43A67006E1F66 /* CloseSelected.png */, - 46880B7A19C43A67006E1F66 /* HelloWorld.png */, - ); - name = Resources; - path = ../Resources; - sourceTree = ""; - }; - 46880B8319C43A87006E1F66 /* Classes */ = { - isa = PBXGroup; - children = ( - 46880B8419C43A87006E1F66 /* AppDelegate.cpp */, - 46880B8519C43A87006E1F66 /* AppDelegate.h */, - 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */, - 46880B8719C43A87006E1F66 /* HelloWorldScene.h */, - ); - name = Classes; - path = ../Classes; - sourceTree = ""; - }; - 503AE0F517EB97AB00D1A890 /* Icons */ = { - isa = PBXGroup; - children = ( - 503AE0F617EB97AB00D1A890 /* Icon.icns */, - 503AE0F717EB97AB00D1A890 /* Info.plist */, - ); - name = Icons; - path = mac; - sourceTree = SOURCE_ROOT; - }; - 503AE10617EB990700D1A890 /* mac */ = { - isa = PBXGroup; - children = ( - 503AE0F517EB97AB00D1A890 /* Icons */, - 503AE10317EB98FF00D1A890 /* main.cpp */, - 503AE10417EB98FF00D1A890 /* Prefix.pch */, - ); - name = mac; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 1D6058900D05DD3D006BFB54 /* HelloCpp-mobile */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "HelloCpp-mobile" */; - buildPhases = ( - 1D60588D0D05DD3D006BFB54 /* Resources */, - 1D60588E0D05DD3D006BFB54 /* Sources */, - 1D60588F0D05DD3D006BFB54 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, - ); - name = "HelloCpp-mobile"; - productName = iphone; - productReference = 1D6058910D05DD3D006BFB54 /* HelloCpp-mobile.app */; - productType = "com.apple.product-type.application"; - }; - 5087E73D17EB910900C73F5D /* HelloCpp-desktop */ = { - isa = PBXNativeTarget; - buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "HelloCpp-desktop" */; - buildPhases = ( - 5087E74817EB910900C73F5D /* Resources */, - 5087E75617EB910900C73F5D /* Sources */, - 5087E75C17EB910900C73F5D /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 1AC6FB16180E9959004C840B /* PBXTargetDependency */, - ); - name = "HelloCpp-desktop"; - productName = iphone; - productReference = 5087E76F17EB910900C73F5D /* HelloCpp-desktop.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0500; - }; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "HelloCpp" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - English, - Japanese, - French, - German, - ); - mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; - projectDirPath = ""; - projectReferences = ( - { - ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; - ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; - }, - ); - projectRoot = ""; - targets = ( - 1D6058900D05DD3D006BFB54 /* HelloCpp-mobile */, - 5087E73D17EB910900C73F5D /* HelloCpp-desktop */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXReferenceProxy section */ - 1A7533E31F6F75F6007E8E6F /* libcocos2d tvOS.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libcocos2d tvOS.a"; - remoteRef = 1A7533E21F6F75F6007E8E6F /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 1AC6FAF9180E9839004C840B /* libcocos2d Mac.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libcocos2d Mac.a"; - remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 1AC6FB07180E9839004C840B /* libcocos2d iOS.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libcocos2d iOS.a"; - remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - -/* Begin PBXResourcesBuildPhase section */ - 1D60588D0D05DD3D006BFB54 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 46880B8119C43A67006E1F66 /* HelloWorld.png in Resources */, - 1A88B2641FC3D9C9005C14AE /* Images.xcassets in Resources */, - 46880B7D19C43A67006E1F66 /* CloseSelected.png in Resources */, - 521A8EA919F11F5000D177D7 /* fonts in Resources */, - 3EACC98F19EE6D4300EB3C5E /* res in Resources */, - 1AF87B891F6F781D007BE51C /* LaunchScreenBackground.png in Resources */, - 46880B7B19C43A67006E1F66 /* CloseNormal.png in Resources */, - 1AF87B881F6F781D007BE51C /* LaunchScreen.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 5087E74817EB910900C73F5D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 46880B8219C43A67006E1F66 /* HelloWorld.png in Resources */, - 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, - 3EACC99019EE6D4300EB3C5E /* res in Resources */, - 521A8EAA19F11F5000D177D7 /* fonts in Resources */, - 46880B7C19C43A67006E1F66 /* CloseNormal.png in Resources */, - 46880B7E19C43A67006E1F66 /* CloseSelected.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1D60588E0D05DD3D006BFB54 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1AF87B781F6F77F7007BE51C /* AppController.mm in Sources */, - 1AF87B8B1F6F782A007BE51C /* RootViewController.mm in Sources */, - 46880B8819C43A87006E1F66 /* AppDelegate.cpp in Sources */, - 1AF87B8A1F6F7822007BE51C /* main.m in Sources */, - 46880B8A19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 5087E75617EB910900C73F5D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 46880B8919C43A87006E1F66 /* AppDelegate.cpp in Sources */, - 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, - 46880B8B19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocos2dx Mac"; - targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; - }; - 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocos2dx iOS"; - targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 1D6058940D05DD3E006BFB54 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "iPhone Developer"; - COMPRESS_PNG_FILES = NO; - ENABLE_BITCODE = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_INLINES_ARE_PRIVATE_EXTERN = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ios/Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = ( - USE_FILE32API, - "COCOS2D_DEBUG=1", - "CC_ENABLE_CHIPMUNK_INTEGRATION=1", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = ios/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - LIBRARY_SEARCH_PATHS = ""; - OTHER_LDFLAGS = ( - "$(_COCOS_LIB_IOS_BEGIN)", - "$(_COCOS_LIB_IOS_END)", - ); - SDKROOT = iphoneos; - STRIP_PNG_TEXT = NO; - TARGETED_DEVICE_FAMILY = "1,2"; - USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_IOS_BEGIN) $(_COCOS_HEADER_IOS_END)"; - VALID_ARCHS = "arm64 armv7"; - }; - name = Debug; - }; - 1D6058950D05DD3E006BFB54 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "iPhone Developer"; - COMPRESS_PNG_FILES = NO; - ENABLE_BITCODE = NO; - GCC_INLINES_ARE_PRIVATE_EXTERN = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ios/Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = ( - USE_FILE32API, - "CC_ENABLE_CHIPMUNK_INTEGRATION=1", - NDEBUG, - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = ios/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - LIBRARY_SEARCH_PATHS = ""; - OTHER_LDFLAGS = ( - "$(_COCOS_LIB_IOS_BEGIN)", - "$(_COCOS_LIB_IOS_END)", - ); - SDKROOT = iphoneos; - STRIP_PNG_TEXT = NO; - TARGETED_DEVICE_FAMILY = "1,2"; - USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_IOS_BEGIN) $(_COCOS_HEADER_IOS_END)"; - VALID_ARCHS = "arm64 armv7"; - }; - name = Release; - }; - 5087E76D17EB910900C73F5D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; - CLANG_CXX_LIBRARY = "libc++"; - GCC_DYNAMIC_NO_PIC = NO; - GCC_INLINES_ARE_PRIVATE_EXTERN = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = mac/Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = ( - USE_FILE32API, - "COCOS2D_DEBUG=1", - "CC_ENABLE_CHIPMUNK_INTEGRATION=1", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", - ); - INFOPLIST_FILE = mac/Info.plist; - LIBRARY_SEARCH_PATHS = ""; - OTHER_LDFLAGS = ( - "$(_COCOS_LIB_MAC_BEGIN)", - "$(_COCOS_LIB_MAC_END)", - ); - USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_MAC_BEGIN) $(_COCOS_HEADER_MAC_END)"; - }; - name = Debug; - }; - 5087E76E17EB910900C73F5D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; - CLANG_CXX_LIBRARY = "libc++"; - GCC_INLINES_ARE_PRIVATE_EXTERN = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = mac/Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = ( - USE_FILE32API, - "CC_ENABLE_CHIPMUNK_INTEGRATION=1", - NDEBUG, - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", - ); - INFOPLIST_FILE = mac/Info.plist; - LIBRARY_SEARCH_PATHS = ""; - OTHER_LDFLAGS = ( - "$(_COCOS_LIB_MAC_BEGIN)", - "$(_COCOS_LIB_MAC_END)", - ); - USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_MAC_BEGIN) $(_COCOS_HEADER_MAC_END)"; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; - CLANG_CXX_LIBRARY = "libc++"; - COPY_PHASE_STRIP = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../cocos2d", - "$(SRCROOT)/../cocos2d/cocos/audio/include", - "$(SRCROOT)/../cocos2d/cocos", - "$(SRCROOT)/../cocos2d/extensions", - "$(SRCROOT)/../cocos2d/external", - "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", - "$(SRCROOT)/../cocos2d/cocos/editor-support", - ); - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - MACOSX_DEPLOYMENT_TARGET = 10.7; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; - CLANG_CXX_LIBRARY = "libc++"; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../cocos2d", - "$(SRCROOT)/../cocos2d/cocos/audio/include", - "$(SRCROOT)/../cocos2d/cocos", - "$(SRCROOT)/../cocos2d/extensions", - "$(SRCROOT)/../cocos2d/external", - "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", - "$(SRCROOT)/../cocos2d/cocos/editor-support", - ); - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - MACOSX_DEPLOYMENT_TARGET = 10.7; - OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "HelloCpp-mobile" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1D6058940D05DD3E006BFB54 /* Debug */, - 1D6058950D05DD3E006BFB54 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "HelloCpp-desktop" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 5087E76D17EB910900C73F5D /* Debug */, - 5087E76E17EB910900C73F5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "HelloCpp" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/tools/bindings-generator b/tools/bindings-generator index 2aa9b21f11..f85b28b482 160000 --- a/tools/bindings-generator +++ b/tools/bindings-generator @@ -1 +1 @@ -Subproject commit 2aa9b21f11bf514ca80f243b21750e8c7c28f05e +Subproject commit f85b28b482192e6a26b121d687567098ff4db562 diff --git a/tools/tolua/cocos2dx.ini b/tools/tolua/cocos2dx.ini index f30d5c3f38..4bcd5c5cb8 100644 --- a/tools/tolua/cocos2dx.ini +++ b/tools/tolua/cocos2dx.ini @@ -142,10 +142,12 @@ skip = Node::[setGLServerState description getUserObject .*UserData getGLServerS EventListenerCustom::[init], EventListener::[init], RotateTo::[calculateAngles], - RenderState::[finalize setStateBlock], + RenderState::[finalize setStateBlock getStateBlock], Properties::[createNonRefCounted], AutoPolygon::[trace reduce expand triangulate calculateUV generateTriangles generatePolygon], - PolygonInfo::[operator=] + PolygonInfo::[operator=], + Technique::[getStateBlock], + Material::[getStateBlock setStateBlock] rename_functions = SpriteFrameCache::[addSpriteFramesWithFile=addSpriteFrames getSpriteFrameByName=getSpriteFrame], ProgressTimer::[setReverseProgress=setReverseDirection], diff --git a/tools/tolua/cocos2dx_cocosbuilder.ini b/tools/tolua/cocos2dx_cocosbuilder.ini deleted file mode 100644 index 08320d580c..0000000000 --- a/tools/tolua/cocos2dx_cocosbuilder.ini +++ /dev/null @@ -1,65 +0,0 @@ -[cocos2dx_cocosbuilder] -# the prefix to be added to the generated functions. You might or might not use this in your own -# templates -prefix = cocos2dx_cocosbuilder - -# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) -# all classes will be embedded in that namespace -target_namespace = cc - -android_headers = - -android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DANDROID -D__ANDROID_API__=14 -gcc-toolchain %(gcc_toolchain_dir)s --sysroot=%(androidndkdir)s/platforms/android-14/arch-arm -idirafter %(androidndkdir)s/sources/android/support/include -idirafter %(androidndkdir)s/sysroot/usr/include -idirafter %(androidndkdir)s/sysroot/usr/include/arm-linux-androideabi -idirafter %(clangllvmdir)s/lib64/clang/5.0/include -I%(androidndkdir)s/sources/cxx-stl/llvm-libc++/include - -clang_headers = -clang_flags = -nostdinc -x c++ -std=c++11 -fsigned-char -U__SSE__ - -cocos_headers = -I%(cocosdir)s -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/editor-support -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external - -cocos_flags = -DANDROID - -cxxgenerator_headers = - -# extra arguments for clang -extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s - -# what headers to parse -headers = %(cocosdir)s/cocos/editor-support/cocosbuilder/CocosBuilder.h - -# what classes to produce code for. You can use regular expressions here. When testing the regular -# expression, it will be enclosed in "^$", like this: "^Menu*$". -classes = CCBReader.* CCBAnimationManager.* - -# what should we skip? in the format ClassName::[function function] -# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also -# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just -# add a single "*" as functions. See bellow for several examples. A special class name is "*", which -# will apply to all class names. This is a convenience wildcard to be able to skip similar named -# functions from all classes. - -skip = CCBReader::[^CCBReader$ addOwnerCallbackName isJSControlled readByte getCCBMemberVariableAssigner readFloat getCCBSelectorResolver toLowerCase lastPathComponent deletePathExtension endsWith concat getResolutionScale getAnimatedProperties readBool readInt addOwnerCallbackNode addDocumentCallbackName readCachedString readNodeGraphFromData addDocumentCallbackNode getLoadedSpriteSheet initWithData readFileWithCleanUp getOwner$ readNodeGraphFromFile createSceneWithNodeGraphFromFile getAnimationManagers$ setAnimationManagers], - CCBAnimationManager::[setAnimationCompletedCallback setCallFunc addNode], - .*Delegate::[*], - .*Loader.*::[*], - *::[^visit$ copyWith.* onEnter.* onExit.* ^description$ getObjectType (g|s)etDelegate .*HSV] - -rename_functions = CCBReader::[getAnimationManager=getActionManager setAnimationManager=setActionManager] - -rename_classes = - -# for all class names, should we remove something when registering in the target VM? -remove_prefix = - -# classes for which there will be no "parent" lookup -classes_have_no_parents = - -# base classes which will be skipped when their sub-classes found them. -base_classes_to_skip = - -# classes that create no constructor -# Set is special and we will use a hand-written constructor -abstract_classes = - -# Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no - diff --git a/tools/tolua/cocos2dx_experimental_webview.ini b/tools/tolua/cocos2dx_experimental_webview.ini index 9a2dc4b45b..3d738cb66d 100644 --- a/tools/tolua/cocos2dx_experimental_webview.ini +++ b/tools/tolua/cocos2dx_experimental_webview.ini @@ -26,7 +26,7 @@ cxxgenerator_headers = extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s # what headers to parse -headers = %(cocosdir)s/cocos/ui/UIWebView.h +headers = %(cocosdir)s/cocos/ui/UIWebView/UIWebView.h # what classes to produce code for. You can use regular expressions here. When testing the regular # expression, it will be enclosed in "^$", like this: "^Menu*$". diff --git a/tools/tolua/genbindings.py b/tools/tolua/genbindings.py index 0ab36092f5..8b61ad77d8 100755 --- a/tools/tolua/genbindings.py +++ b/tools/tolua/genbindings.py @@ -150,7 +150,6 @@ def main(): 'cocos2dx_experimental_video.ini' : ('cocos2dx_experimental_video', 'lua_cocos2dx_experimental_video_auto'), \ 'cocos2dx_experimental.ini' : ('cocos2dx_experimental', 'lua_cocos2dx_experimental_auto'), \ 'cocos2dx_controller.ini' : ('cocos2dx_controller', 'lua_cocos2dx_controller_auto'), \ - 'cocos2dx_cocosbuilder.ini': ('cocos2dx_cocosbuilder', 'lua_cocos2dx_cocosbuilder_auto'), \ 'cocos2dx_cocosdenshion.ini': ('cocos2dx_cocosdenshion', 'lua_cocos2dx_cocosdenshion_auto'), \ 'cocos2dx_3d.ini': ('cocos2dx_3d', 'lua_cocos2dx_3d_auto'), \ 'cocos2dx_audioengine.ini': ('cocos2dx_audioengine', 'lua_cocos2dx_audioengine_auto'), \