|
2 | 2 | * @typedef {object} Phaser.Types.Physics.Matter.MatterDebugConfig |
3 | 3 | * @since 3.22.0 |
4 | 4 | * |
5 | | - * @property {boolean} [showBody=true] - Render the dynamic bodies in the world to the Graphics object? |
6 | | - * @property {boolean} [showStaticBody=true] - Render the static bodies in the world to the Graphics object? |
7 | | - * @property {boolean} [showSleeping=false] - Render any sleeping bodies (dynamic or static) in the world to the Graphics object? |
8 | | - * @property {boolean} [showJoint=true] - Render all world constraints to the Graphics object? |
9 | | - * @property {boolean} [showInternalEdges=false] - When rendering bodies, render the internal edges as well? |
10 | | - * @property {boolean} [showConvexHulls=false] - When rendering polygon bodies, render the convex hull as well? |
11 | | - * @property {boolean} [showPositions=true] - Render the position of non-static bodies? |
| 5 | + * @property {boolean} [showAxes=false] - Render all of the body axes? |
| 6 | + * @property {boolean} [showAngleIndicator=false] - Render just a single body axis? |
| 7 | + * @property {boolean} [angleColor=0xe81153] - The color of the body angle / axes lines. |
| 8 | + * |
12 | 9 | * @property {boolean} [showBroadphase=false] - Render the broadphase grid? |
13 | 10 | * @property {boolean} [broadphaseColor=0xffb400] - The color of the broadphase grid. |
| 11 | + * |
14 | 12 | * @property {boolean} [showBounds=false] - Render the bounds of the bodies in the world? |
15 | | - * @property {boolean} [boundsColor=0xffb400] - The color of the body bounds. |
16 | | - * @property {boolean} [showAxes=false] - Render all of the body axes? |
17 | | - * @property {boolean} [showAngleIndicator=false] - Render just the single body angle? |
18 | | - * @property {boolean} [angleColor=0xe81153] - The color of the body angle / axes lines. |
| 13 | + * @property {boolean} [boundsColor=0xffffff] - The color of the body bounds. |
| 14 | + * |
19 | 15 | * @property {boolean} [showVelocity=false] - Render the velocity of the bodies in the world? |
20 | 16 | * @property {boolean} [velocityColor=0x00aeef] - The color of the body velocity line. |
| 17 | + * |
| 18 | + * @property {boolean} [showCollisions=false] - Render the collision points and normals for colliding pairs. |
| 19 | + * @property {boolean} [collisionColor=0xf5950c] - The color of the collision points. |
| 20 | + * |
| 21 | + * @property {boolean} [showSeparation=false] - Render lines showing the separation between bodies. |
| 22 | + * @property {boolean} [separationColor=0xffa500] - The color of the body separation line. |
| 23 | + * |
| 24 | + * @property {boolean} [showBody=true] - Render the dynamic bodies in the world to the Graphics object? |
| 25 | + * @property {boolean} [showStaticBody=true] - Render the static bodies in the world to the Graphics object? |
| 26 | + * @property {boolean} [showInternalEdges=false] - When rendering bodies, render the internal edges as well? |
| 27 | + * |
21 | 28 | * @property {boolean} [renderFill=false] - Render the bodies using a fill color. |
22 | 29 | * @property {boolean} [renderLine=true] - Render the bodies using a line stroke. |
23 | 30 | * @property {number} [fillColor=0x106909] - The color value of the fill when rendering dynamic bodies. |
|
27 | 34 | * @property {number} [lineThickness=1] - If rendering lines, the thickness of the line. |
28 | 35 | * @property {number} [staticFillColor=0x0d177b] - The color value of the fill when rendering static bodies. |
29 | 36 | * @property {number} [staticLineColor=0x1327e4] - The color value of the line stroke when rendering static bodies. |
| 37 | + * |
| 38 | + * @property {boolean} [showSleeping=false] - Render any sleeping bodies (dynamic or static) in the world to the Graphics object? |
30 | 39 | * @property {number} [staticBodySleepOpacity=0.7] - The amount to multiply the opacity of sleeping static bodies by. |
31 | 40 | * @property {number} [sleepFillColor=0x464646] - The color value of the fill when rendering sleeping dynamic bodies. |
32 | 41 | * @property {number} [sleepLineColor=0x999a99] - The color value of the line stroke when rendering sleeping dynamic bodies. |
| 42 | + * |
| 43 | + * @property {boolean} [showSensors=true] - Render bodies or body parts that are flagged as being a sensor? |
| 44 | + * @property {number} [sensorFillColor=0x0d177b] - The fill color when rendering body sensors. |
| 45 | + * @property {number} [sensorLineColor=0x1327e4] - The line color when rendering body sensors. |
| 46 | + * |
| 47 | + * @property {boolean} [showPositions=true] - Render the position of non-static bodies? |
33 | 48 | * @property {number} [positionSize=4] - The size of the rectangle drawn when rendering the body position. |
34 | 49 | * @property {number} [positionColor=0xe042da] - The color value of the rectangle drawn when rendering the body position. |
| 50 | + * |
| 51 | + * @property {boolean} [showJoint=true] - Render all world constraints to the Graphics object? |
35 | 52 | * @property {number} [jointColor=0xe0e042] - The color value of joints when `showJoint` is set. |
36 | 53 | * @property {number} [jointLineOpacity=1] - The line opacity when rendering joints, a value between 0 and 1. |
37 | 54 | * @property {number} [jointLineThickness=2] - The line thickness when rendering joints. |
|
40 | 57 | * @property {number} [springColor=0xe042e0] - The color value of spring constraints. |
41 | 58 | * @property {number} [anchorColor=0xefefef] - The color value of constraint anchors. |
42 | 59 | * @property {number} [anchorSize=6] - The size of the circles drawn as the constraint anchors. |
| 60 | + * |
| 61 | + * @property {boolean} [showConvexHulls=false] - When rendering polygon bodies, render the convex hull as well? |
43 | 62 | * @property {number} [hullColor=0xd703d0] - The color value of hulls when `showConvexHulls` is set. |
44 | 63 | */ |
0 commit comments