Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick.tooling 1.1
- // This file describes the plugin-supplied types contained in the library.
- // It is used for QML tooling purposes only.
- //
- // This file was auto-generated by:
- // 'qmlplugindump.exe Box2D 1.1'
- Module {
- Component {
- name: "Box2DBody"
- defaultProperty: "data"
- prototype: "QQuickItem"
- exports: ["Body 1.1"]
- exportMetaObjectRevisions: [0]
- Enum {
- name: "BodyType"
- values: {
- "Static": 0,
- "Kinematic": 1,
- "Dynamic": 2
- }
- }
- Property { name: "linearDamping"; type: "float" }
- Property { name: "angularDamping"; type: "float" }
- Property { name: "bodyType"; type: "BodyType" }
- Property { name: "bullet"; type: "bool" }
- Property { name: "sleepingAllowed"; type: "bool" }
- Property { name: "fixedRotation"; type: "bool" }
- Property { name: "active"; type: "bool" }
- Property { name: "awake"; type: "bool" }
- Property { name: "linearVelocity"; type: "QPointF" }
- Property { name: "angularVelocity"; type: "float" }
- Property { name: "fixtures"; type: "Box2DFixture"; isList: true; isReadonly: true }
- Property { name: "gravityScale"; type: "float" }
- Signal { name: "bodyCreated" }
- Signal { name: "positionChanged" }
- Method {
- name: "applyForce"
- Parameter { name: "force"; type: "QPointF" }
- Parameter { name: "point"; type: "QPointF" }
- }
- Method {
- name: "applyForceToCenter"
- Parameter { name: "force"; type: "QPointF" }
- }
- Method {
- name: "applyTorque"
- Parameter { name: "torque"; type: "double" }
- }
- Method {
- name: "applyLinearImpulse"
- Parameter { name: "impulse"; type: "QPointF" }
- Parameter { name: "point"; type: "QPointF" }
- }
- Method {
- name: "applyAngularImpulse"
- Parameter { name: "impulse"; type: "double" }
- }
- Method { name: "getWorldCenter"; type: "QPointF" }
- Method { name: "getLocalCenter"; type: "QPointF" }
- Method { name: "getMass"; type: "float" }
- Method { name: "resetMassData" }
- Method { name: "getInertia"; type: "float" }
- Method {
- name: "toWorldPoint"
- type: "QPointF"
- Parameter { name: "localPoint"; type: "QPointF" }
- }
- Method {
- name: "toWorldVector"
- type: "QPointF"
- Parameter { name: "localVector"; type: "QPointF" }
- }
- Method {
- name: "toLocalPoint"
- type: "QPointF"
- Parameter { name: "worldPoint"; type: "QPointF" }
- }
- Method {
- name: "toLocalVector"
- type: "QPointF"
- Parameter { name: "worldVector"; type: "QPointF" }
- }
- Method {
- name: "getLinearVelocityFromWorldPoint"
- type: "QPointF"
- Parameter { name: "point"; type: "QPointF" }
- }
- Method {
- name: "getLinearVelocityFromLocalPoint"
- type: "QPointF"
- Parameter { name: "point"; type: "QPointF" }
- }
- Method {
- name: "addFixture"
- Parameter { name: "fixture"; type: "Box2DFixture"; isPointer: true }
- }
- }
- Component {
- name: "Box2DBox"
- defaultProperty: "data"
- prototype: "Box2DFixture"
- exports: ["Box 1.1"]
- exportMetaObjectRevisions: [0]
- }
- Component {
- name: "Box2DChain"
- defaultProperty: "data"
- prototype: "Box2DFixture"
- exports: ["Chain 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "vertices"; type: "QVariantList" }
- Property { name: "loop"; type: "bool" }
- Property { name: "prevVertex"; type: "QPointF" }
- Property { name: "nextVertex"; type: "QPointF" }
- }
- Component {
- name: "Box2DCircle"
- defaultProperty: "data"
- prototype: "Box2DFixture"
- exports: ["Circle 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "radius"; type: "float" }
- }
- Component {
- name: "Box2DContact"
- prototype: "QObject"
- exports: ["Contact 1.0"]
- isCreatable: false
- exportMetaObjectRevisions: [0]
- Property { name: "enabled"; type: "bool" }
- Property { name: "fixtureA"; type: "Box2DFixture"; isReadonly: true; isPointer: true }
- Property { name: "fixtureB"; type: "Box2DFixture"; isReadonly: true; isPointer: true }
- Property { name: "childIndexA"; type: "int"; isReadonly: true }
- Property { name: "childIndexB"; type: "int"; isReadonly: true }
- Property { name: "friction"; type: "double" }
- Property { name: "restitution"; type: "double" }
- Property { name: "tangentSpeed"; type: "double" }
- Method { name: "isTouching"; type: "bool" }
- Method { name: "resetFriction" }
- Method { name: "resetRestitution" }
- }
- Component {
- name: "Box2DDebugDraw"
- defaultProperty: "data"
- prototype: "QQuickPaintedItem"
- exports: ["DebugDraw 1.1"]
- exportMetaObjectRevisions: [0]
- Enum {
- name: "DebugFlag"
- values: {
- "Shape": 1,
- "Joint": 2,
- "AABB": 4,
- "Pair": 8,
- "CenterOfMass": 16,
- "Everything": 31
- }
- }
- Property { name: "axisScale"; type: "double" }
- Property { name: "flags"; type: "DebugFlag" }
- Property { name: "world"; type: "Box2DWorld"; isPointer: true }
- }
- Component {
- name: "Box2DDistanceJoint"
- prototype: "Box2DJoint"
- exports: ["DistanceJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "localAnchorA"; type: "QPointF" }
- Property { name: "localAnchorB"; type: "QPointF" }
- Property { name: "length"; type: "float" }
- Property { name: "frequencyHz"; type: "float" }
- Property { name: "dampingRatio"; type: "float" }
- Method {
- name: "getReactionForce"
- type: "QPointF"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- Method {
- name: "getReactionTorque"
- type: "float"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- }
- Component {
- name: "Box2DEdge"
- defaultProperty: "data"
- prototype: "Box2DFixture"
- exports: ["Edge 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "vertices"; type: "QVariantList" }
- }
- Component {
- name: "Box2DFixture"
- defaultProperty: "data"
- prototype: "QQuickItem"
- exports: ["Fixture 1.0"]
- isCreatable: false
- exportMetaObjectRevisions: [0]
- Enum {
- name: "CategoryFlag"
- values: {
- "Category1": 1,
- "Category2": 2,
- "Category3": 4,
- "Category4": 8,
- "Category5": 16,
- "Category6": 32,
- "Category7": 64,
- "Category8": 128,
- "Category9": 256,
- "Category10": 512,
- "Category11": 1024,
- "Category12": 2048,
- "Category13": 4096,
- "Category14": 8192,
- "Category15": 16384,
- "Category16": 32768,
- "All": 65535,
- "None": 0
- }
- }
- Enum {
- name: "CategoryFlags"
- values: {
- "Category1": 1,
- "Category2": 2,
- "Category3": 4,
- "Category4": 8,
- "Category5": 16,
- "Category6": 32,
- "Category7": 64,
- "Category8": 128,
- "Category9": 256,
- "Category10": 512,
- "Category11": 1024,
- "Category12": 2048,
- "Category13": 4096,
- "Category14": 8192,
- "Category15": 16384,
- "Category16": 32768,
- "All": 65535,
- "None": 0
- }
- }
- Property { name: "density"; type: "float" }
- Property { name: "friction"; type: "float" }
- Property { name: "restitution"; type: "float" }
- Property { name: "sensor"; type: "bool" }
- Property { name: "categories"; type: "CategoryFlags" }
- Property { name: "collidesWith"; type: "CategoryFlags" }
- Property { name: "groupIndex"; type: "int" }
- Signal {
- name: "beginContact"
- Parameter { name: "other"; type: "Box2DFixture"; isPointer: true }
- }
- Signal {
- name: "contactChanged"
- Parameter { name: "other"; type: "Box2DFixture"; isPointer: true }
- }
- Signal {
- name: "endContact"
- Parameter { name: "other"; type: "Box2DFixture"; isPointer: true }
- }
- Method { name: "getBody"; type: "Box2DBody*" }
- }
- Component {
- name: "Box2DFrictionJoint"
- prototype: "Box2DJoint"
- exports: ["FrictionJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "localAnchorA"; type: "QPointF" }
- Property { name: "localAnchorB"; type: "QPointF" }
- Property { name: "maxForce"; type: "float" }
- Property { name: "maxTorque"; type: "float" }
- Method {
- name: "getReactionForce"
- type: "QPointF"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- Method {
- name: "getReactionTorque"
- type: "float"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- }
- Component {
- name: "Box2DGearJoint"
- prototype: "Box2DJoint"
- exports: ["GearJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "joint1"; type: "Box2DJoint"; isPointer: true }
- Property { name: "joint2"; type: "Box2DJoint"; isPointer: true }
- Property { name: "ratio"; type: "float" }
- }
- Component {
- name: "Box2DJoint"
- prototype: "QObject"
- exports: ["Joint 1.1"]
- isCreatable: false
- exportMetaObjectRevisions: [0]
- Enum {
- name: "JointType"
- values: {
- "UnknownJoint": 0,
- "RevoluteJoint": 1,
- "PrismaticJoint": 2,
- "DistanceJoint": 3,
- "PulleyJoint": 4,
- "MouseJoint": 5,
- "GearJoint": 6,
- "WheelJoint": 7,
- "WeldJoint": 8,
- "FrictionJoint": 9,
- "RopeJoint": 10,
- "MotorJoint": 11
- }
- }
- Property { name: "jointType"; type: "JointType"; isReadonly: true }
- Property { name: "collideConnected"; type: "bool" }
- Property { name: "bodyA"; type: "Box2DBody"; isPointer: true }
- Property { name: "bodyB"; type: "Box2DBody"; isPointer: true }
- Signal { name: "created" }
- }
- Component {
- name: "Box2DMotorJoint"
- prototype: "Box2DJoint"
- exports: ["MotorJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "linearOffset"; type: "QPointF" }
- Property { name: "angularOffset"; type: "float" }
- Property { name: "maxForce"; type: "float" }
- Property { name: "maxTorque"; type: "float" }
- Property { name: "correctionFactor"; type: "float" }
- }
- Component {
- name: "Box2DMouseJoint"
- prototype: "Box2DJoint"
- exports: ["MouseJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "target"; type: "QPointF" }
- Property { name: "maxForce"; type: "float" }
- Property { name: "frequencyHz"; type: "float" }
- Property { name: "dampingRatio"; type: "float" }
- Method {
- name: "getReactionForce"
- type: "QPointF"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- Method {
- name: "getReactionTorque"
- type: "float"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- }
- Component {
- name: "Box2DPolygon"
- defaultProperty: "data"
- prototype: "Box2DFixture"
- exports: ["Polygon 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "vertices"; type: "QVariantList" }
- }
- Component {
- name: "Box2DPrismaticJoint"
- prototype: "Box2DJoint"
- exports: ["PrismaticJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "localAnchorA"; type: "QPointF" }
- Property { name: "localAnchorB"; type: "QPointF" }
- Property { name: "localAxisA"; type: "QPointF" }
- Property { name: "referenceAngle"; type: "float" }
- Property { name: "enableLimit"; type: "bool" }
- Property { name: "lowerTranslation"; type: "float" }
- Property { name: "upperTranslation"; type: "float" }
- Property { name: "enableMotor"; type: "bool" }
- Property { name: "maxMotorForce"; type: "float" }
- Property { name: "motorSpeed"; type: "float" }
- Method { name: "getJointTranslation"; type: "float" }
- Method { name: "getJointSpeed"; type: "float" }
- }
- Component {
- name: "Box2DProfile"
- prototype: "QObject"
- exports: ["Profile 1.1"]
- isCreatable: false
- exportMetaObjectRevisions: [0]
- Property { name: "step"; type: "float"; isReadonly: true }
- Property { name: "collide"; type: "float"; isReadonly: true }
- Property { name: "solve"; type: "float"; isReadonly: true }
- Property { name: "solveInit"; type: "float"; isReadonly: true }
- Property { name: "solveVelocity"; type: "float"; isReadonly: true }
- Property { name: "solvePosition"; type: "float"; isReadonly: true }
- Property { name: "broadphase"; type: "float"; isReadonly: true }
- Property { name: "solveTOI"; type: "float"; isReadonly: true }
- }
- Component {
- name: "Box2DPulleyJoint"
- prototype: "Box2DJoint"
- exports: ["PulleyJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "groundAnchorA"; type: "QPointF" }
- Property { name: "groundAnchorB"; type: "QPointF" }
- Property { name: "localAnchorA"; type: "QPointF" }
- Property { name: "localAnchorB"; type: "QPointF" }
- Property { name: "lengthA"; type: "float" }
- Property { name: "lengthB"; type: "float" }
- Property { name: "ratio"; type: "float" }
- Method { name: "getCurrentLengthA"; type: "float" }
- Method { name: "getCurrentLengthB"; type: "float" }
- Method {
- name: "getReactionForce"
- type: "QPointF"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- Method {
- name: "getReactionTorque"
- type: "float"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- }
- Component {
- name: "Box2DRayCast"
- prototype: "QObject"
- exports: ["RayCast 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "maxFraction"; type: "float" }
- Signal {
- name: "fixtureReported"
- Parameter { name: "fixture"; type: "Box2DFixture"; isPointer: true }
- Parameter { name: "point"; type: "QPointF" }
- Parameter { name: "normal"; type: "QPointF" }
- Parameter { name: "fraction"; type: "double" }
- }
- }
- Component {
- name: "Box2DRevoluteJoint"
- prototype: "Box2DJoint"
- exports: ["RevoluteJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "localAnchorA"; type: "QPointF" }
- Property { name: "localAnchorB"; type: "QPointF" }
- Property { name: "referenceAngle"; type: "float" }
- Property { name: "enableLimit"; type: "bool" }
- Property { name: "lowerAngle"; type: "float" }
- Property { name: "upperAngle"; type: "float" }
- Property { name: "enableMotor"; type: "bool" }
- Property { name: "motorSpeed"; type: "float" }
- Property { name: "maxMotorTorque"; type: "float" }
- Method { name: "getJointAngle"; type: "float" }
- Method { name: "getJointSpeed"; type: "float" }
- }
- Component {
- name: "Box2DRopeJoint"
- prototype: "Box2DJoint"
- exports: ["RopeJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "localAnchorA"; type: "QPointF" }
- Property { name: "localAnchorB"; type: "QPointF" }
- Property { name: "maxLength"; type: "float" }
- Method {
- name: "getReactionForce"
- type: "QPointF"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- Method {
- name: "getReactionTorque"
- type: "float"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- }
- Component {
- name: "Box2DWeldJoint"
- prototype: "Box2DJoint"
- exports: ["WeldJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "referenceAngle"; type: "float" }
- Property { name: "frequencyHz"; type: "float" }
- Property { name: "dampingRatio"; type: "float" }
- Property { name: "localAnchorA"; type: "QPointF" }
- Property { name: "localAnchorB"; type: "QPointF" }
- }
- Component {
- name: "Box2DWheelJoint"
- prototype: "Box2DJoint"
- exports: ["WheelJoint 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "localAnchorA"; type: "QPointF" }
- Property { name: "localAnchorB"; type: "QPointF" }
- Property { name: "localAxisA"; type: "QPointF" }
- Property { name: "dampingRatio"; type: "float" }
- Property { name: "frequencyHz"; type: "float" }
- Property { name: "maxMotorTorque"; type: "float" }
- Property { name: "motorSpeed"; type: "float" }
- Property { name: "enableMotor"; type: "bool" }
- Method {
- name: "getReactionForce"
- type: "QPointF"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- Method {
- name: "getReactionTorque"
- type: "float"
- Parameter { name: "inv_dt"; type: "float32" }
- }
- Method { name: "getJointTranslation"; type: "float" }
- Method { name: "getJointSpeed"; type: "float" }
- }
- Component {
- name: "Box2DWorld"
- defaultProperty: "data"
- prototype: "QQuickItem"
- exports: ["World 1.1"]
- exportMetaObjectRevisions: [0]
- Property { name: "running"; type: "bool" }
- Property { name: "timeStep"; type: "float" }
- Property { name: "velocityIterations"; type: "int" }
- Property { name: "positionIterations"; type: "int" }
- Property { name: "gravity"; type: "QPointF" }
- Property { name: "autoClearForces"; type: "bool" }
- Property { name: "profile"; type: "Box2DProfile"; isReadonly: true; isPointer: true }
- Property { name: "pixelsPerMeter"; type: "float" }
- Signal { name: "initialized" }
- Signal {
- name: "preSolve"
- Parameter { name: "contact"; type: "Box2DContact"; isPointer: true }
- }
- Signal {
- name: "postSolve"
- Parameter { name: "contact"; type: "Box2DContact"; isPointer: true }
- }
- Signal { name: "stepped" }
- Method { name: "step" }
- Method { name: "clearForces" }
- Method {
- name: "rayCast"
- Parameter { name: "rayCast"; type: "Box2DRayCast"; isPointer: true }
- Parameter { name: "point1"; type: "QPointF" }
- Parameter { name: "point2"; type: "QPointF" }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement