Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import QtQuick.tooling 1.1
  2.  
  3. // This file describes the plugin-supplied types contained in the library.
  4. // It is used for QML tooling purposes only.
  5. //
  6. // This file was auto-generated by:
  7. // 'qmlplugindump.exe Box2D 1.1'
  8.  
  9. Module {
  10.     Component {
  11.         name: "Box2DBody"
  12.         defaultProperty: "data"
  13.         prototype: "QQuickItem"
  14.         exports: ["Body 1.1"]
  15.         exportMetaObjectRevisions: [0]
  16.         Enum {
  17.             name: "BodyType"
  18.             values: {
  19.                 "Static": 0,
  20.                 "Kinematic": 1,
  21.                 "Dynamic": 2
  22.             }
  23.         }
  24.         Property { name: "linearDamping"; type: "float" }
  25.         Property { name: "angularDamping"; type: "float" }
  26.         Property { name: "bodyType"; type: "BodyType" }
  27.         Property { name: "bullet"; type: "bool" }
  28.         Property { name: "sleepingAllowed"; type: "bool" }
  29.         Property { name: "fixedRotation"; type: "bool" }
  30.         Property { name: "active"; type: "bool" }
  31.         Property { name: "awake"; type: "bool" }
  32.         Property { name: "linearVelocity"; type: "QPointF" }
  33.         Property { name: "angularVelocity"; type: "float" }
  34.         Property { name: "fixtures"; type: "Box2DFixture"; isList: true; isReadonly: true }
  35.         Property { name: "gravityScale"; type: "float" }
  36.         Signal { name: "bodyCreated" }
  37.         Signal { name: "positionChanged" }
  38.         Method {
  39.             name: "applyForce"
  40.             Parameter { name: "force"; type: "QPointF" }
  41.             Parameter { name: "point"; type: "QPointF" }
  42.         }
  43.         Method {
  44.             name: "applyForceToCenter"
  45.             Parameter { name: "force"; type: "QPointF" }
  46.         }
  47.         Method {
  48.             name: "applyTorque"
  49.             Parameter { name: "torque"; type: "double" }
  50.         }
  51.         Method {
  52.             name: "applyLinearImpulse"
  53.             Parameter { name: "impulse"; type: "QPointF" }
  54.             Parameter { name: "point"; type: "QPointF" }
  55.         }
  56.         Method {
  57.             name: "applyAngularImpulse"
  58.             Parameter { name: "impulse"; type: "double" }
  59.         }
  60.         Method { name: "getWorldCenter"; type: "QPointF" }
  61.         Method { name: "getLocalCenter"; type: "QPointF" }
  62.         Method { name: "getMass"; type: "float" }
  63.         Method { name: "resetMassData" }
  64.         Method { name: "getInertia"; type: "float" }
  65.         Method {
  66.             name: "toWorldPoint"
  67.             type: "QPointF"
  68.             Parameter { name: "localPoint"; type: "QPointF" }
  69.         }
  70.         Method {
  71.             name: "toWorldVector"
  72.             type: "QPointF"
  73.             Parameter { name: "localVector"; type: "QPointF" }
  74.         }
  75.         Method {
  76.             name: "toLocalPoint"
  77.             type: "QPointF"
  78.             Parameter { name: "worldPoint"; type: "QPointF" }
  79.         }
  80.         Method {
  81.             name: "toLocalVector"
  82.             type: "QPointF"
  83.             Parameter { name: "worldVector"; type: "QPointF" }
  84.         }
  85.         Method {
  86.             name: "getLinearVelocityFromWorldPoint"
  87.             type: "QPointF"
  88.             Parameter { name: "point"; type: "QPointF" }
  89.         }
  90.         Method {
  91.             name: "getLinearVelocityFromLocalPoint"
  92.             type: "QPointF"
  93.             Parameter { name: "point"; type: "QPointF" }
  94.         }
  95.         Method {
  96.             name: "addFixture"
  97.             Parameter { name: "fixture"; type: "Box2DFixture"; isPointer: true }
  98.         }
  99.     }
  100.     Component {
  101.         name: "Box2DBox"
  102.         defaultProperty: "data"
  103.         prototype: "Box2DFixture"
  104.         exports: ["Box 1.1"]
  105.         exportMetaObjectRevisions: [0]
  106.     }
  107.     Component {
  108.         name: "Box2DChain"
  109.         defaultProperty: "data"
  110.         prototype: "Box2DFixture"
  111.         exports: ["Chain 1.1"]
  112.         exportMetaObjectRevisions: [0]
  113.         Property { name: "vertices"; type: "QVariantList" }
  114.         Property { name: "loop"; type: "bool" }
  115.         Property { name: "prevVertex"; type: "QPointF" }
  116.         Property { name: "nextVertex"; type: "QPointF" }
  117.     }
  118.     Component {
  119.         name: "Box2DCircle"
  120.         defaultProperty: "data"
  121.         prototype: "Box2DFixture"
  122.         exports: ["Circle 1.1"]
  123.         exportMetaObjectRevisions: [0]
  124.         Property { name: "radius"; type: "float" }
  125.     }
  126.     Component {
  127.         name: "Box2DContact"
  128.         prototype: "QObject"
  129.         exports: ["Contact 1.0"]
  130.         isCreatable: false
  131.         exportMetaObjectRevisions: [0]
  132.         Property { name: "enabled"; type: "bool" }
  133.         Property { name: "fixtureA"; type: "Box2DFixture"; isReadonly: true; isPointer: true }
  134.         Property { name: "fixtureB"; type: "Box2DFixture"; isReadonly: true; isPointer: true }
  135.         Property { name: "childIndexA"; type: "int"; isReadonly: true }
  136.         Property { name: "childIndexB"; type: "int"; isReadonly: true }
  137.         Property { name: "friction"; type: "double" }
  138.         Property { name: "restitution"; type: "double" }
  139.         Property { name: "tangentSpeed"; type: "double" }
  140.         Method { name: "isTouching"; type: "bool" }
  141.         Method { name: "resetFriction" }
  142.         Method { name: "resetRestitution" }
  143.     }
  144.     Component {
  145.         name: "Box2DDebugDraw"
  146.         defaultProperty: "data"
  147.         prototype: "QQuickPaintedItem"
  148.         exports: ["DebugDraw 1.1"]
  149.         exportMetaObjectRevisions: [0]
  150.         Enum {
  151.             name: "DebugFlag"
  152.             values: {
  153.                 "Shape": 1,
  154.                 "Joint": 2,
  155.                 "AABB": 4,
  156.                 "Pair": 8,
  157.                 "CenterOfMass": 16,
  158.                 "Everything": 31
  159.             }
  160.         }
  161.         Property { name: "axisScale"; type: "double" }
  162.         Property { name: "flags"; type: "DebugFlag" }
  163.         Property { name: "world"; type: "Box2DWorld"; isPointer: true }
  164.     }
  165.     Component {
  166.         name: "Box2DDistanceJoint"
  167.         prototype: "Box2DJoint"
  168.         exports: ["DistanceJoint 1.1"]
  169.         exportMetaObjectRevisions: [0]
  170.         Property { name: "localAnchorA"; type: "QPointF" }
  171.         Property { name: "localAnchorB"; type: "QPointF" }
  172.         Property { name: "length"; type: "float" }
  173.         Property { name: "frequencyHz"; type: "float" }
  174.         Property { name: "dampingRatio"; type: "float" }
  175.         Method {
  176.             name: "getReactionForce"
  177.             type: "QPointF"
  178.             Parameter { name: "inv_dt"; type: "float32" }
  179.         }
  180.         Method {
  181.             name: "getReactionTorque"
  182.             type: "float"
  183.             Parameter { name: "inv_dt"; type: "float32" }
  184.         }
  185.     }
  186.     Component {
  187.         name: "Box2DEdge"
  188.         defaultProperty: "data"
  189.         prototype: "Box2DFixture"
  190.         exports: ["Edge 1.1"]
  191.         exportMetaObjectRevisions: [0]
  192.         Property { name: "vertices"; type: "QVariantList" }
  193.     }
  194.     Component {
  195.         name: "Box2DFixture"
  196.         defaultProperty: "data"
  197.         prototype: "QQuickItem"
  198.         exports: ["Fixture 1.0"]
  199.         isCreatable: false
  200.         exportMetaObjectRevisions: [0]
  201.         Enum {
  202.             name: "CategoryFlag"
  203.             values: {
  204.                 "Category1": 1,
  205.                 "Category2": 2,
  206.                 "Category3": 4,
  207.                 "Category4": 8,
  208.                 "Category5": 16,
  209.                 "Category6": 32,
  210.                 "Category7": 64,
  211.                 "Category8": 128,
  212.                 "Category9": 256,
  213.                 "Category10": 512,
  214.                 "Category11": 1024,
  215.                 "Category12": 2048,
  216.                 "Category13": 4096,
  217.                 "Category14": 8192,
  218.                 "Category15": 16384,
  219.                 "Category16": 32768,
  220.                 "All": 65535,
  221.                 "None": 0
  222.             }
  223.         }
  224.         Enum {
  225.             name: "CategoryFlags"
  226.             values: {
  227.                 "Category1": 1,
  228.                 "Category2": 2,
  229.                 "Category3": 4,
  230.                 "Category4": 8,
  231.                 "Category5": 16,
  232.                 "Category6": 32,
  233.                 "Category7": 64,
  234.                 "Category8": 128,
  235.                 "Category9": 256,
  236.                 "Category10": 512,
  237.                 "Category11": 1024,
  238.                 "Category12": 2048,
  239.                 "Category13": 4096,
  240.                 "Category14": 8192,
  241.                 "Category15": 16384,
  242.                 "Category16": 32768,
  243.                 "All": 65535,
  244.                 "None": 0
  245.             }
  246.         }
  247.         Property { name: "density"; type: "float" }
  248.         Property { name: "friction"; type: "float" }
  249.         Property { name: "restitution"; type: "float" }
  250.         Property { name: "sensor"; type: "bool" }
  251.         Property { name: "categories"; type: "CategoryFlags" }
  252.         Property { name: "collidesWith"; type: "CategoryFlags" }
  253.         Property { name: "groupIndex"; type: "int" }
  254.         Signal {
  255.             name: "beginContact"
  256.             Parameter { name: "other"; type: "Box2DFixture"; isPointer: true }
  257.         }
  258.         Signal {
  259.             name: "contactChanged"
  260.             Parameter { name: "other"; type: "Box2DFixture"; isPointer: true }
  261.         }
  262.         Signal {
  263.             name: "endContact"
  264.             Parameter { name: "other"; type: "Box2DFixture"; isPointer: true }
  265.         }
  266.         Method { name: "getBody"; type: "Box2DBody*" }
  267.     }
  268.     Component {
  269.         name: "Box2DFrictionJoint"
  270.         prototype: "Box2DJoint"
  271.         exports: ["FrictionJoint 1.1"]
  272.         exportMetaObjectRevisions: [0]
  273.         Property { name: "localAnchorA"; type: "QPointF" }
  274.         Property { name: "localAnchorB"; type: "QPointF" }
  275.         Property { name: "maxForce"; type: "float" }
  276.         Property { name: "maxTorque"; type: "float" }
  277.         Method {
  278.             name: "getReactionForce"
  279.             type: "QPointF"
  280.             Parameter { name: "inv_dt"; type: "float32" }
  281.         }
  282.         Method {
  283.             name: "getReactionTorque"
  284.             type: "float"
  285.             Parameter { name: "inv_dt"; type: "float32" }
  286.         }
  287.     }
  288.     Component {
  289.         name: "Box2DGearJoint"
  290.         prototype: "Box2DJoint"
  291.         exports: ["GearJoint 1.1"]
  292.         exportMetaObjectRevisions: [0]
  293.         Property { name: "joint1"; type: "Box2DJoint"; isPointer: true }
  294.         Property { name: "joint2"; type: "Box2DJoint"; isPointer: true }
  295.         Property { name: "ratio"; type: "float" }
  296.     }
  297.     Component {
  298.         name: "Box2DJoint"
  299.         prototype: "QObject"
  300.         exports: ["Joint 1.1"]
  301.         isCreatable: false
  302.         exportMetaObjectRevisions: [0]
  303.         Enum {
  304.             name: "JointType"
  305.             values: {
  306.                 "UnknownJoint": 0,
  307.                 "RevoluteJoint": 1,
  308.                 "PrismaticJoint": 2,
  309.                 "DistanceJoint": 3,
  310.                 "PulleyJoint": 4,
  311.                 "MouseJoint": 5,
  312.                 "GearJoint": 6,
  313.                 "WheelJoint": 7,
  314.                 "WeldJoint": 8,
  315.                 "FrictionJoint": 9,
  316.                 "RopeJoint": 10,
  317.                 "MotorJoint": 11
  318.             }
  319.         }
  320.         Property { name: "jointType"; type: "JointType"; isReadonly: true }
  321.         Property { name: "collideConnected"; type: "bool" }
  322.         Property { name: "bodyA"; type: "Box2DBody"; isPointer: true }
  323.         Property { name: "bodyB"; type: "Box2DBody"; isPointer: true }
  324.         Signal { name: "created" }
  325.     }
  326.     Component {
  327.         name: "Box2DMotorJoint"
  328.         prototype: "Box2DJoint"
  329.         exports: ["MotorJoint 1.1"]
  330.         exportMetaObjectRevisions: [0]
  331.         Property { name: "linearOffset"; type: "QPointF" }
  332.         Property { name: "angularOffset"; type: "float" }
  333.         Property { name: "maxForce"; type: "float" }
  334.         Property { name: "maxTorque"; type: "float" }
  335.         Property { name: "correctionFactor"; type: "float" }
  336.     }
  337.     Component {
  338.         name: "Box2DMouseJoint"
  339.         prototype: "Box2DJoint"
  340.         exports: ["MouseJoint 1.1"]
  341.         exportMetaObjectRevisions: [0]
  342.         Property { name: "target"; type: "QPointF" }
  343.         Property { name: "maxForce"; type: "float" }
  344.         Property { name: "frequencyHz"; type: "float" }
  345.         Property { name: "dampingRatio"; type: "float" }
  346.         Method {
  347.             name: "getReactionForce"
  348.             type: "QPointF"
  349.             Parameter { name: "inv_dt"; type: "float32" }
  350.         }
  351.         Method {
  352.             name: "getReactionTorque"
  353.             type: "float"
  354.             Parameter { name: "inv_dt"; type: "float32" }
  355.         }
  356.     }
  357.     Component {
  358.         name: "Box2DPolygon"
  359.         defaultProperty: "data"
  360.         prototype: "Box2DFixture"
  361.         exports: ["Polygon 1.1"]
  362.         exportMetaObjectRevisions: [0]
  363.         Property { name: "vertices"; type: "QVariantList" }
  364.     }
  365.     Component {
  366.         name: "Box2DPrismaticJoint"
  367.         prototype: "Box2DJoint"
  368.         exports: ["PrismaticJoint 1.1"]
  369.         exportMetaObjectRevisions: [0]
  370.         Property { name: "localAnchorA"; type: "QPointF" }
  371.         Property { name: "localAnchorB"; type: "QPointF" }
  372.         Property { name: "localAxisA"; type: "QPointF" }
  373.         Property { name: "referenceAngle"; type: "float" }
  374.         Property { name: "enableLimit"; type: "bool" }
  375.         Property { name: "lowerTranslation"; type: "float" }
  376.         Property { name: "upperTranslation"; type: "float" }
  377.         Property { name: "enableMotor"; type: "bool" }
  378.         Property { name: "maxMotorForce"; type: "float" }
  379.         Property { name: "motorSpeed"; type: "float" }
  380.         Method { name: "getJointTranslation"; type: "float" }
  381.         Method { name: "getJointSpeed"; type: "float" }
  382.     }
  383.     Component {
  384.         name: "Box2DProfile"
  385.         prototype: "QObject"
  386.         exports: ["Profile 1.1"]
  387.         isCreatable: false
  388.         exportMetaObjectRevisions: [0]
  389.         Property { name: "step"; type: "float"; isReadonly: true }
  390.         Property { name: "collide"; type: "float"; isReadonly: true }
  391.         Property { name: "solve"; type: "float"; isReadonly: true }
  392.         Property { name: "solveInit"; type: "float"; isReadonly: true }
  393.         Property { name: "solveVelocity"; type: "float"; isReadonly: true }
  394.         Property { name: "solvePosition"; type: "float"; isReadonly: true }
  395.         Property { name: "broadphase"; type: "float"; isReadonly: true }
  396.         Property { name: "solveTOI"; type: "float"; isReadonly: true }
  397.     }
  398.     Component {
  399.         name: "Box2DPulleyJoint"
  400.         prototype: "Box2DJoint"
  401.         exports: ["PulleyJoint 1.1"]
  402.         exportMetaObjectRevisions: [0]
  403.         Property { name: "groundAnchorA"; type: "QPointF" }
  404.         Property { name: "groundAnchorB"; type: "QPointF" }
  405.         Property { name: "localAnchorA"; type: "QPointF" }
  406.         Property { name: "localAnchorB"; type: "QPointF" }
  407.         Property { name: "lengthA"; type: "float" }
  408.         Property { name: "lengthB"; type: "float" }
  409.         Property { name: "ratio"; type: "float" }
  410.         Method { name: "getCurrentLengthA"; type: "float" }
  411.         Method { name: "getCurrentLengthB"; type: "float" }
  412.         Method {
  413.             name: "getReactionForce"
  414.             type: "QPointF"
  415.             Parameter { name: "inv_dt"; type: "float32" }
  416.         }
  417.         Method {
  418.             name: "getReactionTorque"
  419.             type: "float"
  420.             Parameter { name: "inv_dt"; type: "float32" }
  421.         }
  422.     }
  423.     Component {
  424.         name: "Box2DRayCast"
  425.         prototype: "QObject"
  426.         exports: ["RayCast 1.1"]
  427.         exportMetaObjectRevisions: [0]
  428.         Property { name: "maxFraction"; type: "float" }
  429.         Signal {
  430.             name: "fixtureReported"
  431.             Parameter { name: "fixture"; type: "Box2DFixture"; isPointer: true }
  432.             Parameter { name: "point"; type: "QPointF" }
  433.             Parameter { name: "normal"; type: "QPointF" }
  434.             Parameter { name: "fraction"; type: "double" }
  435.         }
  436.     }
  437.     Component {
  438.         name: "Box2DRevoluteJoint"
  439.         prototype: "Box2DJoint"
  440.         exports: ["RevoluteJoint 1.1"]
  441.         exportMetaObjectRevisions: [0]
  442.         Property { name: "localAnchorA"; type: "QPointF" }
  443.         Property { name: "localAnchorB"; type: "QPointF" }
  444.         Property { name: "referenceAngle"; type: "float" }
  445.         Property { name: "enableLimit"; type: "bool" }
  446.         Property { name: "lowerAngle"; type: "float" }
  447.         Property { name: "upperAngle"; type: "float" }
  448.         Property { name: "enableMotor"; type: "bool" }
  449.         Property { name: "motorSpeed"; type: "float" }
  450.         Property { name: "maxMotorTorque"; type: "float" }
  451.         Method { name: "getJointAngle"; type: "float" }
  452.         Method { name: "getJointSpeed"; type: "float" }
  453.     }
  454.     Component {
  455.         name: "Box2DRopeJoint"
  456.         prototype: "Box2DJoint"
  457.         exports: ["RopeJoint 1.1"]
  458.         exportMetaObjectRevisions: [0]
  459.         Property { name: "localAnchorA"; type: "QPointF" }
  460.         Property { name: "localAnchorB"; type: "QPointF" }
  461.         Property { name: "maxLength"; type: "float" }
  462.         Method {
  463.             name: "getReactionForce"
  464.             type: "QPointF"
  465.             Parameter { name: "inv_dt"; type: "float32" }
  466.         }
  467.         Method {
  468.             name: "getReactionTorque"
  469.             type: "float"
  470.             Parameter { name: "inv_dt"; type: "float32" }
  471.         }
  472.     }
  473.     Component {
  474.         name: "Box2DWeldJoint"
  475.         prototype: "Box2DJoint"
  476.         exports: ["WeldJoint 1.1"]
  477.         exportMetaObjectRevisions: [0]
  478.         Property { name: "referenceAngle"; type: "float" }
  479.         Property { name: "frequencyHz"; type: "float" }
  480.         Property { name: "dampingRatio"; type: "float" }
  481.         Property { name: "localAnchorA"; type: "QPointF" }
  482.         Property { name: "localAnchorB"; type: "QPointF" }
  483.     }
  484.     Component {
  485.         name: "Box2DWheelJoint"
  486.         prototype: "Box2DJoint"
  487.         exports: ["WheelJoint 1.1"]
  488.         exportMetaObjectRevisions: [0]
  489.         Property { name: "localAnchorA"; type: "QPointF" }
  490.         Property { name: "localAnchorB"; type: "QPointF" }
  491.         Property { name: "localAxisA"; type: "QPointF" }
  492.         Property { name: "dampingRatio"; type: "float" }
  493.         Property { name: "frequencyHz"; type: "float" }
  494.         Property { name: "maxMotorTorque"; type: "float" }
  495.         Property { name: "motorSpeed"; type: "float" }
  496.         Property { name: "enableMotor"; type: "bool" }
  497.         Method {
  498.             name: "getReactionForce"
  499.             type: "QPointF"
  500.             Parameter { name: "inv_dt"; type: "float32" }
  501.         }
  502.         Method {
  503.             name: "getReactionTorque"
  504.             type: "float"
  505.             Parameter { name: "inv_dt"; type: "float32" }
  506.         }
  507.         Method { name: "getJointTranslation"; type: "float" }
  508.         Method { name: "getJointSpeed"; type: "float" }
  509.     }
  510.     Component {
  511.         name: "Box2DWorld"
  512.         defaultProperty: "data"
  513.         prototype: "QQuickItem"
  514.         exports: ["World 1.1"]
  515.         exportMetaObjectRevisions: [0]
  516.         Property { name: "running"; type: "bool" }
  517.         Property { name: "timeStep"; type: "float" }
  518.         Property { name: "velocityIterations"; type: "int" }
  519.         Property { name: "positionIterations"; type: "int" }
  520.         Property { name: "gravity"; type: "QPointF" }
  521.         Property { name: "autoClearForces"; type: "bool" }
  522.         Property { name: "profile"; type: "Box2DProfile"; isReadonly: true; isPointer: true }
  523.         Property { name: "pixelsPerMeter"; type: "float" }
  524.         Signal { name: "initialized" }
  525.         Signal {
  526.             name: "preSolve"
  527.             Parameter { name: "contact"; type: "Box2DContact"; isPointer: true }
  528.         }
  529.         Signal {
  530.             name: "postSolve"
  531.             Parameter { name: "contact"; type: "Box2DContact"; isPointer: true }
  532.         }
  533.         Signal { name: "stepped" }
  534.         Method { name: "step" }
  535.         Method { name: "clearForces" }
  536.         Method {
  537.             name: "rayCast"
  538.             Parameter { name: "rayCast"; type: "Box2DRayCast"; isPointer: true }
  539.             Parameter { name: "point1"; type: "QPointF" }
  540.             Parameter { name: "point2"; type: "QPointF" }
  541.         }
  542.     }
  543. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement